Audit Logs Operations Get By Id
Retrieve a single audit log event by ID (Admin, Security Operator and Auditor).
Unique audit event identifier
2
200 OK successful response envelope. The audit log event
{
"id": 2,
"occurredAt": "2026-01-15T09:45:00Z",
"actorUserId": 2,
"actorUsername": "bob.example",
"actorIp": "198.51.100.20",
"action": "GROUP_PUBLISH",
"targetType": "SECURITY_GROUP",
"targetId": "1",
"targetName": "Production Servers",
"outcome": "SUCCESS",
"details": {
"policyVersion": 4,
"ruleCount": 20
}
}
Unique audit event identifier
Timestamp when the auditable event occurred as an ISO 8601 date-time with offset
Numeric ID of the initiating user, or null if SYSTEM/unauthenticated
Username of the actor or 'SYSTEM'
Origin client IP address in canonical IPv4 or IPv6 format
Machine-readable identifier of the audited action, chosen by the code that records the event (for example AGENT_COMMAND_SEND, RULE_CREATE, AUTH_LOGIN); the set is open, and UNKNOWN_ACTION is stored when none was supplied
Kind of resource the audited action acted on (for example SECURITY_GROUP, POLICY, RULE, HYPERVISOR, AGENT, USER, SESSION), chosen by the code that records the event; the set is open; null when the event has no target
Unique identifier of the targeted resource
Human-readable label of the targeted resource
Result outcome of an audited transaction
SUCCESS: The audited operation succeeded; also the value recorded when the caller supplies no outcomeFAILURE: The audited operation failed, for example an agent command whose send reported a failure or an alert rule request that raised an exception
Structured metadata or contextual details
400 Bad Request: INVALID_ARGUMENT when the id path variable is not a number
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
401 Unauthorized: UNAUTHENTICATED when the VTP_SESSION cookie is missing, unknown, expired or revoked
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
403 Forbidden: PASSWORD_CHANGE_REQUIRED when the account must change its password first (only GET /api/v1/auth/session, POST /api/v1/auth/logout and POST /api/v1/auth/change-password are exempt); LICENSE_REQUIRED or LICENSE_EXPIRED while the license pool is restricted (no license, or expired past grace) (exempt: every route under /api/v1/auth, GET /api/v1/user/preferences, GET /api/v1/licensing/summary and POST /api/v1/licensing/licenses)
{
"errorCode": "string",
"message": "string",
"path": "string",
"timestamp": "string",
"reason": "string"
}
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
404 Not Found: AUDIT_LOG_NOT_FOUND when no audit log event has the id
"ApiErrorResponse Object"
Stable machine-readable error code. The known values are listed in ApiErrorCode; the set is not closed, so a client must tolerate an unlisted value.
Human-readable error description
Request URI path that produced the error
Timestamp when the error occurred as an ISO 8601 date-time with offset
A finer code, present only where an endpoint documents it. The Rule Pack endpoints' PACK_ENTRY_INVALID carries the import core's code here.
curl -H 'Authorization: <value>' https://{api_host}/api/v1/audit-logs/{id}