Get Audit Logs for Tenant (v2.0)
GET/v2.0/api/tenants/:tenant_id/auditlog
List all the audit logs for a specific tenant.
Request
Path Parameters
The tenant ID.
Responses
- 200
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The actual count.
The ID.
The tenant ID.
items AuditLog[]
The audit log MSP tenant ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log ID.
The audit log operator ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log tenant ID. Supported characters; = ^[a-z0-9]{1,50}$).
The audit log request body.
The request content length.
The audit log request ID.
Request Ts
The audit log request type (GET|POST|PUT|DELETE|PATCH)$).
The audit log request URL.
The audit log request Etag.
The audit log resource ID. Max length = 50.
The audit log resource key. Max length = 128.
The audit log resource version.
The audit log response body.
Response Code
The audit log response content length.
Response Ts
The audit log session key C. Max length = 128.
The audit log source IP address. Max length = 128.
The tenant ID.
Time Ms
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"esp_tenant_id": "string",
"id": "string",
"operator_id": "string",
"operator_tenant_id": "string",
"request_body": "string",
"request_content_length": 0,
"request_id": "string",
"request_ts": 0,
"request_type": "string",
"request_uri": "string",
"resource_etag": 0,
"resource_id": "string",
"resource_key": "string",
"resource_version": "string",
"response_body": "string",
"response_code": 0,
"response_content_length": 0,
"response_ts": 0,
"session_key_c": "string",
"source_ip": "string",
"tenant_id": "string",
"time_ms": 0
}
]
}