Log
Get a list of violations
get/log/violation
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
{
"violations": [
{
"level": "WARNING",
"reported_timestamp": 1516160219,
"reported_at": "2018-01-17T03:36:59Z",
"cluster_name": "cluster1",
"response_rule_id": 10008,
"host_id": "2AU7:TIEN:O5KX:QK56:LFQP:IJSV:FXBN:QJV7",
"host_name": "ubuntu64",
"enforcer_id": "bced57295eefbd3f3bd0cf798b6184fa789",
"enforcer_name": "allinone",
"id": "e6e19591-75a0-43e9-bebb-145d588e6718",
"client_id": "25f773945fff1d8880b9eb67d26be22f5321d",
"client_name": "iperfclient",
"server_id": "0350077d87164505597268494acbc8a25109e3",
"server_name": "iperfserver",
"server_port": 5000,
"ip_proto": 6,
"applications": [
"HTTP"
],
"policy_action": "violate",
"policy_id": 9999,
"client_ip": "172.17.0.4",
"server_ip": "172.17.0.3"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.