@mitre/hdf-converters 3.3.2 → 3.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -0
- package/dist/detect.d.ts +0 -1
- package/dist/detect.d.ts.map +1 -1
- package/dist/index.d.ts +44 -36
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2489 -488
- package/dist/index.js.map +1 -1
- package/dist/registry.d.ts.map +1 -1
- package/package.json +9 -7
package/README.md
CHANGED
|
@@ -14,6 +14,7 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
14
14
|
|---|---|---|
|
|
15
15
|
| AWS Config | `convertAwsConfigToHdf` | JSON |
|
|
16
16
|
| BurpSuite | `convertBurpsuiteToHdf` | XML |
|
|
17
|
+
| Checkov | `convertCheckovToHdf` | JSON |
|
|
17
18
|
| CKL (DISA STIG Viewer checklist) | `convertCklToHdf` | XML |
|
|
18
19
|
| CKLB (DISA STIG Viewer 3.x checklist) | `convertCklbToHdf` | JSON |
|
|
19
20
|
| Conveyor | `convertConveyorToHdf` | JSON |
|
|
@@ -62,6 +63,9 @@ All converter output conforms to the [HDF JSON Schema](https://mitre.github.io/h
|
|
|
62
63
|
| Target Format | Function |
|
|
63
64
|
|---|---|
|
|
64
65
|
| CSV | `convertHdfToCsv` |
|
|
66
|
+
| ECS (Elastic Common Schema 9.4.0 NDJSON) | `convertHdfToEcs` |
|
|
67
|
+
| Splunk (CIM Vulnerabilities / HEC NDJSON) | `convertHdfToSplunk` |
|
|
68
|
+
| OCSF (v1.8.0 Compliance / Vulnerability Finding NDJSON) | `convertHdfToOcsf` |
|
|
65
69
|
| XML | `convertHdfToXml` |
|
|
66
70
|
| XCCDF | `convertHdfToXccdf` |
|
|
67
71
|
| 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;;;;;;;;;;;;;iBC0C7B"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { CVSSSeverity, Ecosystem, HDFAmendments, HDFResults, Version } from "@mitre/hdf-schema";
|
|
2
|
-
|
|
3
2
|
//#region converters/legacyhdf-to-hdf/typescript/converter.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* HDF v1.0 to v2.0 converter.
|
|
@@ -232,16 +231,16 @@ declare function convertV1ToV2(v1Data: HDFV1Results): HDFV2Results;
|
|
|
232
231
|
declare function isHDFV1(data: unknown): data is HDFV1Results;
|
|
233
232
|
//#endregion
|
|
234
233
|
//#region converters/sarif-to-hdf/typescript/converter.d.ts
|
|
235
|
-
declare function convertSarifToHdf(input: string): Promise<string>;
|
|
234
|
+
declare function convertSarifToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
236
235
|
//#endregion
|
|
237
236
|
//#region converters/junit-to-hdf/typescript/converter.d.ts
|
|
238
237
|
/**
|
|
239
238
|
* Converts JUnit XML test results to HDF format.
|
|
240
239
|
*/
|
|
241
|
-
declare function convertJunitToHdf(input: string): Promise<string>;
|
|
240
|
+
declare function convertJunitToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
242
241
|
//#endregion
|
|
243
242
|
//#region converters/xccdf-results-to-hdf/typescript/converter.d.ts
|
|
244
|
-
declare function convertXccdfResultsToHdf(input: string): Promise<string>;
|
|
243
|
+
declare function convertXccdfResultsToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
245
244
|
//#endregion
|
|
246
245
|
//#region converters/ckl-to-hdf/typescript/converter.d.ts
|
|
247
246
|
/**
|
|
@@ -310,16 +309,16 @@ declare function convertHdfToCklb(input: string): string;
|
|
|
310
309
|
* @param input - Snyk JSON or SARIF string
|
|
311
310
|
* @returns HDF JSON string
|
|
312
311
|
*/
|
|
313
|
-
declare function convertSnykToHdf(input: string): Promise<string>;
|
|
312
|
+
declare function convertSnykToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
314
313
|
//#endregion
|
|
315
314
|
//#region converters/grype-to-hdf/typescript/converter.d.ts
|
|
316
|
-
declare function convertGrypeToHdf(input: string): Promise<string>;
|
|
315
|
+
declare function convertGrypeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
317
316
|
//#endregion
|
|
318
317
|
//#region converters/nessus-to-hdf/typescript/converter.d.ts
|
|
319
318
|
/**
|
|
320
319
|
* Convert Nessus XML scan results to HDF format
|
|
321
320
|
*/
|
|
322
|
-
declare function convertNessusToHdf(nessusXml: string): Promise<HDFResults>;
|
|
321
|
+
declare function convertNessusToHdf(nessusXml: string, converterVersion?: string): Promise<HDFResults>;
|
|
323
322
|
//#endregion
|
|
324
323
|
//#region converters/sonarqube-to-hdf/typescript/converter.d.ts
|
|
325
324
|
/**
|
|
@@ -328,7 +327,7 @@ declare function convertNessusToHdf(nessusXml: string): Promise<HDFResults>;
|
|
|
328
327
|
* @param input - JSON string from SonarQube /api/issues/search endpoint
|
|
329
328
|
* @returns HDF JSON string
|
|
330
329
|
*/
|
|
331
|
-
declare function convertSonarqubeToHdf(input: string): Promise<string>;
|
|
330
|
+
declare function convertSonarqubeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
332
331
|
//#endregion
|
|
333
332
|
//#region converters/aws-config-to-hdf/typescript/converter.d.ts
|
|
334
333
|
/**
|
|
@@ -338,7 +337,7 @@ declare function convertSonarqubeToHdf(input: string): Promise<string>;
|
|
|
338
337
|
* with get-compliance-details-by-config-rule
|
|
339
338
|
* @returns HDF JSON string
|
|
340
339
|
*/
|
|
341
|
-
declare function convertAwsConfigToHdf(input: string): Promise<string>;
|
|
340
|
+
declare function convertAwsConfigToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
342
341
|
//#endregion
|
|
343
342
|
//#region converters/checkov-to-hdf/typescript/converter.d.ts
|
|
344
343
|
/**
|
|
@@ -349,7 +348,7 @@ declare function convertAwsConfigToHdf(input: string): Promise<string>;
|
|
|
349
348
|
* @param input - checkov JSON or SARIF string
|
|
350
349
|
* @returns HDF JSON string
|
|
351
350
|
*/
|
|
352
|
-
declare function convertCheckovToHdf(input: string): Promise<string>;
|
|
351
|
+
declare function convertCheckovToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
353
352
|
//#endregion
|
|
354
353
|
//#region converters/gosec-to-hdf/typescript/converter.d.ts
|
|
355
354
|
/**
|
|
@@ -360,13 +359,13 @@ declare function convertCheckovToHdf(input: string): Promise<string>;
|
|
|
360
359
|
* @param input - gosec JSON or SARIF string
|
|
361
360
|
* @returns HDF JSON string
|
|
362
361
|
*/
|
|
363
|
-
declare function convertGosecToHdf(input: string): Promise<string>;
|
|
362
|
+
declare function convertGosecToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
364
363
|
//#endregion
|
|
365
364
|
//#region converters/nikto-to-hdf/typescript/converter.d.ts
|
|
366
|
-
declare function convertNiktoToHdf(input: string): Promise<string>;
|
|
365
|
+
declare function convertNiktoToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
367
366
|
//#endregion
|
|
368
367
|
//#region converters/zap-to-hdf/typescript/converter.d.ts
|
|
369
|
-
declare function convertZapToHdf(input: string): Promise<string>;
|
|
368
|
+
declare function convertZapToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
370
369
|
//#endregion
|
|
371
370
|
//#region converters/cyclonedx-to-hdf/typescript/converter.d.ts
|
|
372
371
|
/**
|
|
@@ -375,7 +374,7 @@ declare function convertZapToHdf(input: string): Promise<string>;
|
|
|
375
374
|
* @param input - CycloneDX JSON string
|
|
376
375
|
* @returns HDF JSON string
|
|
377
376
|
*/
|
|
378
|
-
declare function convertCyclonedxToHdf(input: string): Promise<string>;
|
|
377
|
+
declare function convertCyclonedxToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
379
378
|
//#endregion
|
|
380
379
|
//#region converters/hdf-to-csv/typescript/converter.d.ts
|
|
381
380
|
/**
|
|
@@ -385,6 +384,15 @@ declare function convertCyclonedxToHdf(input: string): Promise<string>;
|
|
|
385
384
|
*/
|
|
386
385
|
declare function convertHdfToCsv(input: string): string;
|
|
387
386
|
//#endregion
|
|
387
|
+
//#region converters/hdf-to-ecs/typescript/converter.d.ts
|
|
388
|
+
declare function convertHdfToEcs(input: string, converterVersion?: string): string;
|
|
389
|
+
//#endregion
|
|
390
|
+
//#region converters/hdf-to-splunk/typescript/converter.d.ts
|
|
391
|
+
declare function convertHdfToSplunk(input: string, converterVersion?: string): string;
|
|
392
|
+
//#endregion
|
|
393
|
+
//#region converters/hdf-to-ocsf/typescript/converter.d.ts
|
|
394
|
+
declare function convertHdfToOcsf(input: string, converterVersion?: string): string;
|
|
395
|
+
//#endregion
|
|
388
396
|
//#region converters/splunk-to-hdf/typescript/converter.d.ts
|
|
389
397
|
/**
|
|
390
398
|
* Convert a Splunk JSON event array back into an HDF Results document.
|
|
@@ -397,7 +405,7 @@ declare function convertHdfToCsv(input: string): string;
|
|
|
397
405
|
* @param input - JSON string of a SplunkEvent array
|
|
398
406
|
* @returns HDF Results JSON string
|
|
399
407
|
*/
|
|
400
|
-
declare function convertSplunkToHdf(input: string): Promise<string>;
|
|
408
|
+
declare function convertSplunkToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
401
409
|
//#endregion
|
|
402
410
|
//#region converters/hdf-to-xml/typescript/converter.d.ts
|
|
403
411
|
/**
|
|
@@ -408,7 +416,7 @@ declare function convertSplunkToHdf(input: string): Promise<string>;
|
|
|
408
416
|
declare function convertHdfToXml(input: string): string;
|
|
409
417
|
//#endregion
|
|
410
418
|
//#region converters/gitlab-to-hdf/typescript/converter.d.ts
|
|
411
|
-
declare function convertGitlabToHdf(input: string): Promise<string>;
|
|
419
|
+
declare function convertGitlabToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
412
420
|
//#endregion
|
|
413
421
|
//#region converters/trufflehog-to-hdf/typescript/converter.d.ts
|
|
414
422
|
/**
|
|
@@ -418,7 +426,7 @@ declare function convertGitlabToHdf(input: string): Promise<string>;
|
|
|
418
426
|
* @param input - TruffleHog JSON/NDJSON string
|
|
419
427
|
* @returns HDF JSON string
|
|
420
428
|
*/
|
|
421
|
-
declare function convertTrufflehogToHdf(input: string): Promise<string>;
|
|
429
|
+
declare function convertTrufflehogToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
422
430
|
//#endregion
|
|
423
431
|
//#region converters/burpsuite-to-hdf/typescript/converter.d.ts
|
|
424
432
|
/**
|
|
@@ -430,7 +438,7 @@ declare function convertTrufflehogToHdf(input: string): Promise<string>;
|
|
|
430
438
|
* @param input - BurpSuite XML string
|
|
431
439
|
* @returns HDF JSON string
|
|
432
440
|
*/
|
|
433
|
-
declare function convertBurpsuiteToHdf(input: string): Promise<string>;
|
|
441
|
+
declare function convertBurpsuiteToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
434
442
|
//#endregion
|
|
435
443
|
//#region converters/dbprotect-to-hdf/typescript/converter.d.ts
|
|
436
444
|
/**
|
|
@@ -441,7 +449,7 @@ declare function convertBurpsuiteToHdf(input: string): Promise<string>;
|
|
|
441
449
|
* @param input - DBProtect XML string
|
|
442
450
|
* @returns HDF JSON string
|
|
443
451
|
*/
|
|
444
|
-
declare function convertDbprotectToHdf(input: string): Promise<string>;
|
|
452
|
+
declare function convertDbprotectToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
445
453
|
//#endregion
|
|
446
454
|
//#region converters/twistlock-to-hdf/typescript/converter.d.ts
|
|
447
455
|
/**
|
|
@@ -453,7 +461,7 @@ declare function convertDbprotectToHdf(input: string): Promise<string>;
|
|
|
453
461
|
* @param input - Twistlock JSON string
|
|
454
462
|
* @returns HDF JSON string
|
|
455
463
|
*/
|
|
456
|
-
declare function convertTwistlockToHdf(input: string): Promise<string>;
|
|
464
|
+
declare function convertTwistlockToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
457
465
|
//#endregion
|
|
458
466
|
//#region converters/deptrack-to-hdf/typescript/converter.d.ts
|
|
459
467
|
/**
|
|
@@ -462,7 +470,7 @@ declare function convertTwistlockToHdf(input: string): Promise<string>;
|
|
|
462
470
|
* @param input - Dependency-Track FPF JSON string
|
|
463
471
|
* @returns HDF JSON string
|
|
464
472
|
*/
|
|
465
|
-
declare function convertDeptrackToHdf(input: string): Promise<string>;
|
|
473
|
+
declare function convertDeptrackToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
466
474
|
//#endregion
|
|
467
475
|
//#region converters/jfrog-xray-to-hdf/typescript/converter.d.ts
|
|
468
476
|
/**
|
|
@@ -471,7 +479,7 @@ declare function convertDeptrackToHdf(input: string): Promise<string>;
|
|
|
471
479
|
* @param input - JFrog Xray JSON string
|
|
472
480
|
* @returns HDF JSON string
|
|
473
481
|
*/
|
|
474
|
-
declare function convertJfrogXrayToHdf(input: string): Promise<string>;
|
|
482
|
+
declare function convertJfrogXrayToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
475
483
|
//#endregion
|
|
476
484
|
//#region converters/neuvector-to-hdf/typescript/converter.d.ts
|
|
477
485
|
/**
|
|
@@ -488,7 +496,7 @@ declare function convertJfrogXrayToHdf(input: string): Promise<string>;
|
|
|
488
496
|
* @param input - NeuVector scan JSON string
|
|
489
497
|
* @returns HDF JSON string
|
|
490
498
|
*/
|
|
491
|
-
declare function convertNeuvectorToHdf(input: string): Promise<string>;
|
|
499
|
+
declare function convertNeuvectorToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
492
500
|
//#endregion
|
|
493
501
|
//#region converters/fortify-to-hdf/typescript/converter.d.ts
|
|
494
502
|
/**
|
|
@@ -501,7 +509,7 @@ declare function convertNeuvectorToHdf(input: string): Promise<string>;
|
|
|
501
509
|
* @param input - Fortify FVDL XML string
|
|
502
510
|
* @returns HDF JSON string
|
|
503
511
|
*/
|
|
504
|
-
declare function convertFortifyToHdf(input: string): Promise<string>;
|
|
512
|
+
declare function convertFortifyToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
505
513
|
//#endregion
|
|
506
514
|
//#region converters/prisma-to-hdf/typescript/converter.d.ts
|
|
507
515
|
/**
|
|
@@ -518,7 +526,7 @@ declare function convertFortifyToHdf(input: string): Promise<string>;
|
|
|
518
526
|
* @param input - Prisma Cloud CSV string
|
|
519
527
|
* @returns HDF JSON string
|
|
520
528
|
*/
|
|
521
|
-
declare function convertPrismaToHdf(input: string): Promise<string>;
|
|
529
|
+
declare function convertPrismaToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
522
530
|
//#endregion
|
|
523
531
|
//#region converters/netsparker-to-hdf/typescript/converter.d.ts
|
|
524
532
|
/**
|
|
@@ -528,7 +536,7 @@ declare function convertPrismaToHdf(input: string): Promise<string>;
|
|
|
528
536
|
* @param input - Netsparker/Invicti XML string
|
|
529
537
|
* @returns HDF JSON string
|
|
530
538
|
*/
|
|
531
|
-
declare function convertNetsparkerToHdf(input: string): Promise<string>;
|
|
539
|
+
declare function convertNetsparkerToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
532
540
|
//#endregion
|
|
533
541
|
//#region converters/scoutsuite-to-hdf/typescript/converter.d.ts
|
|
534
542
|
/**
|
|
@@ -538,7 +546,7 @@ declare function convertNetsparkerToHdf(input: string): Promise<string>;
|
|
|
538
546
|
* @param input - ScoutSuite JS/JSON string
|
|
539
547
|
* @returns HDF JSON string
|
|
540
548
|
*/
|
|
541
|
-
declare function convertScoutsuiteToHdf(input: string): Promise<string>;
|
|
549
|
+
declare function convertScoutsuiteToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
542
550
|
//#endregion
|
|
543
551
|
//#region converters/conveyor-to-hdf/typescript/converter.d.ts
|
|
544
552
|
/**
|
|
@@ -548,7 +556,7 @@ declare function convertScoutsuiteToHdf(input: string): Promise<string>;
|
|
|
548
556
|
* @param input - Conveyor JSON string
|
|
549
557
|
* @returns HDF JSON string
|
|
550
558
|
*/
|
|
551
|
-
declare function convertConveyorToHdf(input: string): Promise<string>;
|
|
559
|
+
declare function convertConveyorToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
552
560
|
//#endregion
|
|
553
561
|
//#region converters/veracode-to-hdf/typescript/converter.d.ts
|
|
554
562
|
/**
|
|
@@ -569,7 +577,7 @@ declare function convertConveyorToHdf(input: string): Promise<string>;
|
|
|
569
577
|
* @param input - Veracode DetailedReport XML string
|
|
570
578
|
* @returns HDF JSON string
|
|
571
579
|
*/
|
|
572
|
-
declare function convertVeracodeToHdf(input: string): Promise<string>;
|
|
580
|
+
declare function convertVeracodeToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
573
581
|
//#endregion
|
|
574
582
|
//#region converters/msft-secure-score-to-hdf/typescript/converter.d.ts
|
|
575
583
|
/**
|
|
@@ -581,7 +589,7 @@ declare function convertVeracodeToHdf(input: string): Promise<string>;
|
|
|
581
589
|
* @param input - Combined JSON string with secureScore and profiles
|
|
582
590
|
* @returns HDF JSON string
|
|
583
591
|
*/
|
|
584
|
-
declare function convertMsftSecureScoreToHdf(input: string): Promise<string>;
|
|
592
|
+
declare function convertMsftSecureScoreToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
585
593
|
//#endregion
|
|
586
594
|
//#region converters/msft-defender-devops-to-hdf/typescript/converter.d.ts
|
|
587
595
|
/**
|
|
@@ -589,7 +597,7 @@ declare function convertMsftSecureScoreToHdf(input: string): Promise<string>;
|
|
|
589
597
|
* Delegates base conversion to the generic SARIF converter and enriches
|
|
590
598
|
* the output with MSDO-specific metadata.
|
|
591
599
|
*/
|
|
592
|
-
declare function convertMsftDefenderDevopsToHdf(input: string): Promise<string>;
|
|
600
|
+
declare function convertMsftDefenderDevopsToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
593
601
|
//#endregion
|
|
594
602
|
//#region converters/msft-defender-cloud-to-hdf/typescript/converter.d.ts
|
|
595
603
|
/**
|
|
@@ -598,7 +606,7 @@ declare function convertMsftDefenderDevopsToHdf(input: string): Promise<string>;
|
|
|
598
606
|
* @param input - JSON string containing Azure Security Assessments API response
|
|
599
607
|
* @returns HDF JSON string
|
|
600
608
|
*/
|
|
601
|
-
declare function convertMsftDefenderCloudToHdf(input: string): Promise<string>;
|
|
609
|
+
declare function convertMsftDefenderCloudToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
602
610
|
//#endregion
|
|
603
611
|
//#region converters/msft-defender-endpoint-to-hdf/typescript/converter.d.ts
|
|
604
612
|
/**
|
|
@@ -608,7 +616,7 @@ declare function convertMsftDefenderCloudToHdf(input: string): Promise<string>;
|
|
|
608
616
|
* @param input - JSON string of MDE alert response
|
|
609
617
|
* @returns HDF JSON string
|
|
610
618
|
*/
|
|
611
|
-
declare function convertMsftDefenderEndpointToHdf(input: string): Promise<string>;
|
|
619
|
+
declare function convertMsftDefenderEndpointToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
612
620
|
//#endregion
|
|
613
621
|
//#region converters/hdf-to-xccdf/typescript/converter.d.ts
|
|
614
622
|
/**
|
|
@@ -643,7 +651,7 @@ declare function convertHdfToOscalSar(input: string): Promise<string>;
|
|
|
643
651
|
declare function convertHdfToOscalPoam(input: string): Promise<string>;
|
|
644
652
|
//#endregion
|
|
645
653
|
//#region converters/ionchannel-to-hdf/typescript/converter.d.ts
|
|
646
|
-
declare function convertIonchannelToHdf(input: string): Promise<string>;
|
|
654
|
+
declare function convertIonchannelToHdf(input: string, converterVersion?: string): Promise<string>;
|
|
647
655
|
//#endregion
|
|
648
656
|
//#region converters/openvex-to-hdf/typescript/converter.d.ts
|
|
649
657
|
declare function convertOpenVexToHdf(input: string, converterVersion: string): Promise<HDFAmendments>;
|
|
@@ -661,7 +669,7 @@ declare function convertHdfToCsafVex(input: string, converterVersion: string): s
|
|
|
661
669
|
declare function convertHdfToOpenVex(input: string, converterVersion: string): Promise<string>;
|
|
662
670
|
//#endregion
|
|
663
671
|
//#region converters/hdf-to-cyclonedx-vex/typescript/converter.d.ts
|
|
664
|
-
declare function convertHdfToCyclonedxVex(input: string, converterVersion: string): string
|
|
672
|
+
declare function convertHdfToCyclonedxVex(input: string, converterVersion: string): Promise<string>;
|
|
665
673
|
//#endregion
|
|
666
674
|
//#region converters/oscal-to-hdf/typescript/detect.d.ts
|
|
667
675
|
/**
|
|
@@ -785,5 +793,5 @@ declare function convertOscalPoamToHdf(input: string): Promise<string>;
|
|
|
785
793
|
*/
|
|
786
794
|
declare function convertOscalSarToHdf(input: string): Promise<string>;
|
|
787
795
|
//#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 };
|
|
796
|
+
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, 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
797
|
//# 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/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/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;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,UAAU;EACV;EACA;EACA;EACA;GACC;;UAGc;EACf,WAAW;EACX;EACA;EACA;EACA;IAAS;IAAe;IAAkB;;EAC1C;EACA;EACA;EACA;EACA;EACA,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;iBAyaC,cAAc,QAAQ,eAAe;;;;;;;iBAgErC,QAAQ,gBAAgB,QAAQ;;;iBCnhB1B,kBAAk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