Get Audit Logs
get audit logs based on filters specified in query
Query Filters
{
"user_name": "admin@local",
"ip_address": "192.168.0.1",
"entity_type": "VCenterDataSource",
"entity_id": "18230:3:187309184",
"operation": "UPDATE",
"response": "string",
"size": 0,
"cursor": "MTA=",
"time_range": {
"start_time": 1597247025,
"end_time": 1597247999
}
}
Username making the change
Client IP that is making the change
Entity Type of object being changed
Entity ID of object being changed
Operation on object being changed
Response from Operations for Networks, whether it's successfull or not
size
Cursor for the next page of logs
time_range
OK
"AuditListResponse Object"
results
Cursor for the next page of logs
Start timestamp of the window of the objects returned
End timestamp of the window of the objects returned
Bad Request
"ApiError Object"
code
message
details
Unauthorized
Internal Error
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/api/ni/logs/audit