{{define "audit"}}
| 动作 | 目标 | 任务 | 配置 | 结果 |
|---|---|---|---|---|
| {{auditActionLabel .Action}} | {{.TargetID}} | {{if auditField .DetailsJSON "task_id"}}{{auditField .DetailsJSON "task_id"}}{{else}}-{{end}} | {{if auditField .DetailsJSON "profile"}}{{auditField .DetailsJSON "profile"}}{{else if auditField .DetailsJSON "config_id"}}{{auditField .DetailsJSON "config_id"}}{{else}}-{{end}} | {{if auditField .DetailsJSON "status"}}{{auditStatusLabel (auditField .DetailsJSON "status")}}{{else}}{{.Actor}}{{end}} |
| 类型 | 任务 | 目标设备数 | 结果 | 说明 |
|---|---|---|---|---|
|
{{taskGroupLabel .Type}}
{{taskActionLabel .Type}}
|
{{.ID}}
|
{{len .DeviceIDs}} 台 | {{taskStatusLabel .Status}} | {{if .Payload}}已记录任务参数{{else}}无附加参数{{end}} |
|
暂无审计记录
当前后台还没有记录到任何任务或设备操作。
|
||||