@mitre/hdf-schema 3.3.1 → 3.4.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.
- package/README.md +10 -0
- package/dist/go/hdf.go +473 -117
- 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 +517 -52
- package/dist/ts/hdf.js +42 -14
- package/dist/ts/hdf.ts +526 -52
- 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-baseline/v3.
|
|
3
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/hdf-baseline/v3.4.0",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"unevaluatedProperties": false,
|
|
6
6
|
"required": [
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"allOf": [
|
|
11
11
|
{
|
|
12
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
12
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Baseline_Metadata"
|
|
13
13
|
}
|
|
14
14
|
],
|
|
15
15
|
"properties": {
|
|
@@ -24,34 +24,34 @@
|
|
|
24
24
|
"groups": {
|
|
25
25
|
"type": "array",
|
|
26
26
|
"items": {
|
|
27
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
27
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Requirement_Group"
|
|
28
28
|
},
|
|
29
29
|
"description": "A set of descriptions for the requirement groups."
|
|
30
30
|
},
|
|
31
31
|
"inputs": {
|
|
32
32
|
"type": "array",
|
|
33
33
|
"items": {
|
|
34
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.
|
|
34
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.4.0#/$defs/Input"
|
|
35
35
|
},
|
|
36
36
|
"description": "The input(s) or attribute(s) to be used in the run."
|
|
37
37
|
},
|
|
38
38
|
"integrity": {
|
|
39
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
39
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0#/$defs/Integrity",
|
|
40
40
|
"description": "Cryptographic integrity information for verifying this baseline has not been tampered with."
|
|
41
41
|
},
|
|
42
42
|
"remediation": {
|
|
43
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
43
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Remediation",
|
|
44
44
|
"description": "Optional reference to automated remediation resources (Ansible playbooks, Terraform scripts, etc.) for implementing the security controls defined in this baseline."
|
|
45
45
|
},
|
|
46
46
|
"depends": {
|
|
47
47
|
"type": "array",
|
|
48
48
|
"items": {
|
|
49
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
49
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Dependency"
|
|
50
50
|
},
|
|
51
51
|
"description": "The set of dependencies this baseline depends on."
|
|
52
52
|
},
|
|
53
53
|
"generator": {
|
|
54
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
54
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0#/$defs/Generator",
|
|
55
55
|
"description": "The tool that generated this file."
|
|
56
56
|
}
|
|
57
57
|
},
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
],
|
|
143
143
|
"allOf": [
|
|
144
144
|
{
|
|
145
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
145
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Requirement_Core"
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
148
|
"properties": {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"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'."
|
|
152
152
|
},
|
|
153
153
|
"severity": {
|
|
154
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
154
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Severity",
|
|
155
155
|
"description": "Explicit severity rating. Typically derived from impact score but provided explicitly for clarity."
|
|
156
156
|
}
|
|
157
157
|
},
|
|
@@ -193,9 +193,9 @@
|
|
|
193
193
|
"description": "Array of labeled descriptions. At least one description with label 'default' must be present.",
|
|
194
194
|
"title": "Baseline Requirement Descriptions"
|
|
195
195
|
},
|
|
196
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
196
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0": {
|
|
197
197
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
198
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
198
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0",
|
|
199
199
|
"title": "HDF Common Primitives",
|
|
200
200
|
"description": "Shared building blocks used by hdf-results and hdf-baseline schemas.",
|
|
201
201
|
"$defs": {
|
|
@@ -204,9 +204,10 @@
|
|
|
204
204
|
"enum": [
|
|
205
205
|
"sha256",
|
|
206
206
|
"sha384",
|
|
207
|
-
"sha512"
|
|
207
|
+
"sha512",
|
|
208
|
+
"blake3"
|
|
208
209
|
],
|
|
209
|
-
"description": "Supported cryptographic hash algorithms for checksums and integrity verification.",
|
|
210
|
+
"description": "Supported cryptographic hash algorithms for checksums and integrity verification. blake3 covers container-image and other artifact digests that use it.",
|
|
210
211
|
"title": "Hash Algorithm"
|
|
211
212
|
},
|
|
212
213
|
"Requirement_Group": {
|
|
@@ -467,10 +468,11 @@
|
|
|
467
468
|
"email",
|
|
468
469
|
"username",
|
|
469
470
|
"system",
|
|
471
|
+
"agent",
|
|
470
472
|
"simple",
|
|
471
473
|
"other"
|
|
472
474
|
],
|
|
473
|
-
"description": "The type of identifier. Use 'email' for email addresses, 'username' for user accounts, 'system' for
|
|
475
|
+
"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."
|
|
474
476
|
},
|
|
475
477
|
"description": {
|
|
476
478
|
"type": "string",
|
|
@@ -491,6 +493,11 @@
|
|
|
491
493
|
"type": "system",
|
|
492
494
|
"identifier": "automated-scanner-01",
|
|
493
495
|
"description": "Nightly compliance scan pipeline"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"type": "agent",
|
|
499
|
+
"identifier": "cve-enrichment-bot/v0.4.2",
|
|
500
|
+
"description": "OpenAI GPT-4 via internal CVE-enrichment tool; proposes environmental CVSS for human review"
|
|
494
501
|
}
|
|
495
502
|
],
|
|
496
503
|
"description": "Represents an identity that performed an action, such as capturing evidence or applying an override.",
|
|
@@ -978,7 +985,7 @@
|
|
|
978
985
|
},
|
|
979
986
|
"examples": [
|
|
980
987
|
{
|
|
981
|
-
"$comment": "v3.1.x-style requirement: classification fields omitted. Consumers must continue to handle this shape under v3.
|
|
988
|
+
"$comment": "v3.1.x-style requirement: classification fields omitted. Consumers must continue to handle this shape under v3.4.0 (backward compatibility).",
|
|
982
989
|
"id": "SV-238196",
|
|
983
990
|
"title": "The Ubuntu operating system must enforce password complexity",
|
|
984
991
|
"impact": 0.5,
|
|
@@ -1115,9 +1122,9 @@
|
|
|
1115
1122
|
}
|
|
1116
1123
|
}
|
|
1117
1124
|
},
|
|
1118
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.
|
|
1125
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.4.0": {
|
|
1119
1126
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1120
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.
|
|
1127
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/parameter/v3.4.0",
|
|
1121
1128
|
"title": "HDF Parameter Primitives",
|
|
1122
1129
|
"description": "Input/parameter type definitions for typed, traceable configuration values that bridge governance prose and scanner automation.",
|
|
1123
1130
|
"$defs": {
|
|
@@ -1248,9 +1255,9 @@
|
|
|
1248
1255
|
}
|
|
1249
1256
|
}
|
|
1250
1257
|
},
|
|
1251
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
1258
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0": {
|
|
1252
1259
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1253
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.
|
|
1260
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/extensions/v3.4.0",
|
|
1254
1261
|
"title": "HDF Extension Primitives",
|
|
1255
1262
|
"description": "Extension types for waivers, attestations, generators, and integrity.",
|
|
1256
1263
|
"$defs": {
|
|
@@ -1278,15 +1285,15 @@
|
|
|
1278
1285
|
],
|
|
1279
1286
|
"properties": {
|
|
1280
1287
|
"type": {
|
|
1281
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1288
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0#/$defs/Override_Type",
|
|
1282
1289
|
"description": "The type of override applied to this requirement."
|
|
1283
1290
|
},
|
|
1284
1291
|
"status": {
|
|
1285
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
1292
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0#/$defs/Result_Status",
|
|
1286
1293
|
"description": "The new status this override sets for the requirement. Optional when only impact is being overridden."
|
|
1287
1294
|
},
|
|
1288
1295
|
"impact": {
|
|
1289
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1296
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0#/$defs/Impact_Override",
|
|
1290
1297
|
"description": "Override to the requirement's impact score. At least one of status or impact must be set."
|
|
1291
1298
|
},
|
|
1292
1299
|
"reason": {
|
|
@@ -1294,7 +1301,7 @@
|
|
|
1294
1301
|
"description": "Explanation for why this override was applied."
|
|
1295
1302
|
},
|
|
1296
1303
|
"appliedBy": {
|
|
1297
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1304
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
1298
1305
|
"description": "Identity of who applied this override. For simple cases, use type 'simple' with just an identifier."
|
|
1299
1306
|
},
|
|
1300
1307
|
"appliedAt": {
|
|
@@ -1308,27 +1315,27 @@
|
|
|
1308
1315
|
"description": "Timestamp when this override expires and must be reviewed/renewed. REQUIRED - no permanent overrides allowed. ISO 8601 format."
|
|
1309
1316
|
},
|
|
1310
1317
|
"signature": {
|
|
1311
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1318
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Signature",
|
|
1312
1319
|
"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."
|
|
1313
1320
|
},
|
|
1314
1321
|
"evidence": {
|
|
1315
1322
|
"type": "array",
|
|
1316
1323
|
"items": {
|
|
1317
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1324
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Evidence"
|
|
1318
1325
|
},
|
|
1319
1326
|
"description": "Supporting evidence for this override, such as screenshots demonstrating manual verification for attestations."
|
|
1320
1327
|
},
|
|
1321
1328
|
"previousChecksum": {
|
|
1322
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1329
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Checksum",
|
|
1323
1330
|
"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."
|
|
1324
1331
|
},
|
|
1325
1332
|
"cvss": {
|
|
1326
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
1333
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0#/$defs/Cvss",
|
|
1327
1334
|
"$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.",
|
|
1328
1335
|
"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."
|
|
1329
1336
|
},
|
|
1330
1337
|
"justification": {
|
|
1331
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1338
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0#/$defs/Justification",
|
|
1332
1339
|
"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."
|
|
1333
1340
|
}
|
|
1334
1341
|
},
|
|
@@ -1435,7 +1442,7 @@
|
|
|
1435
1442
|
"description": "Detailed explanation of the plan, including what actions will be taken."
|
|
1436
1443
|
},
|
|
1437
1444
|
"appliedBy": {
|
|
1438
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1445
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
1439
1446
|
"description": "Identity of who created this POA&M. For simple cases, use type 'simple' with just an identifier."
|
|
1440
1447
|
},
|
|
1441
1448
|
"appliedAt": {
|
|
@@ -1451,23 +1458,23 @@
|
|
|
1451
1458
|
"milestones": {
|
|
1452
1459
|
"type": "array",
|
|
1453
1460
|
"items": {
|
|
1454
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1461
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Milestone"
|
|
1455
1462
|
},
|
|
1456
1463
|
"description": "Optional array of milestones tracking progress toward completion."
|
|
1457
1464
|
},
|
|
1458
1465
|
"signature": {
|
|
1459
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1466
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Signature",
|
|
1460
1467
|
"description": "Optional digital signature for enhanced trust and non-repudiation."
|
|
1461
1468
|
},
|
|
1462
1469
|
"evidence": {
|
|
1463
1470
|
"type": "array",
|
|
1464
1471
|
"items": {
|
|
1465
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1472
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Evidence"
|
|
1466
1473
|
},
|
|
1467
1474
|
"description": "Supporting evidence for this POA&M, such as documentation of compensating controls or mitigation implementation."
|
|
1468
1475
|
},
|
|
1469
1476
|
"previousChecksum": {
|
|
1470
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1477
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Checksum",
|
|
1471
1478
|
"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."
|
|
1472
1479
|
}
|
|
1473
1480
|
},
|
|
@@ -1618,7 +1625,7 @@
|
|
|
1618
1625
|
},
|
|
1619
1626
|
"properties": {
|
|
1620
1627
|
"algorithm": {
|
|
1621
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1628
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Hash_Algorithm",
|
|
1622
1629
|
"description": "The hash algorithm used for the checksum."
|
|
1623
1630
|
},
|
|
1624
1631
|
"checksum": {
|
|
@@ -1651,9 +1658,9 @@
|
|
|
1651
1658
|
}
|
|
1652
1659
|
}
|
|
1653
1660
|
},
|
|
1654
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1661
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0": {
|
|
1655
1662
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1656
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.
|
|
1663
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/amendments/v3.4.0",
|
|
1657
1664
|
"title": "HDF Amendment Primitives",
|
|
1658
1665
|
"description": "Types for waivers, attestations, and POA&Ms that modify requirement compliance status.",
|
|
1659
1666
|
"$defs": {
|
|
@@ -1774,7 +1781,7 @@
|
|
|
1774
1781
|
"description": "Name of the baseline containing the requirement. Required when the system has multiple baselines with potentially overlapping requirement IDs."
|
|
1775
1782
|
},
|
|
1776
1783
|
"status": {
|
|
1777
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
1784
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0#/$defs/Result_Status",
|
|
1778
1785
|
"description": "The new status this amendment sets. Optional when only impact is being overridden."
|
|
1779
1786
|
},
|
|
1780
1787
|
"impact": {
|
|
@@ -1786,7 +1793,7 @@
|
|
|
1786
1793
|
"description": "Justification for this amendment."
|
|
1787
1794
|
},
|
|
1788
1795
|
"appliedBy": {
|
|
1789
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1796
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Identity",
|
|
1790
1797
|
"description": "Identity of who applied this amendment."
|
|
1791
1798
|
},
|
|
1792
1799
|
"appliedAt": {
|
|
@@ -1802,20 +1809,20 @@
|
|
|
1802
1809
|
"evidence": {
|
|
1803
1810
|
"type": "array",
|
|
1804
1811
|
"items": {
|
|
1805
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1812
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Evidence"
|
|
1806
1813
|
},
|
|
1807
1814
|
"description": "Supporting evidence (screenshots, logs, URLs, documents)."
|
|
1808
1815
|
},
|
|
1809
1816
|
"signature": {
|
|
1810
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1817
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Signature",
|
|
1811
1818
|
"description": "Digital signature for non-repudiation."
|
|
1812
1819
|
},
|
|
1813
1820
|
"previousChecksum": {
|
|
1814
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1821
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Checksum",
|
|
1815
1822
|
"description": "Checksum of the prior amendment in the chain. Creates a tamper-evident linked list. Null for the first amendment."
|
|
1816
1823
|
},
|
|
1817
1824
|
"cvss": {
|
|
1818
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
1825
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0#/$defs/Cvss",
|
|
1819
1826
|
"$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.",
|
|
1820
1827
|
"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."
|
|
1821
1828
|
},
|
|
@@ -1826,7 +1833,7 @@
|
|
|
1826
1833
|
"milestones": {
|
|
1827
1834
|
"type": "array",
|
|
1828
1835
|
"items": {
|
|
1829
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.
|
|
1836
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/common/v3.4.0#/$defs/Milestone"
|
|
1830
1837
|
},
|
|
1831
1838
|
"description": "Remediation milestones (primarily for POA&M type amendments)."
|
|
1832
1839
|
},
|
|
@@ -1843,7 +1850,7 @@
|
|
|
1843
1850
|
"affectedPackages": {
|
|
1844
1851
|
"type": "array",
|
|
1845
1852
|
"items": {
|
|
1846
|
-
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.
|
|
1853
|
+
"$ref": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.4.0#/$defs/Affected_Package"
|
|
1847
1854
|
},
|
|
1848
1855
|
"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)."
|
|
1849
1856
|
}
|
|
@@ -1976,9 +1983,9 @@
|
|
|
1976
1983
|
}
|
|
1977
1984
|
}
|
|
1978
1985
|
},
|
|
1979
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
1986
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0": {
|
|
1980
1987
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
1981
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.
|
|
1988
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/result/v3.4.0",
|
|
1982
1989
|
"title": "HDF Result Primitives",
|
|
1983
1990
|
"description": "Types for representing assessment results and statuses.",
|
|
1984
1991
|
"$defs": {
|
|
@@ -2109,9 +2116,9 @@
|
|
|
2109
2116
|
}
|
|
2110
2117
|
}
|
|
2111
2118
|
},
|
|
2112
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
2119
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0": {
|
|
2113
2120
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2114
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.
|
|
2121
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/cvss/v3.4.0",
|
|
2115
2122
|
"title": "HDF CVSS Primitives",
|
|
2116
2123
|
"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).",
|
|
2117
2124
|
"$defs": {
|
|
@@ -2313,9 +2320,9 @@
|
|
|
2313
2320
|
}
|
|
2314
2321
|
}
|
|
2315
2322
|
},
|
|
2316
|
-
"https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.
|
|
2323
|
+
"https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.4.0": {
|
|
2317
2324
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
2318
|
-
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.
|
|
2325
|
+
"$id": "https://mitre.github.io/hdf-libs/schemas/primitives/affected-package/v3.4.0",
|
|
2319
2326
|
"title": "HDF Affected Package Primitives",
|
|
2320
2327
|
"description": "Types for representing the software package(s) affected by a vulnerability finding.",
|
|
2321
2328
|
"$defs": {
|