コンテンツにスキップ

Get logging policy matrix

GET
/api/admin/logging-policies/matrix
Code sample: Shell / cURL
curl --request GET \
--url https://auth.example.com/api/admin/logging-policies/matrix \
--header 'Authorization: Bearer <token>'

Returns logging policy assignments, fallback policies, and snapshots visible to the admin.

Successful JSON response.

Media type application/json
object
item
required
object
key
additional properties
key
additional properties
Example
{
"item": {
"tenant_id": "tenant_123",
"version": 3,
"assignments": [
{
"id": "pol_123",
"tenant_id": "tenant_123",
"log_type": "security",
"plane": "control",
"destination_id": "dest_123",
"fallback_policy_id": null,
"enabled": 1,
"managed_by": "platform",
"change_protection": "confirm",
"approval_policy_id": null,
"policy_hash": "sha256:abc123",
"version": 1,
"created_at": 1770000000000,
"updated_at": 1770000000000
}
],
"fallbacks": [
{
"id": "pol_fb_123",
"scope_type": "tenant",
"scope_id": "tenant_123",
"log_type": "security",
"plane": "control",
"fallback_destination_id": "dest_fallback_123",
"failure_mode": "retry_then_dlq",
"version": 1,
"created_at": 1770000000000,
"updated_at": 1770000000000
}
],
"snapshots": [
{
"id": "snap_123",
"scope_type": "tenant",
"scope_id": "tenant_123",
"version": 3,
"status": "published",
"policy_hash": "sha256:policy",
"object_ref": "kv://logging/policies/tenant_123/3",
"created_at": 1770000000000,
"published_at": 1770000000000
}
]
}
}

Error response.

Media type application/json
object
error
string
message
string
error_description
string
key
additional properties
Example generated
{
"error": "example",
"message": "example",
"error_description": "example"
}