@mitre/hdf-converters 3.7.1 → 3.7.2-rc.2
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 +37 -4
- package/dist/detect.d.ts.map +1 -1
- package/dist/detect.js +1 -1
- package/dist/index.d.ts +40 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2572 -231
- package/dist/index.js.map +1 -1
- package/dist/{register-all-BEuKQGEZ.js → register-all-BWm_HvZf.js} +72 -1
- package/dist/register-all-BWm_HvZf.js.map +1 -0
- package/package.json +11 -9
- package/dist/register-all-BEuKQGEZ.js.map +0 -1
package/README.md
CHANGED
|
@@ -27,8 +27,10 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
27
27
|
| Dependency-Track | `convertDeptrackToHdf` | JSON |
|
|
28
28
|
| Fortify | `convertFortifyToHdf` | XML |
|
|
29
29
|
| GitLab Security Report | `convertGitlabToHdf` | JSON |
|
|
30
|
+
| GitLab Vulnerability Report (fetcher envelope, triage state preserved) | `convertGitlabVulnerabilitiesToHdf` | JSON |
|
|
30
31
|
| Gosec | `convertGosecToHdf` | JSON |
|
|
31
32
|
| Grype | `convertGrypeToHdf` | JSON |
|
|
33
|
+
| hadolint | `convertHadolintToHdf` | JSON |
|
|
32
34
|
| Hipcheck | `convertHipcheckToHdf` | JSON |
|
|
33
35
|
| Ion Channel | `convertIonchannelToHdf` | JSON |
|
|
34
36
|
| JFrog Xray | `convertJfrogXrayToHdf` | JSON |
|
|
@@ -70,6 +72,7 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
70
72
|
| Target Format | Function |
|
|
71
73
|
|---|---|
|
|
72
74
|
| CSV | `convertHdfToCsv` |
|
|
75
|
+
| HTML report (self-contained; executive, manager or administrator) | `convertHdfToHtml`; `convertHdfDocumentsToHtml` for several documents in one report |
|
|
73
76
|
| ECS (Elastic Common Schema 9.4.0 NDJSON) | `convertHdfToEcs` |
|
|
74
77
|
| Splunk (CIM Vulnerabilities / HEC NDJSON) | `convertHdfToSplunk` |
|
|
75
78
|
| OCSF (v1.8.0 Compliance / Vulnerability Finding NDJSON) | `convertHdfToOcsf` |
|
|
@@ -93,7 +96,7 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
93
96
|
|
|
94
97
|
### Enrichment
|
|
95
98
|
|
|
96
|
-
Enrichment overlays external context onto an existing HDF results document as inert `externalReferences[]` (matched to findings by CVE, else the
|
|
99
|
+
Enrichment overlays external context onto an existing HDF results document as inert `externalReferences[]` (matched to findings by CVE, else the document root). It is informational — it never changes a finding's status or impact — and is distinct from a converter (it takes a results doc *plus* a source, and returns the enriched results doc).
|
|
97
100
|
|
|
98
101
|
| Source | Function | Format |
|
|
99
102
|
|---|---|---|
|
|
@@ -106,12 +109,12 @@ CLI: `hdf enrich <results> <source>` (see the [hdf-cli README](../hdf-cli/README
|
|
|
106
109
|
|
|
107
110
|
```bash
|
|
108
111
|
npm install @mitre/hdf-converters@next # newest v3 stable
|
|
109
|
-
npm install @mitre/hdf-converters@3.
|
|
112
|
+
npm install @mitre/hdf-converters@3.7.2 # pin an exact version
|
|
110
113
|
```
|
|
111
114
|
|
|
112
115
|
This package's npm name is shared with [heimdall2](https://github.com/mitre/heimdall2), which publishes the v2 line and owns the `latest` dist-tag — a plain `npm install @mitre/hdf-converters` installs v2, not this library. Always install the v3 line via `@next` or an exact version (npm does not permit a `v3` dist-tag — tag names may not be valid semver ranges).
|
|
113
116
|
|
|
114
|
-
Requires Node.js >=
|
|
117
|
+
Requires Node.js >= 24.
|
|
115
118
|
|
|
116
119
|
## TypeScript Usage
|
|
117
120
|
|
|
@@ -123,7 +126,7 @@ All exports use ESM (`"type": "module"`).
|
|
|
123
126
|
import { convertGrypeToHdf } from '@mitre/hdf-converters';
|
|
124
127
|
|
|
125
128
|
const grypeJson = fs.readFileSync('grype-report.json', 'utf-8');
|
|
126
|
-
const hdfResults = convertGrypeToHdf(grypeJson,
|
|
129
|
+
const hdfResults = await convertGrypeToHdf(grypeJson); // second argument is the converter version stamped into generator.version, not a filename
|
|
127
130
|
```
|
|
128
131
|
|
|
129
132
|
### Auto-detect input format
|
|
@@ -151,6 +154,23 @@ if (isHDFV1(data)) {
|
|
|
151
154
|
}
|
|
152
155
|
```
|
|
153
156
|
|
|
157
|
+
### Render an HTML report
|
|
158
|
+
|
|
159
|
+
```typescript
|
|
160
|
+
import { convertHdfToHtml, convertHdfDocumentsToHtml } from '@mitre/hdf-converters';
|
|
161
|
+
|
|
162
|
+
// One results document. reportType is 'executive', 'manager' or 'administrator' (the default).
|
|
163
|
+
const report = convertHdfToHtml(hdfResultsJson, { reportType: 'manager' });
|
|
164
|
+
|
|
165
|
+
// Several results documents in one report; each is listed under its name, in the order given.
|
|
166
|
+
const combined = convertHdfDocumentsToHtml([
|
|
167
|
+
{ name: 'web.hdf.json', content: webResultsJson },
|
|
168
|
+
{ name: 'db.hdf.json', content: dbResultsJson },
|
|
169
|
+
]);
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
Both return one self-contained HTML string. The same input always yields the same output, and the Go and TypeScript implementations yield identical bytes.
|
|
173
|
+
|
|
154
174
|
## Go Usage
|
|
155
175
|
|
|
156
176
|
Go converters live under `converters/<name>/go/` and follow the same function signature:
|
|
@@ -164,6 +184,19 @@ results, err := grype.ConvertGrypeToHDF(input, converterVersion)
|
|
|
164
184
|
|
|
165
185
|
The first argument is the raw tool output (`[]byte`); the second is the converter version string, not the source filename.
|
|
166
186
|
|
|
187
|
+
Exporters take an HDF document instead. The HTML report takes one results document, or several for a combined report:
|
|
188
|
+
|
|
189
|
+
```go
|
|
190
|
+
import hdftohtml "github.com/mitre/hdf-libs/hdf-converters/v3/converters/hdf-to-html/go"
|
|
191
|
+
|
|
192
|
+
report, err := hdftohtml.ConvertHDFToHTMLWithOptions(results, hdftohtml.Options{ReportType: hdftohtml.Manager})
|
|
193
|
+
|
|
194
|
+
combined, err := hdftohtml.ConvertHDFDocumentsToHTML([]hdftohtml.Document{
|
|
195
|
+
{Name: "web.hdf.json", Data: webResults},
|
|
196
|
+
{Name: "db.hdf.json", Data: dbResults},
|
|
197
|
+
}, hdftohtml.Options{})
|
|
198
|
+
```
|
|
199
|
+
|
|
167
200
|
For CLI usage, install the `hdf` binary from [hdf-cli](https://github.com/mitre/hdf-libs/tree/main/hdf-cli):
|
|
168
201
|
|
|
169
202
|
```bash
|
package/dist/detect.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detect.d.ts","names":[],"sources":["../shared/typescript/fingerprint.ts","../shared/typescript/register-all.ts"],"mappings":";;UASiB;EACf,aAAa;EACb;;EAEA;;wBAMc,gBAAgB,gBAAgB;wBAgBhC,mBAAmB,gBAAgB;wBAgDnC,aAAa,gBAAgB;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"detect.d.ts","names":[],"sources":["../shared/typescript/fingerprint.ts","../shared/typescript/register-all.ts"],"mappings":";;UASiB;EACf,aAAa;EACb;;EAEA;;wBAMc,gBAAgB,gBAAgB;wBAgBhC,mBAAmB,gBAAgB;wBAgDnC,aAAa,gBAAgB;;;;;;;;;;;;;wBC0D7B"}
|
package/dist/detect.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { getFingerprint, getFingerprints, getIngestFingerprints, registerFingerprint } from "./registry.js";
|
|
2
|
-
import { a as detectFamily, i as detectConverterAll, r as detectConverter, t as registerAllFingerprints } from "./register-all-
|
|
2
|
+
import { a as detectFamily, i as detectConverterAll, r as detectConverter, t as registerAllFingerprints } from "./register-all-BWm_HvZf.js";
|
|
3
3
|
export { detectConverter, detectConverterAll, detectFamily, getFingerprint, getFingerprints, getIngestFingerprints, registerAllFingerprints, registerFingerprint };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { CVSSSeverity, Ecosystem, HDFAmendments, HDFResults, ResultStatus, Version } from "@mitre/hdf-schema";
|
|
2
|
+
import "@mitre/hdf-engine";
|
|
2
3
|
//#region converters/legacyhdf-to-hdf/typescript/converter.d.ts
|
|
3
4
|
/**
|
|
4
5
|
* HDF v1.0 to v2.0 converter.
|
|
@@ -371,6 +372,10 @@ export declare function convertSnykToHdf(input: string, converterVersion?: strin
|
|
|
371
372
|
//#region converters/grype-to-hdf/typescript/converter.d.ts
|
|
372
373
|
export declare function convertGrypeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
373
374
|
//#endregion
|
|
375
|
+
//#region converters/hadolint-to-hdf/typescript/converter.d.ts
|
|
376
|
+
/** Converts hadolint JSON output to HDF results. */
|
|
377
|
+
export declare function convertHadolintToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
378
|
+
//#endregion
|
|
374
379
|
//#region converters/defectdojo-to-hdf/typescript/converter.d.ts
|
|
375
380
|
export declare function convertDefectDojoToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
376
381
|
//#endregion
|
|
@@ -444,6 +449,36 @@ export declare function convertCyclonedxToHdf(input: string, converterVersion?:
|
|
|
444
449
|
*/
|
|
445
450
|
export declare function convertHdfToCsv(input: string): string;
|
|
446
451
|
//#endregion
|
|
452
|
+
//#region converters/hdf-to-html/typescript/converter.d.ts
|
|
453
|
+
/**
|
|
454
|
+
* How much of the document the report shows. The three levels are the ones
|
|
455
|
+
* `saf convert hdf2html` offers, each a superset of the last.
|
|
456
|
+
*/
|
|
457
|
+
type HtmlReportType = 'executive' | 'manager' | 'administrator';
|
|
458
|
+
interface HtmlReportOptions {
|
|
459
|
+
/** Case-insensitive; defaults to 'administrator'. */
|
|
460
|
+
reportType?: string;
|
|
461
|
+
}
|
|
462
|
+
/** Reads a report type case-insensitively; empty selects 'administrator'. */
|
|
463
|
+
export declare function parseReportType(value: string | undefined | null): HtmlReportType;
|
|
464
|
+
/**
|
|
465
|
+
* Renders an HDF results document as HTML. The output depends on the input and
|
|
466
|
+
* options alone: nothing is read from the clock or the host, so the same
|
|
467
|
+
* document always yields the same report.
|
|
468
|
+
*/
|
|
469
|
+
export declare function convertHdfToHtml(input: string, options?: HtmlReportOptions): string;
|
|
470
|
+
/** One results document going into an aggregated report. `name` is how the report refers to it, usually its file name. */
|
|
471
|
+
interface HtmlReportDocument {
|
|
472
|
+
name: string;
|
|
473
|
+
content: string;
|
|
474
|
+
}
|
|
475
|
+
/**
|
|
476
|
+
* Renders several results documents as one report: combined status, severity
|
|
477
|
+
* and compliance, then each document's own context, components and results
|
|
478
|
+
* under its name. Documents appear in the order given.
|
|
479
|
+
*/
|
|
480
|
+
export declare function convertHdfDocumentsToHtml(documents: HtmlReportDocument[], options?: HtmlReportOptions): string;
|
|
481
|
+
//#endregion
|
|
447
482
|
//#region converters/hdf-to-ecs/typescript/converter.d.ts
|
|
448
483
|
export declare function convertHdfToEcs(input: string, converterVersion?: string): string;
|
|
449
484
|
//#endregion
|
|
@@ -482,6 +517,9 @@ export declare function convertHdfToXml(input: string): string;
|
|
|
482
517
|
//#region converters/gitlab-to-hdf/typescript/converter.d.ts
|
|
483
518
|
export declare function convertGitlabToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
484
519
|
//#endregion
|
|
520
|
+
//#region converters/gitlab-vulnerabilities-to-hdf/typescript/converter.d.ts
|
|
521
|
+
export declare function convertGitlabVulnerabilitiesToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
522
|
+
//#endregion
|
|
485
523
|
//#region converters/trivy-to-hdf/typescript/converter.d.ts
|
|
486
524
|
/**
|
|
487
525
|
* Route Trivy output to HDF Results: native Trivy JSON (SchemaVersion 2) is
|
|
@@ -915,7 +953,7 @@ interface EnrichOptions {
|
|
|
915
953
|
* each STIX object as an inert externalReferences[] entry: a CVE-bearing object
|
|
916
954
|
* attaches to the finding whose requirementId is that CVE (fanning out to every
|
|
917
955
|
* match), and everything else — non-CVE objects and CVEs with no matching
|
|
918
|
-
* finding — attaches to the
|
|
956
|
+
* finding — attaches to the document root. Each entry carries the raw STIX object
|
|
919
957
|
* losslessly in `document`.
|
|
920
958
|
*
|
|
921
959
|
* Informational only: authors no overrides and fabricates no status/impact (the
|
|
@@ -938,5 +976,5 @@ export declare function parseStixBundle(input: string): StixBundle;
|
|
|
938
976
|
/** Report whether the input looks like a STIX 2.1 bundle, without throwing. */
|
|
939
977
|
export declare function detectStixBundle(input: string): boolean;
|
|
940
978
|
//#endregion
|
|
941
|
-
export { type EnrichOptions, type LegacyHDFResults as HDFV1Results, type LegacyHDFResults, type HDFV2Results, convertLegacyHdf as convertV1ToV2, isLegacyHdf as isHDFV1 };
|
|
979
|
+
export { type EnrichOptions, type LegacyHDFResults as HDFV1Results, type LegacyHDFResults, type HDFV2Results, type HtmlReportDocument, type HtmlReportOptions, type HtmlReportType, convertLegacyHdf as convertV1ToV2, isLegacyHdf as isHDFV1 };
|
|
942
980
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../converters/legacyhdf-to-hdf/typescript/converter.ts","../converters/asff-to-hdf/typescript/converter.ts","../converters/sarif-to-hdf/typescript/converter.ts","../converters/junit-to-hdf/typescript/converter.ts","../converters/xccdf-results-to-hdf/typescript/converter.ts","../converters/ckl-to-hdf/typescript/converter.ts","../converters/cklb-to-hdf/typescript/converter.ts","../converters/hdf-to-ckl/typescript/converter.ts","../converters/hdf-to-cklb/typescript/converter.ts","../converters/kics-to-hdf/typescript/converter.ts","../converters/semgrep-to-hdf/typescript/converter.ts","../converters/snyk-to-hdf/typescript/converter.ts","../converters/grype-to-hdf/typescript/converter.ts","../converters/defectdojo-to-hdf/typescript/converter.ts","../converters/nessus-to-hdf/typescript/converter.ts","../converters/sonarqube-to-hdf/typescript/converter.ts","../converters/aws-config-to-hdf/typescript/converter.ts","../converters/checkov-to-hdf/typescript/converter.ts","../converters/gosec-to-hdf/typescript/converter.ts","../converters/nikto-to-hdf/typescript/converter.ts","../converters/zap-to-hdf/typescript/converter.ts","../converters/cyclonedx-to-hdf/typescript/converter.ts","../converters/hdf-to-csv/typescript/converter.ts","../converters/hdf-to-ecs/typescript/converter.ts","../converters/hdf-to-splunk/typescript/converter.ts","../converters/hdf-to-ocsf/typescript/converter.ts","../converters/hdf-to-asff/typescript/converter.ts","../converters/splunk-to-hdf/typescript/converter.ts","../converters/hdf-to-xml/typescript/converter.ts","../converters/gitlab-to-hdf/typescript/converter.ts","../converters/trivy-to-hdf/typescript/converter.ts","../converters/trufflehog-to-hdf/typescript/converter.ts","../converters/hipcheck-to-hdf/typescript/converter.ts","../converters/burpsuite-to-hdf/typescript/converter.ts","../converters/dbprotect-to-hdf/typescript/converter.ts","../converters/twistlock-to-hdf/typescript/converter.ts","../converters/deptrack-to-hdf/typescript/converter.ts","../converters/jfrog-xray-to-hdf/typescript/converter.ts","../converters/neuvector-to-hdf/typescript/converter.ts","../converters/fortify-to-hdf/typescript/converter.ts","../converters/prisma-to-hdf/typescript/converter.ts","../converters/netsparker-to-hdf/typescript/converter.ts","../converters/scoutsuite-to-hdf/typescript/converter.ts","../converters/conveyor-to-hdf/typescript/converter.ts","../converters/veracode-to-hdf/typescript/converter.ts","../converters/msft-secure-score-to-hdf/typescript/converter.ts","../converters/msft-defender-devops-to-hdf/typescript/converter.ts","../converters/msft-defender-cloud-to-hdf/typescript/converter.ts","../converters/msft-defender-endpoint-to-hdf/typescript/converter.ts","../converters/hdf-to-xccdf/typescript/converter.ts","../converters/hdf-to-oscal-sar/typescript/converter.ts","../converters/hdf-to-oscal-poam/typescript/converter.ts","../converters/ionchannel-to-hdf/typescript/converter.ts","../converters/openvex-to-hdf/typescript/converter.ts","../converters/csaf-vex-to-hdf/typescript/converter.ts","../converters/cyclonedx-vex-to-hdf/typescript/converter.ts","../converters/spdx-vex-to-hdf/typescript/converter.ts","../converters/hdf-to-csaf-vex/typescript/converter.ts","../converters/hdf-to-openvex/typescript/converter.ts","../converters/hdf-to-cyclonedx-vex/typescript/converter.ts","../converters/oscal-to-hdf/typescript/detect.ts","../converters/oscal-to-hdf/typescript/converter-catalog.ts","../converters/oscal-to-hdf/typescript/converter-profile.ts","../converters/oscal-to-hdf/typescript/converter-component.ts","../converters/oscal-to-hdf/typescript/converter-ssp.ts","../converters/oscal-to-hdf/typescript/converter-sap.ts","../converters/oscal-to-hdf/typescript/converter-poam.ts","../converters/oscal-to-hdf/typescript/converter-sar.ts","../shared/typescript/enrichStix.ts","../shared/typescript/stix.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../converters/legacyhdf-to-hdf/typescript/converter.ts","../converters/asff-to-hdf/typescript/converter.ts","../converters/sarif-to-hdf/typescript/converter.ts","../converters/junit-to-hdf/typescript/converter.ts","../converters/xccdf-results-to-hdf/typescript/converter.ts","../converters/ckl-to-hdf/typescript/converter.ts","../converters/cklb-to-hdf/typescript/converter.ts","../converters/hdf-to-ckl/typescript/converter.ts","../converters/hdf-to-cklb/typescript/converter.ts","../converters/kics-to-hdf/typescript/converter.ts","../converters/semgrep-to-hdf/typescript/converter.ts","../converters/snyk-to-hdf/typescript/converter.ts","../converters/grype-to-hdf/typescript/converter.ts","../converters/hadolint-to-hdf/typescript/converter.ts","../converters/defectdojo-to-hdf/typescript/converter.ts","../converters/nessus-to-hdf/typescript/converter.ts","../converters/sonarqube-to-hdf/typescript/converter.ts","../converters/aws-config-to-hdf/typescript/converter.ts","../converters/checkov-to-hdf/typescript/converter.ts","../converters/gosec-to-hdf/typescript/converter.ts","../converters/nikto-to-hdf/typescript/converter.ts","../converters/zap-to-hdf/typescript/converter.ts","../converters/cyclonedx-to-hdf/typescript/converter.ts","../converters/hdf-to-csv/typescript/converter.ts","../converters/hdf-to-html/typescript/converter.ts","../converters/hdf-to-ecs/typescript/converter.ts","../converters/hdf-to-splunk/typescript/converter.ts","../converters/hdf-to-ocsf/typescript/converter.ts","../converters/hdf-to-asff/typescript/converter.ts","../converters/splunk-to-hdf/typescript/converter.ts","../converters/hdf-to-xml/typescript/converter.ts","../converters/gitlab-to-hdf/typescript/converter.ts","../converters/gitlab-vulnerabilities-to-hdf/typescript/converter.ts","../converters/trivy-to-hdf/typescript/converter.ts","../converters/trufflehog-to-hdf/typescript/converter.ts","../converters/hipcheck-to-hdf/typescript/converter.ts","../converters/burpsuite-to-hdf/typescript/converter.ts","../converters/dbprotect-to-hdf/typescript/converter.ts","../converters/twistlock-to-hdf/typescript/converter.ts","../converters/deptrack-to-hdf/typescript/converter.ts","../converters/jfrog-xray-to-hdf/typescript/converter.ts","../converters/neuvector-to-hdf/typescript/converter.ts","../converters/fortify-to-hdf/typescript/converter.ts","../converters/prisma-to-hdf/typescript/converter.ts","../converters/netsparker-to-hdf/typescript/converter.ts","../converters/scoutsuite-to-hdf/typescript/converter.ts","../converters/conveyor-to-hdf/typescript/converter.ts","../converters/veracode-to-hdf/typescript/converter.ts","../converters/msft-secure-score-to-hdf/typescript/converter.ts","../converters/msft-defender-devops-to-hdf/typescript/converter.ts","../converters/msft-defender-cloud-to-hdf/typescript/converter.ts","../converters/msft-defender-endpoint-to-hdf/typescript/converter.ts","../converters/hdf-to-xccdf/typescript/converter.ts","../converters/hdf-to-oscal-sar/typescript/converter.ts","../converters/hdf-to-oscal-poam/typescript/converter.ts","../converters/ionchannel-to-hdf/typescript/converter.ts","../converters/openvex-to-hdf/typescript/converter.ts","../converters/csaf-vex-to-hdf/typescript/converter.ts","../converters/cyclonedx-vex-to-hdf/typescript/converter.ts","../converters/spdx-vex-to-hdf/typescript/converter.ts","../converters/hdf-to-csaf-vex/typescript/converter.ts","../converters/hdf-to-openvex/typescript/converter.ts","../converters/hdf-to-cyclonedx-vex/typescript/converter.ts","../converters/oscal-to-hdf/typescript/detect.ts","../converters/oscal-to-hdf/typescript/converter-catalog.ts","../converters/oscal-to-hdf/typescript/converter-profile.ts","../converters/oscal-to-hdf/typescript/converter-component.ts","../converters/oscal-to-hdf/typescript/converter-ssp.ts","../converters/oscal-to-hdf/typescript/converter-sap.ts","../converters/oscal-to-hdf/typescript/converter-poam.ts","../converters/oscal-to-hdf/typescript/converter-sar.ts","../shared/typescript/enrichStix.ts","../shared/typescript/stix.ts"],"mappings":";;;;;;;;;;;;;UAyBiB;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAIA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA,eAAe;IAAO;IAAe;;EACrC;EACA;EACA,OAAO;EACP;EACA;IACE;IACA;;EAEF,cAAc;EACd,UAAU;EACV;GACC;;UAGc;EACf;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT,WAAW;EACX;EACA,UAAU;EACV;EACA;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;GACC;;UAGc;EACf;EACA,UAAU;EACV,UAAU;EACV;EACA;EACA;EAKA;IAAe;KAA6B;;GAC3C;;UA6Bc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;IAAU;;EACV;EACA;IAAa;IAAe;;EAC5B;EACA;GACC;;UAGc;EACf;EACA;EACA;IAAa;IAAe;;EAC5B;GACC;;UAGc;EACf;EACA;EACA;EACA,eAAe;IAAO;IAAe;;EACrC;EACA;EACA,OAAO;EACP;EACA;IACE;IACA;;EAEF,aAAa;EACb,UAAU;EACV;EACA;EACA;EACA,kBAAkB;EAClB,QAAQ;EACR;EACA,OAAO;IAAO;;GACb;;UAGc;EACf;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA,SAAS;EACT,eAAe;EACf;IACE;IACA;;EAEF;IACE;IACA;;EAEF;IACE;IACA;;EAEF;IACE;IACA;;EAEF,UAAU;EACV;EAC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