up
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
Some checks failed
AOC Guard CI / aoc-guard (push) Has been cancelled
AOC Guard CI / aoc-verify (push) Has been cancelled
Docs CI / lint-and-preview (push) Has been cancelled
Mirror Thin Bundle Sign & Verify / mirror-sign (push) Has been cancelled
api-governance / spectral-lint (push) Has been cancelled
This commit is contained in:
36
docs/modules/policy/samples/policy-ledger-export@draft.json
Normal file
36
docs/modules/policy/samples/policy-ledger-export@draft.json
Normal file
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"manifest": {
|
||||
"export_id": "01HZX2KDRT9Q9K5AZXWPRH62VE",
|
||||
"schema_version": "policy-ledger-export-v1",
|
||||
"generated_at": "2025-11-24T15:00:00Z",
|
||||
"record_count": 2,
|
||||
"sha256": "D4B8C98A2F946D93AFBDE6C4DE6535853A223E108A4A2C389E2C2623D3761C1E"
|
||||
},
|
||||
"records": [
|
||||
{
|
||||
"tenant_id": "acme",
|
||||
"job_id": "job-1",
|
||||
"context_id": "ctx",
|
||||
"component_purl": "pkg:npm/alpha@1.0.0",
|
||||
"advisory_id": "ADV-1",
|
||||
"status": "violation",
|
||||
"trace_ref": "trace-a",
|
||||
"occurred_at": "2025-11-24T15:00:00Z"
|
||||
},
|
||||
{
|
||||
"tenant_id": "acme",
|
||||
"job_id": "job-1",
|
||||
"context_id": "ctx",
|
||||
"component_purl": "pkg:npm/zeta@1.0.0",
|
||||
"advisory_id": "ADV-2",
|
||||
"status": "ok",
|
||||
"trace_ref": "trace-b",
|
||||
"occurred_at": "2025-11-24T15:00:00Z"
|
||||
}
|
||||
],
|
||||
"lines": [
|
||||
"{\"export_id\":\"01HZX2KDRT9Q9K5AZXWPRH62VE\",\"schema_version\":\"policy-ledger-export-v1\",\"generated_at\":\"2025-11-24T15:00:00Z\",\"record_count\":2,\"sha256\":\"D4B8C98A2F946D93AFBDE6C4DE6535853A223E108A4A2C389E2C2623D3761C1E\"}",
|
||||
"{\"tenant_id\":\"acme\",\"job_id\":\"job-1\",\"context_id\":\"ctx\",\"component_purl\":\"pkg:npm/alpha@1.0.0\",\"advisory_id\":\"ADV-1\",\"status\":\"violation\",\"trace_ref\":\"trace-a\",\"occurred_at\":\"2025-11-24T15:00:00Z\"}",
|
||||
"{\"tenant_id\":\"acme\",\"job_id\":\"job-1\",\"context_id\":\"ctx\",\"component_purl\":\"pkg:npm/zeta@1.0.0\",\"advisory_id\":\"ADV-2\",\"status\":\"ok\",\"trace_ref\":\"trace-b\",\"occurred_at\":\"2025-11-24T15:00:00Z\"}"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user