audit

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuditSessionCmd

func AuditSessionCmd(cmd *cobra.Command, con *repl.Console) error

func Commands

func Commands(con *repl.Console) []*cobra.Command

Types

type AuditExport

type AuditExport struct {
	SessionID  string      `json:"session"`
	TaskID     string      `json:"task"`
	Command    string      `json:"command"`
	Total      int32       `json:"total"`
	Cur        int32       `json:"cur"`
	Response   interface{} `json:"response"`
	Request    interface{} `json:"request"`
	Created    string      `json:"created"`
	Finished   string      `json:"finished"`
	Lasted     string      `json:"lasted"`
	TaskResult string      `json:"taskResult"`
}

AuditExport 用于导出 JSON 保证字段顺序和命名符合需求 注意 taskResult 保留

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL