@mitre/hdf-schema 2.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +14 -2
  2. package/dist/helpers.js +4 -44
  3. package/dist/index.d.ts +6 -8
  4. package/dist/index.js +3 -6
  5. package/dist/schemas/hdf-amendments.schema.json +33 -33
  6. package/dist/schemas/hdf-baseline.schema.json +38 -38
  7. package/dist/schemas/hdf-comparison.schema.json +88 -88
  8. package/dist/schemas/hdf-evidence-package.schema.json +32 -32
  9. package/dist/schemas/hdf-plan.schema.json +38 -38
  10. package/dist/schemas/hdf-results.schema.json +67 -67
  11. package/dist/schemas/hdf-system.schema.json +47 -47
  12. package/package.json +25 -20
  13. package/src/schemas/hdf-amendments.schema.json +7 -7
  14. package/src/schemas/hdf-baseline.schema.json +10 -10
  15. package/src/schemas/hdf-comparison.schema.json +13 -13
  16. package/src/schemas/hdf-evidence-package.schema.json +6 -6
  17. package/src/schemas/hdf-plan.schema.json +6 -6
  18. package/src/schemas/hdf-results.schema.json +24 -24
  19. package/src/schemas/hdf-system.schema.json +9 -9
  20. package/src/schemas/primitives/amendments.schema.json +7 -7
  21. package/src/schemas/primitives/common.schema.json +1 -1
  22. package/src/schemas/primitives/comparison.schema.json +6 -6
  23. package/src/schemas/primitives/component.schema.json +6 -6
  24. package/src/schemas/primitives/data-flow.schema.json +1 -1
  25. package/src/schemas/primitives/extensions.schema.json +13 -13
  26. package/src/schemas/primitives/parameter.schema.json +1 -1
  27. package/src/schemas/primitives/plan.schema.json +2 -2
  28. package/src/schemas/primitives/platform.schema.json +1 -1
  29. package/src/schemas/primitives/result.schema.json +1 -1
  30. package/src/schemas/primitives/runner.schema.json +2 -2
  31. package/src/schemas/primitives/statistics.schema.json +1 -1
  32. package/src/schemas/primitives/system.schema.json +2 -2
  33. package/src/schemas/primitives/target.schema.json +3 -3
  34. package/LICENSE.md +0 -55
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://mitre.github.io/hdf-libs/schemas/hdf-comparison/v1.0.0",
3
+ "$id": "https://mitre.github.io/hdf-libs/schemas/hdf-comparison/v3.0.0",
4
4
  "type": "object",
5
5
  "unevaluatedProperties": false,
6
6
  "required": [
@@ -17,7 +17,7 @@
17
17
  "description": "Schema version for this comparison format."
18
18
  },
19
19
  "comparisonMode": {
20
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Comparison_Mode",
20
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Comparison_Mode",
21
21
  "description": "The mode of comparison being performed."
22
22
  },
23
23
  "timestamp": {
@@ -26,50 +26,50 @@
26
26
  "description": "When this comparison was performed."
27
27
  },
28
28
  "generator": {
29
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Generator",
29
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Generator",
30
30
  "description": "Information about the tool that generated this comparison."
31
31
  },
32
32
  "sources": {
33
33
  "type": "array",
34
34
  "minItems": 2,
35
35
  "items": {
36
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Source"
36
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Source"
37
37
  },
38
38
  "description": "The source documents being compared. At least two sources are required."
39
39
  },
40
40
  "matching": {
41
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Matching_Config",
41
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Matching_Config",
42
42
  "description": "Configuration for how requirements were matched across sources."
43
43
  },
44
44
  "summary": {
45
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Comparison_Summary",
45
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Comparison_Summary",
46
46
  "description": "Summary statistics for the overall comparison."
47
47
  },
48
48
  "baselineDiffs": {
49
49
  "type": "array",
50
50
  "items": {
51
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Baseline_Diff"
51
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Baseline_Diff"
52
52
  },
53
53
  "description": "Comparison of baselines between sources."
54
54
  },
55
55
  "requirementDiffs": {
56
56
  "type": "array",
57
57
  "items": {
58
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Requirement_Diff"
58
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Requirement_Diff"
59
59
  },
60
60
  "description": "Detailed comparison of individual requirements between sources."
61
61
  },
62
62
  "componentDiffs": {
63
63
  "type": "array",
64
64
  "items": {
65
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Component_Diff"
65
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Component_Diff"
66
66
  },
67
67
  "description": "Comparison of components between two system documents. Used in systemDrift mode."
68
68
  },
69
69
  "packageDiffs": {
70
70
  "type": "array",
71
71
  "items": {
72
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Package_Diff"
72
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Package_Diff"
73
73
  },
74
74
  "description": "Comparison of packages between two SBOMs. Used in systemDrift mode for SBOM comparison."
75
75
  },
@@ -81,19 +81,19 @@
81
81
  "drift": {
82
82
  "type": "array",
83
83
  "items": {
84
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Requirement_Diff"
84
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Requirement_Diff"
85
85
  },
86
86
  "description": "External/metadata changes separate from status changes (Terraform pattern)."
87
87
  },
88
88
  "annotations": {
89
89
  "type": "object",
90
90
  "additionalProperties": {
91
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0#/$defs/Annotation"
91
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0#/$defs/Annotation"
92
92
  },
93
93
  "description": "Map of annotation IDs to annotation objects, providing context or action items for requirement diffs."
94
94
  },
95
95
  "integrity": {
96
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Integrity",
96
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Integrity",
97
97
  "description": "Cryptographic integrity information for verifying this comparison document."
98
98
  },
99
99
  "extensions": {
@@ -105,9 +105,9 @@
105
105
  "description": "Structured comparison between two or more HDF security assessment documents. Supports temporal, baseline, fleet, and multi-source comparison modes.",
106
106
  "title": "HDF Comparison",
107
107
  "$defs": {
108
- "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0": {
108
+ "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0": {
109
109
  "$schema": "https://json-schema.org/draft/2020-12/schema",
110
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v1.0.0",
110
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/comparison/v3.0.0",
111
111
  "title": "HDF Comparison Primitives",
112
112
  "description": "Types for representing structured comparisons between HDF security assessment documents.",
113
113
  "$defs": {
@@ -276,7 +276,7 @@
276
276
  "description": "The original format of the source document before conversion to HDF."
277
277
  },
278
278
  "checksum": {
279
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Checksum",
279
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Checksum",
280
280
  "description": "Cryptographic checksum of the source document for integrity verification."
281
281
  },
282
282
  "assessmentTimestamp": {
@@ -285,13 +285,13 @@
285
285
  "description": "When the source assessment was performed. ISO 8601 format."
286
286
  },
287
287
  "tool": {
288
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Tool",
288
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Tool",
289
289
  "description": "The security tool that produced the assessment data in this source."
290
290
  },
291
291
  "components": {
292
292
  "type": "array",
293
293
  "items": {
294
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v2.0.0#/$defs/Component"
294
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.0.0#/$defs/Component"
295
295
  },
296
296
  "description": "The components assessed in this source."
297
297
  },
@@ -809,7 +809,7 @@
809
809
  "before": {
810
810
  "oneOf": [
811
811
  {
812
- "$ref": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v2.0.0#/$defs/Evaluated_Requirement"
812
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v3.0.0#/$defs/Evaluated_Requirement"
813
813
  },
814
814
  {
815
815
  "type": "null"
@@ -820,7 +820,7 @@
820
820
  "after": {
821
821
  "oneOf": [
822
822
  {
823
- "$ref": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v2.0.0#/$defs/Evaluated_Requirement"
823
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v3.0.0#/$defs/Evaluated_Requirement"
824
824
  },
825
825
  {
826
826
  "type": "null"
@@ -916,9 +916,9 @@
916
916
  }
917
917
  }
918
918
  },
919
- "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0": {
919
+ "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0": {
920
920
  "$schema": "https://json-schema.org/draft/2020-12/schema",
921
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0",
921
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0",
922
922
  "title": "HDF Common Primitives",
923
923
  "description": "Shared building blocks used by hdf-results and hdf-baseline schemas.",
924
924
  "$defs": {
@@ -1734,9 +1734,9 @@
1734
1734
  }
1735
1735
  }
1736
1736
  },
1737
- "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0": {
1737
+ "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0": {
1738
1738
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1739
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0",
1739
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0",
1740
1740
  "title": "HDF Extension Primitives",
1741
1741
  "description": "Extension types for waivers, attestations, generators, and integrity.",
1742
1742
  "$defs": {
@@ -1753,11 +1753,11 @@
1753
1753
  ],
1754
1754
  "properties": {
1755
1755
  "type": {
1756
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v2.0.0#/$defs/Override_Type",
1756
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.0.0#/$defs/Override_Type",
1757
1757
  "description": "The type of status override applied to this requirement."
1758
1758
  },
1759
1759
  "status": {
1760
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0#/$defs/Result_Status",
1760
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0#/$defs/Result_Status",
1761
1761
  "description": "The new status this override sets for the requirement. This intentionally changes the compliance status."
1762
1762
  },
1763
1763
  "reason": {
@@ -1765,7 +1765,7 @@
1765
1765
  "description": "Explanation for why this status override was applied."
1766
1766
  },
1767
1767
  "appliedBy": {
1768
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Identity",
1768
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Identity",
1769
1769
  "description": "Identity of who applied this status override. For simple cases, use type 'simple' with just an identifier."
1770
1770
  },
1771
1771
  "appliedAt": {
@@ -1779,18 +1779,18 @@
1779
1779
  "description": "Timestamp when this status override expires and must be reviewed/renewed. REQUIRED - no permanent status overrides allowed. ISO 8601 format."
1780
1780
  },
1781
1781
  "signature": {
1782
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Signature",
1782
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Signature",
1783
1783
  "description": "Optional digital signature for enhanced trust and non-repudiation. Supports hardware security tokens (PKCS#11/PKCS#12), Yubikeys, GPG keys, passkeys, and other signing methods."
1784
1784
  },
1785
1785
  "evidence": {
1786
1786
  "type": "array",
1787
1787
  "items": {
1788
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Evidence"
1788
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Evidence"
1789
1789
  },
1790
1790
  "description": "Supporting evidence for this status override, such as screenshots demonstrating manual verification for attestations."
1791
1791
  },
1792
1792
  "previousChecksum": {
1793
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Checksum",
1793
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Checksum",
1794
1794
  "description": "SHA-256 checksum of the previous amendment in chronological order. Creates a tamper-evident chain of amendments (similar to blockchain). Null for the first amendment on a requirement."
1795
1795
  }
1796
1796
  },
@@ -1860,7 +1860,7 @@
1860
1860
  "description": "Detailed explanation of the plan, including what actions will be taken."
1861
1861
  },
1862
1862
  "appliedBy": {
1863
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Identity",
1863
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Identity",
1864
1864
  "description": "Identity of who created this POA&M. For simple cases, use type 'simple' with just an identifier."
1865
1865
  },
1866
1866
  "appliedAt": {
@@ -1876,23 +1876,23 @@
1876
1876
  "milestones": {
1877
1877
  "type": "array",
1878
1878
  "items": {
1879
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Milestone"
1879
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Milestone"
1880
1880
  },
1881
1881
  "description": "Optional array of milestones tracking progress toward completion."
1882
1882
  },
1883
1883
  "signature": {
1884
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Signature",
1884
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Signature",
1885
1885
  "description": "Optional digital signature for enhanced trust and non-repudiation."
1886
1886
  },
1887
1887
  "evidence": {
1888
1888
  "type": "array",
1889
1889
  "items": {
1890
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Evidence"
1890
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Evidence"
1891
1891
  },
1892
1892
  "description": "Supporting evidence for this POA&M, such as documentation of compensating controls or mitigation implementation."
1893
1893
  },
1894
1894
  "previousChecksum": {
1895
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Checksum",
1895
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Checksum",
1896
1896
  "description": "SHA-256 checksum of the previous amendment in chronological order. Creates a tamper-evident chain of amendments (similar to blockchain). Null for the first amendment on a requirement."
1897
1897
  }
1898
1898
  },
@@ -2043,7 +2043,7 @@
2043
2043
  },
2044
2044
  "properties": {
2045
2045
  "algorithm": {
2046
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Hash_Algorithm",
2046
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Hash_Algorithm",
2047
2047
  "description": "The hash algorithm used for the checksum."
2048
2048
  },
2049
2049
  "checksum": {
@@ -2076,9 +2076,9 @@
2076
2076
  }
2077
2077
  }
2078
2078
  },
2079
- "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v2.0.0": {
2079
+ "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.0.0": {
2080
2080
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2081
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v2.0.0",
2081
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.0.0",
2082
2082
  "title": "HDF Amendment Primitives",
2083
2083
  "description": "Types for waivers, attestations, exceptions, and POA&Ms that modify requirement compliance status.",
2084
2084
  "$defs": {
@@ -2120,7 +2120,7 @@
2120
2120
  "description": "Name of the baseline containing the requirement. Required when the system has multiple baselines with potentially overlapping requirement IDs."
2121
2121
  },
2122
2122
  "status": {
2123
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0#/$defs/Result_Status",
2123
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0#/$defs/Result_Status",
2124
2124
  "description": "The new status this amendment sets. For POA&Ms, this is the current status (POA&Ms track work, they don't change status)."
2125
2125
  },
2126
2126
  "reason": {
@@ -2128,7 +2128,7 @@
2128
2128
  "description": "Justification for this amendment."
2129
2129
  },
2130
2130
  "appliedBy": {
2131
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Identity",
2131
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Identity",
2132
2132
  "description": "Identity of who applied this amendment."
2133
2133
  },
2134
2134
  "appliedAt": {
@@ -2144,22 +2144,22 @@
2144
2144
  "evidence": {
2145
2145
  "type": "array",
2146
2146
  "items": {
2147
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Evidence"
2147
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Evidence"
2148
2148
  },
2149
2149
  "description": "Supporting evidence (screenshots, logs, URLs, documents)."
2150
2150
  },
2151
2151
  "signature": {
2152
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Signature",
2152
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Signature",
2153
2153
  "description": "Digital signature for non-repudiation."
2154
2154
  },
2155
2155
  "previousChecksum": {
2156
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Checksum",
2156
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Checksum",
2157
2157
  "description": "Checksum of the prior amendment in the chain. Creates a tamper-evident linked list. Null for the first amendment."
2158
2158
  },
2159
2159
  "milestones": {
2160
2160
  "type": "array",
2161
2161
  "items": {
2162
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Milestone"
2162
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Milestone"
2163
2163
  },
2164
2164
  "description": "Remediation milestones (primarily for POA&M type amendments)."
2165
2165
  },
@@ -2240,9 +2240,9 @@
2240
2240
  }
2241
2241
  }
2242
2242
  },
2243
- "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0": {
2243
+ "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0": {
2244
2244
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2245
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0",
2245
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0",
2246
2246
  "title": "HDF Result Primitives",
2247
2247
  "description": "Types for representing assessment results and statuses.",
2248
2248
  "$defs": {
@@ -2373,9 +2373,9 @@
2373
2373
  }
2374
2374
  }
2375
2375
  },
2376
- "https://mitre.github.io/hdf-libs/schemas/primitives/component/v2.0.0": {
2376
+ "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.0.0": {
2377
2377
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2378
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v2.0.0",
2378
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.0.0",
2379
2379
  "title": "HDF Component Primitives",
2380
2380
  "description": "First-class system component with identity, polymorphic type, SBOM embedding, and system-binding properties. Components are the successor to Targets, adding stable identity (componentId), external system cross-references, and software inventory.",
2381
2381
  "$defs": {
@@ -2405,7 +2405,7 @@
2405
2405
  "description": "Description of this component's role or purpose."
2406
2406
  },
2407
2407
  "owner": {
2408
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Identity",
2408
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Identity",
2409
2409
  "description": "Team or individual responsible for this component. Enables per-component ownership when different teams manage different parts of a system."
2410
2410
  },
2411
2411
  "externalIds": {
@@ -2449,12 +2449,12 @@
2449
2449
  "inputOverrides": {
2450
2450
  "type": "array",
2451
2451
  "items": {
2452
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v2.0.0#/$defs/Input_Override"
2452
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.0.0#/$defs/Input_Override"
2453
2453
  },
2454
2454
  "description": "System-specific overrides for baseline input values."
2455
2455
  },
2456
2456
  "targetSelector": {
2457
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v2.0.0#/$defs/Target_Selector",
2457
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.0.0#/$defs/Target_Selector",
2458
2458
  "description": "Label selector to match targets belonging to this component during migration. Targets with matching labels are automatically included."
2459
2459
  }
2460
2460
  },
@@ -2774,7 +2774,7 @@
2774
2774
  "const": "cloudAccount"
2775
2775
  },
2776
2776
  "provider": {
2777
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Cloud_Provider",
2777
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Cloud_Provider",
2778
2778
  "description": "Cloud provider."
2779
2779
  },
2780
2780
  "accountId": {
@@ -2813,7 +2813,7 @@
2813
2813
  "const": "cloudResource"
2814
2814
  },
2815
2815
  "provider": {
2816
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Cloud_Provider",
2816
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Cloud_Provider",
2817
2817
  "description": "Cloud provider."
2818
2818
  },
2819
2819
  "resourceType": {
@@ -2993,9 +2993,9 @@
2993
2993
  }
2994
2994
  }
2995
2995
  },
2996
- "https://mitre.github.io/hdf-libs/schemas/primitives/system/v2.0.0": {
2996
+ "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.0.0": {
2997
2997
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2998
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v2.0.0",
2998
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.0.0",
2999
2999
  "title": "HDF System Primitives",
3000
3000
  "description": "Types for describing system architecture, authorization boundaries, and components.",
3001
3001
  "$defs": {
@@ -3046,7 +3046,7 @@
3046
3046
  "description": "Rationale for why this override is needed."
3047
3047
  },
3048
3048
  "approvedBy": {
3049
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Identity",
3049
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Identity",
3050
3050
  "description": "Identity of the person or system that approved this override."
3051
3051
  }
3052
3052
  },
@@ -3127,9 +3127,9 @@
3127
3127
  }
3128
3128
  }
3129
3129
  },
3130
- "https://mitre.github.io/hdf-libs/schemas/hdf-results/v2.0.0": {
3130
+ "https://mitre.github.io/hdf-libs/schemas/hdf-results/v3.0.0": {
3131
3131
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3132
- "$id": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v2.0.0",
3132
+ "$id": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v3.0.0",
3133
3133
  "type": "object",
3134
3134
  "unevaluatedProperties": false,
3135
3135
  "required": [
@@ -3149,7 +3149,7 @@
3149
3149
  "components": {
3150
3150
  "type": "array",
3151
3151
  "items": {
3152
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v2.0.0#/$defs/Component"
3152
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.0.0#/$defs/Component"
3153
3153
  },
3154
3154
  "description": "The components that were assessed. Each component describes a system element (host, container, cloud resource, application, etc.) with optional identity, SBOM, and external references."
3155
3155
  },
@@ -3161,27 +3161,27 @@
3161
3161
  "description": "Information on the baselines that were evaluated, including findings."
3162
3162
  },
3163
3163
  "statistics": {
3164
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v2.0.0#/$defs/Statistics",
3164
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.0.0#/$defs/Statistics",
3165
3165
  "description": "Statistics for the assessment run, including duration and result counts."
3166
3166
  },
3167
3167
  "generator": {
3168
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Generator",
3168
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Generator",
3169
3169
  "description": "Information about the tool that generated this file."
3170
3170
  },
3171
3171
  "tool": {
3172
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Tool",
3172
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Tool",
3173
3173
  "description": "The security tool that produced the assessment data in this file."
3174
3174
  },
3175
3175
  "integrity": {
3176
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Integrity",
3176
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Integrity",
3177
3177
  "description": "Cryptographic integrity information for verifying this file."
3178
3178
  },
3179
3179
  "runner": {
3180
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v2.0.0#/$defs/Runner",
3180
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.0.0#/$defs/Runner",
3181
3181
  "description": "Information about the test execution environment where the security tool was run. Distinct from targets (what is being tested)."
3182
3182
  },
3183
3183
  "remediation": {
3184
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Remediation",
3184
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Remediation",
3185
3185
  "description": "Optional reference to automated remediation resources (Ansible playbooks, Terraform scripts, etc.) for fixing failing requirements found in this assessment."
3186
3186
  },
3187
3187
  "systemRef": {
@@ -3289,14 +3289,14 @@
3289
3289
  ],
3290
3290
  "allOf": [
3291
3291
  {
3292
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Baseline_Metadata"
3292
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Baseline_Metadata"
3293
3293
  }
3294
3294
  ],
3295
3295
  "properties": {
3296
3296
  "depends": {
3297
3297
  "type": "array",
3298
3298
  "items": {
3299
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Dependency"
3299
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Dependency"
3300
3300
  },
3301
3301
  "description": "The set of dependencies this baseline depends on."
3302
3302
  },
@@ -3309,15 +3309,15 @@
3309
3309
  "description": "The description - should be more detailed than the summary."
3310
3310
  },
3311
3311
  "integrity": {
3312
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Integrity",
3312
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Integrity",
3313
3313
  "description": "Cryptographic integrity information for verifying this baseline has not been tampered with."
3314
3314
  },
3315
3315
  "originalChecksum": {
3316
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Checksum",
3316
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Checksum",
3317
3317
  "description": "SHA-256 checksum of the original baseline definition file (before execution). This is an immutable reference to the baseline as defined, used to detect tampering with baseline requirements or metadata."
3318
3318
  },
3319
3319
  "resultsChecksum": {
3320
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Checksum",
3320
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Checksum",
3321
3321
  "description": "SHA-256 checksum of the raw results before any amendments (statusOverrides or POAMs). Used to detect tampering with test results. Compare with currentChecksum to verify amendment integrity."
3322
3322
  },
3323
3323
  "statusMessage": {
@@ -3335,14 +3335,14 @@
3335
3335
  "groups": {
3336
3336
  "type": "array",
3337
3337
  "items": {
3338
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Requirement_Group"
3338
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Requirement_Group"
3339
3339
  },
3340
3340
  "description": "A set of descriptions for the requirement groups."
3341
3341
  },
3342
3342
  "inputs": {
3343
3343
  "type": "array",
3344
3344
  "items": {
3345
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v2.0.0#/$defs/Input"
3345
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.0.0#/$defs/Input"
3346
3346
  },
3347
3347
  "description": "Typed inputs used to parameterize this baseline at execution time. See the Input primitive for the full schema."
3348
3348
  },
@@ -3367,7 +3367,7 @@
3367
3367
  ],
3368
3368
  "allOf": [
3369
3369
  {
3370
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Requirement_Core"
3370
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Requirement_Core"
3371
3371
  }
3372
3372
  ],
3373
3373
  "properties": {
@@ -3375,7 +3375,7 @@
3375
3375
  "type": "array",
3376
3376
  "minItems": 1,
3377
3377
  "items": {
3378
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0#/$defs/Requirement_Description"
3378
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0#/$defs/Requirement_Description"
3379
3379
  },
3380
3380
  "contains": {
3381
3381
  "type": "object",
@@ -3391,43 +3391,43 @@
3391
3391
  "description": "Array of labeled descriptions. At least one description with label 'default' must be present. Convention: place default description first. Common labels: 'default', 'check', 'fix', 'rationale'."
3392
3392
  },
3393
3393
  "severity": {
3394
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Severity",
3394
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Severity",
3395
3395
  "description": "Explicit severity rating. Typically derived from impact score but provided explicitly for clarity."
3396
3396
  },
3397
3397
  "sourceLocation": {
3398
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Source_Location",
3398
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Source_Location",
3399
3399
  "description": "The explicit location of the requirement within the source code."
3400
3400
  },
3401
3401
  "results": {
3402
3402
  "type": "array",
3403
3403
  "minItems": 1,
3404
3404
  "items": {
3405
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0#/$defs/Requirement_Result"
3405
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0#/$defs/Requirement_Result"
3406
3406
  },
3407
3407
  "description": "The set of all tests within the requirement and their results."
3408
3408
  },
3409
3409
  "statusOverrides": {
3410
3410
  "type": "array",
3411
3411
  "items": {
3412
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/Status_Override"
3412
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/Status_Override"
3413
3413
  },
3414
3414
  "description": "Chronological history of all status overrides applied to this requirement. Status overrides are intentional changes to the compliance status (waivers, attestations). Most recent override should be first in array. Preserves full audit trail."
3415
3415
  },
3416
3416
  "poams": {
3417
3417
  "type": "array",
3418
3418
  "items": {
3419
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v2.0.0#/$defs/POAM"
3419
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.0.0#/$defs/POAM"
3420
3420
  },
3421
3421
  "description": "Plan of Action and Milestones for tracking remediation, mitigation, or risk acceptance. POAMs do NOT change effectiveStatus - they track the work being done to address a failure. Separate from statusOverrides which DO change status."
3422
3422
  },
3423
3423
  "effectiveStatus": {
3424
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v2.0.0#/$defs/Result_Status",
3424
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.0.0#/$defs/Result_Status",
3425
3425
  "description": "The current effective status of this requirement after applying the most recent non-expired override, or computed from results if no overrides exist."
3426
3426
  },
3427
3427
  "evidence": {
3428
3428
  "type": "array",
3429
3429
  "items": {
3430
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Evidence"
3430
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Evidence"
3431
3431
  },
3432
3432
  "description": "Supporting evidence for this requirement's findings, such as screenshots, code samples, or log excerpts."
3433
3433
  }
@@ -3437,9 +3437,9 @@
3437
3437
  }
3438
3438
  }
3439
3439
  },
3440
- "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v2.0.0": {
3440
+ "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.0.0": {
3441
3441
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3442
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v2.0.0",
3442
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.0.0",
3443
3443
  "title": "HDF Statistics Primitives",
3444
3444
  "description": "Statistics types for tracking assessment run metrics.",
3445
3445
  "$defs": {
@@ -3508,9 +3508,9 @@
3508
3508
  }
3509
3509
  }
3510
3510
  },
3511
- "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v2.0.0": {
3511
+ "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.0.0": {
3512
3512
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3513
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v2.0.0",
3513
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.0.0",
3514
3514
  "title": "HDF Runner Primitive",
3515
3515
  "description": "Information about the test execution environment where the security tool/scanner was executed.",
3516
3516
  "$defs": {
@@ -3546,7 +3546,7 @@
3546
3546
  "description": "The container instance identifier. Example: 'a1b2c3d4e5f6', 'security-scan-job-xyz123'. Can be a Docker container ID, Kubernetes pod name, or other container runtime identifier."
3547
3547
  },
3548
3548
  "operator": {
3549
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v2.0.0#/$defs/Identity",
3549
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.0.0#/$defs/Identity",
3550
3550
  "description": "The identity of the person or system responsible for executing the test. This could be a human auditor manually completing a checklist, an automated CI/CD system, or a security tool. Optional field to support both automated and manual HDF generation."
3551
3551
  }
3552
3552
  },
@@ -3593,9 +3593,9 @@
3593
3593
  }
3594
3594
  }
3595
3595
  },
3596
- "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v2.0.0": {
3596
+ "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.0.0": {
3597
3597
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3598
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v2.0.0",
3598
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.0.0",
3599
3599
  "title": "HDF Parameter Primitives",
3600
3600
  "description": "Input/parameter type definitions for typed, traceable configuration values that bridge governance prose and scanner automation.",
3601
3601
  "$defs": {