@mitre/hdf-schema 3.3.2 → 3.4.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.
- package/README.md +10 -0
- package/dist/go/hdf.go +585 -534
- package/dist/helpers.js +5 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +26 -25
- package/dist/schemas/hdf-amendments.schema.json +53 -46
- package/dist/schemas/hdf-baseline.schema.json +58 -51
- package/dist/schemas/hdf-comparison.schema.json +846 -243
- package/dist/schemas/hdf-evidence-package.schema.json +204 -51
- package/dist/schemas/hdf-plan.schema.json +58 -51
- package/dist/schemas/hdf-results.schema.json +785 -214
- package/dist/schemas/hdf-system.schema.json +760 -187
- package/dist/ts/hdf.d.ts +628 -468
- package/dist/ts/hdf.js +95 -139
- package/dist/ts/hdf.ts +637 -468
- package/package.json +2 -2
|
@@ -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-plan/v3.
|
|
3
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/hdf-plan/v3.4.0",
|
|
4
4
|
"title": "HDF Plan",
|
|
5
5
|
"description": "Defines an assessment plan — what baselines to run against which targets, with resolved inputs and scheduling. Maps to OSCAL Assessment Plan.",
|
|
6
6
|
"type": "object",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"description": "Human-readable plan name. Example: 'Portal Monthly Assessment'."
|
|
21
21
|
},
|
|
22
22
|
"type": {
|
|
23
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.
|
|
23
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.4.0#/$defs/Plan_Type",
|
|
24
24
|
"description": "The type of assessment plan."
|
|
25
25
|
},
|
|
26
26
|
"description": {
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"type": "array",
|
|
37
37
|
"minItems": 1,
|
|
38
38
|
"items": {
|
|
39
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.
|
|
39
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.4.0#/$defs/Assessment"
|
|
40
40
|
},
|
|
41
41
|
"description": "The assessments to perform. Each assessment pairs a baseline with targets and resolved inputs."
|
|
42
42
|
},
|
|
43
43
|
"schedule": {
|
|
44
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.
|
|
44
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.4.0#/$defs/Schedule",
|
|
45
45
|
"description": "Optional scheduling configuration for recurring assessments."
|
|
46
46
|
},
|
|
47
47
|
"labels": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"description": "Optional key-value labels for grouping and querying plans."
|
|
53
53
|
},
|
|
54
54
|
"integrity": {
|
|
55
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
55
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0#/$defs/Integrity",
|
|
56
56
|
"description": "Cryptographic integrity information for verifying this plan document has not been tampered with."
|
|
57
57
|
},
|
|
58
58
|
"version": {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"description": "Version of this plan document."
|
|
61
61
|
},
|
|
62
62
|
"generator": {
|
|
63
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
63
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0#/$defs/Generator",
|
|
64
64
|
"description": "Information about the tool that generated this plan."
|
|
65
65
|
}
|
|
66
66
|
},
|
|
@@ -94,9 +94,9 @@
|
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
96
|
"$defs": {
|
|
97
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.
|
|
97
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.4.0": {
|
|
98
98
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
99
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.
|
|
99
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/plan/v3.4.0",
|
|
100
100
|
"title": "HDF Plan Primitives",
|
|
101
101
|
"description": "Types for defining assessment plans — what to scan, how to configure it, and when to run.",
|
|
102
102
|
"$defs": {
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"description": "componentId of the system component this assessment targets. Use for direct component binding. Alternative to targetSelector."
|
|
145
145
|
},
|
|
146
146
|
"targetSelector": {
|
|
147
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.
|
|
147
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.4.0#/$defs/Target_Selector",
|
|
148
148
|
"description": "Label selector to match targets for this assessment. Overrides the system component's targetSelector if provided."
|
|
149
149
|
},
|
|
150
150
|
"inputs": {
|
|
@@ -226,9 +226,9 @@
|
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.
|
|
229
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.4.0": {
|
|
230
230
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
231
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.
|
|
231
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/system/v3.4.0",
|
|
232
232
|
"title": "HDF System Primitives",
|
|
233
233
|
"description": "Types for describing system architecture, authorization boundaries, and components.",
|
|
234
234
|
"$defs": {
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"description": "Rationale for why this override is needed."
|
|
280
280
|
},
|
|
281
281
|
"approvedBy": {
|
|
282
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
282
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
283
283
|
"description": "Identity of the person or system that approved this override."
|
|
284
284
|
}
|
|
285
285
|
},
|
|
@@ -361,9 +361,9 @@
|
|
|
361
361
|
}
|
|
362
362
|
}
|
|
363
363
|
},
|
|
364
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
364
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0": {
|
|
365
365
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
366
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
366
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0",
|
|
367
367
|
"title": "HDF Common Primitives",
|
|
368
368
|
"description": "Shared building blocks used by hdf-results and hdf-baseline schemas.",
|
|
369
369
|
"$defs": {
|
|
@@ -372,9 +372,10 @@
|
|
|
372
372
|
"enum": [
|
|
373
373
|
"sha256",
|
|
374
374
|
"sha384",
|
|
375
|
-
"sha512"
|
|
375
|
+
"sha512",
|
|
376
|
+
"blake3"
|
|
376
377
|
],
|
|
377
|
-
"description": "Supported cryptographic hash algorithms for checksums and integrity verification.",
|
|
378
|
+
"description": "Supported cryptographic hash algorithms for checksums and integrity verification. blake3 covers container-image and other artifact digests that use it.",
|
|
378
379
|
"title": "Hash Algorithm"
|
|
379
380
|
},
|
|
380
381
|
"Requirement_Group": {
|
|
@@ -635,10 +636,11 @@
|
|
|
635
636
|
"email",
|
|
636
637
|
"username",
|
|
637
638
|
"system",
|
|
639
|
+
"agent",
|
|
638
640
|
"simple",
|
|
639
641
|
"other"
|
|
640
642
|
],
|
|
641
|
-
"description": "The type of identifier. Use 'email' for email addresses, 'username' for user accounts, 'system' for
|
|
643
|
+
"description": "The type of identifier. Use 'email' for email addresses, 'username' for user accounts, 'system' for deterministic non-interactive automation (CI jobs, cron, scanners), 'agent' for an AI/LLM agent acting with autonomy — kept distinct from 'system' so auditors can apply AI-specific scrutiny (e.g. 'an LLM proposed this' vs a deterministic job) and satisfy AI-source disclosure under frameworks like the EU AI Act and NIST AI RMF, 'simple' for basic string identifiers without additional classification, or 'other' for custom identity systems."
|
|
642
644
|
},
|
|
643
645
|
"description": {
|
|
644
646
|
"type": "string",
|
|
@@ -659,6 +661,11 @@
|
|
|
659
661
|
"type": "system",
|
|
660
662
|
"identifier": "automated-scanner-01",
|
|
661
663
|
"description": "Nightly compliance scan pipeline"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"type": "agent",
|
|
667
|
+
"identifier": "cve-enrichment-bot/v0.4.2",
|
|
668
|
+
"description": "OpenAI GPT-4 via internal CVE-enrichment tool; proposes environmental CVSS for human review"
|
|
662
669
|
}
|
|
663
670
|
],
|
|
664
671
|
"description": "Represents an identity that performed an action, such as capturing evidence or applying an override.",
|
|
@@ -1146,7 +1153,7 @@
|
|
|
1146
1153
|
},
|
|
1147
1154
|
"examples": [
|
|
1148
1155
|
{
|
|
1149
|
-
"$comment": "v3.1.x-style requirement: classification fields omitted. Consumers must continue to handle this shape under v3.
|
|
1156
|
+
"$comment": "v3.1.x-style requirement: classification fields omitted. Consumers must continue to handle this shape under v3.4.0 (backward compatibility).",
|
|
1150
1157
|
"id": "SV-238196",
|
|
1151
1158
|
"title": "The Ubuntu operating system must enforce password complexity",
|
|
1152
1159
|
"impact": 0.5,
|
|
@@ -1283,9 +1290,9 @@
|
|
|
1283
1290
|
}
|
|
1284
1291
|
}
|
|
1285
1292
|
},
|
|
1286
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
1293
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0": {
|
|
1287
1294
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1288
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
1295
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0",
|
|
1289
1296
|
"title": "HDF Extension Primitives",
|
|
1290
1297
|
"description": "Extension types for waivers, attestations, generators, and integrity.",
|
|
1291
1298
|
"$defs": {
|
|
@@ -1313,15 +1320,15 @@
|
|
|
1313
1320
|
],
|
|
1314
1321
|
"properties": {
|
|
1315
1322
|
"type": {
|
|
1316
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1323
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0#/$defs/Override_Type",
|
|
1317
1324
|
"description": "The type of override applied to this requirement."
|
|
1318
1325
|
},
|
|
1319
1326
|
"status": {
|
|
1320
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
1327
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0#/$defs/Result_Status",
|
|
1321
1328
|
"description": "The new status this override sets for the requirement. Optional when only impact is being overridden."
|
|
1322
1329
|
},
|
|
1323
1330
|
"impact": {
|
|
1324
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1331
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0#/$defs/Impact_Override",
|
|
1325
1332
|
"description": "Override to the requirement's impact score. At least one of status or impact must be set."
|
|
1326
1333
|
},
|
|
1327
1334
|
"reason": {
|
|
@@ -1329,7 +1336,7 @@
|
|
|
1329
1336
|
"description": "Explanation for why this override was applied."
|
|
1330
1337
|
},
|
|
1331
1338
|
"appliedBy": {
|
|
1332
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1339
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
1333
1340
|
"description": "Identity of who applied this override. For simple cases, use type 'simple' with just an identifier."
|
|
1334
1341
|
},
|
|
1335
1342
|
"appliedAt": {
|
|
@@ -1343,27 +1350,27 @@
|
|
|
1343
1350
|
"description": "Timestamp when this override expires and must be reviewed/renewed. REQUIRED - no permanent overrides allowed. ISO 8601 format."
|
|
1344
1351
|
},
|
|
1345
1352
|
"signature": {
|
|
1346
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1353
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Signature",
|
|
1347
1354
|
"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."
|
|
1348
1355
|
},
|
|
1349
1356
|
"evidence": {
|
|
1350
1357
|
"type": "array",
|
|
1351
1358
|
"items": {
|
|
1352
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1359
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Evidence"
|
|
1353
1360
|
},
|
|
1354
1361
|
"description": "Supporting evidence for this override, such as screenshots demonstrating manual verification for attestations."
|
|
1355
1362
|
},
|
|
1356
1363
|
"previousChecksum": {
|
|
1357
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1364
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Checksum",
|
|
1358
1365
|
"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."
|
|
1359
1366
|
},
|
|
1360
1367
|
"cvss": {
|
|
1361
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
1368
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0#/$defs/Cvss",
|
|
1362
1369
|
"$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.",
|
|
1363
1370
|
"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."
|
|
1364
1371
|
},
|
|
1365
1372
|
"justification": {
|
|
1366
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1373
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0#/$defs/Justification",
|
|
1367
1374
|
"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."
|
|
1368
1375
|
}
|
|
1369
1376
|
},
|
|
@@ -1470,7 +1477,7 @@
|
|
|
1470
1477
|
"description": "Detailed explanation of the plan, including what actions will be taken."
|
|
1471
1478
|
},
|
|
1472
1479
|
"appliedBy": {
|
|
1473
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1480
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
1474
1481
|
"description": "Identity of who created this POA&M. For simple cases, use type 'simple' with just an identifier."
|
|
1475
1482
|
},
|
|
1476
1483
|
"appliedAt": {
|
|
@@ -1486,23 +1493,23 @@
|
|
|
1486
1493
|
"milestones": {
|
|
1487
1494
|
"type": "array",
|
|
1488
1495
|
"items": {
|
|
1489
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1496
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Milestone"
|
|
1490
1497
|
},
|
|
1491
1498
|
"description": "Optional array of milestones tracking progress toward completion."
|
|
1492
1499
|
},
|
|
1493
1500
|
"signature": {
|
|
1494
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1501
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Signature",
|
|
1495
1502
|
"description": "Optional digital signature for enhanced trust and non-repudiation."
|
|
1496
1503
|
},
|
|
1497
1504
|
"evidence": {
|
|
1498
1505
|
"type": "array",
|
|
1499
1506
|
"items": {
|
|
1500
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1507
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Evidence"
|
|
1501
1508
|
},
|
|
1502
1509
|
"description": "Supporting evidence for this POA&M, such as documentation of compensating controls or mitigation implementation."
|
|
1503
1510
|
},
|
|
1504
1511
|
"previousChecksum": {
|
|
1505
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1512
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Checksum",
|
|
1506
1513
|
"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."
|
|
1507
1514
|
}
|
|
1508
1515
|
},
|
|
@@ -1653,7 +1660,7 @@
|
|
|
1653
1660
|
},
|
|
1654
1661
|
"properties": {
|
|
1655
1662
|
"algorithm": {
|
|
1656
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1663
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Hash_Algorithm",
|
|
1657
1664
|
"description": "The hash algorithm used for the checksum."
|
|
1658
1665
|
},
|
|
1659
1666
|
"checksum": {
|
|
@@ -1686,9 +1693,9 @@
|
|
|
1686
1693
|
}
|
|
1687
1694
|
}
|
|
1688
1695
|
},
|
|
1689
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1696
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0": {
|
|
1690
1697
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1691
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1698
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0",
|
|
1692
1699
|
"title": "HDF Amendment Primitives",
|
|
1693
1700
|
"description": "Types for waivers, attestations, and POA&Ms that modify requirement compliance status.",
|
|
1694
1701
|
"$defs": {
|
|
@@ -1809,7 +1816,7 @@
|
|
|
1809
1816
|
"description": "Name of the baseline containing the requirement. Required when the system has multiple baselines with potentially overlapping requirement IDs."
|
|
1810
1817
|
},
|
|
1811
1818
|
"status": {
|
|
1812
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
1819
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0#/$defs/Result_Status",
|
|
1813
1820
|
"description": "The new status this amendment sets. Optional when only impact is being overridden."
|
|
1814
1821
|
},
|
|
1815
1822
|
"impact": {
|
|
@@ -1821,7 +1828,7 @@
|
|
|
1821
1828
|
"description": "Justification for this amendment."
|
|
1822
1829
|
},
|
|
1823
1830
|
"appliedBy": {
|
|
1824
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1831
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
1825
1832
|
"description": "Identity of who applied this amendment."
|
|
1826
1833
|
},
|
|
1827
1834
|
"appliedAt": {
|
|
@@ -1837,20 +1844,20 @@
|
|
|
1837
1844
|
"evidence": {
|
|
1838
1845
|
"type": "array",
|
|
1839
1846
|
"items": {
|
|
1840
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1847
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Evidence"
|
|
1841
1848
|
},
|
|
1842
1849
|
"description": "Supporting evidence (screenshots, logs, URLs, documents)."
|
|
1843
1850
|
},
|
|
1844
1851
|
"signature": {
|
|
1845
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1852
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Signature",
|
|
1846
1853
|
"description": "Digital signature for non-repudiation."
|
|
1847
1854
|
},
|
|
1848
1855
|
"previousChecksum": {
|
|
1849
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1856
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Checksum",
|
|
1850
1857
|
"description": "Checksum of the prior amendment in the chain. Creates a tamper-evident linked list. Null for the first amendment."
|
|
1851
1858
|
},
|
|
1852
1859
|
"cvss": {
|
|
1853
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
1860
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0#/$defs/Cvss",
|
|
1854
1861
|
"$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.",
|
|
1855
1862
|
"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."
|
|
1856
1863
|
},
|
|
@@ -1861,7 +1868,7 @@
|
|
|
1861
1868
|
"milestones": {
|
|
1862
1869
|
"type": "array",
|
|
1863
1870
|
"items": {
|
|
1864
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1871
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Milestone"
|
|
1865
1872
|
},
|
|
1866
1873
|
"description": "Remediation milestones (primarily for POA&M type amendments)."
|
|
1867
1874
|
},
|
|
@@ -1878,7 +1885,7 @@
|
|
|
1878
1885
|
"affectedPackages": {
|
|
1879
1886
|
"type": "array",
|
|
1880
1887
|
"items": {
|
|
1881
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.
|
|
1888
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.4.0#/$defs/Affected_Package"
|
|
1882
1889
|
},
|
|
1883
1890
|
"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)."
|
|
1884
1891
|
}
|
|
@@ -2011,9 +2018,9 @@
|
|
|
2011
2018
|
}
|
|
2012
2019
|
}
|
|
2013
2020
|
},
|
|
2014
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
2021
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0": {
|
|
2015
2022
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2016
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
2023
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0",
|
|
2017
2024
|
"title": "HDF Result Primitives",
|
|
2018
2025
|
"description": "Types for representing assessment results and statuses.",
|
|
2019
2026
|
"$defs": {
|
|
@@ -2144,9 +2151,9 @@
|
|
|
2144
2151
|
}
|
|
2145
2152
|
}
|
|
2146
2153
|
},
|
|
2147
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
2154
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0": {
|
|
2148
2155
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2149
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
2156
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0",
|
|
2150
2157
|
"title": "HDF CVSS Primitives",
|
|
2151
2158
|
"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).",
|
|
2152
2159
|
"$defs": {
|
|
@@ -2348,9 +2355,9 @@
|
|
|
2348
2355
|
}
|
|
2349
2356
|
}
|
|
2350
2357
|
},
|
|
2351
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.
|
|
2358
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.4.0": {
|
|
2352
2359
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2353
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.
|
|
2360
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.4.0",
|
|
2354
2361
|
"title": "HDF Affected Package Primitives",
|
|
2355
2362
|
"description": "Types for representing the software package(s) affected by a vulnerability finding.",
|
|
2356
2363
|
"$defs": {
|