Skip to content

Commit feef210

Browse files
committed
feat(spec): add QuarantineReceipt example
1 parent 2902dee commit feef210

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

examples/quarantine_receipt.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"id": "urn:srcos:quarantine:q001",
3+
"type": "QuarantineReceipt",
4+
"specVersion": "2.0.0",
5+
"subjectId": "urn:srcos:session:s001",
6+
"triggerType": "egress_policy_violation",
7+
"isolationMode": "cgroup-ebpf",
8+
"scope": {
9+
"pids": [
10+
4242
11+
],
12+
"cgroup": "/sys/fs/cgroup/triune/quarantine/pid-4242",
13+
"unit": null,
14+
"hostRefs": [
15+
"SourceOS.local"
16+
]
17+
},
18+
"triggerEvidenceRefs": [
19+
"urn:srcos:audit-anchor:001"
20+
],
21+
"startedAt": "2025-12-24T05:00:06Z",
22+
"releasedAt": "2025-12-24T05:00:08Z",
23+
"outcome": "released",
24+
"restorationDecisionId": "urn:srcos:validator-decision:vd001",
25+
"receiptHash": "sha256:9999999999999999999999999999999999999999999999999999999999999999"
26+
}

0 commit comments

Comments
 (0)