@mitre/hdf-converters 3.7.2 → 3.8.0-next.42533588944.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 CHANGED
@@ -83,6 +83,7 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
83
83
  | CKLB (DISA STIG Viewer 3.x checklist) | `convertHdfToCklb` |
84
84
  | OSCAL SAR | `convertHdfToOscalSar` |
85
85
  | OSCAL POA&M | `convertHdfToOscalPoam` |
86
+ | SARIF 2.1.0 | `convertHdfToSarif` |
86
87
  | CSAF VEX (HDF Amendments → advisory, partial-fidelity) | `convertHdfToCsafVex` |
87
88
  | OpenVEX (HDF Amendments → statements, partial-fidelity) | `convertHdfToOpenVex` |
88
89
  | CycloneDX VEX (HDF Amendments → BOM, partial-fidelity) | `convertHdfToCyclonedxVex` |
@@ -96,23 +97,23 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
96
97
 
97
98
  ### Enrichment
98
99
 
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).
100
+ Enrichment overlays external context onto an existing HDF document as inert `externalReferences[]` (matched to findings by CVE for a results document, else the document root; a system, plan or comparison document has no findings, so everything lands at the root). It is informational by default — it never changes a finding's status or impact unless the CLI's `--recompute-cvss` is passed — and is distinct from a converter (it takes a document *plus* a source, and returns the enriched document).
100
101
 
101
102
  | Source | Function | Format |
102
103
  |---|---|---|
103
- | STIX 2.1 bundle → results `externalReferences[]` | `enrichStix` | JSON |
104
+ | STIX 2.1 bundle → a document's `externalReferences[]` | `enrichStix` | JSON |
104
105
  | Detect / parse a STIX 2.1 bundle | `detectStixBundle` / `parseStixBundle` | JSON |
105
106
 
106
- CLI: `hdf enrich <results> <source>` (see the [hdf-cli README](../hdf-cli/README.md#enrich)).
107
+ CLI: `hdf enrich <document> <source>` (see the [hdf-cli README](../hdf-cli/README.md#enrich)).
107
108
 
108
109
  ## Installation
109
110
 
110
111
  ```bash
111
- npm install @mitre/hdf-converters@next # newest v3 stable
112
+ npm install @mitre/hdf-converters@stable # newest v3 stable
112
113
  npm install @mitre/hdf-converters@3.7.2 # pin an exact version
113
114
  ```
114
115
 
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).
116
+ 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. For stable releases, install the v3 line via `@stable` or an exact version (npm does not permit a `v3` dist-tag — tag names may not be valid semver ranges). Use `@next` to follow [development snapshots](../site/docs/contributing/main-snapshots.md) of main.
116
117
 
117
118
  Requires Node.js >= 24.
118
119
 
package/dist/detect.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { ConverterDirection, ConverterFingerprint, InputFamily, OutputType, getFingerprint, getFingerprints, getIngestFingerprints, registerFingerprint } from "./registry.js";
2
- //#region shared/typescript/fingerprint.d.ts
3
2
  interface DetectionResult {
4
3
  fingerprint: ConverterFingerprint;
5
4
  confidence: number;
@@ -9,8 +8,6 @@ interface DetectionResult {
9
8
  export declare function detectConverter(input: string): DetectionResult | undefined;
10
9
  export declare function detectConverterAll(input: string): DetectionResult[];
11
10
  export declare function detectFamily(input: string): InputFamily | undefined;
12
- //#endregion
13
- //#region shared/typescript/register-all.d.ts
14
11
  /**
15
12
  * Explicit fingerprint registration for all converters.
16
13
  *
@@ -22,6 +19,5 @@ export declare function detectFamily(input: string): InputFamily | undefined;
22
19
  * Idempotent — safe to call multiple times or after _resetRegistry().
23
20
  */
24
21
  export declare function registerAllFingerprints(): void;
25
- //#endregion
26
22
  export { type ConverterDirection, type ConverterFingerprint, type DetectionResult, type InputFamily, type OutputType, getFingerprint, getFingerprints, getIngestFingerprints, registerFingerprint };
27
23
  //# sourceMappingURL=detect.d.ts.map
@@ -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;;;;;;;;;;;;;wBC0D7B"}
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;;;;;;;;;;;wBC4D7B"}
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-BWm_HvZf.js";
2
+ import { a as detectFamily, i as detectConverterAll, r as detectConverter, t as registerAllFingerprints } from "./register-all-CEKKIG3L.js";
3
3
  export { detectConverter, detectConverterAll, detectFamily, getFingerprint, getFingerprints, getIngestFingerprints, registerAllFingerprints, registerFingerprint };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { CVSSSeverity, Ecosystem, HDFAmendments, HDFResults, ResultStatus, Version } from "@mitre/hdf-schema";
2
2
  import "@mitre/hdf-engine";
3
- //#region converters/legacyhdf-to-hdf/typescript/converter.d.ts
4
3
  /**
5
4
  * HDF v1.0 to v2.0 converter.
6
5
  *
@@ -255,24 +254,14 @@ export declare function convertLegacyHdf(v1Data: LegacyHDFResults, converterVers
255
254
  * @returns true if data looks like HDF v1.0
256
255
  */
257
256
  export declare function isLegacyHdf(data: unknown): data is LegacyHDFResults;
258
- //#endregion
259
- //#region converters/asff-to-hdf/typescript/converter.d.ts
260
257
  /** Converts an ASFF document to HDF Results JSON. */
261
258
  export declare function convertAsffToHdf(input: string, converterVersion?: string): Promise<string>;
262
- //#endregion
263
- //#region converters/sarif-to-hdf/typescript/converter.d.ts
264
259
  export declare function convertSarifToHdf(input: string, converterVersion?: string): Promise<string>;
265
- //#endregion
266
- //#region converters/junit-to-hdf/typescript/converter.d.ts
267
260
  /**
268
261
  * Converts JUnit XML test results to HDF format.
269
262
  */
270
263
  export declare function convertJunitToHdf(input: string, converterVersion?: string): Promise<string>;
271
- //#endregion
272
- //#region converters/xccdf-results-to-hdf/typescript/converter.d.ts
273
264
  export declare function convertXccdfResultsToHdf(input: string, converterVersion?: string): Promise<string>;
274
- //#endregion
275
- //#region converters/ckl-to-hdf/typescript/converter.d.ts
276
265
  /**
277
266
  * Convert a DISA STIG Viewer .ckl document to HDF Results JSON.
278
267
  *
@@ -283,8 +272,6 @@ export declare function convertXccdfResultsToHdf(input: string, converterVersion
283
272
  * skill Step 4d).
284
273
  */
285
274
  export declare function convertCklToHdf(input: string): Promise<string>;
286
- //#endregion
287
- //#region converters/cklb-to-hdf/typescript/converter.d.ts
288
275
  /**
289
276
  * Convert a DISA STIG Viewer 3.x .cklb document to HDF Results JSON.
290
277
  *
@@ -295,8 +282,6 @@ export declare function convertCklToHdf(input: string): Promise<string>;
295
282
  * skill Step 4d).
296
283
  */
297
284
  export declare function convertCklbToHdf(input: string): Promise<string>;
298
- //#endregion
299
- //#region converters/hdf-to-ckl/typescript/converter.d.ts
300
285
  /**
301
286
  * Convert HDF Results JSON into a DISA STIG Viewer checklist (.ckl XML).
302
287
  *
@@ -312,8 +297,6 @@ export declare function convertCklbToHdf(input: string): Promise<string>;
312
297
  * @returns CKL XML string (with the `<?xml ...?>` header)
313
298
  */
314
299
  export declare function convertHdfToCkl(input: string): string;
315
- //#endregion
316
- //#region converters/hdf-to-cklb/typescript/converter.d.ts
317
300
  /**
318
301
  * Convert HDF Results JSON into a DISA STIG Viewer 3.x checklist (.cklb, JSON).
319
302
  *
@@ -328,8 +311,6 @@ export declare function convertHdfToCkl(input: string): string;
328
311
  * @returns CKLB JSON string
329
312
  */
330
313
  export declare function convertHdfToCklb(input: string): string;
331
- //#endregion
332
- //#region converters/kics-to-hdf/typescript/converter.d.ts
333
314
  /**
334
315
  * Converts native `kics scan --report-formats json` output to HDF.
335
316
  *
@@ -342,8 +323,6 @@ export declare function convertHdfToCklb(input: string): string;
342
323
  * @returns HDF JSON string
343
324
  */
344
325
  export declare function convertKicsToHdf(input: string, converterVersion?: string): Promise<string>;
345
- //#endregion
346
- //#region converters/semgrep-to-hdf/typescript/converter.d.ts
347
326
  /**
348
327
  * Converts native `semgrep scan --json` output to HDF Results. SARIF input is
349
328
  * detected and delegated to the SARIF converter.
@@ -356,8 +335,6 @@ export declare function convertKicsToHdf(input: string, converterVersion?: strin
356
335
  * @returns HDF JSON string
357
336
  */
358
337
  export declare function convertSemgrepToHdf(input: string, converterVersion?: string): Promise<string>;
359
- //#endregion
360
- //#region converters/snyk-to-hdf/typescript/converter.d.ts
361
338
  /**
362
339
  * Converts Snyk output to HDF format.
363
340
  * Accepts both native Snyk JSON and SARIF format — SARIF input is detected
@@ -368,24 +345,14 @@ export declare function convertSemgrepToHdf(input: string, converterVersion?: st
368
345
  * @returns HDF JSON string
369
346
  */
370
347
  export declare function convertSnykToHdf(input: string, converterVersion?: string): Promise<string>;
371
- //#endregion
372
- //#region converters/grype-to-hdf/typescript/converter.d.ts
373
348
  export declare function convertGrypeToHdf(input: string, converterVersion?: string): Promise<string>;
374
- //#endregion
375
- //#region converters/hadolint-to-hdf/typescript/converter.d.ts
376
349
  /** Converts hadolint JSON output to HDF results. */
377
350
  export declare function convertHadolintToHdf(input: string, converterVersion?: string): Promise<string>;
378
- //#endregion
379
- //#region converters/defectdojo-to-hdf/typescript/converter.d.ts
380
351
  export declare function convertDefectDojoToHdf(input: string, converterVersion?: string): Promise<string>;
381
- //#endregion
382
- //#region converters/nessus-to-hdf/typescript/converter.d.ts
383
352
  /**
384
353
  * Convert Nessus XML scan results to HDF format
385
354
  */
386
355
  export declare function convertNessusToHdf(nessusXml: string, converterVersion?: string): Promise<HDFResults>;
387
- //#endregion
388
- //#region converters/sonarqube-to-hdf/typescript/converter.d.ts
389
356
  /**
390
357
  * Convert SonarQube issues JSON to HDF format
391
358
  *
@@ -393,8 +360,6 @@ export declare function convertNessusToHdf(nessusXml: string, converterVersion?:
393
360
  * @returns HDF JSON string
394
361
  */
395
362
  export declare function convertSonarqubeToHdf(input: string, converterVersion?: string): Promise<string>;
396
- //#endregion
397
- //#region converters/aws-config-to-hdf/typescript/converter.d.ts
398
363
  /**
399
364
  * Converts an AWS Config static export (ConfigRulesFile JSON) to HDF format.
400
365
  *
@@ -403,8 +368,6 @@ export declare function convertSonarqubeToHdf(input: string, converterVersion?:
403
368
  * @returns HDF JSON string
404
369
  */
405
370
  export declare function convertAwsConfigToHdf(input: string, converterVersion?: string): Promise<string>;
406
- //#endregion
407
- //#region converters/checkov-to-hdf/typescript/converter.d.ts
408
371
  /**
409
372
  * Converts checkov output to HDF format.
410
373
  * Accepts native checkov JSON (single object or array) and SARIF format.
@@ -414,8 +377,6 @@ export declare function convertAwsConfigToHdf(input: string, converterVersion?:
414
377
  * @returns HDF JSON string
415
378
  */
416
379
  export declare function convertCheckovToHdf(input: string, converterVersion?: string): Promise<string>;
417
- //#endregion
418
- //#region converters/gosec-to-hdf/typescript/converter.d.ts
419
380
  /**
420
381
  * Converts gosec output to HDF format.
421
382
  * Accepts both native gosec JSON and SARIF format — SARIF input is detected
@@ -425,14 +386,8 @@ export declare function convertCheckovToHdf(input: string, converterVersion?: st
425
386
  * @returns HDF JSON string
426
387
  */
427
388
  export declare function convertGosecToHdf(input: string, converterVersion?: string): Promise<string>;
428
- //#endregion
429
- //#region converters/nikto-to-hdf/typescript/converter.d.ts
430
389
  export declare function convertNiktoToHdf(input: string, converterVersion?: string): Promise<string>;
431
- //#endregion
432
- //#region converters/zap-to-hdf/typescript/converter.d.ts
433
390
  export declare function convertZapToHdf(input: string, converterVersion?: string): Promise<string>;
434
- //#endregion
435
- //#region converters/cyclonedx-to-hdf/typescript/converter.d.ts
436
391
  /**
437
392
  * Converts CycloneDX SBOM/VEX JSON to HDF format.
438
393
  *
@@ -440,16 +395,12 @@ export declare function convertZapToHdf(input: string, converterVersion?: string
440
395
  * @returns HDF JSON string
441
396
  */
442
397
  export declare function convertCyclonedxToHdf(input: string, converterVersion?: string): Promise<string>;
443
- //#endregion
444
- //#region converters/hdf-to-csv/typescript/converter.d.ts
445
398
  /**
446
399
  * Convert HDF JSON to CSV format
447
400
  * @param input HDF JSON string
448
401
  * @returns CSV string with sanitized output
449
402
  */
450
403
  export declare function convertHdfToCsv(input: string): string;
451
- //#endregion
452
- //#region converters/hdf-to-html/typescript/converter.d.ts
453
404
  /**
454
405
  * How much of the document the report shows. The three levels are the ones
455
406
  * `saf convert hdf2html` offers, each a superset of the last.
@@ -478,20 +429,10 @@ interface HtmlReportDocument {
478
429
  * under its name. Documents appear in the order given.
479
430
  */
480
431
  export declare function convertHdfDocumentsToHtml(documents: HtmlReportDocument[], options?: HtmlReportOptions): string;
481
- //#endregion
482
- //#region converters/hdf-to-ecs/typescript/converter.d.ts
483
432
  export declare function convertHdfToEcs(input: string, converterVersion?: string): string;
484
- //#endregion
485
- //#region converters/hdf-to-splunk/typescript/converter.d.ts
486
433
  export declare function convertHdfToSplunk(input: string, converterVersion?: string): string;
487
- //#endregion
488
- //#region converters/hdf-to-ocsf/typescript/converter.d.ts
489
434
  export declare function convertHdfToOcsf(input: string, converterVersion?: string): string;
490
- //#endregion
491
- //#region converters/hdf-to-asff/typescript/converter.d.ts
492
435
  export declare function convertHdfToAsff(input: string, converterVersion?: string): string;
493
- //#endregion
494
- //#region converters/splunk-to-hdf/typescript/converter.d.ts
495
436
  /**
496
437
  * Convert a Splunk JSON event array back into an HDF Results document.
497
438
  *
@@ -504,8 +445,6 @@ export declare function convertHdfToAsff(input: string, converterVersion?: strin
504
445
  * @returns HDF Results JSON string
505
446
  */
506
447
  export declare function convertSplunkToHdf(input: string, converterVersion?: string): Promise<string>;
507
- //#endregion
508
- //#region converters/hdf-to-xml/typescript/converter.d.ts
509
448
  /**
510
449
  * Convert HDF Results JSON to XML.
511
450
  *
@@ -513,22 +452,14 @@ export declare function convertSplunkToHdf(input: string, converterVersion?: str
513
452
  * @returns XML string
514
453
  */
515
454
  export declare function convertHdfToXml(input: string): string;
516
- //#endregion
517
- //#region converters/gitlab-to-hdf/typescript/converter.d.ts
518
455
  export declare function convertGitlabToHdf(input: string, converterVersion?: string): Promise<string>;
519
- //#endregion
520
- //#region converters/gitlab-vulnerabilities-to-hdf/typescript/converter.d.ts
521
456
  export declare function convertGitlabVulnerabilitiesToHdf(input: string, converterVersion?: string): Promise<string>;
522
- //#endregion
523
- //#region converters/trivy-to-hdf/typescript/converter.d.ts
524
457
  /**
525
458
  * Route Trivy output to HDF Results: native Trivy JSON (SchemaVersion 2) is
526
459
  * parsed here; SARIF / CycloneDX / ASFF / GitLab are delegated to their
527
460
  * converters. TypeScript peer of shared/go/../trivy-to-hdf converter.go.
528
461
  */
529
462
  export declare function convertTrivyToHdf(input: string, converterVersion?: string): Promise<string>;
530
- //#endregion
531
- //#region converters/trufflehog-to-hdf/typescript/converter.d.ts
532
463
  /**
533
464
  * Converts TruffleHog output to HDF format.
534
465
  * Accepts JSON array, single JSON object, or NDJSON input.
@@ -537,8 +468,6 @@ export declare function convertTrivyToHdf(input: string, converterVersion?: stri
537
468
  * @returns HDF JSON string
538
469
  */
539
470
  export declare function convertTrufflehogToHdf(input: string, converterVersion?: string): Promise<string>;
540
- //#endregion
541
- //#region converters/hipcheck-to-hdf/typescript/converter.d.ts
542
471
  /**
543
472
  * Converts a MITRE Hipcheck `hc check --format json` report to HDF Results.
544
473
  *
@@ -546,8 +475,6 @@ export declare function convertTrufflehogToHdf(input: string, converterVersion?:
546
475
  * @returns HDF JSON string
547
476
  */
548
477
  export declare function convertHipcheckToHdf(input: string, converterVersion?: string): Promise<string>;
549
- //#endregion
550
- //#region converters/burpsuite-to-hdf/typescript/converter.d.ts
551
478
  /**
552
479
  * Converts BurpSuite Pro XML export to HDF format.
553
480
  *
@@ -558,8 +485,6 @@ export declare function convertHipcheckToHdf(input: string, converterVersion?: s
558
485
  * @returns HDF JSON string
559
486
  */
560
487
  export declare function convertBurpsuiteToHdf(input: string, converterVersion?: string): Promise<string>;
561
- //#endregion
562
- //#region converters/dbprotect-to-hdf/typescript/converter.d.ts
563
488
  /**
564
489
  * Converts DBProtect Cognos XML output to HDF format.
565
490
  * Supports both "Check Results Details" (has Result Status) and "Findings Detail"
@@ -569,8 +494,6 @@ export declare function convertBurpsuiteToHdf(input: string, converterVersion?:
569
494
  * @returns HDF JSON string
570
495
  */
571
496
  export declare function convertDbprotectToHdf(input: string, converterVersion?: string): Promise<string>;
572
- //#endregion
573
- //#region converters/twistlock-to-hdf/typescript/converter.d.ts
574
497
  /**
575
498
  * Converts Twistlock/Prisma Cloud scan output to HDF format.
576
499
  *
@@ -581,8 +504,6 @@ export declare function convertDbprotectToHdf(input: string, converterVersion?:
581
504
  * @returns HDF JSON string
582
505
  */
583
506
  export declare function convertTwistlockToHdf(input: string, converterVersion?: string): Promise<string>;
584
- //#endregion
585
- //#region converters/deptrack-to-hdf/typescript/converter.d.ts
586
507
  /**
587
508
  * Converts Dependency-Track FPF JSON output to HDF format.
588
509
  *
@@ -590,8 +511,6 @@ export declare function convertTwistlockToHdf(input: string, converterVersion?:
590
511
  * @returns HDF JSON string
591
512
  */
592
513
  export declare function convertDeptrackToHdf(input: string, converterVersion?: string): Promise<string>;
593
- //#endregion
594
- //#region converters/jfrog-xray-to-hdf/typescript/converter.d.ts
595
514
  /**
596
515
  * Converts JFrog Xray JSON output to HDF format.
597
516
  *
@@ -599,8 +518,6 @@ export declare function convertDeptrackToHdf(input: string, converterVersion?: s
599
518
  * @returns HDF JSON string
600
519
  */
601
520
  export declare function convertJfrogXrayToHdf(input: string, converterVersion?: string): Promise<string>;
602
- //#endregion
603
- //#region converters/neuvector-to-hdf/typescript/converter.d.ts
604
521
  /**
605
522
  * Converts NeuVector container vulnerability scan JSON output to HDF format.
606
523
  *
@@ -616,8 +533,6 @@ export declare function convertJfrogXrayToHdf(input: string, converterVersion?:
616
533
  * @returns HDF JSON string
617
534
  */
618
535
  export declare function convertNeuvectorToHdf(input: string, converterVersion?: string): Promise<string>;
619
- //#endregion
620
- //#region converters/fortify-to-hdf/typescript/converter.d.ts
621
536
  /**
622
537
  * Converts Fortify FVDL XML to HDF format.
623
538
  *
@@ -629,8 +544,6 @@ export declare function convertNeuvectorToHdf(input: string, converterVersion?:
629
544
  * @returns HDF JSON string
630
545
  */
631
546
  export declare function convertFortifyToHdf(input: string, converterVersion?: string): Promise<string>;
632
- //#endregion
633
- //#region converters/prisma-to-hdf/typescript/converter.d.ts
634
547
  /**
635
548
  * Prisma Cloud CSV to HDF converter.
636
549
  *
@@ -646,8 +559,6 @@ export declare function convertFortifyToHdf(input: string, converterVersion?: st
646
559
  * @returns HDF JSON string
647
560
  */
648
561
  export declare function convertPrismaToHdf(input: string, converterVersion?: string): Promise<string>;
649
- //#endregion
650
- //#region converters/netsparker-to-hdf/typescript/converter.d.ts
651
562
  /**
652
563
  * Converts Netsparker/Invicti XML scan results to HDF format.
653
564
  * Handles both <netsparker-enterprise> and <invicti-enterprise> root elements.
@@ -656,8 +567,6 @@ export declare function convertPrismaToHdf(input: string, converterVersion?: str
656
567
  * @returns HDF JSON string
657
568
  */
658
569
  export declare function convertNetsparkerToHdf(input: string, converterVersion?: string): Promise<string>;
659
- //#endregion
660
- //#region converters/scoutsuite-to-hdf/typescript/converter.d.ts
661
570
  /**
662
571
  * Converts ScoutSuite output to HDF format.
663
572
  * Input may be a JS file with "scoutsuite_results = " prefix or pure JSON.
@@ -666,8 +575,6 @@ export declare function convertNetsparkerToHdf(input: string, converterVersion?:
666
575
  * @returns HDF JSON string
667
576
  */
668
577
  export declare function convertScoutsuiteToHdf(input: string, converterVersion?: string): Promise<string>;
669
- //#endregion
670
- //#region converters/conveyor-to-hdf/typescript/converter.d.ts
671
578
  /**
672
579
  * Converts Conveyor scan results to HDF format.
673
580
  * Results are grouped by scanner name, producing one baseline per scanner.
@@ -676,8 +583,6 @@ export declare function convertScoutsuiteToHdf(input: string, converterVersion?:
676
583
  * @returns HDF JSON string
677
584
  */
678
585
  export declare function convertConveyorToHdf(input: string, converterVersion?: string): Promise<string>;
679
- //#endregion
680
- //#region converters/veracode-to-hdf/typescript/converter.d.ts
681
586
  /**
682
587
  * Veracode DetailedReport XML to HDF converter.
683
588
  *
@@ -697,8 +602,6 @@ export declare function convertConveyorToHdf(input: string, converterVersion?: s
697
602
  * @returns HDF JSON string
698
603
  */
699
604
  export declare function convertVeracodeToHdf(input: string, converterVersion?: string): Promise<string>;
700
- //#endregion
701
- //#region converters/msft-secure-score-to-hdf/typescript/converter.d.ts
702
605
  /**
703
606
  * Converts Microsoft Secure Score combined JSON to HDF format.
704
607
  *
@@ -709,16 +612,12 @@ export declare function convertVeracodeToHdf(input: string, converterVersion?: s
709
612
  * @returns HDF JSON string
710
613
  */
711
614
  export declare function convertMsftSecureScoreToHdf(input: string, converterVersion?: string): Promise<string>;
712
- //#endregion
713
- //#region converters/msft-defender-devops-to-hdf/typescript/converter.d.ts
714
615
  /**
715
616
  * Converts Microsoft Defender for DevOps SARIF output to HDF format.
716
617
  * Delegates base conversion to the generic SARIF converter and enriches
717
618
  * the output with MSDO-specific metadata.
718
619
  */
719
620
  export declare function convertMsftDefenderDevopsToHdf(input: string, converterVersion?: string): Promise<string>;
720
- //#endregion
721
- //#region converters/msft-defender-cloud-to-hdf/typescript/converter.d.ts
722
621
  /**
723
622
  * Converts Microsoft Defender for Cloud assessment output to HDF format.
724
623
  *
@@ -726,8 +625,6 @@ export declare function convertMsftDefenderDevopsToHdf(input: string, converterV
726
625
  * @returns HDF JSON string
727
626
  */
728
627
  export declare function convertMsftDefenderCloudToHdf(input: string, converterVersion?: string): Promise<string>;
729
- //#endregion
730
- //#region converters/msft-defender-endpoint-to-hdf/typescript/converter.d.ts
731
628
  /**
732
629
  * Converts Microsoft Defender for Endpoint alerts (Microsoft Graph Security API v2 format) to HDF.
733
630
  * Each alert becomes one requirement with one result.
@@ -736,8 +633,6 @@ export declare function convertMsftDefenderCloudToHdf(input: string, converterVe
736
633
  * @returns HDF JSON string
737
634
  */
738
635
  export declare function convertMsftDefenderEndpointToHdf(input: string, converterVersion?: string): Promise<string>;
739
- //#endregion
740
- //#region converters/hdf-to-xccdf/typescript/converter.d.ts
741
636
  /**
742
637
  * Convert HDF Results JSON to XCCDF 1.2 Benchmark XML.
743
638
  *
@@ -745,8 +640,6 @@ export declare function convertMsftDefenderEndpointToHdf(input: string, converte
745
640
  * @returns XCCDF 1.2 XML string
746
641
  */
747
642
  export declare function convertHdfToXccdf(input: string): string;
748
- //#endregion
749
- //#region converters/hdf-to-oscal-sar/typescript/converter.d.ts
750
643
  /**
751
644
  * Converts HDF Results to OSCAL Assessment Results (SAR) format.
752
645
  *
@@ -760,8 +653,6 @@ export declare function convertHdfToXccdf(input: string): string;
760
653
  * @returns OSCAL SAR JSON string
761
654
  */
762
655
  export declare function convertHdfToOscalSar(input: string): Promise<string>;
763
- //#endregion
764
- //#region converters/hdf-to-oscal-poam/typescript/converter.d.ts
765
656
  /**
766
657
  * Converts HDF Amendments to OSCAL Plan of Action and Milestones (POA&M) format.
767
658
  *
@@ -781,32 +672,16 @@ export declare function convertHdfToOscalSar(input: string): Promise<string>;
781
672
  * @returns OSCAL POA&M JSON string
782
673
  */
783
674
  export declare function convertHdfToOscalPoam(input: string): Promise<string>;
784
- //#endregion
785
- //#region converters/ionchannel-to-hdf/typescript/converter.d.ts
675
+ /** Converts HDF Results JSON to a SARIF 2.1.0 log. */
676
+ export declare function convertHdfToSarif(input: string, converterVersion?: string): string;
786
677
  export declare function convertIonchannelToHdf(input: string, converterVersion?: string): Promise<string>;
787
- //#endregion
788
- //#region converters/openvex-to-hdf/typescript/converter.d.ts
789
678
  export declare function convertOpenVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
790
- //#endregion
791
- //#region converters/csaf-vex-to-hdf/typescript/converter.d.ts
792
679
  export declare function convertCsafVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
793
- //#endregion
794
- //#region converters/cyclonedx-vex-to-hdf/typescript/converter.d.ts
795
680
  export declare function convertCyclonedxVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
796
- //#endregion
797
- //#region converters/spdx-vex-to-hdf/typescript/converter.d.ts
798
681
  export declare function convertSpdxVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
799
- //#endregion
800
- //#region converters/hdf-to-csaf-vex/typescript/converter.d.ts
801
682
  export declare function convertHdfToCsafVex(input: string, converterVersion: string): string;
802
- //#endregion
803
- //#region converters/hdf-to-openvex/typescript/converter.d.ts
804
683
  export declare function convertHdfToOpenVex(input: string, converterVersion: string): Promise<string>;
805
- //#endregion
806
- //#region converters/hdf-to-cyclonedx-vex/typescript/converter.d.ts
807
684
  export declare function convertHdfToCyclonedxVex(input: string, converterVersion: string): Promise<string>;
808
- //#endregion
809
- //#region converters/oscal-to-hdf/typescript/detect.d.ts
810
685
  /**
811
686
  * OSCAL document type detection.
812
687
  *
@@ -821,8 +696,6 @@ type OscalDocumentType = 'catalog' | 'profile' | 'component-definition' | 'syste
821
696
  * @throws Error if the input is not valid OSCAL
822
697
  */
823
698
  export declare function detectOscalDocumentType(input: string): OscalDocumentType;
824
- //#endregion
825
- //#region converters/oscal-to-hdf/typescript/converter-catalog.d.ts
826
699
  /**
827
700
  * Converts an OSCAL Catalog document to HDF Baseline JSON.
828
701
  *
@@ -830,8 +703,6 @@ export declare function detectOscalDocumentType(input: string): OscalDocumentTyp
830
703
  * @returns HDF Baseline JSON string
831
704
  */
832
705
  export declare function convertOscalCatalogToHdf(input: string): Promise<string>;
833
- //#endregion
834
- //#region converters/oscal-to-hdf/typescript/converter-profile.d.ts
835
706
  /**
836
707
  * OSCAL Profile to HDF Baseline converter.
837
708
  *
@@ -857,8 +728,6 @@ export declare function convertOscalCatalogToHdf(input: string): Promise<string>
857
728
  * @returns HDF Baseline JSON string
858
729
  */
859
730
  export declare function convertOscalProfileToHdf(profileInput: string, catalogInput: string): Promise<string>;
860
- //#endregion
861
- //#region converters/oscal-to-hdf/typescript/converter-component.d.ts
862
731
  /**
863
732
  * OSCAL Component Definition to HDF Baseline converter.
864
733
  *
@@ -871,8 +740,6 @@ export declare function convertOscalProfileToHdf(profileInput: string, catalogIn
871
740
  * @returns HDF Baseline JSON string
872
741
  */
873
742
  export declare function convertOscalComponentToHdf(input: string): Promise<string>;
874
- //#endregion
875
- //#region converters/oscal-to-hdf/typescript/converter-ssp.d.ts
876
743
  /**
877
744
  * OSCAL System Security Plan (SSP) to HDF System converter.
878
745
  *
@@ -885,8 +752,6 @@ export declare function convertOscalComponentToHdf(input: string): Promise<strin
885
752
  * @returns HDF System JSON string
886
753
  */
887
754
  export declare function convertOscalSspToHdf(input: string): Promise<string>;
888
- //#endregion
889
- //#region converters/oscal-to-hdf/typescript/converter-sap.d.ts
890
755
  /**
891
756
  * OSCAL Assessment Plan (SAP) to HDF Plan converter.
892
757
  *
@@ -899,8 +764,6 @@ export declare function convertOscalSspToHdf(input: string): Promise<string>;
899
764
  * @returns HDF Plan JSON string
900
765
  */
901
766
  export declare function convertOscalSapToHdf(input: string): Promise<string>;
902
- //#endregion
903
- //#region converters/oscal-to-hdf/typescript/converter-poam.d.ts
904
767
  /**
905
768
  * OSCAL Plan of Action and Milestones (POA&M) to HDF Amendments converter.
906
769
  *
@@ -925,8 +788,6 @@ export declare function convertOscalSapToHdf(input: string): Promise<string>;
925
788
  * @returns HDF Amendments JSON string
926
789
  */
927
790
  export declare function convertOscalPoamToHdf(input: string): Promise<string>;
928
- //#endregion
929
- //#region converters/oscal-to-hdf/typescript/converter-sar.d.ts
930
791
  /**
931
792
  * Converts an OSCAL Assessment Results (SAR) document to HDF Results JSON.
932
793
  *
@@ -934,8 +795,6 @@ export declare function convertOscalPoamToHdf(input: string): Promise<string>;
934
795
  * @returns HDF Results JSON string
935
796
  */
936
797
  export declare function convertOscalSarToHdf(input: string): Promise<string>;
937
- //#endregion
938
- //#region shared/typescript/enrichStix.d.ts
939
798
  /** Options for the enrich pass. The empty object is the informational-only pass. */
940
799
  interface EnrichOptions {
941
800
  /** Enable the opt-in E:H CVSS Threat recompute (Phase 5). Off by default. */
@@ -963,8 +822,6 @@ interface EnrichOptions {
963
822
  * TypeScript peer of shared/go/enrich_stix.go (kept at parity).
964
823
  */
965
824
  export declare function enrichStix(resultsInput: string, bundleInput: string, opts?: EnrichOptions): string;
966
- //#endregion
967
- //#region shared/typescript/stix.d.ts
968
825
  type StixObject = Record<string, unknown>;
969
826
  interface StixBundle {
970
827
  type: string;
@@ -975,6 +832,5 @@ interface StixBundle {
975
832
  export declare function parseStixBundle(input: string): StixBundle;
976
833
  /** Report whether the input looks like a STIX 2.1 bundle, without throwing. */
977
834
  export declare function detectStixBundle(input: string): boolean;
978
- //#endregion
979
835
  export { type EnrichOptions, type LegacyHDFResults as HDFV1Results, type LegacyHDFResults, type HDFV2Results, type HtmlReportDocument, type HtmlReportOptions, type HtmlReportType, convertLegacyHdf as convertV1ToV2, isLegacyHdf as isHDFV1 };
980
836
  //# sourceMappingURL=index.d.ts.map
@@ -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/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;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qB,gBAAgB;;;;UC1C1C;;EAEf;;EAEA,OAAO;;EAEP;;;EAGA;;;;;;;;;;;;;;;;wBAwBc,WAAW,sBAAsB,qBAAqB,OAAO;;;KC1CjE,aAAa;UAER;EACf;EACA;EACA,SAAS;;;wBAIK,gBAAgB,gBAAgB;;wBA2BhC,iBAAiB"}
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/hdf-to-sarif/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;EACA;EACA;EACA;GACC;;UAGc;EACf,WAAW;EACX;EACA;EACA;EACA;IAAS;IAAe;IA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