@mitre/hdf-schema 3.1.0 → 3.3.0

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 (38) hide show
  1. package/README.md +20 -14
  2. package/dist/go/go.mod +2 -2
  3. package/dist/go/hdf.go +570 -210
  4. package/dist/helpers.d.ts +5 -1
  5. package/dist/index.d.ts +27 -52
  6. package/dist/index.js +30 -48
  7. package/dist/schemas/hdf-amendments.schema.json +565 -45
  8. package/dist/schemas/hdf-baseline.schema.json +570 -50
  9. package/dist/schemas/hdf-comparison.schema.json +820 -103
  10. package/dist/schemas/hdf-evidence-package.schema.json +564 -44
  11. package/dist/schemas/hdf-plan.schema.json +571 -50
  12. package/dist/schemas/hdf-results.schema.json +777 -80
  13. package/dist/schemas/hdf-system.schema.json +596 -59
  14. package/dist/ts/hdf.d.ts +3562 -0
  15. package/dist/ts/hdf.js +564 -0
  16. package/dist/ts/hdf.ts +3623 -0
  17. package/package.json +18 -17
  18. package/dist/ts/hdf-amendments.d.ts +0 -474
  19. package/dist/ts/hdf-amendments.js +0 -88
  20. package/dist/ts/hdf-amendments.ts +0 -486
  21. package/dist/ts/hdf-baseline.d.ts +0 -472
  22. package/dist/ts/hdf-baseline.js +0 -58
  23. package/dist/ts/hdf-baseline.ts +0 -483
  24. package/dist/ts/hdf-comparison.d.ts +0 -1185
  25. package/dist/ts/hdf-comparison.js +0 -216
  26. package/dist/ts/hdf-comparison.ts +0 -1210
  27. package/dist/ts/hdf-evidence-package.d.ts +0 -348
  28. package/dist/ts/hdf-evidence-package.js +0 -39
  29. package/dist/ts/hdf-evidence-package.ts +0 -356
  30. package/dist/ts/hdf-plan.d.ts +0 -204
  31. package/dist/ts/hdf-plan.js +0 -23
  32. package/dist/ts/hdf-plan.ts +0 -205
  33. package/dist/ts/hdf-results.d.ts +0 -1511
  34. package/dist/ts/hdf-results.js +0 -194
  35. package/dist/ts/hdf-results.ts +0 -1536
  36. package/dist/ts/hdf-system.d.ts +0 -609
  37. package/dist/ts/hdf-system.js +0 -102
  38. package/dist/ts/hdf-system.ts +0 -617
@@ -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-results/v3.1.0",
3
+ "$id": "https://mitre.github.io/hdf-libs/schemas/hdf-results/v3.3.0",
4
4
  "type": "object",
5
5
  "unevaluatedProperties": false,
6
6
  "required": [
@@ -20,7 +20,7 @@
20
20
  "components": {
21
21
  "type": "array",
22
22
  "items": {
23
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.1.0#/$defs/Component"
23
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.3.0#/$defs/Component"
24
24
  },
25
25
  "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."
26
26
  },
@@ -32,27 +32,27 @@
32
32
  "description": "Information on the baselines that were evaluated, including findings."
33
33
  },
34
34
  "statistics": {
35
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.1.0#/$defs/Statistics",
35
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.3.0#/$defs/Statistics",
36
36
  "description": "Statistics for the assessment run, including duration and result counts."
37
37
  },
38
38
  "generator": {
39
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0#/$defs/Generator",
39
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0#/$defs/Generator",
40
40
  "description": "Information about the tool that generated this file."
41
41
  },
42
42
  "tool": {
43
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0#/$defs/Tool",
43
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0#/$defs/Tool",
44
44
  "description": "The security tool that produced the assessment data in this file."
45
45
  },
46
46
  "integrity": {
47
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0#/$defs/Integrity",
47
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0#/$defs/Integrity",
48
48
  "description": "Cryptographic integrity information for verifying this file."
49
49
  },
50
50
  "runner": {
51
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.1.0#/$defs/Runner",
51
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.3.0#/$defs/Runner",
52
52
  "description": "Information about the test execution environment where the security tool was run. Distinct from targets (what is being tested)."
53
53
  },
54
54
  "remediation": {
55
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Remediation",
55
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Remediation",
56
56
  "description": "Optional reference to automated remediation resources (Ansible playbooks, Terraform scripts, etc.) for fixing failing requirements found in this assessment."
57
57
  },
58
58
  "systemRef": {
@@ -160,14 +160,14 @@
160
160
  ],
161
161
  "allOf": [
162
162
  {
163
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Baseline_Metadata"
163
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Baseline_Metadata"
164
164
  }
165
165
  ],
166
166
  "properties": {
167
167
  "depends": {
168
168
  "type": "array",
169
169
  "items": {
170
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Dependency"
170
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Dependency"
171
171
  },
172
172
  "description": "The set of dependencies this baseline depends on."
173
173
  },
@@ -180,15 +180,15 @@
180
180
  "description": "The description - should be more detailed than the summary."
181
181
  },
182
182
  "integrity": {
183
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0#/$defs/Integrity",
183
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0#/$defs/Integrity",
184
184
  "description": "Cryptographic integrity information for verifying this baseline has not been tampered with."
185
185
  },
186
186
  "originalChecksum": {
187
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Checksum",
187
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Checksum",
188
188
  "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."
189
189
  },
190
190
  "resultsChecksum": {
191
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Checksum",
191
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Checksum",
192
192
  "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."
193
193
  },
194
194
  "statusMessage": {
@@ -206,14 +206,14 @@
206
206
  "groups": {
207
207
  "type": "array",
208
208
  "items": {
209
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Requirement_Group"
209
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Requirement_Group"
210
210
  },
211
211
  "description": "A set of descriptions for the requirement groups."
212
212
  },
213
213
  "inputs": {
214
214
  "type": "array",
215
215
  "items": {
216
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.1.0#/$defs/Input"
216
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.3.0#/$defs/Input"
217
217
  },
218
218
  "description": "Typed inputs used to parameterize this baseline at execution time. See the Input primitive for the full schema."
219
219
  },
@@ -238,7 +238,7 @@
238
238
  ],
239
239
  "allOf": [
240
240
  {
241
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Requirement_Core"
241
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Requirement_Core"
242
242
  }
243
243
  ],
244
244
  "properties": {
@@ -246,7 +246,7 @@
246
246
  "type": "array",
247
247
  "minItems": 1,
248
248
  "items": {
249
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0#/$defs/Requirement_Description"
249
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0#/$defs/Requirement_Description"
250
250
  },
251
251
  "contains": {
252
252
  "type": "object",
@@ -262,37 +262,37 @@
262
262
  "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'."
263
263
  },
264
264
  "severity": {
265
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Severity",
265
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Severity",
266
266
  "description": "Explicit severity rating. Typically derived from impact score but provided explicitly for clarity."
267
267
  },
268
268
  "sourceLocation": {
269
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Source_Location",
269
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Source_Location",
270
270
  "description": "The explicit location of the requirement within the source code."
271
271
  },
272
272
  "results": {
273
273
  "type": "array",
274
274
  "minItems": 1,
275
275
  "items": {
276
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0#/$defs/Requirement_Result"
276
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0#/$defs/Requirement_Result"
277
277
  },
278
278
  "description": "The set of all tests within the requirement and their results."
279
279
  },
280
280
  "statusOverrides": {
281
281
  "type": "array",
282
282
  "items": {
283
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0#/$defs/Status_Override"
283
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0#/$defs/Status_Override"
284
284
  },
285
285
  "description": "Chronological history of all overrides applied to this requirement. Overrides are intentional changes to the compliance status and/or impact score (waivers, attestations, false positives, risk adjustments). Most recent override should be first in array. Preserves full audit trail."
286
286
  },
287
287
  "poams": {
288
288
  "type": "array",
289
289
  "items": {
290
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0#/$defs/POAM"
290
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0#/$defs/POAM"
291
291
  },
292
292
  "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."
293
293
  },
294
294
  "effectiveStatus": {
295
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0#/$defs/Result_Status",
295
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0#/$defs/Result_Status",
296
296
  "description": "The current effective compliance status of this requirement after applying the most recent non-expired override with a status field, or computed from results (worst-wins) if no status-bearing overrides exist."
297
297
  },
298
298
  "effectiveImpact": {
@@ -302,15 +302,45 @@
302
302
  "description": "The current effective impact score (0.0–1.0) after applying the most recent non-expired override with an impact field. Absent when no impact overrides apply; consumers should use the requirement's impact field in that case."
303
303
  },
304
304
  "disposition": {
305
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.1.0#/$defs/Override_Type",
305
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.3.0#/$defs/Override_Type",
306
306
  "description": "The type of the most recent non-expired override or POAM governing this requirement. Indicates why the requirement is in its current state (e.g., waiver, falsePositive, riskAdjustment) or what remediation is being tracked (poam). Absent when no overrides or POAMs apply."
307
307
  },
308
308
  "evidence": {
309
309
  "type": "array",
310
310
  "items": {
311
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Evidence"
311
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Evidence"
312
312
  },
313
313
  "description": "Supporting evidence for this requirement's findings, such as screenshots, code samples, or log excerpts."
314
+ },
315
+ "cvss": {
316
+ "type": "array",
317
+ "items": {
318
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.3.0#/$defs/Cvss"
319
+ },
320
+ "description": "Structured CVSS scoring data for vulnerability findings. One entry per CVE — a finding may match multiple CVEs (common in vulnerability scanners). Captures vendor-supplied Base metrics plus optional consumer-owned Threat / Environmental / Supplemental groups for risk adjustment. See cvss.schema.json."
321
+ },
322
+ "epss": {
323
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/epss/v3.3.0#/$defs/Epss",
324
+ "description": "FIRST.org EPSS (Exploit Prediction Scoring System) score for this CVE finding. Used alongside CVSS for prioritization — captures the probability the vulnerability will be exploited."
325
+ },
326
+ "kev": {
327
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/kev/v3.3.0#/$defs/Kev",
328
+ "description": "CISA Known Exploited Vulnerabilities (KEV) catalog status. When inKev=true, dateAdded and dueDate carry the federal patching deadline."
329
+ },
330
+ "cwe": {
331
+ "type": "array",
332
+ "items": {
333
+ "type": "string",
334
+ "pattern": "^CWE-[1-9]\\d*$"
335
+ },
336
+ "description": "Common Weakness Enumeration IDs associated with this finding. Use CWE-N format with no leading zeros (matches the MITRE catalog convention). For NIST control mappings derived from CWE, see tags.nist."
337
+ },
338
+ "affectedPackages": {
339
+ "type": "array",
340
+ "items": {
341
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.3.0#/$defs/Affected_Package"
342
+ },
343
+ "description": "Packages affected by this vulnerability finding. Vulnerability-finding-scoped — see components[] on hdf-system for component-level package inventories. One entry per matched package signature (scanners often report multiple CPE variations per CVE)."
314
344
  }
315
345
  },
316
346
  "examples": [
@@ -596,9 +626,9 @@
596
626
  "description": "A requirement that has been evaluated, including any findings.",
597
627
  "title": "Evaluated Requirement"
598
628
  },
599
- "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.1.0": {
629
+ "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.3.0": {
600
630
  "$schema": "https://json-schema.org/draft/2020-12/schema",
601
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.1.0",
631
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/component/v3.3.0",
602
632
  "title": "HDF Component Primitives",
603
633
  "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.",
604
634
  "$defs": {
@@ -612,6 +642,20 @@
612
642
  "properties": {
613
643
  "type": {
614
644
  "type": "string",
645
+ "title": "Target Type",
646
+ "enum": [
647
+ "host",
648
+ "containerImage",
649
+ "containerInstance",
650
+ "containerPlatform",
651
+ "cloudAccount",
652
+ "cloudResource",
653
+ "repository",
654
+ "application",
655
+ "artifact",
656
+ "network",
657
+ "database"
658
+ ],
615
659
  "description": "Component type discriminator. Same values as Target types."
616
660
  },
617
661
  "name": {
@@ -628,7 +672,7 @@
628
672
  "description": "Description of this component's role or purpose."
629
673
  },
630
674
  "owner": {
631
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Identity",
675
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Identity",
632
676
  "description": "Team or individual responsible for this component. Enables per-component ownership when different teams manage different parts of a system."
633
677
  },
634
678
  "externalIds": {
@@ -656,6 +700,7 @@
656
700
  },
657
701
  "sbomFormat": {
658
702
  "type": "string",
703
+ "title": "SBOM Format",
659
704
  "enum": [
660
705
  "cyclonedx",
661
706
  "spdx"
@@ -672,12 +717,12 @@
672
717
  "inputOverrides": {
673
718
  "type": "array",
674
719
  "items": {
675
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.1.0#/$defs/Input_Override"
720
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.3.0#/$defs/Input_Override"
676
721
  },
677
722
  "description": "System-specific overrides for baseline input values."
678
723
  },
679
724
  "targetSelector": {
680
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.1.0#/$defs/Target_Selector",
725
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.3.0#/$defs/Target_Selector",
681
726
  "description": "Label selector to match targets belonging to this component during migration. Targets with matching labels are automatically included."
682
727
  }
683
728
  },
@@ -997,7 +1042,7 @@
997
1042
  "const": "cloudAccount"
998
1043
  },
999
1044
  "provider": {
1000
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Cloud_Provider",
1045
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Cloud_Provider",
1001
1046
  "description": "Cloud provider."
1002
1047
  },
1003
1048
  "accountId": {
@@ -1036,7 +1081,7 @@
1036
1081
  "const": "cloudResource"
1037
1082
  },
1038
1083
  "provider": {
1039
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Cloud_Provider",
1084
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Cloud_Provider",
1040
1085
  "description": "Cloud provider."
1041
1086
  },
1042
1087
  "resourceType": {
@@ -1216,9 +1261,9 @@
1216
1261
  }
1217
1262
  }
1218
1263
  },
1219
- "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0": {
1264
+ "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0": {
1220
1265
  "$schema": "https://json-schema.org/draft/2020-12/schema",
1221
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0",
1266
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0",
1222
1267
  "title": "HDF Common Primitives",
1223
1268
  "description": "Shared building blocks used by hdf-results and hdf-baseline schemas.",
1224
1269
  "$defs": {
@@ -1485,6 +1530,7 @@
1485
1530
  },
1486
1531
  "type": {
1487
1532
  "type": "string",
1533
+ "title": "Identity Type",
1488
1534
  "enum": [
1489
1535
  "email",
1490
1536
  "username",
@@ -1528,6 +1574,7 @@
1528
1574
  "properties": {
1529
1575
  "type": {
1530
1576
  "type": "string",
1577
+ "title": "Evidence Type",
1531
1578
  "enum": [
1532
1579
  "screenshot",
1533
1580
  "code",
@@ -1704,6 +1751,7 @@
1704
1751
  },
1705
1752
  "status": {
1706
1753
  "type": "string",
1754
+ "title": "Milestone Status",
1707
1755
  "enum": [
1708
1756
  "pending",
1709
1757
  "inProgress",
@@ -1963,15 +2011,42 @@
1963
2011
  },
1964
2012
  "code": {
1965
2013
  "type": "string",
1966
- "description": "The raw source code of the requirement. Set to null for manual-only requirements or requirements not yet implemented. Note that if this is an overlay, it does not include the underlying source code."
2014
+ "description": "The raw source code of the requirement. Set to null for manual-only requirements or requirements not yet implemented; use verificationMethod to disambiguate manual-by-design from manual-pending-automation. Note that if this is an overlay, it does not include the underlying source code."
1967
2015
  },
1968
2016
  "sourceLocation": {
1969
2017
  "$ref": "#/$defs/Source_Location",
1970
2018
  "description": "The explicit location of the requirement within the source code."
2019
+ },
2020
+ "controlType": {
2021
+ "type": "string",
2022
+ "title": "Control Type",
2023
+ "enum": [
2024
+ "policy",
2025
+ "procedure",
2026
+ "technical",
2027
+ "management",
2028
+ "operational"
2029
+ ],
2030
+ "description": "Classification of the control's nature, aligning with NIST SP 800-53 / SP 800-53A categories. 'policy' = an authored governance statement; 'procedure' = a documented process; 'technical' = an enforced technical configuration; 'management' = a programmatic/management activity; 'operational' = a recurring operational activity (e.g. AT, IR, MA families). Optional: when omitted, consumers may infer heuristically from family/id but should not assume a default."
2031
+ },
2032
+ "verificationMethod": {
2033
+ "$ref": "#/$defs/Verification_Method_Enum",
2034
+ "description": "How this requirement is intended to be verified. Disambiguates the two cases that null 'code' overloads: 'manual-by-design' (the requirement is statement-form and not amenable to automation, e.g. FedRAMP 20x KSIs); 'manual-pending-automation' (automation could exist but does not yet, e.g. a STIG rule lacking a fix). 'automated' = a check exists and runs without operator action; 'hybrid' = part automated, part manual. Optional: when omitted, consumers should not infer a default."
2035
+ },
2036
+ "applicability": {
2037
+ "type": "string",
2038
+ "title": "Applicability",
2039
+ "enum": [
2040
+ "required",
2041
+ "optional",
2042
+ "advisory"
2043
+ ],
2044
+ "description": "Whether the requirement is mandatory within its baseline. Distinct from severity (risk weight) and status (lifecycle state). Maps cleanly onto: FedRAMP rev5 OSCAL 'CORE' prop, FedRAMP 20x inline 'Optional:' markers, CMMC sublevel rows, and CIS Implementation Group memberships (IG1/IG2/IG3 may carry richer semantics; layer those onto props[]/tags{}). Optional: when omitted, consumers should treat the requirement as 'required' by convention."
1971
2045
  }
1972
2046
  },
1973
2047
  "examples": [
1974
2048
  {
2049
+ "$comment": "v3.1.x-style requirement: classification fields omitted. Consumers must continue to handle this shape under v3.3.0 (backward compatibility).",
1975
2050
  "id": "SV-238196",
1976
2051
  "title": "The Ubuntu operating system must enforce password complexity",
1977
2052
  "impact": 0.5,
@@ -1999,11 +2074,85 @@
1999
2074
  "data": "Verify the value of 'minlen' in /etc/security/pwquality.conf."
2000
2075
  }
2001
2076
  ]
2077
+ },
2078
+ {
2079
+ "$comment": "v3.2 example populating all three classification fields. controlType=technical because AC-3 is enforced via configuration, not policy text. verificationMethod=automated because a check exists. applicability=required because this is a CORE control in the source baseline.",
2080
+ "id": "AC-3",
2081
+ "title": "Access Enforcement",
2082
+ "impact": 0.7,
2083
+ "tags": {
2084
+ "nist": [
2085
+ "AC-3"
2086
+ ],
2087
+ "severity": "high"
2088
+ },
2089
+ "descriptions": [
2090
+ {
2091
+ "label": "default",
2092
+ "data": "The information system enforces approved authorizations for logical access to information and system resources."
2093
+ }
2094
+ ],
2095
+ "code": "control 'AC-3' do; impact 0.7; end",
2096
+ "controlType": "technical",
2097
+ "verificationMethod": "automated",
2098
+ "applicability": "required"
2099
+ },
2100
+ {
2101
+ "$comment": "v3.2 example for a manual-by-design requirement. FedRAMP 20x KSIs are statement-form: code is omitted (not null) and verificationMethod=manual-by-design distinguishes this from 'automation could exist but doesn't yet'. controlType=policy because this is an authored governance statement.",
2102
+ "id": "KSI-CNA-01",
2103
+ "title": "Cyber Security Plan documents the system",
2104
+ "impact": 0.5,
2105
+ "tags": {
2106
+ "ksi": [
2107
+ "KSI-CNA"
2108
+ ]
2109
+ },
2110
+ "descriptions": [
2111
+ {
2112
+ "label": "default",
2113
+ "data": "The Cyber Security Plan documents the system, its boundary, and its components."
2114
+ }
2115
+ ],
2116
+ "controlType": "policy",
2117
+ "verificationMethod": "manual-by-design",
2118
+ "applicability": "required"
2119
+ },
2120
+ {
2121
+ "$comment": "v3.2 example for a STIG rule lacking a <fix>. Differs from manual-by-design: automation should exist, just not yet. applicability=advisory used here because the source format flagged it as recommended-but-not-mandatory; CIS-style IG memberships and FedRAMP 'Optional:' markers map onto applicability=optional or advisory similarly.",
2122
+ "id": "SV-999999",
2123
+ "title": "Example STIG rule pending automation",
2124
+ "impact": 0.3,
2125
+ "tags": {
2126
+ "stig_id": "SV-999999"
2127
+ },
2128
+ "descriptions": [
2129
+ {
2130
+ "label": "default",
2131
+ "data": "Example requirement that is intended to be automated but currently lacks a fix block."
2132
+ },
2133
+ {
2134
+ "label": "check",
2135
+ "data": "Manual review of system configuration is required."
2136
+ }
2137
+ ],
2138
+ "verificationMethod": "manual-pending-automation",
2139
+ "applicability": "advisory"
2002
2140
  }
2003
2141
  ],
2004
2142
  "description": "Core requirement fields shared between baseline requirements and evaluated requirements. Contains the fundamental requirement definition without assessment results.",
2005
2143
  "title": "Requirement Core"
2006
2144
  },
2145
+ "Verification_Method_Enum": {
2146
+ "type": "string",
2147
+ "enum": [
2148
+ "automated",
2149
+ "manual-by-design",
2150
+ "manual-pending-automation",
2151
+ "hybrid"
2152
+ ],
2153
+ "description": "How a requirement is intended to be verified. Disambiguates the two cases that null 'code' overloads: 'manual-by-design' (the requirement is statement-form and not amenable to automation, e.g. FedRAMP 20x KSIs); 'manual-pending-automation' (automation could exist but does not yet, e.g. a STIG rule lacking a fix). 'automated' = a check exists and runs without operator action; 'hybrid' = part automated, part manual. Named '_Enum' to disambiguate from the unrelated Verification_Method DID-context struct.",
2154
+ "title": "Verification Method Enum"
2155
+ },
2007
2156
  "Severity": {
2008
2157
  "type": "string",
2009
2158
  "enum": [
@@ -2034,9 +2183,9 @@
2034
2183
  }
2035
2184
  }
2036
2185
  },
2037
- "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.1.0": {
2186
+ "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.3.0": {
2038
2187
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2039
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.1.0",
2188
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.3.0",
2040
2189
  "title": "HDF System Primitives",
2041
2190
  "description": "Types for describing system architecture, authorization boundaries, and components.",
2042
2191
  "$defs": {
@@ -2087,7 +2236,7 @@
2087
2236
  "description": "Rationale for why this override is needed."
2088
2237
  },
2089
2238
  "approvedBy": {
2090
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Identity",
2239
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Identity",
2091
2240
  "description": "Identity of the person or system that approved this override."
2092
2241
  }
2093
2242
  },
@@ -2117,6 +2266,7 @@
2117
2266
  },
2118
2267
  "designation": {
2119
2268
  "type": "string",
2269
+ "title": "Designation",
2120
2270
  "enum": [
2121
2271
  "common",
2122
2272
  "system-specific",
@@ -2168,9 +2318,9 @@
2168
2318
  }
2169
2319
  }
2170
2320
  },
2171
- "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.1.0": {
2321
+ "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.3.0": {
2172
2322
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2173
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.1.0",
2323
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/statistics/v3.3.0",
2174
2324
  "title": "HDF Statistics Primitives",
2175
2325
  "description": "Statistics types for tracking assessment run metrics.",
2176
2326
  "$defs": {
@@ -2239,9 +2389,9 @@
2239
2389
  }
2240
2390
  }
2241
2391
  },
2242
- "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0": {
2392
+ "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0": {
2243
2393
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2244
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.1.0",
2394
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.3.0",
2245
2395
  "title": "HDF Extension Primitives",
2246
2396
  "description": "Extension types for waivers, attestations, generators, and integrity.",
2247
2397
  "$defs": {
@@ -2269,15 +2419,15 @@
2269
2419
  ],
2270
2420
  "properties": {
2271
2421
  "type": {
2272
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.1.0#/$defs/Override_Type",
2422
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.3.0#/$defs/Override_Type",
2273
2423
  "description": "The type of override applied to this requirement."
2274
2424
  },
2275
2425
  "status": {
2276
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0#/$defs/Result_Status",
2426
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0#/$defs/Result_Status",
2277
2427
  "description": "The new status this override sets for the requirement. Optional when only impact is being overridden."
2278
2428
  },
2279
2429
  "impact": {
2280
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.1.0#/$defs/Impact_Override",
2430
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.3.0#/$defs/Impact_Override",
2281
2431
  "description": "Override to the requirement's impact score. At least one of status or impact must be set."
2282
2432
  },
2283
2433
  "reason": {
@@ -2285,7 +2435,7 @@
2285
2435
  "description": "Explanation for why this override was applied."
2286
2436
  },
2287
2437
  "appliedBy": {
2288
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Identity",
2438
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Identity",
2289
2439
  "description": "Identity of who applied this override. For simple cases, use type 'simple' with just an identifier."
2290
2440
  },
2291
2441
  "appliedAt": {
@@ -2299,19 +2449,28 @@
2299
2449
  "description": "Timestamp when this override expires and must be reviewed/renewed. REQUIRED - no permanent overrides allowed. ISO 8601 format."
2300
2450
  },
2301
2451
  "signature": {
2302
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Signature",
2452
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Signature",
2303
2453
  "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."
2304
2454
  },
2305
2455
  "evidence": {
2306
2456
  "type": "array",
2307
2457
  "items": {
2308
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Evidence"
2458
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Evidence"
2309
2459
  },
2310
2460
  "description": "Supporting evidence for this override, such as screenshots demonstrating manual verification for attestations."
2311
2461
  },
2312
2462
  "previousChecksum": {
2313
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Checksum",
2463
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Checksum",
2314
2464
  "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."
2465
+ },
2466
+ "cvss": {
2467
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.3.0#/$defs/Cvss",
2468
+ "$comment": "When present alongside impact.value on a riskAdjustment override, impact.value should be approximately cvss.computedScore / 10.0. Soft consistency rule — validators may warn but should not error. The cvss block makes Environmental/Threat enrichment auditable.",
2469
+ "description": "Structured CVSS scoring data backing this override. Captures the rubric (which Environmental/Threat metrics the consumer modified, the recomputed score) used to justify a riskAdjustment. For other override types this is optional context."
2470
+ },
2471
+ "justification": {
2472
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.3.0#/$defs/Justification",
2473
+ "description": "Structured controlled-vocabulary classification for why this override applies. Complements (does not replace) the free-text 'reason' field. Most useful on falsePositive and attestation overrides where the structured category enables filtering and lossless round-trip with VEX / OSCAL / FedRAMP DR. See the Justification primitive for the precedent vocabulary and rationale."
2315
2474
  }
2316
2475
  },
2317
2476
  "examples": [
@@ -2403,6 +2562,7 @@
2403
2562
  "properties": {
2404
2563
  "type": {
2405
2564
  "type": "string",
2565
+ "title": "POAM Type",
2406
2566
  "enum": [
2407
2567
  "remediation",
2408
2568
  "mitigation",
@@ -2416,7 +2576,7 @@
2416
2576
  "description": "Detailed explanation of the plan, including what actions will be taken."
2417
2577
  },
2418
2578
  "appliedBy": {
2419
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Identity",
2579
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Identity",
2420
2580
  "description": "Identity of who created this POA&M. For simple cases, use type 'simple' with just an identifier."
2421
2581
  },
2422
2582
  "appliedAt": {
@@ -2432,23 +2592,23 @@
2432
2592
  "milestones": {
2433
2593
  "type": "array",
2434
2594
  "items": {
2435
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Milestone"
2595
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Milestone"
2436
2596
  },
2437
2597
  "description": "Optional array of milestones tracking progress toward completion."
2438
2598
  },
2439
2599
  "signature": {
2440
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Signature",
2600
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Signature",
2441
2601
  "description": "Optional digital signature for enhanced trust and non-repudiation."
2442
2602
  },
2443
2603
  "evidence": {
2444
2604
  "type": "array",
2445
2605
  "items": {
2446
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Evidence"
2606
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Evidence"
2447
2607
  },
2448
2608
  "description": "Supporting evidence for this POA&M, such as documentation of compensating controls or mitigation implementation."
2449
2609
  },
2450
2610
  "previousChecksum": {
2451
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Checksum",
2611
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Checksum",
2452
2612
  "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."
2453
2613
  }
2454
2614
  },
@@ -2599,7 +2759,7 @@
2599
2759
  },
2600
2760
  "properties": {
2601
2761
  "algorithm": {
2602
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Hash_Algorithm",
2762
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Hash_Algorithm",
2603
2763
  "description": "The hash algorithm used for the checksum."
2604
2764
  },
2605
2765
  "checksum": {
@@ -2632,9 +2792,9 @@
2632
2792
  }
2633
2793
  }
2634
2794
  },
2635
- "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.1.0": {
2795
+ "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.3.0": {
2636
2796
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2637
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.1.0",
2797
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.3.0",
2638
2798
  "title": "HDF Amendment Primitives",
2639
2799
  "description": "Types for waivers, attestations, and POA&Ms that modify requirement compliance status.",
2640
2800
  "$defs": {
@@ -2652,6 +2812,24 @@
2652
2812
  "description": "The type of amendment, aligned with FedRAMP deviation request categories. 'waiver': risk accepted by Authorizing Official. 'attestation': manually verified by assessor. 'poam': remediation tracked (no status change). 'inherited': control provided by another component or system. 'falsePositive': scanner incorrectly identified a finding — for compliance scans (STIG, CIS), the check actually passes, so status is typically set to 'passed'; for vulnerability scans (CVE, SCA), the flagged vulnerability does not apply to this system, so status is typically set to 'notApplicable'. The disposition field on the requirement distinguishes false positives from genuinely not-applicable findings. 'riskAdjustment': impact score adjusted based on environmental context (FedRAMP Risk Adjustment); does not change pass/fail status, only impact via the impact field. 'operationalRequirement': deviation required by operational constraints (FedRAMP Operational Requirement); the finding cannot be remediated because the system requires the affected functionality. Remains an open risk. Migration note: 'exception' was removed in v3.1.0 — use 'waiver' with status 'notApplicable' instead.",
2653
2813
  "title": "Override Type"
2654
2814
  },
2815
+ "Justification": {
2816
+ "type": "string",
2817
+ "enum": [
2818
+ "component_not_present",
2819
+ "vulnerable_code_not_present",
2820
+ "vulnerable_code_not_in_execute_path",
2821
+ "vulnerable_code_cannot_be_controlled_by_adversary",
2822
+ "inline_mitigations_already_exist",
2823
+ "requires_configuration",
2824
+ "requires_dependency",
2825
+ "requires_environment",
2826
+ "protected_by_compiler",
2827
+ "protected_at_runtime",
2828
+ "protected_at_perimeter"
2829
+ ],
2830
+ "description": "Structured controlled-vocabulary reason for an override, complementing the free-text 'reason' field. 'reason' carries the human-readable rationale an auditor reads; 'justification' carries the machine-readable category enabling filtering, aggregation, and lossless round-trip with structured ecosystems (VEX, OSCAL, FedRAMP DR). Both fields may be present simultaneously and are NOT redundant: 'reason' explains the specific circumstance; 'justification' classifies it. Authors SHOULD populate both when a controlled-vocabulary value applies — the enum value alone is not self-explanatory to an auditor. The vocabulary is drawn from the VEX ecosystem: the first five values are common across OpenVEX, CSAF VEX, and CycloneDX VEX; the remaining six (requires_configuration / requires_dependency / requires_environment / protected_by_compiler / protected_at_runtime / protected_at_perimeter) are CycloneDX-specific and describe why the vulnerable code path is unreachable in the deployed configuration. The enum is extended additively across schema versions as other ecosystems' controlled vocabularies are integrated; documents using values added in a newer schema version will fail validation against an older schema. Consumers SHOULD validate against the schema version declared by the document ($schema) rather than assume a fixed vocabulary.",
2831
+ "title": "Justification"
2832
+ },
2655
2833
  "Impact_Override": {
2656
2834
  "type": "object",
2657
2835
  "required": [
@@ -2671,6 +2849,7 @@
2671
2849
  },
2672
2850
  "Standalone_Override": {
2673
2851
  "type": "object",
2852
+ "description": "A standalone override to a requirement's compliance status or risk impact. Validation has two branches gated on 'type': when type is 'operationalRequirement', neither 'status' nor 'impact' may be set — the override records accepted risk without changing the finding (documentation-only). For all other types, at least one of 'status' or 'impact' must be set. This rule aligns with: (1) OSCAL Assessment Results — finding.target.status and finding.associated-risk[].facet[] are separate axes (https://pages.nist.gov/OSCAL/learn/concepts/layer/assessment/assessment-results/); (2) FedRAMP deviation request types — Risk Adjustment changes impact only, Operational Requirement documents acceptance only, False Positive changes status (https://www.ignyteplatform.com/blog/fedramp/fedramp-deviation-requests-submit/); (3) NIST SP 800-37 RMF — risk response (accept/mitigate/transfer) is a separate step from control assessment status (https://csrc.nist.gov/pubs/sp/800/37/r2/final).",
2674
2853
  "unevaluatedProperties": false,
2675
2854
  "required": [
2676
2855
  "type",
@@ -2680,18 +2859,48 @@
2680
2859
  "appliedAt",
2681
2860
  "expiresAt"
2682
2861
  ],
2683
- "anyOf": [
2684
- {
2685
- "required": [
2686
- "status"
2687
- ]
2862
+ "if": {
2863
+ "properties": {
2864
+ "type": {
2865
+ "enum": [
2866
+ "operationalRequirement"
2867
+ ]
2868
+ }
2688
2869
  },
2689
- {
2690
- "required": [
2691
- "impact"
2870
+ "required": [
2871
+ "type"
2872
+ ]
2873
+ },
2874
+ "then": {
2875
+ "not": {
2876
+ "anyOf": [
2877
+ {
2878
+ "required": [
2879
+ "status"
2880
+ ]
2881
+ },
2882
+ {
2883
+ "required": [
2884
+ "impact"
2885
+ ]
2886
+ }
2692
2887
  ]
2693
2888
  }
2694
- ],
2889
+ },
2890
+ "else": {
2891
+ "anyOf": [
2892
+ {
2893
+ "required": [
2894
+ "status"
2895
+ ]
2896
+ },
2897
+ {
2898
+ "required": [
2899
+ "impact"
2900
+ ]
2901
+ }
2902
+ ]
2903
+ },
2695
2904
  "properties": {
2696
2905
  "type": {
2697
2906
  "$ref": "#/$defs/Override_Type",
@@ -2706,7 +2915,7 @@
2706
2915
  "description": "Name of the baseline containing the requirement. Required when the system has multiple baselines with potentially overlapping requirement IDs."
2707
2916
  },
2708
2917
  "status": {
2709
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0#/$defs/Result_Status",
2918
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0#/$defs/Result_Status",
2710
2919
  "description": "The new status this amendment sets. Optional when only impact is being overridden."
2711
2920
  },
2712
2921
  "impact": {
@@ -2718,7 +2927,7 @@
2718
2927
  "description": "Justification for this amendment."
2719
2928
  },
2720
2929
  "appliedBy": {
2721
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Identity",
2930
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Identity",
2722
2931
  "description": "Identity of who applied this amendment."
2723
2932
  },
2724
2933
  "appliedAt": {
@@ -2734,22 +2943,31 @@
2734
2943
  "evidence": {
2735
2944
  "type": "array",
2736
2945
  "items": {
2737
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Evidence"
2946
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Evidence"
2738
2947
  },
2739
2948
  "description": "Supporting evidence (screenshots, logs, URLs, documents)."
2740
2949
  },
2741
2950
  "signature": {
2742
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Signature",
2951
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Signature",
2743
2952
  "description": "Digital signature for non-repudiation."
2744
2953
  },
2745
2954
  "previousChecksum": {
2746
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Checksum",
2955
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Checksum",
2747
2956
  "description": "Checksum of the prior amendment in the chain. Creates a tamper-evident linked list. Null for the first amendment."
2748
2957
  },
2958
+ "cvss": {
2959
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.3.0#/$defs/Cvss",
2960
+ "$comment": "When present alongside impact.value on a riskAdjustment override, impact.value should be approximately cvss.computedScore / 10.0. Soft consistency rule — validators may warn but should not error. The cvss block makes Environmental/Threat enrichment auditable.",
2961
+ "description": "Structured CVSS scoring data backing this override. Captures the rubric (which Environmental/Threat metrics the consumer modified, the recomputed score) used to justify a riskAdjustment. For other override types this is optional context."
2962
+ },
2963
+ "justification": {
2964
+ "$ref": "#/$defs/Justification",
2965
+ "description": "Structured controlled-vocabulary classification for why this override applies. Complements (does not replace) the free-text 'reason' field. Most useful on falsePositive and attestation overrides where the structured category enables filtering and lossless round-trip with VEX / OSCAL / FedRAMP DR. See the Justification primitive for the precedent vocabulary and rationale."
2966
+ },
2749
2967
  "milestones": {
2750
2968
  "type": "array",
2751
2969
  "items": {
2752
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Milestone"
2970
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Milestone"
2753
2971
  },
2754
2972
  "description": "Remediation milestones (primarily for POA&M type amendments)."
2755
2973
  },
@@ -2762,6 +2980,13 @@
2762
2980
  "type": "string",
2763
2981
  "format": "uuid",
2764
2982
  "description": "componentId of the component this amendment is scoped to. When set, the amendment only applies to the specified component. When omitted, the amendment applies system-wide."
2983
+ },
2984
+ "affectedPackages": {
2985
+ "type": "array",
2986
+ "items": {
2987
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.3.0#/$defs/Affected_Package"
2988
+ },
2989
+ "description": "Software packages this amendment is scoped to, distinct from componentRef (which scopes to an HDF-internal Component by UUID). Use when the source amendment format references packages by purl/cpe/name+version — e.g., VEX `affects[]` / `products[]`, OSCAL POA&M `subjects[]`, FedRAMP component-aware amendments. Symmetric with Evaluated_Requirement.affectedPackages, which scopes findings to the same package vocabulary. When omitted, the amendment applies system-wide (or only to componentRef when that is set)."
2765
2990
  }
2766
2991
  },
2767
2992
  "examples": [
@@ -2863,16 +3088,38 @@
2863
3088
  },
2864
3089
  "appliedAt": "2026-03-26T10:00:00Z",
2865
3090
  "expiresAt": "2026-09-26T00:00:00Z"
3091
+ },
3092
+ {
3093
+ "$comment": "VEX-style import — falsePositive scoped to specific packages by purl. The affectedPackages array carries structured product identity instead of squeezing 'Products: …' into the reason free-text field.",
3094
+ "type": "falsePositive",
3095
+ "requirementId": "CVE-2026-12345",
3096
+ "status": "notApplicable",
3097
+ "reason": "Vulnerable code path is not present in our build — dependency compiled with the affected module disabled",
3098
+ "justification": "vulnerable_code_not_present",
3099
+ "appliedBy": {
3100
+ "type": "email",
3101
+ "identifier": "secops@org.gov"
3102
+ },
3103
+ "appliedAt": "2026-05-01T10:00:00Z",
3104
+ "expiresAt": "2027-05-01T00:00:00Z",
3105
+ "affectedPackages": [
3106
+ {
3107
+ "purl": "pkg:npm/lodash@4.17.20"
3108
+ },
3109
+ {
3110
+ "purl": "pkg:rpm/openssl@1.1.1k-2.el8",
3111
+ "fixedInVersion": "1.1.1k-3.el8"
3112
+ }
3113
+ ]
2866
3114
  }
2867
3115
  ],
2868
- "description": "A standalone amendment that modifies a requirement's compliance status and/or impact score. At least one of status or impact must be set. Extends the inline Override concept with requirementId and baselineRef for use outside of results documents.",
2869
3116
  "title": "Standalone Override"
2870
3117
  }
2871
3118
  }
2872
3119
  },
2873
- "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0": {
3120
+ "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0": {
2874
3121
  "$schema": "https://json-schema.org/draft/2020-12/schema",
2875
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.1.0",
3122
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.3.0",
2876
3123
  "title": "HDF Result Primitives",
2877
3124
  "description": "Types for representing assessment results and statuses.",
2878
3125
  "$defs": {
@@ -3003,9 +3250,328 @@
3003
3250
  }
3004
3251
  }
3005
3252
  },
3006
- "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.1.0": {
3253
+ "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.3.0": {
3254
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3255
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.3.0",
3256
+ "title": "HDF CVSS Primitives",
3257
+ "description": "Types for representing CVSS (Common Vulnerability Scoring System) data attached to assessment findings. Supports CVSS v2.0, v3.0, v3.1, and v4.0 metric groups (Base, Threat, Environmental, Supplemental).",
3258
+ "$defs": {
3259
+ "Cvss_Severity": {
3260
+ "type": "string",
3261
+ "enum": [
3262
+ "none",
3263
+ "low",
3264
+ "medium",
3265
+ "high",
3266
+ "critical"
3267
+ ],
3268
+ "description": "Qualitative CVSS severity band. Aligns with FIRST/NVD bands: none=0.0, low=0.1-3.9, medium=4.0-6.9, high=7.0-8.9, critical=9.0-10.0. Distinct from the broader Severity enum used on Requirement_Core (which includes 'informational').",
3269
+ "title": "CVSS Severity"
3270
+ },
3271
+ "Cvss": {
3272
+ "type": "object",
3273
+ "unevaluatedProperties": false,
3274
+ "required": [
3275
+ "version"
3276
+ ],
3277
+ "anyOf": [
3278
+ {
3279
+ "required": [
3280
+ "baseScore"
3281
+ ]
3282
+ },
3283
+ {
3284
+ "required": [
3285
+ "baseVector"
3286
+ ]
3287
+ },
3288
+ {
3289
+ "required": [
3290
+ "threatVector"
3291
+ ]
3292
+ },
3293
+ {
3294
+ "required": [
3295
+ "threatScore"
3296
+ ]
3297
+ },
3298
+ {
3299
+ "required": [
3300
+ "environmentalVector"
3301
+ ]
3302
+ },
3303
+ {
3304
+ "required": [
3305
+ "environmentalScore"
3306
+ ]
3307
+ },
3308
+ {
3309
+ "required": [
3310
+ "supplementalVector"
3311
+ ]
3312
+ },
3313
+ {
3314
+ "required": [
3315
+ "computedScore"
3316
+ ]
3317
+ }
3318
+ ],
3319
+ "$comment": "Only `version` is required; every metric/score field is optional because a single Cvss instance may represent vendor-supplied Base data (on a finding's cvss[]), consumer-supplied enrichment (on a riskAdjustment override — Environmental/Threat/Supplemental deltas with NO base, since base is the finding's scan-specific vendor data), or a fully-resolved effectiveCvss. The Base/Threat/Environmental/Supplemental groups do not partition cleanly into vendor-vs-consumer (Threat straddles: vendor temporal data and consumer exploit-maturity both live here), so a single permissive type is more honest than separate vendor/consumer types. The anyOf guardrail rejects a content-free object (e.g. {version} alone) by requiring at least one substantive metric or score. baseVector remains optional even when baseScore is present: some vendor tools (Twistlock/Prisma Cloud) emit a final score without the vector that derived it — that score is captured structurally rather than lost.",
3320
+ "properties": {
3321
+ "version": {
3322
+ "type": "string",
3323
+ "enum": [
3324
+ "2.0",
3325
+ "3.0",
3326
+ "3.1",
3327
+ "4.0"
3328
+ ],
3329
+ "description": "The CVSS specification version this entry conforms to. Vendor scanners typically emit 3.1 or 4.0; legacy data may use 2.0 or 3.0."
3330
+ },
3331
+ "source": {
3332
+ "type": "string",
3333
+ "description": "Optional identifier the CVSS data is associated with — most commonly a CVE ID (e.g., 'CVE-2024-12345'), but may also be a vendor advisory ID, GHSA, or similar.",
3334
+ "examples": [
3335
+ "CVE-2024-12345",
3336
+ "GHSA-9hjg-9r4m-mvj7",
3337
+ "RHSA-2024:0123"
3338
+ ]
3339
+ },
3340
+ "baseVector": {
3341
+ "type": "string",
3342
+ "$comment": "Optional. Permissive umbrella pattern accepting any FIRST CVSS vector shape — version prefix is optional (CVSS 2.0 has no prefix), metric tokens are alphanumeric uppercase pairs separated by '/'. Strict per-version semantic validation belongs in a separate utility (hdf-utilities `validateCvssVector`), not in the schema. See https://www.first.org/cvss/v4.0/specification-document for the v4 grammar and earlier-version documents for v2/v3.",
3343
+ "pattern": "^(CVSS:[234]\\.[01]/)?[A-Za-z]+:[A-Za-z]+(/[A-Za-z]+:[A-Za-z]+)*$",
3344
+ "description": "Optional Base metric group vector string as emitted by the source (e.g., 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'). For CVSS 2.0 the version prefix is omitted. Some vendor tools emit a final baseScore without the vector — in that case this field is absent and the score cannot be recomputed or decomposed. The pattern accepts any version-prefixed or prefix-less metric token sequence; semantic validity of individual metrics is checked by hdf-utilities, not by the schema."
3345
+ },
3346
+ "baseScore": {
3347
+ "type": "number",
3348
+ "minimum": 0,
3349
+ "maximum": 10,
3350
+ "description": "The Base score (0.0–10.0) computed from the base vector. Reflects the intrinsic, vendor-published severity before consumer enrichment."
3351
+ },
3352
+ "baseSeverity": {
3353
+ "$ref": "#/$defs/Cvss_Severity",
3354
+ "description": "Qualitative severity band corresponding to baseScore. CVSS 2.0 does not natively use 'none' or 'critical' bands; map accordingly when populating."
3355
+ },
3356
+ "threatVector": {
3357
+ "type": "string",
3358
+ "$comment": "Threat (formerly Temporal in v3.x) metric group. Consumer-side metrics: Exploit Maturity, Remediation Level, Report Confidence (v3 added E/RL/RC; v4 keeps E only). Same permissive grammar as baseVector but the CVSS version prefix is rarely repeated here.",
3359
+ "pattern": "^(CVSS:[234]\\.[01]/)?[A-Za-z]+:[A-Za-z]+(/[A-Za-z]+:[A-Za-z]+)*$",
3360
+ "description": "Optional Threat metric group vector segment (e.g., 'E:U/RL:O/RC:C' for CVSS 3.1, or 'E:A' for CVSS 4.0). Consumer-supplied — captures real-world exploitation and remediation context the vendor cannot know."
3361
+ },
3362
+ "threatScore": {
3363
+ "type": "number",
3364
+ "minimum": 0,
3365
+ "maximum": 10,
3366
+ "description": "Optional score (0.0–10.0) recomputed after applying Threat metrics. Always less than or equal to baseScore in practice."
3367
+ },
3368
+ "environmentalVector": {
3369
+ "type": "string",
3370
+ "$comment": "Environmental metric group. Consumer-side: Modified Base metrics (MAV, MAC, MC, MI, MA, ...) plus Security Requirements (CR, IR, AR). Captures how a particular consumer's environment changes the impact of the vulnerability.",
3371
+ "pattern": "^(CVSS:[234]\\.[01]/)?[A-Za-z]+:[A-Za-z]+(/[A-Za-z]+:[A-Za-z]+)*$",
3372
+ "description": "Optional Environmental metric group vector segment (e.g., 'MAV:N/CR:H/IR:H/AR:H'). Consumer-supplied — reflects the deployment context (criticality, mitigations, network exposure)."
3373
+ },
3374
+ "environmentalScore": {
3375
+ "type": "number",
3376
+ "minimum": 0,
3377
+ "maximum": 10,
3378
+ "description": "Optional score (0.0–10.0) recomputed after applying Environmental metrics."
3379
+ },
3380
+ "supplementalVector": {
3381
+ "type": "string",
3382
+ "$comment": "Supplemental metric group is unique to CVSS 4.0. It conveys context (Safety, Automatable, Recovery, Value Density, Vulnerability Response Effort, Provider Urgency) but by spec does NOT affect any score — purely informational.",
3383
+ "pattern": "^(CVSS:[234]\\.[01]/)?[A-Za-z]+:[A-Za-z]+(/[A-Za-z]+:[A-Za-z]+)*$",
3384
+ "description": "Optional Supplemental metric group vector segment (CVSS 4.0 only). Examples: 'S:P/AU:N/V:C/RE:M/U:Amber'. Per CVSS 4.0 spec, supplemental metrics convey additional context but have no impact on the computed score."
3385
+ },
3386
+ "computedScore": {
3387
+ "type": "number",
3388
+ "minimum": 0,
3389
+ "maximum": 10,
3390
+ "description": "Optional final score after combining Base + Threat + Environmental metrics. This is the score consumers should treat as authoritative for risk decisions when present."
3391
+ },
3392
+ "computedSeverity": {
3393
+ "$ref": "#/$defs/Cvss_Severity",
3394
+ "description": "Qualitative severity band corresponding to computedScore. Same band convention as baseSeverity."
3395
+ }
3396
+ },
3397
+ "examples": [
3398
+ {
3399
+ "$comment": "Base-only: vendor-supplied CVSS 3.1 data exactly as a scanner (e.g., Nessus, Grype) would emit it. No consumer enrichment yet.",
3400
+ "version": "3.1",
3401
+ "source": "CVE-2024-12345",
3402
+ "baseVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
3403
+ "baseScore": 9.8,
3404
+ "baseSeverity": "critical"
3405
+ },
3406
+ {
3407
+ "$comment": "Base + Threat: consumer added Exploit Maturity ('E:U' = Unproven) and Remediation Level ('RL:O' = Official Fix) to a HTTP/2 'Rapid Reset' DoS finding. Threat score drops from base 7.5 to 5.5.",
3408
+ "version": "3.1",
3409
+ "source": "CVE-2023-44487",
3410
+ "baseVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
3411
+ "baseScore": 7.5,
3412
+ "baseSeverity": "high",
3413
+ "threatVector": "E:U/RL:O/RC:C",
3414
+ "threatScore": 5.5
3415
+ },
3416
+ {
3417
+ "$comment": "Base + Environmental: consumer asserts the affected system is high-criticality (CR:H, IR:H, AR:H) AND network-reachable in their environment (MAV:N). Environmental score reflects deployment risk for the xz-utils backdoor.",
3418
+ "version": "3.1",
3419
+ "source": "CVE-2024-3094",
3420
+ "baseVector": "CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H",
3421
+ "baseScore": 6.7,
3422
+ "baseSeverity": "medium",
3423
+ "environmentalVector": "MAV:N/CR:H/IR:H/AR:H",
3424
+ "environmentalScore": 9,
3425
+ "computedScore": 9,
3426
+ "computedSeverity": "critical"
3427
+ },
3428
+ {
3429
+ "$comment": "Full CVSS 4.0: vendor base + consumer threat (E:A = Attacked, exploits seen in the wild) + environmental (high CIA requirements) + supplemental context (S:P = present safety impact, AU:N = no autonomous spread, RE:M = moderate response effort) for the Fortinet FortiOS pre-auth RCE. computedScore reflects post-mitigation final risk.",
3430
+ "version": "4.0",
3431
+ "source": "CVE-2024-21762",
3432
+ "baseVector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
3433
+ "baseScore": 9.8,
3434
+ "baseSeverity": "critical",
3435
+ "threatVector": "E:A",
3436
+ "threatScore": 9.3,
3437
+ "environmentalVector": "MAV:N/CR:H/IR:H/AR:H",
3438
+ "environmentalScore": 9.5,
3439
+ "supplementalVector": "S:P/AU:N/V:C/RE:M",
3440
+ "computedScore": 4.2,
3441
+ "computedSeverity": "medium"
3442
+ },
3443
+ {
3444
+ "$comment": "CVSS 2.0 legacy: Heartbleed (CVE-2014-0160) as still reported by older scanner output and legacy NVD data. CVSS 2.0 vectors have no 'CVSS:2.0/' prefix.",
3445
+ "version": "2.0",
3446
+ "source": "CVE-2014-0160",
3447
+ "baseVector": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
3448
+ "baseScore": 5,
3449
+ "baseSeverity": "medium"
3450
+ }
3451
+ ],
3452
+ "description": "A CVSS (Common Vulnerability Scoring System) score record for a vulnerability finding. Captures the vendor-supplied Base metric group and optional consumer-supplied Threat, Environmental, and Supplemental metric groups. Supports all four CVSS major versions (2.0, 3.0, 3.1, 4.0). Vector strings are validated against a permissive umbrella grammar; semantic validation (correct metrics per version, correct values per metric) is performed by the hdf-utilities `validateCvssVector` helper rather than at the schema layer.",
3453
+ "title": "CVSS"
3454
+ }
3455
+ }
3456
+ },
3457
+ "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.3.0": {
3458
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3459
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.3.0",
3460
+ "title": "HDF Affected Package Primitives",
3461
+ "description": "Types for representing the software package(s) affected by a vulnerability finding.",
3462
+ "$defs": {
3463
+ "Affected_Package": {
3464
+ "type": "object",
3465
+ "unevaluatedProperties": false,
3466
+ "anyOf": [
3467
+ {
3468
+ "required": [
3469
+ "name",
3470
+ "version",
3471
+ "ecosystem"
3472
+ ]
3473
+ },
3474
+ {
3475
+ "required": [
3476
+ "purl"
3477
+ ]
3478
+ },
3479
+ {
3480
+ "required": [
3481
+ "cpe"
3482
+ ]
3483
+ }
3484
+ ],
3485
+ "properties": {
3486
+ "name": {
3487
+ "type": "string",
3488
+ "description": "The package name as published in its ecosystem. Examples: 'openssl' (rpm), 'lodash' (npm), 'org.apache.logging.log4j:log4j-core' (maven, group:artifact)."
3489
+ },
3490
+ "version": {
3491
+ "type": "string",
3492
+ "description": "The exact version of the package that the vulnerability scanner observed. Use the ecosystem's native version string verbatim (e.g., '1.1.1k-7.el8_4' for rpm, '4.17.20' for npm)."
3493
+ },
3494
+ "ecosystem": {
3495
+ "type": "string",
3496
+ "enum": [
3497
+ "npm",
3498
+ "pypi",
3499
+ "rpm",
3500
+ "deb",
3501
+ "maven",
3502
+ "gem",
3503
+ "nuget",
3504
+ "go",
3505
+ "cargo",
3506
+ "generic"
3507
+ ],
3508
+ "description": "The packaging ecosystem the package belongs to. Use 'generic' for hardware, firmware, or anything outside the listed language/OS package managers."
3509
+ },
3510
+ "cpe": {
3511
+ "type": "string",
3512
+ "pattern": "^cpe:2\\.3:[aho]:.*",
3513
+ "description": "Optional CPE 2.3 URI identifying the affected product. Validated leniently: only the 'cpe:2.3:' prefix and the part-type letter ('a' application, 'h' hardware, 'o' operating system) are enforced here. Use `hdf-utilities.parseCpe` for full-grammar parsing. Example: 'cpe:2.3:a:openssl:openssl:1.1.1k:*:*:*:*:*:*:*'."
3514
+ },
3515
+ "purl": {
3516
+ "type": "string",
3517
+ "pattern": "^pkg:[A-Za-z0-9.+-]+/.+",
3518
+ "description": "Optional Package URL (PURL) identifying the affected package. Validated leniently: only the 'pkg:TYPE/' scheme prefix is enforced here, where TYPE follows the PURL grammar (a letter followed by letters, digits, '.', '+', or '-') and is matched case-insensitively to mirror `hdf-utilities.parsePurl`'s accept-and-warn behavior. Use `parsePurl` for full PURL parsing. Example: 'pkg:rpm/redhat/openssl@1.1.1k-7.el8_4?arch=x86_64'."
3519
+ },
3520
+ "fixedInVersion": {
3521
+ "type": "string",
3522
+ "description": "Optional version string identifying the first release that contains the fix for the vulnerability. Use the same version syntax as `version`. Example: '1.1.1l' fixes 'openssl@1.1.1k'."
3523
+ }
3524
+ },
3525
+ "examples": [
3526
+ {
3527
+ "$comment": "RPM ecosystem with full CPE + PURL — typical Grype/Trivy output for a RHEL host scan.",
3528
+ "name": "openssl",
3529
+ "version": "1.1.1k-7.el8_4",
3530
+ "ecosystem": "rpm",
3531
+ "cpe": "cpe:2.3:a:openssl:openssl:1.1.1k:*:*:*:*:*:*:*",
3532
+ "purl": "pkg:rpm/redhat/openssl@1.1.1k-7.el8_4?arch=x86_64",
3533
+ "fixedInVersion": "1.1.1l"
3534
+ },
3535
+ {
3536
+ "$comment": "NPM ecosystem with PURL only — the JavaScript world rarely emits CPEs; PURL is the canonical identifier.",
3537
+ "name": "lodash",
3538
+ "version": "4.17.20",
3539
+ "ecosystem": "npm",
3540
+ "purl": "pkg:npm/lodash@4.17.20",
3541
+ "fixedInVersion": "4.17.21"
3542
+ },
3543
+ {
3544
+ "$comment": "Minimal valid AffectedPackage — only the three required fields. Use when the scanner reports a package by name+version without emitting CPE or PURL strings.",
3545
+ "name": "requests",
3546
+ "version": "2.28.1",
3547
+ "ecosystem": "pypi"
3548
+ },
3549
+ {
3550
+ "$comment": "Maven ecosystem with full identifiers + fixedInVersion — log4j Log4Shell-style finding showing the patch path from vulnerable to fixed.",
3551
+ "name": "org.apache.logging.log4j:log4j-core",
3552
+ "version": "2.14.1",
3553
+ "ecosystem": "maven",
3554
+ "cpe": "cpe:2.3:a:apache:log4j:2.14.1:*:*:*:*:*:*:*",
3555
+ "purl": "pkg:maven/org.apache.logging.log4j/log4j-core@2.14.1",
3556
+ "fixedInVersion": "2.17.1"
3557
+ },
3558
+ {
3559
+ "$comment": "purl-only — VEX import path where the source format gives a purl and we choose not to decompose it. Valid because purl encodes name/version/ecosystem implicitly.",
3560
+ "purl": "pkg:npm/lodash@4.17.20"
3561
+ },
3562
+ {
3563
+ "$comment": "cpe-only — NIST-flavored scopes where the consumer carries a CPE 2.3 string and no purl. Valid because cpe encodes vendor/product/version.",
3564
+ "cpe": "cpe:2.3:a:openssl:openssl:1.1.1k:*:*:*:*:*:*:*"
3565
+ }
3566
+ ],
3567
+ "description": "Represents a package referenced by a vulnerability finding or by an amendment's scope. On Evaluated_Requirement.affectedPackages it says 'this CVE affects these package versions'. On Standalone_Override.affectedPackages it says 'this amendment is scoped to these packages' (used by VEX, OSCAL POA&M, FedRAMP component-aware amendments). NOT a system-level component identifier — see `components[]` on hdf-system for those. Validity requires at least one of: (name + version + ecosystem), purl alone, or cpe alone. purl and cpe are self-describing identifiers that encode name/version implicitly, so either may stand on its own; the name+version+ecosystem combination is the explicit form for sources without formal identifiers.",
3568
+ "title": "Affected Package"
3569
+ }
3570
+ }
3571
+ },
3572
+ "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.3.0": {
3007
3573
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3008
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.1.0",
3574
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/runner/v3.3.0",
3009
3575
  "title": "HDF Runner Primitive",
3010
3576
  "description": "Information about the test execution environment where the security tool/scanner was executed.",
3011
3577
  "$defs": {
@@ -3041,7 +3607,7 @@
3041
3607
  "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."
3042
3608
  },
3043
3609
  "operator": {
3044
- "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.1.0#/$defs/Identity",
3610
+ "$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.3.0#/$defs/Identity",
3045
3611
  "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."
3046
3612
  }
3047
3613
  },
@@ -3088,9 +3654,9 @@
3088
3654
  }
3089
3655
  }
3090
3656
  },
3091
- "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.1.0": {
3657
+ "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.3.0": {
3092
3658
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3093
- "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.1.0",
3659
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.3.0",
3094
3660
  "title": "HDF Parameter Primitives",
3095
3661
  "description": "Input/parameter type definitions for typed, traceable configuration values that bridge governance prose and scanner automation.",
3096
3662
  "$defs": {
@@ -3220,6 +3786,137 @@
3220
3786
  "title": "Input"
3221
3787
  }
3222
3788
  }
3789
+ },
3790
+ "https://mitre.github.io/hdf-libs/schemas/primitives/epss/v3.3.0": {
3791
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3792
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/epss/v3.3.0",
3793
+ "title": "HDF EPSS Primitive",
3794
+ "description": "Type for representing FIRST.org's Exploit Prediction Scoring System (EPSS) data for a vulnerability. EPSS estimates the probability that a CVE will be exploited in the wild in the next 30 days. See https://www.first.org/epss/ for the underlying model and methodology.",
3795
+ "$defs": {
3796
+ "Epss": {
3797
+ "type": "object",
3798
+ "unevaluatedProperties": false,
3799
+ "required": [
3800
+ "score",
3801
+ "percentile",
3802
+ "date"
3803
+ ],
3804
+ "properties": {
3805
+ "score": {
3806
+ "type": "number",
3807
+ "minimum": 0,
3808
+ "maximum": 1,
3809
+ "description": "Exploit probability as a value between 0.0 and 1.0 inclusive. Higher values indicate greater predicted likelihood of exploitation in the next 30 days. Example: 0.97532 means roughly a 97.5% predicted probability."
3810
+ },
3811
+ "percentile": {
3812
+ "type": "number",
3813
+ "minimum": 0,
3814
+ "maximum": 1,
3815
+ "description": "Rank of this score relative to all scored CVEs, expressed as a value between 0.0 and 1.0 inclusive. A percentile of 0.99 means this CVE is scored at or above 99% of all scored CVEs."
3816
+ },
3817
+ "date": {
3818
+ "type": "string",
3819
+ "format": "date",
3820
+ "$comment": "This is the date FIRST.org published the score, not the date the underlying CVE was discovered or disclosed. EPSS scores are recomputed daily and shift as new exploitation evidence is observed.",
3821
+ "description": "ISO 8601 date (YYYY-MM-DD) on which FIRST.org published this EPSS score."
3822
+ }
3823
+ },
3824
+ "examples": [
3825
+ {
3826
+ "$comment": "High exploit probability and high percentile, characteristic of a widely-exploited vulnerability like Log4Shell (CVE-2021-44228) shortly after disclosure.",
3827
+ "score": 0.97532,
3828
+ "percentile": 0.99987,
3829
+ "date": "2026-05-26"
3830
+ },
3831
+ {
3832
+ "$comment": "Low score but moderate percentile, the common case for CVEs that have some observed exploitation evidence but are not under active mass exploitation.",
3833
+ "score": 0.04521,
3834
+ "percentile": 0.78432,
3835
+ "date": "2026-05-26"
3836
+ },
3837
+ {
3838
+ "$comment": "Very low score, typical of a CVE with no known exploitation activity or proof-of-concept availability.",
3839
+ "score": 0.00042,
3840
+ "percentile": 0.10215,
3841
+ "date": "2026-05-26"
3842
+ }
3843
+ ],
3844
+ "description": "FIRST.org Exploit Prediction Scoring System (EPSS) data for a single vulnerability. All three fields are required when an Epss object is present; the date disambiguates which day's score this is, since EPSS recomputes daily.",
3845
+ "title": "EPSS"
3846
+ }
3847
+ }
3848
+ },
3849
+ "https://mitre.github.io/hdf-libs/schemas/primitives/kev/v3.3.0": {
3850
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3851
+ "$id": "https://mitre.github.io/hdf-libs/schemas/primitives/kev/v3.3.0",
3852
+ "title": "HDF Kev Primitives",
3853
+ "description": "Types for representing CISA Known Exploited Vulnerabilities (KEV) catalog membership. The KEV catalog (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) flags CVEs that are confirmed actively exploited in the wild and drives federal patching urgency under CISA Binding Operational Directive 22-01.",
3854
+ "$defs": {
3855
+ "Kev": {
3856
+ "type": "object",
3857
+ "unevaluatedProperties": false,
3858
+ "required": [
3859
+ "inKev"
3860
+ ],
3861
+ "if": {
3862
+ "properties": {
3863
+ "inKev": {
3864
+ "const": true
3865
+ }
3866
+ },
3867
+ "required": [
3868
+ "inKev"
3869
+ ]
3870
+ },
3871
+ "then": {
3872
+ "required": [
3873
+ "dateAdded",
3874
+ "dueDate"
3875
+ ]
3876
+ },
3877
+ "properties": {
3878
+ "inKev": {
3879
+ "type": "boolean",
3880
+ "description": "Whether this vulnerability is currently in the CISA Known Exploited Vulnerabilities catalog. When true, dateAdded and dueDate are required."
3881
+ },
3882
+ "dateAdded": {
3883
+ "type": "string",
3884
+ "format": "date",
3885
+ "description": "ISO 8601 calendar date (YYYY-MM-DD) the vulnerability was added to the CISA KEV catalog. Required when inKev is true."
3886
+ },
3887
+ "dueDate": {
3888
+ "type": "string",
3889
+ "format": "date",
3890
+ "description": "ISO 8601 calendar date (YYYY-MM-DD) by which federal agencies must remediate per CISA BOD 22-01. Normally later than dateAdded, but the schema does not enforce ordering because CISA occasionally adjusts published dates. Required when inKev is true."
3891
+ },
3892
+ "notes": {
3893
+ "type": "string",
3894
+ "description": "CISA's notes describing the vulnerability, observed exploitation, or remediation guidance."
3895
+ }
3896
+ },
3897
+ "examples": [
3898
+ {
3899
+ "$comment": "High-urgency case: recently added KEV entry with a short federal patching deadline.",
3900
+ "inKev": true,
3901
+ "dateAdded": "2026-03-15",
3902
+ "dueDate": "2026-04-05",
3903
+ "notes": "Active ransomware exploitation observed; apply vendor patch immediately."
3904
+ },
3905
+ {
3906
+ "$comment": "Older KEV entry whose due date has already passed — useful for reporting overdue remediation.",
3907
+ "inKev": true,
3908
+ "dateAdded": "2023-11-07",
3909
+ "dueDate": "2023-11-28",
3910
+ "notes": "Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable."
3911
+ },
3912
+ {
3913
+ "$comment": "Vulnerability evaluated against the KEV catalog and confirmed not present — dateAdded/dueDate are not required when inKev is false.",
3914
+ "inKev": false
3915
+ }
3916
+ ],
3917
+ "title": "Kev"
3918
+ }
3919
+ }
3223
3920
  }
3224
3921
  }
3225
3922
  }