github.com/gemaraproj/gemara@v0.23.0

test/test-data/bad-enforcement-log.yaml raw

 1metadata:
 2  id: "enforcement-log-bad-001"
 3  type: EnforcementLog
 4  gemara-version: "0.20.0"
 5  version: "1.0.0"
 6  description: "Invalid enforcement log: action justification missing required log reference"
 7  author:
 8    id: enforcement-engine
 9    name: "ComplyTime Enforcement Engine"
10    type: Software
11    version: "1.2.0"
12    uri: "https://github.com/gemaraproj/gemara"
13  mapping-references:
14    - id: security-policy
15      title: "Information Security Policy"
16      version: "2.1.0"
17
18disposition: Enforced
19
20target:
21  id: gemara-repo
22  name: "gemaraproj/gemara"
23  type: Software
24  uri: "https://github.com/gemaraproj/gemara"
25
26actions:
27  - disposition: Enforcedd
28    method:
29      reference-id: security-policy
30      entry-id: EM-GATE-01
31    message: "Blocked merge: missing user documentation"
32    start: "2025-08-22T16:05:00Z"
33    steps:
34      - github.com/gemaraproj/gemara/enforcement/gate.BlockMerge
35    justification:
36      assessments:
37        - result: Failed
38          requirement:
39            reference-id: security-policy
40            entry-id: OSPS-DO-01.01
41          plan:
42            reference-id: security-policy
43            entry-id: AP-DO-01