@mitre/hdf-converters 3.3.2 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/detect.d.ts +0 -1
- package/dist/detect.d.ts.map +1 -1
- package/dist/detect.js +1 -1
- package/dist/index.d.ts +55 -40
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3542 -994
- package/dist/index.js.map +1 -1
- package/dist/{register-all-DxZN6IJ4.js → register-all-WRR-vAZf.js} +33 -1
- package/dist/register-all-WRR-vAZf.js.map +1 -0
- package/dist/registry.d.ts.map +1 -1
- package/package.json +18 -7
- package/dist/register-all-DxZN6IJ4.js.map +0 -1
package/README.md
CHANGED
|
@@ -12,8 +12,10 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
12
12
|
|
|
13
13
|
| Source Format | Function | Input |
|
|
14
14
|
|---|---|---|
|
|
15
|
+
| ASFF (AWS Security Finding Format) | `convertAsffToHdf` | JSON |
|
|
15
16
|
| AWS Config | `convertAwsConfigToHdf` | JSON |
|
|
16
17
|
| BurpSuite | `convertBurpsuiteToHdf` | XML |
|
|
18
|
+
| Checkov | `convertCheckovToHdf` | JSON |
|
|
17
19
|
| CKL (DISA STIG Viewer checklist) | `convertCklToHdf` | XML |
|
|
18
20
|
| CKLB (DISA STIG Viewer 3.x checklist) | `convertCklbToHdf` | JSON |
|
|
19
21
|
| Conveyor | `convertConveyorToHdf` | JSON |
|
|
@@ -62,6 +64,10 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
62
64
|
| Target Format | Function |
|
|
63
65
|
|---|---|
|
|
64
66
|
| CSV | `convertHdfToCsv` |
|
|
67
|
+
| ECS (Elastic Common Schema 9.4.0 NDJSON) | `convertHdfToEcs` |
|
|
68
|
+
| Splunk (CIM Vulnerabilities / HEC NDJSON) | `convertHdfToSplunk` |
|
|
69
|
+
| OCSF (v1.8.0 Compliance / Vulnerability Finding NDJSON) | `convertHdfToOcsf` |
|
|
70
|
+
| ASFF (AWS Security Finding Format `{"Findings":[...]}` envelope) | `convertHdfToAsff` |
|
|
65
71
|
| XML | `convertHdfToXml` |
|
|
66
72
|
| XCCDF | `convertHdfToXccdf` |
|
|
67
73
|
| CKL (DISA STIG Viewer checklist) | `convertHdfToCkl` |
|
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
|
-
|
|
3
2
|
//#region shared/typescript/fingerprint.d.ts
|
|
4
3
|
interface DetectionResult {
|
|
5
4
|
fingerprint: ConverterFingerprint;
|
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":"
|
|
1
|
+
{"version":3,"file":"detect.d.ts","names":[],"sources":["../shared/typescript/fingerprint.ts","../shared/typescript/register-all.ts"],"mappings":";;UASiB;EACf,aAAa;EACb;;EAEA;;iBAMc,gBAAgB,gBAAgB;iBAgBhC,mBAAmB,gBAAgB;iBAgDnC,aAAa,gBAAgB;;;;;;;;;;;;;iBC4C7B"}
|
package/dist/detect.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { getFingerprint, getFingerprints, getIngestFingerprints, registerFingerprint } from "./registry.js";
|
|
2
|
-
import { i as detectFamily, n as detectConverter, r as detectConverterAll, t as registerAllFingerprints } from "./register-all-
|
|
2
|
+
import { i as detectFamily, n as detectConverter, r as detectConverterAll, t as registerAllFingerprints } from "./register-all-WRR-vAZf.js";
|
|
3
3
|
export { detectConverter, detectConverterAll, detectFamily, getFingerprint, getFingerprints, getIngestFingerprints, registerAllFingerprints, registerFingerprint };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { CVSSSeverity, Ecosystem, HDFAmendments, HDFResults, Version } from "@mitre/hdf-schema";
|
|
2
|
-
|
|
1
|
+
import { CVSSSeverity, Ecosystem, HDFAmendments, HDFResults, ResultStatus, Version } from "@mitre/hdf-schema";
|
|
3
2
|
//#region converters/legacyhdf-to-hdf/typescript/converter.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* HDF v1.0 to v2.0 converter.
|
|
@@ -231,17 +230,21 @@ declare function convertV1ToV2(v1Data: HDFV1Results): HDFV2Results;
|
|
|
231
230
|
*/
|
|
232
231
|
declare function isHDFV1(data: unknown): data is HDFV1Results;
|
|
233
232
|
//#endregion
|
|
233
|
+
//#region converters/asff-to-hdf/typescript/converter.d.ts
|
|
234
|
+
/** Converts an ASFF document to HDF Results JSON. */
|
|
235
|
+
declare function convertAsffToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
236
|
+
//#endregion
|
|
234
237
|
//#region converters/sarif-to-hdf/typescript/converter.d.ts
|
|
235
|
-
declare function convertSarifToHdf(input: string): Promise<string>;
|
|
238
|
+
declare function convertSarifToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
236
239
|
//#endregion
|
|
237
240
|
//#region converters/junit-to-hdf/typescript/converter.d.ts
|
|
238
241
|
/**
|
|
239
242
|
* Converts JUnit XML test results to HDF format.
|
|
240
243
|
*/
|
|
241
|
-
declare function convertJunitToHdf(input: string): Promise<string>;
|
|
244
|
+
declare function convertJunitToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
242
245
|
//#endregion
|
|
243
246
|
//#region converters/xccdf-results-to-hdf/typescript/converter.d.ts
|
|
244
|
-
declare function convertXccdfResultsToHdf(input: string): Promise<string>;
|
|
247
|
+
declare function convertXccdfResultsToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
245
248
|
//#endregion
|
|
246
249
|
//#region converters/ckl-to-hdf/typescript/converter.d.ts
|
|
247
250
|
/**
|
|
@@ -310,16 +313,16 @@ declare function convertHdfToCklb(input: string): string;
|
|
|
310
313
|
* @param input - Snyk JSON or SARIF string
|
|
311
314
|
* @returns HDF JSON string
|
|
312
315
|
*/
|
|
313
|
-
declare function convertSnykToHdf(input: string): Promise<string>;
|
|
316
|
+
declare function convertSnykToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
314
317
|
//#endregion
|
|
315
318
|
//#region converters/grype-to-hdf/typescript/converter.d.ts
|
|
316
|
-
declare function convertGrypeToHdf(input: string): Promise<string>;
|
|
319
|
+
declare function convertGrypeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
317
320
|
//#endregion
|
|
318
321
|
//#region converters/nessus-to-hdf/typescript/converter.d.ts
|
|
319
322
|
/**
|
|
320
323
|
* Convert Nessus XML scan results to HDF format
|
|
321
324
|
*/
|
|
322
|
-
declare function convertNessusToHdf(nessusXml: string): Promise<HDFResults>;
|
|
325
|
+
declare function convertNessusToHdf(nessusXml: string, converterVersion?: string): Promise<HDFResults>;
|
|
323
326
|
//#endregion
|
|
324
327
|
//#region converters/sonarqube-to-hdf/typescript/converter.d.ts
|
|
325
328
|
/**
|
|
@@ -328,7 +331,7 @@ declare function convertNessusToHdf(nessusXml: string): Promise<HDFResults>;
|
|
|
328
331
|
* @param input - JSON string from SonarQube /api/issues/search endpoint
|
|
329
332
|
* @returns HDF JSON string
|
|
330
333
|
*/
|
|
331
|
-
declare function convertSonarqubeToHdf(input: string): Promise<string>;
|
|
334
|
+
declare function convertSonarqubeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
332
335
|
//#endregion
|
|
333
336
|
//#region converters/aws-config-to-hdf/typescript/converter.d.ts
|
|
334
337
|
/**
|
|
@@ -338,7 +341,7 @@ declare function convertSonarqubeToHdf(input: string): Promise<string>;
|
|
|
338
341
|
* with get-compliance-details-by-config-rule
|
|
339
342
|
* @returns HDF JSON string
|
|
340
343
|
*/
|
|
341
|
-
declare function convertAwsConfigToHdf(input: string): Promise<string>;
|
|
344
|
+
declare function convertAwsConfigToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
342
345
|
//#endregion
|
|
343
346
|
//#region converters/checkov-to-hdf/typescript/converter.d.ts
|
|
344
347
|
/**
|
|
@@ -349,7 +352,7 @@ declare function convertAwsConfigToHdf(input: string): Promise<string>;
|
|
|
349
352
|
* @param input - checkov JSON or SARIF string
|
|
350
353
|
* @returns HDF JSON string
|
|
351
354
|
*/
|
|
352
|
-
declare function convertCheckovToHdf(input: string): Promise<string>;
|
|
355
|
+
declare function convertCheckovToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
353
356
|
//#endregion
|
|
354
357
|
//#region converters/gosec-to-hdf/typescript/converter.d.ts
|
|
355
358
|
/**
|
|
@@ -360,13 +363,13 @@ declare function convertCheckovToHdf(input: string): Promise<string>;
|
|
|
360
363
|
* @param input - gosec JSON or SARIF string
|
|
361
364
|
* @returns HDF JSON string
|
|
362
365
|
*/
|
|
363
|
-
declare function convertGosecToHdf(input: string): Promise<string>;
|
|
366
|
+
declare function convertGosecToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
364
367
|
//#endregion
|
|
365
368
|
//#region converters/nikto-to-hdf/typescript/converter.d.ts
|
|
366
|
-
declare function convertNiktoToHdf(input: string): Promise<string>;
|
|
369
|
+
declare function convertNiktoToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
367
370
|
//#endregion
|
|
368
371
|
//#region converters/zap-to-hdf/typescript/converter.d.ts
|
|
369
|
-
declare function convertZapToHdf(input: string): Promise<string>;
|
|
372
|
+
declare function convertZapToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
370
373
|
//#endregion
|
|
371
374
|
//#region converters/cyclonedx-to-hdf/typescript/converter.d.ts
|
|
372
375
|
/**
|
|
@@ -375,7 +378,7 @@ declare function convertZapToHdf(input: string): Promise<string>;
|
|
|
375
378
|
* @param input - CycloneDX JSON string
|
|
376
379
|
* @returns HDF JSON string
|
|
377
380
|
*/
|
|
378
|
-
declare function convertCyclonedxToHdf(input: string): Promise<string>;
|
|
381
|
+
declare function convertCyclonedxToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
379
382
|
//#endregion
|
|
380
383
|
//#region converters/hdf-to-csv/typescript/converter.d.ts
|
|
381
384
|
/**
|
|
@@ -385,6 +388,18 @@ declare function convertCyclonedxToHdf(input: string): Promise<string>;
|
|
|
385
388
|
*/
|
|
386
389
|
declare function convertHdfToCsv(input: string): string;
|
|
387
390
|
//#endregion
|
|
391
|
+
//#region converters/hdf-to-ecs/typescript/converter.d.ts
|
|
392
|
+
declare function convertHdfToEcs(input: string, converterVersion?: string): string;
|
|
393
|
+
//#endregion
|
|
394
|
+
//#region converters/hdf-to-splunk/typescript/converter.d.ts
|
|
395
|
+
declare function convertHdfToSplunk(input: string, converterVersion?: string): string;
|
|
396
|
+
//#endregion
|
|
397
|
+
//#region converters/hdf-to-ocsf/typescript/converter.d.ts
|
|
398
|
+
declare function convertHdfToOcsf(input: string, converterVersion?: string): string;
|
|
399
|
+
//#endregion
|
|
400
|
+
//#region converters/hdf-to-asff/typescript/converter.d.ts
|
|
401
|
+
declare function convertHdfToAsff(input: string, converterVersion?: string): string;
|
|
402
|
+
//#endregion
|
|
388
403
|
//#region converters/splunk-to-hdf/typescript/converter.d.ts
|
|
389
404
|
/**
|
|
390
405
|
* Convert a Splunk JSON event array back into an HDF Results document.
|
|
@@ -397,7 +412,7 @@ declare function convertHdfToCsv(input: string): string;
|
|
|
397
412
|
* @param input - JSON string of a SplunkEvent array
|
|
398
413
|
* @returns HDF Results JSON string
|
|
399
414
|
*/
|
|
400
|
-
declare function convertSplunkToHdf(input: string): Promise<string>;
|
|
415
|
+
declare function convertSplunkToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
401
416
|
//#endregion
|
|
402
417
|
//#region converters/hdf-to-xml/typescript/converter.d.ts
|
|
403
418
|
/**
|
|
@@ -408,7 +423,7 @@ declare function convertSplunkToHdf(input: string): Promise<string>;
|
|
|
408
423
|
declare function convertHdfToXml(input: string): string;
|
|
409
424
|
//#endregion
|
|
410
425
|
//#region converters/gitlab-to-hdf/typescript/converter.d.ts
|
|
411
|
-
declare function convertGitlabToHdf(input: string): Promise<string>;
|
|
426
|
+
declare function convertGitlabToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
412
427
|
//#endregion
|
|
413
428
|
//#region converters/trufflehog-to-hdf/typescript/converter.d.ts
|
|
414
429
|
/**
|
|
@@ -418,7 +433,7 @@ declare function convertGitlabToHdf(input: string): Promise<string>;
|
|
|
418
433
|
* @param input - TruffleHog JSON/NDJSON string
|
|
419
434
|
* @returns HDF JSON string
|
|
420
435
|
*/
|
|
421
|
-
declare function convertTrufflehogToHdf(input: string): Promise<string>;
|
|
436
|
+
declare function convertTrufflehogToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
422
437
|
//#endregion
|
|
423
438
|
//#region converters/burpsuite-to-hdf/typescript/converter.d.ts
|
|
424
439
|
/**
|
|
@@ -430,7 +445,7 @@ declare function convertTrufflehogToHdf(input: string): Promise<string>;
|
|
|
430
445
|
* @param input - BurpSuite XML string
|
|
431
446
|
* @returns HDF JSON string
|
|
432
447
|
*/
|
|
433
|
-
declare function convertBurpsuiteToHdf(input: string): Promise<string>;
|
|
448
|
+
declare function convertBurpsuiteToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
434
449
|
//#endregion
|
|
435
450
|
//#region converters/dbprotect-to-hdf/typescript/converter.d.ts
|
|
436
451
|
/**
|
|
@@ -441,7 +456,7 @@ declare function convertBurpsuiteToHdf(input: string): Promise<string>;
|
|
|
441
456
|
* @param input - DBProtect XML string
|
|
442
457
|
* @returns HDF JSON string
|
|
443
458
|
*/
|
|
444
|
-
declare function convertDbprotectToHdf(input: string): Promise<string>;
|
|
459
|
+
declare function convertDbprotectToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
445
460
|
//#endregion
|
|
446
461
|
//#region converters/twistlock-to-hdf/typescript/converter.d.ts
|
|
447
462
|
/**
|
|
@@ -453,7 +468,7 @@ declare function convertDbprotectToHdf(input: string): Promise<string>;
|
|
|
453
468
|
* @param input - Twistlock JSON string
|
|
454
469
|
* @returns HDF JSON string
|
|
455
470
|
*/
|
|
456
|
-
declare function convertTwistlockToHdf(input: string): Promise<string>;
|
|
471
|
+
declare function convertTwistlockToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
457
472
|
//#endregion
|
|
458
473
|
//#region converters/deptrack-to-hdf/typescript/converter.d.ts
|
|
459
474
|
/**
|
|
@@ -462,7 +477,7 @@ declare function convertTwistlockToHdf(input: string): Promise<string>;
|
|
|
462
477
|
* @param input - Dependency-Track FPF JSON string
|
|
463
478
|
* @returns HDF JSON string
|
|
464
479
|
*/
|
|
465
|
-
declare function convertDeptrackToHdf(input: string): Promise<string>;
|
|
480
|
+
declare function convertDeptrackToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
466
481
|
//#endregion
|
|
467
482
|
//#region converters/jfrog-xray-to-hdf/typescript/converter.d.ts
|
|
468
483
|
/**
|
|
@@ -471,7 +486,7 @@ declare function convertDeptrackToHdf(input: string): Promise<string>;
|
|
|
471
486
|
* @param input - JFrog Xray JSON string
|
|
472
487
|
* @returns HDF JSON string
|
|
473
488
|
*/
|
|
474
|
-
declare function convertJfrogXrayToHdf(input: string): Promise<string>;
|
|
489
|
+
declare function convertJfrogXrayToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
475
490
|
//#endregion
|
|
476
491
|
//#region converters/neuvector-to-hdf/typescript/converter.d.ts
|
|
477
492
|
/**
|
|
@@ -488,7 +503,7 @@ declare function convertJfrogXrayToHdf(input: string): Promise<string>;
|
|
|
488
503
|
* @param input - NeuVector scan JSON string
|
|
489
504
|
* @returns HDF JSON string
|
|
490
505
|
*/
|
|
491
|
-
declare function convertNeuvectorToHdf(input: string): Promise<string>;
|
|
506
|
+
declare function convertNeuvectorToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
492
507
|
//#endregion
|
|
493
508
|
//#region converters/fortify-to-hdf/typescript/converter.d.ts
|
|
494
509
|
/**
|
|
@@ -501,7 +516,7 @@ declare function convertNeuvectorToHdf(input: string): Promise<string>;
|
|
|
501
516
|
* @param input - Fortify FVDL XML string
|
|
502
517
|
* @returns HDF JSON string
|
|
503
518
|
*/
|
|
504
|
-
declare function convertFortifyToHdf(input: string): Promise<string>;
|
|
519
|
+
declare function convertFortifyToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
505
520
|
//#endregion
|
|
506
521
|
//#region converters/prisma-to-hdf/typescript/converter.d.ts
|
|
507
522
|
/**
|
|
@@ -518,7 +533,7 @@ declare function convertFortifyToHdf(input: string): Promise<string>;
|
|
|
518
533
|
* @param input - Prisma Cloud CSV string
|
|
519
534
|
* @returns HDF JSON string
|
|
520
535
|
*/
|
|
521
|
-
declare function convertPrismaToHdf(input: string): Promise<string>;
|
|
536
|
+
declare function convertPrismaToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
522
537
|
//#endregion
|
|
523
538
|
//#region converters/netsparker-to-hdf/typescript/converter.d.ts
|
|
524
539
|
/**
|
|
@@ -528,7 +543,7 @@ declare function convertPrismaToHdf(input: string): Promise<string>;
|
|
|
528
543
|
* @param input - Netsparker/Invicti XML string
|
|
529
544
|
* @returns HDF JSON string
|
|
530
545
|
*/
|
|
531
|
-
declare function convertNetsparkerToHdf(input: string): Promise<string>;
|
|
546
|
+
declare function convertNetsparkerToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
532
547
|
//#endregion
|
|
533
548
|
//#region converters/scoutsuite-to-hdf/typescript/converter.d.ts
|
|
534
549
|
/**
|
|
@@ -538,7 +553,7 @@ declare function convertNetsparkerToHdf(input: string): Promise<string>;
|
|
|
538
553
|
* @param input - ScoutSuite JS/JSON string
|
|
539
554
|
* @returns HDF JSON string
|
|
540
555
|
*/
|
|
541
|
-
declare function convertScoutsuiteToHdf(input: string): Promise<string>;
|
|
556
|
+
declare function convertScoutsuiteToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
542
557
|
//#endregion
|
|
543
558
|
//#region converters/conveyor-to-hdf/typescript/converter.d.ts
|
|
544
559
|
/**
|
|
@@ -548,7 +563,7 @@ declare function convertScoutsuiteToHdf(input: string): Promise<string>;
|
|
|
548
563
|
* @param input - Conveyor JSON string
|
|
549
564
|
* @returns HDF JSON string
|
|
550
565
|
*/
|
|
551
|
-
declare function convertConveyorToHdf(input: string): Promise<string>;
|
|
566
|
+
declare function convertConveyorToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
552
567
|
//#endregion
|
|
553
568
|
//#region converters/veracode-to-hdf/typescript/converter.d.ts
|
|
554
569
|
/**
|
|
@@ -569,7 +584,7 @@ declare function convertConveyorToHdf(input: string): Promise<string>;
|
|
|
569
584
|
* @param input - Veracode DetailedReport XML string
|
|
570
585
|
* @returns HDF JSON string
|
|
571
586
|
*/
|
|
572
|
-
declare function convertVeracodeToHdf(input: string): Promise<string>;
|
|
587
|
+
declare function convertVeracodeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
573
588
|
//#endregion
|
|
574
589
|
//#region converters/msft-secure-score-to-hdf/typescript/converter.d.ts
|
|
575
590
|
/**
|
|
@@ -581,7 +596,7 @@ declare function convertVeracodeToHdf(input: string): Promise<string>;
|
|
|
581
596
|
* @param input - Combined JSON string with secureScore and profiles
|
|
582
597
|
* @returns HDF JSON string
|
|
583
598
|
*/
|
|
584
|
-
declare function convertMsftSecureScoreToHdf(input: string): Promise<string>;
|
|
599
|
+
declare function convertMsftSecureScoreToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
585
600
|
//#endregion
|
|
586
601
|
//#region converters/msft-defender-devops-to-hdf/typescript/converter.d.ts
|
|
587
602
|
/**
|
|
@@ -589,7 +604,7 @@ declare function convertMsftSecureScoreToHdf(input: string): Promise<string>;
|
|
|
589
604
|
* Delegates base conversion to the generic SARIF converter and enriches
|
|
590
605
|
* the output with MSDO-specific metadata.
|
|
591
606
|
*/
|
|
592
|
-
declare function convertMsftDefenderDevopsToHdf(input: string): Promise<string>;
|
|
607
|
+
declare function convertMsftDefenderDevopsToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
593
608
|
//#endregion
|
|
594
609
|
//#region converters/msft-defender-cloud-to-hdf/typescript/converter.d.ts
|
|
595
610
|
/**
|
|
@@ -598,7 +613,7 @@ declare function convertMsftDefenderDevopsToHdf(input: string): Promise<string>;
|
|
|
598
613
|
* @param input - JSON string containing Azure Security Assessments API response
|
|
599
614
|
* @returns HDF JSON string
|
|
600
615
|
*/
|
|
601
|
-
declare function convertMsftDefenderCloudToHdf(input: string): Promise<string>;
|
|
616
|
+
declare function convertMsftDefenderCloudToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
602
617
|
//#endregion
|
|
603
618
|
//#region converters/msft-defender-endpoint-to-hdf/typescript/converter.d.ts
|
|
604
619
|
/**
|
|
@@ -608,7 +623,7 @@ declare function convertMsftDefenderCloudToHdf(input: string): Promise<string>;
|
|
|
608
623
|
* @param input - JSON string of MDE alert response
|
|
609
624
|
* @returns HDF JSON string
|
|
610
625
|
*/
|
|
611
|
-
declare function convertMsftDefenderEndpointToHdf(input: string): Promise<string>;
|
|
626
|
+
declare function convertMsftDefenderEndpointToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
612
627
|
//#endregion
|
|
613
628
|
//#region converters/hdf-to-xccdf/typescript/converter.d.ts
|
|
614
629
|
/**
|
|
@@ -643,16 +658,16 @@ declare function convertHdfToOscalSar(input: string): Promise<string>;
|
|
|
643
658
|
declare function convertHdfToOscalPoam(input: string): Promise<string>;
|
|
644
659
|
//#endregion
|
|
645
660
|
//#region converters/ionchannel-to-hdf/typescript/converter.d.ts
|
|
646
|
-
declare function convertIonchannelToHdf(input: string): Promise<string>;
|
|
661
|
+
declare function convertIonchannelToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
647
662
|
//#endregion
|
|
648
663
|
//#region converters/openvex-to-hdf/typescript/converter.d.ts
|
|
649
|
-
declare function convertOpenVexToHdf(input: string, converterVersion
|
|
664
|
+
declare function convertOpenVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
|
|
650
665
|
//#endregion
|
|
651
666
|
//#region converters/csaf-vex-to-hdf/typescript/converter.d.ts
|
|
652
|
-
declare function convertCsafVexToHdf(input: string, converterVersion
|
|
667
|
+
declare function convertCsafVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
|
|
653
668
|
//#endregion
|
|
654
669
|
//#region converters/cyclonedx-vex-to-hdf/typescript/converter.d.ts
|
|
655
|
-
declare function convertCyclonedxVexToHdf(input: string, converterVersion
|
|
670
|
+
declare function convertCyclonedxVexToHdf(input: string, converterVersion?: string): Promise<HDFAmendments>;
|
|
656
671
|
//#endregion
|
|
657
672
|
//#region converters/hdf-to-csaf-vex/typescript/converter.d.ts
|
|
658
673
|
declare function convertHdfToCsafVex(input: string, converterVersion: string): string;
|
|
@@ -661,7 +676,7 @@ declare function convertHdfToCsafVex(input: string, converterVersion: string): s
|
|
|
661
676
|
declare function convertHdfToOpenVex(input: string, converterVersion: string): Promise<string>;
|
|
662
677
|
//#endregion
|
|
663
678
|
//#region converters/hdf-to-cyclonedx-vex/typescript/converter.d.ts
|
|
664
|
-
declare function convertHdfToCyclonedxVex(input: string, converterVersion: string): string
|
|
679
|
+
declare function convertHdfToCyclonedxVex(input: string, converterVersion: string): Promise<string>;
|
|
665
680
|
//#endregion
|
|
666
681
|
//#region converters/oscal-to-hdf/typescript/detect.d.ts
|
|
667
682
|
/**
|
|
@@ -785,5 +800,5 @@ declare function convertOscalPoamToHdf(input: string): Promise<string>;
|
|
|
785
800
|
*/
|
|
786
801
|
declare function convertOscalSarToHdf(input: string): Promise<string>;
|
|
787
802
|
//#endregion
|
|
788
|
-
export { type HDFV1Results, type HDFV2Results, convertAwsConfigToHdf, convertBurpsuiteToHdf, convertCheckovToHdf, convertCklToHdf, convertCklbToHdf, convertConveyorToHdf, convertCsafVexToHdf, convertCyclonedxToHdf, convertCyclonedxVexToHdf, convertDbprotectToHdf, convertDeptrackToHdf, convertFortifyToHdf, convertGitlabToHdf, convertGosecToHdf, convertGrypeToHdf, convertHdfToCkl, convertHdfToCklb, convertHdfToCsafVex, convertHdfToCsv, convertHdfToCyclonedxVex, convertHdfToOpenVex, convertHdfToOscalPoam, convertHdfToOscalSar, convertHdfToXccdf, convertHdfToXml, convertIonchannelToHdf, convertJfrogXrayToHdf, convertJunitToHdf, convertMsftDefenderCloudToHdf, convertMsftDefenderDevopsToHdf, convertMsftDefenderEndpointToHdf, convertMsftSecureScoreToHdf, convertNessusToHdf, convertNetsparkerToHdf, convertNeuvectorToHdf, convertNiktoToHdf, convertOpenVexToHdf, convertOscalCatalogToHdf, convertOscalComponentToHdf, convertOscalPoamToHdf, convertOscalProfileToHdf, convertOscalSapToHdf, convertOscalSarToHdf, convertOscalSspToHdf, convertPrismaToHdf, convertSarifToHdf, convertScoutsuiteToHdf, convertSnykToHdf, convertSonarqubeToHdf, convertSplunkToHdf, convertTrufflehogToHdf, convertTwistlockToHdf, convertV1ToV2, convertVeracodeToHdf, convertXccdfResultsToHdf, convertZapToHdf, detectOscalDocumentType, isHDFV1 };
|
|
803
|
+
export { type HDFV1Results, type HDFV2Results, convertAsffToHdf, convertAwsConfigToHdf, convertBurpsuiteToHdf, convertCheckovToHdf, convertCklToHdf, convertCklbToHdf, convertConveyorToHdf, convertCsafVexToHdf, convertCyclonedxToHdf, convertCyclonedxVexToHdf, convertDbprotectToHdf, convertDeptrackToHdf, convertFortifyToHdf, convertGitlabToHdf, convertGosecToHdf, convertGrypeToHdf, convertHdfToAsff, convertHdfToCkl, convertHdfToCklb, convertHdfToCsafVex, convertHdfToCsv, convertHdfToCyclonedxVex, convertHdfToEcs, convertHdfToOcsf, convertHdfToOpenVex, convertHdfToOscalPoam, convertHdfToOscalSar, convertHdfToSplunk, convertHdfToXccdf, convertHdfToXml, convertIonchannelToHdf, convertJfrogXrayToHdf, convertJunitToHdf, convertMsftDefenderCloudToHdf, convertMsftDefenderDevopsToHdf, convertMsftDefenderEndpointToHdf, convertMsftSecureScoreToHdf, convertNessusToHdf, convertNetsparkerToHdf, convertNeuvectorToHdf, convertNiktoToHdf, convertOpenVexToHdf, convertOscalCatalogToHdf, convertOscalComponentToHdf, convertOscalPoamToHdf, convertOscalProfileToHdf, convertOscalSapToHdf, convertOscalSarToHdf, convertOscalSspToHdf, convertPrismaToHdf, convertSarifToHdf, convertScoutsuiteToHdf, convertSnykToHdf, convertSonarqubeToHdf, convertSplunkToHdf, convertTrufflehogToHdf, convertTwistlockToHdf, convertV1ToV2, convertVeracodeToHdf, convertXccdfResultsToHdf, convertZapToHdf, detectOscalDocumentType, isHDFV1 };
|
|
789
804
|
//# 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/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/snyk-to-hdf/typescript/converter.ts","../converters/grype-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/splunk-to-hdf/typescript/converter.ts","../converters/hdf-to-xml/typescript/converter.ts","../converters/gitlab-to-hdf/typescript/converter.ts","../converters/trufflehog-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/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"],"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/snyk-to-hdf/typescript/converter.ts","../converters/grype-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/trufflehog-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/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"],"mappings":";;;;;;;;;;;;UAkBiB;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;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;GACC;;UAKc;EACf;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA,eAAe;IAAO;IAAe;;EACrC;EACA;EACA,OAAO;EACP;EACA;IACE;IACA;;EAEF,aAAa;EACb,UAAU;EACV;GACC;;UAGc;EACf;EACA;EACA;GACC;;UAGc;EACf;EACA;EACA;EACA;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