@mitre/hdf-schema 3.6.0 → 3.7.0-rc.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 +8 -2
- package/dist/go/hdf.go +20 -12
- package/dist/index.js +28 -28
- package/dist/schemas/hdf-amendments.schema.json +95 -48
- package/dist/schemas/hdf-baseline.schema.json +100 -53
- package/dist/schemas/hdf-comparison.schema.json +177 -130
- package/dist/schemas/hdf-evidence-package.schema.json +96 -49
- package/dist/schemas/hdf-plan.schema.json +101 -54
- package/dist/schemas/hdf-requirement-change-event.schema.json +167 -120
- package/dist/schemas/hdf-results.schema.json +153 -106
- package/dist/schemas/hdf-system.schema.json +116 -69
- package/dist/ts/hdf.d.ts +12 -2
- package/dist/ts/hdf.ts +12 -2
- package/package.json +2 -2
package/dist/ts/hdf.ts
CHANGED
|
@@ -1032,7 +1032,9 @@ export interface Evidence {
|
|
|
1032
1032
|
capturedBy?: Identity;
|
|
1033
1033
|
/**
|
|
1034
1034
|
* The evidence content. For screenshots/files: base64-encoded data or URL. For code/logs:
|
|
1035
|
-
* the raw text. For URLs: the URL string.
|
|
1035
|
+
* the raw text. For URLs: the URL string. Must not be empty. When encoding is 'base64',
|
|
1036
|
+
* data must be bare base64 matching ^[0-9A-Za-z+/]+={0,2}$ (OSCAL's Base64Datatype): no
|
|
1037
|
+
* data: URI prefix, URL, or line breaks.
|
|
1036
1038
|
*/
|
|
1037
1039
|
data: string;
|
|
1038
1040
|
/**
|
|
@@ -1040,7 +1042,8 @@ export interface Evidence {
|
|
|
1040
1042
|
*/
|
|
1041
1043
|
description?: string;
|
|
1042
1044
|
/**
|
|
1043
|
-
* Encoding used for the data. Example: 'base64', 'utf-8'.
|
|
1045
|
+
* Encoding used for the data. Example: 'base64', 'utf-8'. The value 'base64' (exactly,
|
|
1046
|
+
* lowercase) requires data to be bare base64.
|
|
1044
1047
|
*/
|
|
1045
1048
|
encoding?: string;
|
|
1046
1049
|
/**
|
|
@@ -1179,6 +1182,13 @@ export interface Milestone {
|
|
|
1179
1182
|
* Current status of this milestone.
|
|
1180
1183
|
*/
|
|
1181
1184
|
status: MilestoneStatus;
|
|
1185
|
+
/**
|
|
1186
|
+
* Short single-line label for this milestone, suitable where a consumer needs a title (for
|
|
1187
|
+
* example an OSCAL POA&M remediation or task). No line breaks, and no leading or trailing
|
|
1188
|
+
* whitespace. The description remains the full text of the milestone; the title does not
|
|
1189
|
+
* replace it.
|
|
1190
|
+
*/
|
|
1191
|
+
title?: string;
|
|
1182
1192
|
[property: string]: any;
|
|
1183
1193
|
}
|
|
1184
1194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mitre/hdf-schema",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.7.0-rc.1",
|
|
4
4
|
"description": "JSON schemas and multi-language type definitions for Heimdall Data Format (HDF)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"ajv": "^8.17.0",
|
|
67
67
|
"ajv-formats": "^3.0.0",
|
|
68
|
-
"@mitre/hdf-utilities": "^3.
|
|
68
|
+
"@mitre/hdf-utilities": "^3.7.0-rc.1"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@hyperjump/json-schema": "^1.17.2",
|