Log
Get a list of audits
get/log/audit
Request
- Base URL/v1 (relative, and the document was published on a file host, not at the API’s origin)
- Authnone declared. Required headers: X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Auth-Tokenstring required
Response
Success
Example response
{
"audits": [
{
"name": "Container.Managed",
"level": "INFO",
"reported_timestamp": 1516832670,
"reported_at": "2018-01-24T22:24:30Z",
"cluster_name": "cluster1",
"response_rule_id": 10007,
"host_id": "2AU7:TIEN:O5KX:QK56:LFQP:IJSV:FXBN:QJV7",
"host_name": "ubuntu64",
"enforcer_id": "bced57295eefbd3f3bd0cf798b6184fa789",
"enforcer_name": "allinone",
"workload_id": "7df6a19648e2860c89fe12c8d5b1c52079a",
"image_id": "d572b7ee3511b21a2b78b8915bc03c5786ad01949704c1418624224c4cae2c5f",
"registry": "https://registry.hub.docker.com/",
"repository": "alpine",
"tag": "latest",
"base_os": "ubuntu:16.04",
"high_vul_cnt": 1,
"medium_vul_cnt": 1,
"cvedb_version": "1.011",
"user": "root",
"error": "Request failed",
"aggregation_from": 1516832670,
"count": 10
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.