audit-record
Audit payload
{ 7 keys }
"id": "audit_2026_04_25_001"
"actor": "alice"
"action": "backup_delete"
"filename": "prod_2026-04-25.bak"
"metadata":
{ 4 keys }
"size_bytes": 1287452160
"checksum_sha256": "abc123def456"
"tags":
[ 2 items ]
0:"scheduled"
1:"validated"
"retention":
{ 2 keys }
"policy": "30d"
"expires_at": "2026-05-25T10:30:00Z"
"context":
{ 3 keys }
"ip": "10.0.0.42"
"user_agent": "Mozilla/5.0"
"session_id": null
"result":
{ 2 keys }
"ok": true
"duration_ms": 142
depth-1
depth=1 (most collapsed)
{ 7 keys }
"id": "audit_2026_04_25_001"
"actor": "alice"
"action": "backup_delete"
"filename": "prod_2026-04-25.bak"
"metadata":
{ 4 keys }
"size_bytes": 1287452160
"checksum_sha256": "abc123def456"
"tags":
[ 2 items ]
0:"scheduled"
1:"validated"
"retention":
{ 2 keys }
"policy": "30d"
"expires_at": "2026-05-25T10:30:00Z"
"context":
{ 3 keys }
"ip": "10.0.0.42"
"user_agent": "Mozilla/5.0"
"session_id": null
"result":
{ 2 keys }
"ok": true
"duration_ms": 142
depth-3
depth=3 (more open)
{ 7 keys }
"id": "audit_2026_04_25_001"
"actor": "alice"
"action": "backup_delete"
"filename": "prod_2026-04-25.bak"
"metadata":
{ 4 keys }
"size_bytes": 1287452160
"checksum_sha256": "abc123def456"
"tags":
[ 2 items ]
0:"scheduled"
1:"validated"
"retention":
{ 2 keys }
"policy": "30d"
"expires_at": "2026-05-25T10:30:00Z"
"context":
{ 3 keys }
"ip": "10.0.0.42"
"user_agent": "Mozilla/5.0"
"session_id": null
"result":
{ 2 keys }
"ok": true
"duration_ms": 142
primitives
All scalar types
{ 6 keys }
"string": "hello world"
"int": 42
"float": 3.14
"bool_true": true
"bool_false": false
"nullable": null
empty-containers
Empty edge cases
{ 2 keys }
"empty_object": {}
"empty_array": []
bare-array
[ 6 items ]
0:1
1:2
2:3
3:"four"
4:true
5:null