← Preview release

events/audit-events.json

Download
{
"enums": {
"AuditAction": [
"AUDIT_ACTION_CREATED",
"AUDIT_ACTION_UPDATED",
"AUDIT_ACTION_DELETED",
"AUDIT_ACTION_DISABLED",
"AUDIT_ACTION_VIEWED"
],
"AuditSource": [
"AUDIT_SOURCE_API",
"AUDIT_SOURCE_DASHBOARD",
"AUDIT_SOURCE_CLI",
"AUDIT_SOURCE_SDK",
"AUDIT_SOURCE_SYSTEM"
],
"ResourceType": [
"RESOURCE_TYPE_API_KEY",
"RESOURCE_TYPE_CUSTOMER",
"RESOURCE_TYPE_INVITATION",
"RESOURCE_TYPE_ORGANIZATION",
"RESOURCE_TYPE_PROJECT",
"RESOURCE_TYPE_PROJECT_MEMBER",
"RESOURCE_TYPE_USER",
"RESOURCE_TYPE_WORKER",
"RESOURCE_TYPE_GATEWAY",
"RESOURCE_TYPE_PLUGIN",
"RESOURCE_TYPE_HOOK",
"RESOURCE_TYPE_MODEL",
"RESOURCE_TYPE_AUTH_PROVIDER",
"RESOURCE_TYPE_SECRET",
"RESOURCE_TYPE_USER_CONNECTION",
"RESOURCE_TYPE_DEPLOYMENT",
"RESOURCE_TYPE_SETTING",
"RESOURCE_TYPE_USER_SOURCE",
"RESOURCE_TYPE_TOOL_EXECUTION"
]
},
"fields": [
{
"name": "event_id",
"type": "string",
"number": 1,
"required": true,
"comment": null
},
{
"name": "timestamp",
"type": "google.protobuf.Timestamp",
"number": 2,
"required": true,
"comment": null
},
{
"name": "client_ip",
"type": "string",
"number": 3,
"required": false,
"comment": null
},
{
"name": "action",
"type": "AuditAction",
"number": 4,
"required": true,
"comment": null
},
{
"name": "source",
"type": "AuditSource",
"number": 5,
"required": true,
"comment": null
},
{
"name": "display_name",
"type": "string",
"number": 6,
"required": true,
"comment": "Human-readable identity"
},
{
"name": "caller_identity",
"type": "identity.v1.CallerIdentity",
"number": 7,
"required": true,
"comment": null
},
{
"name": "resource_type",
"type": "ResourceType",
"number": 8,
"required": false,
"comment": "Type of resource being audited"
},
{
"name": "resource_id",
"type": "string",
"number": 9,
"required": false,
"comment": "Resource identifier"
},
{
"name": "resource_display",
"type": "string",
"number": 10,
"required": false,
"comment": "Human-readable resource name/display"
},
{
"name": "data",
"type": "AuditEventData",
"number": 11,
"required": false,
"comment": null
}
]
}