feat: add verifiable audit evidence bundles

This commit is contained in:
2026-08-20 18:00:13 +02:00
parent f07d12fa52
commit 7b43816b22
19 changed files with 2164 additions and 10 deletions
+83
View File
@@ -0,0 +1,83 @@
{
"manifest": {
"bundle_id": "fixture-bundle-v1",
"entries": [
{
"kind": "audit_record",
"path": "records/0",
"sha256": "4d1acd7f7bb9a4a74c88c43485a0fcfde7c25ae086745ae18fa94107ad5bd3d9"
}
],
"generated_at": "2026-08-20T10:00:00Z",
"manifest_sha256": "6c6eac07c422e14936a5abddfe999e1d7346371284b5faa111ddaea0399e538b",
"record_count": 1,
"redaction": {
"profile": "bounded-v1",
"prohibited_fields": [
"authorization",
"body",
"content_bytes",
"credential",
"credentials",
"file_content",
"file_contents",
"message",
"message_body",
"password",
"payload",
"raw_message",
"recipient_list",
"recipients",
"secret",
"token"
],
"raw_evidence_embedded": false
},
"reference_count": 0,
"request": {
"record_ids": [
"fixture-audit-1"
],
"selection_complete": true
},
"schema": "govoplan.audit.evidence-bundle",
"scope": {
"kind": "tenant",
"tenant_id": "tenant-fixture"
},
"signatures": [],
"version": "1.0"
},
"records": [
{
"action": "fixture.recorded",
"actor": {
"api_key_id": null,
"user_id": null
},
"details": {
"correlation_id": "fixture-trace",
"result": "accepted"
},
"object": {
"id": "fixture-1",
"type": "fixture"
},
"policy_source_provenance": {},
"record_id": "fixture-audit-1",
"recorded_at": "2026-08-20T10:00:00Z",
"redaction": {
"profile": "bounded-v1",
"redacted_paths": []
},
"scope": "tenant",
"tenant_id": "tenant-fixture",
"trace_context": {
"correlation_id": "fixture-trace"
}
}
],
"references": [],
"schema": "govoplan.audit.evidence-bundle",
"version": "1.0"
}