github.com/gemaraproj/gemara@v1.3.0

test/test-data/bad-risk-catalog-duplicate-rank.yaml raw

 1metadata:
 2  id: BAD-RISK-CATALOG-DUP-RANK
 3  type: RiskCatalog
 4  gemara-version: "0.20.0"
 5  version: "1.0.0"
 6  description: Invalid — two risks use the same rank
 7  author:
 8    id: test
 9    name: Test
10    type: Human
11  mapping-references:
12    - id: EXAMPLE-THREAT-CATALOG
13      title: Example
14      version: "1.0.0"
15      description: x
16
17title: Invalid duplicate rank
18
19groups:
20  - id: CAT-SECURITY
21    title: Security
22    description: x
23    appetite: Low
24
25risks:
26  - id: RISK-A
27    title: A
28    description: x
29    group: CAT-SECURITY
30    severity: High
31    rank: 1
32  - id: RISK-B
33    title: B
34    description: x
35    group: CAT-SECURITY
36    severity: High
37    rank: 1