@cdxgen/cdxgen 13.6.0 → 13.7.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 +15 -8
- package/bin/audit.js +7 -4
- package/bin/cdxgen.js +256 -37
- package/bin/convert.js +146 -22
- package/bin/evinse.js +25 -3
- package/bin/repl.js +47 -3
- package/bin/sign.js +211 -34
- package/bin/tracebom.js +18 -6
- package/bin/validate.js +18 -3
- package/bin/verify.js +113 -5
- package/data/behavior-taxonomy.schema.json +1491 -0
- package/data/cyclonedx-2.0-bundled.schema.json +18606 -5528
- package/data/cyclonedx-2.0-cryptography-defs.schema.json +857 -0
- package/data/pqc-migration.json +239 -0
- package/data/remediations.json +52 -0
- package/data/rules/cbom-security.yaml +4 -3
- package/data/rules/package-integrity.yaml +28 -0
- package/lib/audit/index.js +25 -3
- package/lib/cli/bomAssembly.js +80 -1
- package/lib/cli/cliOptions.js +121 -17
- package/lib/cli/index.js +609 -898
- package/lib/cli/jsBom.js +3 -0
- package/lib/cli/jvmBom.js +365 -40
- package/lib/cli/managedBom.js +19 -3
- package/lib/cli/nativeBom.js +10 -0
- package/lib/core/env.js +26 -0
- package/lib/core/fs.js +126 -3
- package/lib/core/globPatterns.js +218 -0
- package/lib/core/processTree.js +99 -12
- package/lib/core/projectConfig.js +332 -25
- package/lib/core/toolRegistry.js +15 -1
- package/lib/ecosystems/denoutils.js +2 -2
- package/lib/ecosystems/golem.js +3 -8
- package/lib/ecosystems/gradleutils.js +1082 -6
- package/lib/ecosystems/jsEvidence.js +90 -38
- package/lib/ecosystems/kosi.js +3 -5
- package/lib/ecosystems/npmVersionResolution.js +376 -0
- package/lib/ecosystems/parsers-python.js +89 -28
- package/lib/ecosystems/parsers-rust.js +117 -15
- package/lib/ecosystems/remote/huggingface.js +22 -0
- package/lib/ecosystems/rusi.js +2 -4
- package/lib/ecosystems/scalasem.js +2 -1
- package/lib/evinser/evinser.js +196 -34
- package/lib/evinser/scalasem.js +5 -1
- package/lib/helpers/agenticToolutils.js +112 -1
- package/lib/helpers/bomSigner.js +43 -9
- package/lib/helpers/jssSigner.js +1276 -0
- package/lib/inventory/agentBlueprint.js +193 -0
- package/lib/inventory/agentToolNames.js +145 -0
- package/lib/inventory/aiCollector.js +153 -7
- package/lib/inventory/aiInventory.js +44 -8
- package/lib/inventory/aiProviders.js +324 -0
- package/lib/inventory/bomUtils.js +8 -1
- package/lib/inventory/ciParsers/githubActionsLock.js +821 -0
- package/lib/inventory/citations.js +31 -2
- package/lib/inventory/communityAiConfigParser.js +978 -80
- package/lib/inventory/cyclonedx20.js +152 -0
- package/lib/inventory/cyclonedx20Common.js +286 -0
- package/lib/inventory/cyclonedx20Derived.js +159 -0
- package/lib/inventory/cyclonedx20Parties.js +552 -0
- package/lib/inventory/cyclonedx20Read.js +768 -0
- package/lib/inventory/cyclonedx20ReadCommon.js +374 -0
- package/lib/inventory/cyclonedx20ReadComponents.js +692 -0
- package/lib/inventory/cyclonedx20ReadContext.js +380 -0
- package/lib/inventory/cyclonedx20ReadEvidence.js +466 -0
- package/lib/inventory/cyclonedx20ReadSections.js +599 -0
- package/lib/inventory/cyclonedx20Render.js +766 -0
- package/lib/inventory/cyclonedx20RenderComponents.js +716 -0
- package/lib/inventory/cyclonedx20RenderDefinitions.js +405 -0
- package/lib/inventory/cyclonedx20RenderEvidence.js +726 -0
- package/lib/inventory/cyclonedx20RenderHardware.js +203 -0
- package/lib/inventory/cyclonedx20RenderPatents.js +174 -0
- package/lib/inventory/cyclonedx20RenderRefIds.js +314 -0
- package/lib/inventory/cyclonedx20RenderSections.js +499 -0
- package/lib/inventory/cyclonedx20Tables.js +594 -0
- package/lib/inventory/deps.js +106 -13
- package/lib/inventory/dosai.js +236 -1
- package/lib/inventory/dosaiParsers.js +3 -6
- package/lib/inventory/dotnetRuntime.js +164 -14
- package/lib/inventory/ecosystemFormulationParsers.js +979 -0
- package/lib/inventory/envcontext.js +132 -38
- package/lib/inventory/evidenceUtils.js +2 -1
- package/lib/inventory/formulationParsers.js +95 -13
- package/lib/inventory/hbom.js +45 -6
- package/lib/inventory/hbomLoader.js +166 -0
- package/lib/inventory/mcpConfigParser.js +5 -0
- package/lib/inventory/occurrenceKey.js +90 -0
- package/lib/inventory/pqcMigration.js +426 -0
- package/lib/inventory/rustFormulationParser.js +21 -10
- package/lib/inventory/source.js +65 -6
- package/lib/parsers/huggingfaceManifest.js +9 -1
- package/lib/parsers/huggingfaceUtils.js +18 -0
- package/lib/parsers/kiroPermissions.js +166 -0
- package/lib/server/server.js +36 -34
- package/lib/stages/postgen/postgen.js +41 -1
- package/lib/stages/postgen/specVersionCompat.js +76 -0
- package/lib/validator/bomValidator.js +8 -1
- package/lib/validator/complianceEngine.js +30 -3
- package/lib/validator/complianceRules.js +1416 -4
- package/lib/validator/generated/validate-2.0.mjs +57554 -13851
- package/lib/validator/index.js +48 -7
- package/lib/validator/reporters/json.js +6 -0
- package/package.json +9 -9
- package/types/bin/repl.d.ts.map +1 -1
- package/types/lib/audit/index.d.ts +6 -2
- package/types/lib/audit/index.d.ts.map +1 -1
- package/types/lib/cli/bomAssembly.d.ts +16 -0
- package/types/lib/cli/bomAssembly.d.ts.map +1 -1
- package/types/lib/cli/cliOptions.d.ts +6 -0
- package/types/lib/cli/cliOptions.d.ts.map +1 -1
- package/types/lib/cli/index.d.ts.map +1 -1
- package/types/lib/cli/jsBom.d.ts +2 -1
- package/types/lib/cli/jsBom.d.ts.map +1 -1
- package/types/lib/cli/jvmBom.d.ts +15 -0
- package/types/lib/cli/jvmBom.d.ts.map +1 -1
- package/types/lib/cli/managedBom.d.ts.map +1 -1
- package/types/lib/cli/nativeBom.d.ts.map +1 -1
- package/types/lib/core/boundedFile.d.ts +30 -0
- package/types/lib/core/boundedFile.d.ts.map +1 -1
- package/types/lib/core/env.d.ts +10 -0
- package/types/lib/core/env.d.ts.map +1 -1
- package/types/lib/core/fs.d.ts +4 -0
- package/types/lib/core/fs.d.ts.map +1 -1
- package/types/lib/core/globPatterns.d.ts +70 -0
- package/types/lib/core/globPatterns.d.ts.map +1 -0
- package/types/lib/core/paths.d.ts +9 -0
- package/types/lib/core/paths.d.ts.map +1 -1
- package/types/lib/core/processTree.d.ts +16 -5
- package/types/lib/core/processTree.d.ts.map +1 -1
- package/types/lib/core/projectConfig.d.ts +47 -8
- package/types/lib/core/projectConfig.d.ts.map +1 -1
- package/types/lib/core/toolRegistry.d.ts.map +1 -1
- package/types/lib/ecosystems/golem.d.ts.map +1 -1
- package/types/lib/ecosystems/gradleutils.d.ts +248 -8
- package/types/lib/ecosystems/gradleutils.d.ts.map +1 -1
- package/types/lib/ecosystems/jsEvidence.d.ts +14 -1
- package/types/lib/ecosystems/jsEvidence.d.ts.map +1 -1
- package/types/lib/ecosystems/kosi.d.ts.map +1 -1
- package/types/lib/ecosystems/npmVersionResolution.d.ts +119 -0
- package/types/lib/ecosystems/npmVersionResolution.d.ts.map +1 -0
- package/types/lib/ecosystems/parsers-python.d.ts.map +1 -1
- package/types/lib/ecosystems/parsers-rust.d.ts.map +1 -1
- package/types/lib/ecosystems/pythonutils.d.ts +1 -1
- package/types/lib/ecosystems/remote/huggingface.d.ts.map +1 -1
- package/types/lib/ecosystems/rusi.d.ts.map +1 -1
- package/types/lib/ecosystems/scalasem.d.ts +58 -16
- package/types/lib/ecosystems/scalasem.d.ts.map +1 -1
- package/types/lib/evinser/evinser.d.ts +61 -9
- package/types/lib/evinser/evinser.d.ts.map +1 -1
- package/types/lib/evinser/scalasem.d.ts.map +1 -1
- package/types/lib/helpers/agenticToolutils.d.ts +53 -19
- package/types/lib/helpers/agenticToolutils.d.ts.map +1 -1
- package/types/lib/helpers/bomSigner.d.ts +20 -3
- package/types/lib/helpers/bomSigner.d.ts.map +1 -1
- package/types/lib/helpers/jssSigner.d.ts +288 -0
- package/types/lib/helpers/jssSigner.d.ts.map +1 -0
- package/types/lib/helpers/vsixutils.d.ts +303 -19
- package/types/lib/helpers/vsixutils.d.ts.map +1 -1
- package/types/lib/inventory/agentBlueprint.d.ts +70 -0
- package/types/lib/inventory/agentBlueprint.d.ts.map +1 -0
- package/types/lib/inventory/agentToolNames.d.ts +51 -0
- package/types/lib/inventory/agentToolNames.d.ts.map +1 -0
- package/types/lib/inventory/aiCollector.d.ts.map +1 -1
- package/types/lib/inventory/aiInventory.d.ts.map +1 -1
- package/types/lib/inventory/aiProviders.d.ts +85 -0
- package/types/lib/inventory/aiProviders.d.ts.map +1 -0
- package/types/lib/inventory/bomUtils.d.ts.map +1 -1
- package/types/lib/inventory/ciParsers/githubActionsLock.d.ts +101 -0
- package/types/lib/inventory/ciParsers/githubActionsLock.d.ts.map +1 -0
- package/types/lib/inventory/citations.d.ts +5 -0
- package/types/lib/inventory/citations.d.ts.map +1 -1
- package/types/lib/inventory/communityAiConfigParser.d.ts.map +1 -1
- package/types/lib/inventory/cyclonedx20.d.ts +99 -0
- package/types/lib/inventory/cyclonedx20.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20Common.d.ts +102 -0
- package/types/lib/inventory/cyclonedx20Common.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20Derived.d.ts +74 -0
- package/types/lib/inventory/cyclonedx20Derived.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20Parties.d.ts +91 -0
- package/types/lib/inventory/cyclonedx20Parties.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20Read.d.ts +51 -0
- package/types/lib/inventory/cyclonedx20Read.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20ReadCommon.d.ts +69 -0
- package/types/lib/inventory/cyclonedx20ReadCommon.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20ReadComponents.d.ts +77 -0
- package/types/lib/inventory/cyclonedx20ReadComponents.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20ReadContext.d.ts +118 -0
- package/types/lib/inventory/cyclonedx20ReadContext.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20ReadEvidence.d.ts +40 -0
- package/types/lib/inventory/cyclonedx20ReadEvidence.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20ReadSections.d.ts +45 -0
- package/types/lib/inventory/cyclonedx20ReadSections.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20Render.d.ts +53 -0
- package/types/lib/inventory/cyclonedx20Render.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderComponents.d.ts +73 -0
- package/types/lib/inventory/cyclonedx20RenderComponents.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderDefinitions.d.ts +29 -0
- package/types/lib/inventory/cyclonedx20RenderDefinitions.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderEvidence.d.ts +110 -0
- package/types/lib/inventory/cyclonedx20RenderEvidence.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderHardware.d.ts +42 -0
- package/types/lib/inventory/cyclonedx20RenderHardware.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderPatents.d.ts +26 -0
- package/types/lib/inventory/cyclonedx20RenderPatents.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderRefIds.d.ts +55 -0
- package/types/lib/inventory/cyclonedx20RenderRefIds.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20RenderSections.d.ts +45 -0
- package/types/lib/inventory/cyclonedx20RenderSections.d.ts.map +1 -0
- package/types/lib/inventory/cyclonedx20Tables.d.ts +134 -0
- package/types/lib/inventory/cyclonedx20Tables.d.ts.map +1 -0
- package/types/lib/inventory/deps.d.ts +35 -2
- package/types/lib/inventory/deps.d.ts.map +1 -1
- package/types/lib/inventory/dosai.d.ts +19 -0
- package/types/lib/inventory/dosai.d.ts.map +1 -1
- package/types/lib/inventory/dosaiParsers.d.ts.map +1 -1
- package/types/lib/inventory/dotnetRuntime.d.ts +51 -4
- package/types/lib/inventory/dotnetRuntime.d.ts.map +1 -1
- package/types/lib/inventory/ecosystemFormulationParsers.d.ts +73 -0
- package/types/lib/inventory/ecosystemFormulationParsers.d.ts.map +1 -0
- package/types/lib/inventory/envcontext.d.ts +22 -6
- package/types/lib/inventory/envcontext.d.ts.map +1 -1
- package/types/lib/inventory/evidenceUtils.d.ts.map +1 -1
- package/types/lib/inventory/formulationParsers.d.ts.map +1 -1
- package/types/lib/inventory/hbom.d.ts +11 -0
- package/types/lib/inventory/hbom.d.ts.map +1 -1
- package/types/lib/inventory/hbomLoader.d.ts +54 -0
- package/types/lib/inventory/hbomLoader.d.ts.map +1 -1
- package/types/lib/inventory/jvmLocalRepos.d.ts +5 -1
- package/types/lib/inventory/jvmLocalRepos.d.ts.map +1 -1
- package/types/lib/inventory/mcpConfigParser.d.ts.map +1 -1
- package/types/lib/inventory/occurrenceKey.d.ts +52 -0
- package/types/lib/inventory/occurrenceKey.d.ts.map +1 -0
- package/types/lib/inventory/pqcMigration.d.ts +84 -0
- package/types/lib/inventory/pqcMigration.d.ts.map +1 -0
- package/types/lib/inventory/rustFormulationParser.d.ts +7 -2
- package/types/lib/inventory/rustFormulationParser.d.ts.map +1 -1
- package/types/lib/inventory/scalaCoords.d.ts.map +1 -1
- package/types/lib/inventory/scalaDedupe.d.ts +43 -0
- package/types/lib/inventory/scalaDedupe.d.ts.map +1 -0
- package/types/lib/inventory/source.d.ts +15 -0
- package/types/lib/inventory/source.d.ts.map +1 -1
- package/types/lib/parsers/huggingfaceManifest.d.ts +10 -1
- package/types/lib/parsers/huggingfaceManifest.d.ts.map +1 -1
- package/types/lib/parsers/huggingfaceUtils.d.ts +12 -0
- package/types/lib/parsers/huggingfaceUtils.d.ts.map +1 -1
- package/types/lib/parsers/kiroPermissions.d.ts +62 -0
- package/types/lib/parsers/kiroPermissions.d.ts.map +1 -0
- package/types/lib/parsers/vscodeExtensionId.d.ts +48 -0
- package/types/lib/parsers/vscodeExtensionId.d.ts.map +1 -0
- package/types/lib/server/server.d.ts.map +1 -1
- package/types/lib/stages/postgen/postgen.d.ts +7 -0
- package/types/lib/stages/postgen/postgen.d.ts.map +1 -1
- package/types/lib/stages/postgen/ruleEngine.d.ts.map +1 -1
- package/types/lib/stages/postgen/specVersionCompat.d.ts +25 -0
- package/types/lib/stages/postgen/specVersionCompat.d.ts.map +1 -1
- package/types/lib/validator/bomValidator.d.ts +5 -1
- package/types/lib/validator/bomValidator.d.ts.map +1 -1
- package/types/lib/validator/complianceEngine.d.ts +4 -4
- package/types/lib/validator/complianceEngine.d.ts.map +1 -1
- package/types/lib/validator/complianceRules.d.ts +14 -2
- package/types/lib/validator/complianceRules.d.ts.map +1 -1
- package/types/lib/validator/index.d.ts +10 -0
- package/types/lib/validator/index.d.ts.map +1 -1
- package/types/lib/validator/reporters/json.d.ts.map +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parsers-python.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/parsers-python.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parsers-python.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/parsers-python.js"],"names":[],"mappings":"AAiEA;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,WAAW,QAAA;;;cAqB9C;AAED;;;;;;;GAOG;AACH,wBAAsB,gBAAgB,CAAC,QAAQ,EALpC,MAKoC,EAAE,iBAAiB,AAJ/D,CAGF,EAHU,MAAM,EAIiD,kBAoBjE;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EALnC,MAKmC,EAAE,IAAI,EAJzC,MAIyC,EAAE,KAAK,EAHhD,MAGgD,GAF9C,IAAI,CAkBhB;AAuMD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,QAAQ,EAHpC,MAGoC,GAFlC,MAAM,CAwSlB;AAqFD;;;;;;;;;;GAUG;AACH,wBAAgB,gCAAgC,CAAC,SAAS,EAH/C,MAG+C,GAF7C,MAAM,GAAG,SAAS,CA2C9B;AAiBD;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,KAAK,EAH9B,MAG8B,GAF5B,MAAM,GAAC,SAAS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EAAE,MAAM,EAAE,CAAC;IAAC,eAAe,EAAE,MAAM,CAAA;CAAE,CA8C1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parsers-rust.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/parsers-rust.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"parsers-rust.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/parsers-rust.js"],"names":[],"mappings":"AAuyBA;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAsB,kBAAkB,CACtC,aAAa,QAAA,EACb,MAAM,GAPG,OAOK,EACd,WAAW,GAPF,MAOO,EAChB,OAAO,KAAK,SAuQb;AAED;;;;;;;;GAQG;AACH,wBAAsB,cAAc,CAClC,aAAa,QAAA,EACb,MAAM,GAPG,OAOK,EACd,WAAW,GAPF,MAOO,SAyGjB;AAgCD;;;;;;;GAOG;AACH,wBAAgB,gCAAgC,CAAC,aAAa,EAJnD,MAImD,EAAE,OAAO,AAHpE,CACA,EADQ,MAGiE,GAF/D,MAAM,EAAE,CAsIpB;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,aAAa,EAH3C,MAG2C,GAFzC,MAAM,EAAE,CA8DpB;AAED;;;;;;;;;GASG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,EAH/B,MAAM,GAAC,IAAI,GAAC,SAGmB,GAF7B,MAAM,CAOlB;AAED;;;;;;;;;GASG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAHlC,MAGkC,GAFhC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAC,GAAC,SAAS,CA8BrD;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAH1B;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAGJ,GAFxB,MAAM,CAOlB;AAED;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,E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AAE,KAAK,CAAC,MAAM,CAAC,CAIgC,EAAE,MAAM,EAHjE,GAAG,CAAC,MAAM,EAAE,MAAM,CAG+C,GAF/D;IAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAC,CAwJ1D;AAED;;;;;;;GAOG;AACH,wBAAsB,uBAAuB,CAAC,SAAS,EAH5C,MAG4C,GAF1C,OAAO,CAAC,MAAM,EAAE,CAAC,CA4B7B"}
|
|
@@ -114,8 +114,8 @@ export declare function getPoetryInstallArgs(pyprojectFile: string): string[];
|
|
|
114
114
|
*/
|
|
115
115
|
export declare function getPipFrozenTree(basePath: string, reqOrSetupFile: string, tempVenvDir: string, parentComponent: Object, projectRoot: any, getTreeWithPluginFn: any): Object;
|
|
116
116
|
export declare function getPipTreeForPackages(basePath: any, pkgList: any, tempVenvDir: any, parentComponent: any, getTreeWithPluginFn: any): {
|
|
117
|
-
rootList?: undefined;
|
|
118
117
|
failedPkgList?: undefined;
|
|
118
|
+
rootList?: undefined;
|
|
119
119
|
dependenciesList?: undefined;
|
|
120
120
|
} | {
|
|
121
121
|
failedPkgList: any[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"huggingface.d.ts","sourceRoot":"","sources":["../../../../lib/ecosystems/remote/huggingface.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"huggingface.d.ts","sourceRoot":"","sources":["../../../../lib/ecosystems/remote/huggingface.js"],"names":[],"mappings":"AAkKA,OAAO,EACL,6BAA6B,EAC7B,iBAAiB,GAClB,MAAM,mCAAmC,CAAC;AAE3C;;GAEG;AACH,wBAAgB,4BAA4B,SAG3C;AAu6BD;;;;;GAKG;AACH,eAAO,MAAM,0BAA0B,aAH5B,MAAM,KACJ,OAOV,CAAC;AAEJ;;;;;;;GAOG;AACH,wBAAsB,8BAA8B,CAClD,SAAS,EANA,MAMA,EACT,MAAM,EANG,MAMH,EACN,OAAO,AANN,CACA,EADQ,MAMG,GALD,OAAO,CAAC,MAAM,GAAC,SAAS,CAAC,CA2NrC;AAED;;;;;;;GAOG;AACH,wBAAsB,6BAA6B,CACjD,SAAS,EANA,MAMA,EACT,MAAM,EANG,MAMH,EACN,OAAO,AANN,CACA,EADQ,MAMG,GALD,OAAO,CAAC,MAAM,GAAC,SAAS,CAAC,CAarC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rusi.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/rusi.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"rusi.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/rusi.js"],"names":[],"mappings":"AAmWA;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,GAHpC,MAGyC,GAFvC,MAAM,GAAC,SAAS,CAW5B;AAsZD;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,QAAQ,EAHhC,MAGgC,GAF9B,OAAO,CAInB;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAH9B,MAG8B,GAF5B,MAAM,GAAC,SAAS,CAW5B;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAAC,GAAG,EALxB,MAKwB,EAAE,UAAU,EAJpC,MAIoC,EAAE,OAAO,GAH7C,MAGkD,GAFhD,OAAO,CAyEnB;AAED;;;;;;GAMG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAJ3B,MAI2B,EAAE,OAAO,GAHpC,MAGyC,GAFvC,MAAM,GAAC,SAAS,CA2B5B;AAED;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,GAJnC,MAIwC,EAAE,UAAU,QAAK,GAFvD,MAAM,CA8DlB"}
|
|
@@ -30,12 +30,13 @@ export declare function resolveScalasemCommand(): string | undefined;
|
|
|
30
30
|
/**
|
|
31
31
|
* Where the scalasem report is persisted. An absolute --semantics-slices-file
|
|
32
32
|
* keeps its directory; anything else lands in the evinse output directory, the
|
|
33
|
-
* same rule the atom slice writer follows.
|
|
33
|
+
* same rule the atom slice writer follows. Without either there is nowhere to
|
|
34
|
+
* keep it, and the report lives only as long as the run.
|
|
34
35
|
*
|
|
35
36
|
* @param {Object} options CLI options carrying `output` and `semanticsSlicesFile`.
|
|
36
|
-
* @returns {string} Absolute report path.
|
|
37
|
+
* @returns {string|undefined} Absolute report path.
|
|
37
38
|
*/
|
|
38
|
-
export declare function scalasemOutputFile(options?: Object): string;
|
|
39
|
+
export declare function scalasemOutputFile(options?: Object): string | undefined;
|
|
39
40
|
/**
|
|
40
41
|
* A version 1 semantics slice (the shape atom's scalasem wrote before schema
|
|
41
42
|
* version 2): keyed by .scala files with `usedTypes`, no `_meta.schemaVersion`.
|
|
@@ -46,8 +47,9 @@ export declare function scalasemOutputFile(options?: Object): string;
|
|
|
46
47
|
export declare function isV1SemanticsSlice(parsed: Object): boolean;
|
|
47
48
|
/**
|
|
48
49
|
* Run scalasem over a Scala project and return its report, reusing a
|
|
49
|
-
* persisted version 2 report that belongs to this project
|
|
50
|
-
* the
|
|
50
|
+
* persisted version 2 report that belongs to this project, is newer than the
|
|
51
|
+
* input BOM and than the build files and sources it describes, and, when
|
|
52
|
+
* cdxgen kept it, was made with the settings this run asks for.
|
|
51
53
|
*
|
|
52
54
|
* Failures are visible rather than silent: the reason is printed once, the
|
|
53
55
|
* run's diagnostics reach the caller as `cdx:scalasem:diagnostic` properties,
|
|
@@ -70,11 +72,13 @@ export declare function analyzeScalaProject(src: string, options?: Object): Obje
|
|
|
70
72
|
* @param {Object[]} diagnostics Run diagnostics, from the report or the spawn.
|
|
71
73
|
* @returns {Object[]} Metadata properties.
|
|
72
74
|
*/
|
|
73
|
-
export declare function scalasemMetadataProperties(report: Object | undefined,
|
|
75
|
+
export declare function scalasemMetadataProperties(report: Object | undefined, allDiagnostics?: any): Object[];
|
|
74
76
|
export declare function sortedCsv(values: any): string | undefined;
|
|
75
77
|
/**
|
|
76
78
|
* The platform a purl's artifact name targets: `_sjs1` is Scala.js,
|
|
77
|
-
* `_native0.x` is Scala Native, and neither is the JVM.
|
|
79
|
+
* `_native0.x` is Scala Native, and neither is the JVM. The platform suffix
|
|
80
|
+
* counts whether the Scala binary suffix follows it (`upickle_sjs1_3`, the
|
|
81
|
+
* published name a jar scan keeps) or not (`upickle_sjs1`, the sbt name).
|
|
78
82
|
*
|
|
79
83
|
* @param {string} purl Package URL.
|
|
80
84
|
* @returns {"jvm"|"js"|"native"} Platform key.
|
|
@@ -136,6 +140,12 @@ export declare class ScalaJoinIndex {
|
|
|
136
140
|
* sits in. A package the project also fills is ambiguous and joins nothing,
|
|
137
141
|
* and `javax.` names join only through an exact class, since the JDK ships
|
|
138
142
|
* most of them.
|
|
143
|
+
*
|
|
144
|
+
* The package is the part of the symbol before its first type name, which
|
|
145
|
+
* starts with a capital letter (`io.circe` of `io.circe.Json.fromString`). A
|
|
146
|
+
* symbol without one names a package (`io.circe`) or a member of one, such
|
|
147
|
+
* as a package object member (`io.circe.syntax.asJson`). Parent packages
|
|
148
|
+
* never answer: a missing `io.circe.generic` is not circe-core.
|
|
139
149
|
*/
|
|
140
150
|
packageOwners(symbol: any): any;
|
|
141
151
|
/**
|
|
@@ -175,8 +185,13 @@ export declare function isReportFileKey(key: any): boolean;
|
|
|
175
185
|
* Index the BOM components by their normalized Scala coordinates, both with
|
|
176
186
|
* and without the version, so a classpath jar, a namespace property and a map
|
|
177
187
|
* entry of the same library meet on one component. Each entry keeps the Scala
|
|
178
|
-
* binary
|
|
179
|
-
* artifacts of one library in a Maven build stay apart.
|
|
188
|
+
* binary versions the component was built for, so the `_2.13` and `_3`
|
|
189
|
+
* artifacts of one library in a Maven build stay apart. Components that share
|
|
190
|
+
* a normalized coordinate and were built for an overlapping set of Scala
|
|
191
|
+
* binary versions are one library listed more than once (a repository_url
|
|
192
|
+
* qualifier, a `_3` suffix beside the sbt name built for 2.13 and 3, a stale
|
|
193
|
+
* duplicate), so they share one entry, which the preferred component of the
|
|
194
|
+
* group stands for.
|
|
180
195
|
*/
|
|
181
196
|
export declare function componentCoordinateIndex(components?: any[]): {
|
|
182
197
|
byVersion: Map<any, any>;
|
|
@@ -192,13 +207,31 @@ export declare function componentCoordinateIndex(components?: any[]): {
|
|
|
192
207
|
* @returns {{component: Object, exact: boolean}|undefined} The component, and
|
|
193
208
|
* whether its version is the one on the classpath.
|
|
194
209
|
*/
|
|
195
|
-
export declare function matchClasspathEntry(entry: any,
|
|
196
|
-
byVersion: any;
|
|
197
|
-
withoutVersion: any;
|
|
198
|
-
}, platform: any): {
|
|
210
|
+
export declare function matchClasspathEntry(entry: any, coordinateIndex: any, platform: any): {
|
|
199
211
|
component: Object;
|
|
200
212
|
exact: boolean;
|
|
201
213
|
} | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* The coordinates a classpath jar's path spells, for the layouts the report
|
|
216
|
+
* does not read itself, most specific first:
|
|
217
|
+
*
|
|
218
|
+
* - a Maven layout `<group dirs>/<artifact>/<version>/<file>` whose group is
|
|
219
|
+
* a dotted tail of the group the report recorded, so a group is only ever
|
|
220
|
+
* shortened by the directories the report took for it, never guessed
|
|
221
|
+
* - the Gradle cache `files-2.1/<group>/<artifact>/<version>/<sha1>/<file>`
|
|
222
|
+
* - an Ivy cache `<org>/<artifact>/jars/<artifact>-<version>.jar`, as sbt 0.13
|
|
223
|
+
* and sbt 1.0 to 1.2 keep it, and an Ivy local repository
|
|
224
|
+
* `<org>/<artifact>/<version>/jars/<artifact>.jar`
|
|
225
|
+
*
|
|
226
|
+
* @param {Object} entry Classpath entry with `path` and, when the report read
|
|
227
|
+
* them, `group`, `artifact` and `version`.
|
|
228
|
+
* @returns {{group: string, artifact: string, version: string}[]}
|
|
229
|
+
*/
|
|
230
|
+
export declare function jarPathCoordinates(entry: Object): {
|
|
231
|
+
group: string;
|
|
232
|
+
artifact: string;
|
|
233
|
+
version: string;
|
|
234
|
+
}[];
|
|
202
235
|
/**
|
|
203
236
|
* Build the symbol index from the three sources, reading each classpath jar
|
|
204
237
|
* once, and only for components that carry no namespaces yet.
|
|
@@ -241,9 +274,18 @@ export declare function collectScalasemEvidence(report?: Object, components?: Ob
|
|
|
241
274
|
/**
|
|
242
275
|
* The component purl of the library a crypto finding names as its provider.
|
|
243
276
|
* Maven coordinates match on group and base artifact; the short aliases cover
|
|
244
|
-
* the providers the rules emit for libraries without a coordinate.
|
|
277
|
+
* the providers the rules emit for libraries without a coordinate. Of several
|
|
278
|
+
* matching components, one on the referencing module's classpath wins, then
|
|
279
|
+
* the artifact whose name extends the provider's least (`bcprov-jdk18on`
|
|
280
|
+
* over `bcprov-ext-jdk18on`), then the first purl, so the choice never
|
|
281
|
+
* depends on the order of the BOM.
|
|
282
|
+
*
|
|
283
|
+
* @param {string} provider Provider the finding names.
|
|
284
|
+
* @param {Object[]} components BOM components.
|
|
285
|
+
* @param {Set<string>} [classpathPurls] Purls on the module's classpath.
|
|
286
|
+
* @returns {string|undefined} Component purl.
|
|
245
287
|
*/
|
|
246
|
-
export declare function scalasemProviderPurl(provider:
|
|
288
|
+
export declare function scalasemProviderPurl(provider: string, components?: Object[], classpathPurls?: Set<string>): string | undefined;
|
|
247
289
|
/**
|
|
248
290
|
* A JDBC address without what may carry credentials: userinfo, the Oracle
|
|
249
291
|
* `user/password@` prefix, URL parameters and the `;key=value` properties
|
|
@@ -265,7 +307,7 @@ export declare function scalasemServiceName(service: any): any;
|
|
|
265
307
|
* host, a host as it is, a topic as `client:topic`, a JDBC URL with its
|
|
266
308
|
* credentials and parameters dropped.
|
|
267
309
|
*/
|
|
268
|
-
export declare function scalasemServiceEndpoint(service: any):
|
|
310
|
+
export declare function scalasemServiceEndpoint(service: any): string | undefined;
|
|
269
311
|
/**
|
|
270
312
|
* Outbound services: HTTP and websocket clients, data stores, messaging
|
|
271
313
|
* topics and cloud clients. Locations ride in
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalasem.d.ts","sourceRoot":"","sources":["../../../lib/ecosystems/scalasem.js"],"names":[],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M,GAAC,SAAS,CAmD5B;AAwfD;;;;;;;;GAQG;AACH,wBAAgB,eAAe,CAAC,KAAK,EAH1B,MAG0B,GAFxB,MAAM,CAKlB;AAoDD;;;;GAIG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,KAAA,OAiB1C;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,KAAA,sBAoB9C;AASD;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,GAJnC,MAIwC,EAAE,WAAW,GAHrD,MAG0D,GAFxD,MAAM,CAmDlB;AAED;;;;;;;GAOG;AACH,wBAAgB,2BAA2B,CAAC,MAAM,GAJvC,MAI4C,EAAE,WAAW,GAHzD,MAG8D,GAF5D,MAAM,CA6DlB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAsB,2BAA2B,CAC/C,GAAG,EARM,MAQN,EACH,OAAO,GARE,MAAM,EAQH,EACZ,OAAO,AARN,CACA,EADQ,MAQG,GAPD,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,KAAK,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAC,CAAC,CAwEpF"}
|
|
@@ -41,6 +41,37 @@ export declare function defaultEvidenceLanguage(dirPath: string, bomJson?: Objec
|
|
|
41
41
|
* @returns {Object} Options for prepareDB, analyzeProject, and createEvinseFile
|
|
42
42
|
*/
|
|
43
43
|
export declare function buildEvinseOptions(options: Object, args: Object, input: string): Object;
|
|
44
|
+
/**
|
|
45
|
+
* Read the evinse input BOM as cdxgen's 1.x-shaped internal model. A
|
|
46
|
+
* CycloneDX 2.0 document is converted with loadBomForAnalysis; a 1.x document
|
|
47
|
+
* (or an internal model) is returned as is. When `options.inputBomJson` holds
|
|
48
|
+
* a model converted earlier, a copy of it is returned instead of reading
|
|
49
|
+
* `options.input` again, so prepareDB, analyzeProject and createEvinseFile
|
|
50
|
+
* each get their own object, as they did when each parsed the file.
|
|
51
|
+
*
|
|
52
|
+
* @param {Object} options Evinse options with `input` and optional
|
|
53
|
+
* `inputBomJson`
|
|
54
|
+
* @returns {{bomJson: Object, losses: Array<{pointer: string, reason: string}>}}
|
|
55
|
+
* The internal model and the losses of the 2.0 read (none when
|
|
56
|
+
* `inputBomJson` was given)
|
|
57
|
+
*/
|
|
58
|
+
export declare function loadEvinseInputBom(options: Object): {
|
|
59
|
+
bomJson: Object;
|
|
60
|
+
losses: Array<{
|
|
61
|
+
pointer: string;
|
|
62
|
+
reason: string;
|
|
63
|
+
}>;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Print the one-line notice for the losses of reading a 2.0 evinse input,
|
|
67
|
+
* with the details in thoughtLog.
|
|
68
|
+
*
|
|
69
|
+
* @param {Array<{pointer: string, reason: string}>} losses Reader losses
|
|
70
|
+
*/
|
|
71
|
+
export declare function reportEvinseInputLosses(losses: Array<{
|
|
72
|
+
pointer: string;
|
|
73
|
+
reason: string;
|
|
74
|
+
}>): void;
|
|
44
75
|
/**
|
|
45
76
|
* Function to create the db for the libraries referred in the sbom.
|
|
46
77
|
*
|
|
@@ -147,15 +178,18 @@ export declare function purlToLanguage(purl: string, filePath?: string): string
|
|
|
147
178
|
* Walks the supplied components reading `internal:ImportedModules` (or
|
|
148
179
|
* `internal:Namespaces` for php/ruby, plus the `internal:ImportedSymbols` the
|
|
149
180
|
* C/C++ collector records) and `evidence.occurrences` properties to construct
|
|
150
|
-
* lookup maps used during slice analysis.
|
|
181
|
+
* lookup maps used during slice analysis. An occurrence that carries `offset`
|
|
182
|
+
* or `symbol` seeds those too, so a re-run over a previous evinse output keys
|
|
183
|
+
* and annotates the same use sites the fresh slice adds.
|
|
151
184
|
*
|
|
152
185
|
* @param {Object[]} components CycloneDX components from the input SBOM
|
|
153
186
|
* @param {string} language Application language used to select the import property name
|
|
154
|
-
* @returns {{ purlLocationMap: Object<string, Set>, purlImportsMap: Object<string, string[]
|
|
187
|
+
* @returns {{ purlLocationMap: Object<string, Set>, purlImportsMap: Object<string, string[]>, purlSymbolMap: Object<string, Object<string, string>> }} Seeded purl location, import and symbol maps
|
|
155
188
|
*/
|
|
156
189
|
export declare function initFromSbom(components: Object[], language: string): {
|
|
157
190
|
purlLocationMap: Record<string, Set<any>>;
|
|
158
191
|
purlImportsMap: Record<string, string[]>;
|
|
192
|
+
purlSymbolMap: Record<string, Record<string, string>>;
|
|
159
193
|
};
|
|
160
194
|
/**
|
|
161
195
|
* Load a semantics slices file for reuse when it belongs to this project.
|
|
@@ -223,6 +257,7 @@ export declare function analyzeProject(dbObjMap: Object, options: Object): Promi
|
|
|
223
257
|
servicesMap: {};
|
|
224
258
|
dataFlowFrames: {};
|
|
225
259
|
userDefinedTypesMap: {};
|
|
260
|
+
purlSymbolMap: Record<string, Record<string, string>>;
|
|
226
261
|
componentPropertiesMap?: undefined;
|
|
227
262
|
metadataProperties?: undefined;
|
|
228
263
|
workspaceComponent?: undefined;
|
|
@@ -231,6 +266,7 @@ export declare function analyzeProject(dbObjMap: Object, options: Object): Promi
|
|
|
231
266
|
dataFlowSlicesFile?: undefined;
|
|
232
267
|
reachablesSlicesFile?: undefined;
|
|
233
268
|
semanticsSlicesFile?: undefined;
|
|
269
|
+
clearedOccurrencePurls?: undefined;
|
|
234
270
|
tempDir?: undefined;
|
|
235
271
|
tempDirOwned?: undefined;
|
|
236
272
|
cryptoComponents?: undefined;
|
|
@@ -246,12 +282,14 @@ export declare function analyzeProject(dbObjMap: Object, options: Object): Promi
|
|
|
246
282
|
cryptoGeneratePurls: any;
|
|
247
283
|
servicesMap: {};
|
|
248
284
|
userDefinedTypesMap: {};
|
|
285
|
+
purlSymbolMap: Record<string, Record<string, string>>;
|
|
249
286
|
workspaceComponent?: undefined;
|
|
250
287
|
atomFile?: undefined;
|
|
251
288
|
usagesSlicesFile?: undefined;
|
|
252
289
|
dataFlowSlicesFile?: undefined;
|
|
253
290
|
reachablesSlicesFile?: undefined;
|
|
254
291
|
semanticsSlicesFile?: undefined;
|
|
292
|
+
clearedOccurrencePurls?: undefined;
|
|
255
293
|
tempDir?: undefined;
|
|
256
294
|
tempDirOwned?: undefined;
|
|
257
295
|
aiComponents?: undefined;
|
|
@@ -266,11 +304,13 @@ export declare function analyzeProject(dbObjMap: Object, options: Object): Promi
|
|
|
266
304
|
servicesMap: {};
|
|
267
305
|
userDefinedTypesMap: {};
|
|
268
306
|
workspaceComponent: Object | undefined;
|
|
307
|
+
purlSymbolMap: Record<string, Record<string, string>>;
|
|
269
308
|
atomFile?: undefined;
|
|
270
309
|
usagesSlicesFile?: undefined;
|
|
271
310
|
dataFlowSlicesFile?: undefined;
|
|
272
311
|
reachablesSlicesFile?: undefined;
|
|
273
312
|
semanticsSlicesFile?: undefined;
|
|
313
|
+
clearedOccurrencePurls?: undefined;
|
|
274
314
|
tempDir?: undefined;
|
|
275
315
|
tempDirOwned?: undefined;
|
|
276
316
|
aiComponents?: undefined;
|
|
@@ -291,8 +331,10 @@ export declare function analyzeProject(dbObjMap: Object, options: Object): Promi
|
|
|
291
331
|
cryptoComponents: any[];
|
|
292
332
|
aiComponents: any[];
|
|
293
333
|
cryptoGeneratePurls: {};
|
|
334
|
+
purlSymbolMap: Record<string, Record<string, string>>;
|
|
294
335
|
atomFile?: undefined;
|
|
295
336
|
reachablesSlicesFile?: undefined;
|
|
337
|
+
clearedOccurrencePurls?: undefined;
|
|
296
338
|
openapiSpecFile?: undefined;
|
|
297
339
|
} | {
|
|
298
340
|
componentPropertiesMap?: undefined;
|
|
@@ -304,6 +346,8 @@ export declare function analyzeProject(dbObjMap: Object, options: Object): Promi
|
|
|
304
346
|
reachablesSlicesFile: any;
|
|
305
347
|
semanticsSlicesFile: any;
|
|
306
348
|
purlLocationMap: Record<string, Set<any>>;
|
|
349
|
+
purlSymbolMap: Record<string, Record<string, string>>;
|
|
350
|
+
clearedOccurrencePurls: Set<any>;
|
|
307
351
|
servicesMap: {};
|
|
308
352
|
dataFlowFrames: {};
|
|
309
353
|
tempDir: any;
|
|
@@ -483,10 +527,13 @@ export declare function indexVersionlessCrypto(cryptoGeneratePurls: Object): Obj
|
|
|
483
527
|
* Method to create the SBOM with evidence file called evinse file.
|
|
484
528
|
*
|
|
485
529
|
* @param {Object} sliceArtefacts Various artefacts from the slice operation
|
|
486
|
-
* @param {Object} options Command line options
|
|
487
|
-
*
|
|
530
|
+
* @param {Object} options Command line options. With `returnInternalModel`,
|
|
531
|
+
* a CycloneDX 2.0 run returns the 1.x-shaped internal model instead of the
|
|
532
|
+
* rendered document; the file written is the rendered document either way.
|
|
533
|
+
* @returns {Promise<Object>} The BOM written to the output file, or its
|
|
534
|
+
* internal model when `returnInternalModel` is set
|
|
488
535
|
*/
|
|
489
|
-
export declare function createEvinseFile(sliceArtefacts: Object, options: Object): Promise<
|
|
536
|
+
export declare function createEvinseFile(sliceArtefacts: Object, options: Object): Promise<Object>;
|
|
490
537
|
/**
|
|
491
538
|
* Method to convert dataflow slice into usable callstack frames
|
|
492
539
|
* Implemented based on the logic proposed here - https://github.com/AppThreat/atom/blob/main/specification/docs/slices.md#data-flow-slice
|
|
@@ -573,12 +620,17 @@ export declare function attributeJsModules(ausage: Object, fileName: string, pur
|
|
|
573
620
|
* Attribute a callsites slice's records to the packages providing their modules.
|
|
574
621
|
*
|
|
575
622
|
* Each record of `{"callsites": [...]}` (atom `callsites` command) is one external use site
|
|
576
|
-
* carrying its own file and
|
|
577
|
-
* matches the record's module.
|
|
623
|
+
* carrying its own file, line and column; the record is an occurrence of every purl whose
|
|
624
|
+
* package matches the record's module. A record with a column (0 or more; atom writes -1 for
|
|
625
|
+
* none) is keyed `file:line:col`, so two use sites on one line are two occurrences, and its
|
|
626
|
+
* occurrence carries the column as `offset` and `module` joined with `path` by `.` as
|
|
627
|
+
* `symbol`. A record without a column keys the line (`file#line`) and its occurrence carries
|
|
628
|
+
* the `symbol` alone; a record without a `path` leaves the symbol at the bare `module`.
|
|
578
629
|
*
|
|
579
630
|
* @param {Object} callsitesSlice callsites slice with a `callsites` array
|
|
580
631
|
* @param {Object} purlImportsMap purl -> imported modules and symbols
|
|
581
|
-
* @param {Object} purlLocationMap purl -> Set of
|
|
632
|
+
* @param {Object} purlLocationMap purl -> Set of occurrence keys
|
|
633
|
+
* @param {Object} [purlSymbolMap] purl -> occurrence key -> symbol, filled in place
|
|
582
634
|
*/
|
|
583
|
-
export declare function attributeJsCallsites(callsitesSlice: Object, purlImportsMap: Object, purlLocationMap: Object): void;
|
|
635
|
+
export declare function attributeJsCallsites(callsitesSlice: Object, purlImportsMap: Object, purlLocationMap: Object, purlSymbolMap?: Object): void;
|
|
584
636
|
//# sourceMappingURL=evinser.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evinser.d.ts","sourceRoot":"","sources":["../../../lib/evinser/evinser.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"evinser.d.ts","sourceRoot":"","sources":["../../../lib/evinser/evinser.js"],"names":[],"mappings":"AA6IA;;;;;;;;;;GAUG;AACH,wBAAgB,+BAA+B,CAC7C,SAAS,EAJA,MAIA,EACT,kBAAkB,GAJT,MAAM,EAIQ,QAkBxB;AAyBD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EALpC,MAKoC,EAAE,OAAO,AAJrD,CACA,EADQ,MAI6C,EAAE,OAAO,AAH9D,CACA,EADQ,MAG2D,GAFzD,MAAM,GAAC,SAAS,CAyC5B;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAL/B,MAK+B,EAAE,IAAI,EAJrC,MAIqC,EAAE,KAAK,EAH5C,MAG4C,GAF1C,MAAM,CA4ClB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAN/B,MAM+B,GAJ7B;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,KAAK,CAAC;QAAC,OAAO,EAAE,MAAM,CAAC;QAAC,MAAM,EAA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CAAC,QAAQ,EAJvC,MAIuC,EAAE,YAAY,EAHrD,MAGqD,GAFnD,MAAM,GAAC,SAAS,CAmD5B;AAgBD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAH7B,MAG6B,GAF3B,MAAM,GAAC,SAAS,CAY5B;AAiCD;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAChC,MAAM,EANG,MAMH,EACN,QAAQ,EANC,MAMD,EACR,cAAc,EANL,MAMK,EACd,eAAe,EANN,MAMM,QAoChB;AAED;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,oBAAoB,CAClC,cAAc,EANL,MAMK,EACd,cAAc,EANL,MAMK,EACd,eAAe,EANN,MAMM,EACf,aAAa,AANZ,CACF,EADU,MAMS,QA2BnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"scalasem.d.ts","sourceRoot":"","sources":["../../../lib/evinser/scalasem.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"scalasem.d.ts","sourceRoot":"","sources":["../../../lib/evinser/scalasem.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAJjC,MAAM,EAI2B,EAAE,cAAc,EAHjD,MAGiD,GAF/C;IAAE,eAAe,2BAA0B;CAAE,CAkCzD"}
|
|
@@ -1,17 +1,11 @@
|
|
|
1
|
+
import { redactHomePath } from "../core/paths.js";
|
|
2
|
+
export { redactHomePath };
|
|
1
3
|
/**
|
|
2
4
|
* The purl type used for installed agentic CLI tools. These tools ship as
|
|
3
5
|
* self-contained executables rather than as a resolvable source package, so a
|
|
4
6
|
* `pkg:generic/...` identifier is the honest representation.
|
|
5
7
|
*/
|
|
6
8
|
export declare const AGENTIC_TOOL_PURL_TYPE = "generic";
|
|
7
|
-
/**
|
|
8
|
-
* Rewrite an absolute path under the user's home directory to a `~`-relative
|
|
9
|
-
* form so the emitted BOM does not carry the local username.
|
|
10
|
-
*
|
|
11
|
-
* @param {string} filePath Absolute path
|
|
12
|
-
* @returns {string} Home-relative path when applicable, else the input
|
|
13
|
-
*/
|
|
14
|
-
export declare function redactHomePath(filePath: string): string;
|
|
15
9
|
/**
|
|
16
10
|
* Describe where each supported agentic CLI tool stores its per-user state.
|
|
17
11
|
*
|
|
@@ -20,28 +14,56 @@ export declare function redactHomePath(filePath: string): string;
|
|
|
20
14
|
* extension locations). Only the current platform's directories plus
|
|
21
15
|
* always-present dot-directories are included.
|
|
22
16
|
*
|
|
23
|
-
*
|
|
17
|
+
* An entry may also name `mcpConfigs`, the files and keys where the tool
|
|
18
|
+
* lists its MCP servers, and `ide`, the IDE_PRODUCTS id of the editor the tool
|
|
19
|
+
* ships in, whose installed version and extensions folder it then reports.
|
|
20
|
+
*
|
|
21
|
+
* @param {string} [home] Home directory to resolve the folders against
|
|
22
|
+
* @returns {Array<{tool: string, name: string, dirs: string[], supportDirs?: string[], mcpConfigs?: Array<{file: string, key: string}>, ide?: string}>}
|
|
24
23
|
* One entry per known agentic CLI tool.
|
|
25
24
|
*/
|
|
26
|
-
export declare function getAgenticToolDirs(): Array<{
|
|
25
|
+
export declare function getAgenticToolDirs(home?: string): Array<{
|
|
27
26
|
tool: string;
|
|
28
27
|
name: string;
|
|
29
28
|
dirs: string[];
|
|
30
29
|
supportDirs?: string[];
|
|
30
|
+
mcpConfigs?: Array<{
|
|
31
|
+
file: string;
|
|
32
|
+
key: string;
|
|
33
|
+
}>;
|
|
34
|
+
ide?: string;
|
|
31
35
|
}>;
|
|
32
36
|
/**
|
|
33
37
|
* Discover which agentic CLI tools are installed for the current user by
|
|
34
38
|
* checking their known home directories.
|
|
35
39
|
*
|
|
36
|
-
* @
|
|
40
|
+
* @param {string} [home] Home directory to resolve the folders against
|
|
41
|
+
* @returns {Array<{tool: string, name: string, dir: string, supportDir?: string, mcpConfigs?: Object[], ide?: string}>}
|
|
37
42
|
* One entry per discovered tool, using the first existing directory.
|
|
38
43
|
*/
|
|
39
|
-
export declare function discoverAgenticTools(): Array<{
|
|
44
|
+
export declare function discoverAgenticTools(home?: string): Array<{
|
|
40
45
|
tool: string;
|
|
41
46
|
name: string;
|
|
42
47
|
dir: string;
|
|
43
48
|
supportDir?: string;
|
|
49
|
+
mcpConfigs?: Object[];
|
|
50
|
+
ide?: string;
|
|
44
51
|
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Count the MCP servers a tool lists across its configuration files. A server
|
|
54
|
+
* named in two files is counted once.
|
|
55
|
+
*
|
|
56
|
+
* @param {string} dir Tool home directory, which relative files resolve against
|
|
57
|
+
* @param {Array<{file: string, key: string}>} [mcpConfigs] Files and the key
|
|
58
|
+
* holding the server map. A key is looked up as written first, so a dotted
|
|
59
|
+
* key such as `amp.mcpServers` matches a literal property.
|
|
60
|
+
* @returns {number|undefined} Number of servers, or undefined when no file
|
|
61
|
+
* defines any
|
|
62
|
+
*/
|
|
63
|
+
export declare function countConfiguredMcpServers(dir: string, mcpConfigs?: Array<{
|
|
64
|
+
file: string;
|
|
65
|
+
key: string;
|
|
66
|
+
}>): number | undefined;
|
|
45
67
|
/**
|
|
46
68
|
* Compute safe, redacted signal counts for a discovered tool. Only structural
|
|
47
69
|
* counts and small enumerated values are returned; no credential, transcript,
|
|
@@ -50,14 +72,21 @@ export declare function discoverAgenticTools(): Array<{
|
|
|
50
72
|
* @param {string} tool Tool key
|
|
51
73
|
* @param {string} dir Discovered tool home directory
|
|
52
74
|
* @param {string} [supportDir] Optional platform support directory
|
|
75
|
+
* @param {Array<{file: string, key: string}>} [mcpConfigs] Files that list
|
|
76
|
+
* the tool's MCP servers, used when the tool has no reader of its own
|
|
77
|
+
* @param {string} [home] Home directory the tool was found in
|
|
53
78
|
* @returns {Object} Map of signal name to count/boolean/small-string value
|
|
54
79
|
*/
|
|
55
|
-
export declare function collectToolSignals(tool: string, dir: string, supportDir?: string
|
|
80
|
+
export declare function collectToolSignals(tool: string, dir: string, supportDir?: string, mcpConfigs?: Array<{
|
|
81
|
+
file: string;
|
|
82
|
+
key: string;
|
|
83
|
+
}>, home?: string): Object;
|
|
56
84
|
/**
|
|
57
85
|
* Build a CycloneDX application component for one discovered agentic tool.
|
|
58
86
|
*
|
|
59
|
-
* @param {{tool: string, name: string, dir: string, supportDir?: string}} entry
|
|
87
|
+
* @param {{tool: string, name: string, dir: string, supportDir?: string, mcpConfigs?: Object[], ide?: string}} entry
|
|
60
88
|
* Discovered tool entry
|
|
89
|
+
* @param {string} [home] Home directory, used to find the tool's editor
|
|
61
90
|
* @returns {Object} CycloneDX component
|
|
62
91
|
*/
|
|
63
92
|
export declare function componentForAgenticTool(entry: {
|
|
@@ -65,7 +94,9 @@ export declare function componentForAgenticTool(entry: {
|
|
|
65
94
|
name: string;
|
|
66
95
|
dir: string;
|
|
67
96
|
supportDir?: string;
|
|
68
|
-
|
|
97
|
+
mcpConfigs?: Object[];
|
|
98
|
+
ide?: string;
|
|
99
|
+
}, home?: string): Object;
|
|
69
100
|
/**
|
|
70
101
|
* Discover installed agentic CLI tools on the current host and return CycloneDX
|
|
71
102
|
* components describing each one, plus the child agents, plugins, and providers
|
|
@@ -73,13 +104,16 @@ export declare function componentForAgenticTool(entry: {
|
|
|
73
104
|
*
|
|
74
105
|
* This host scan is unconditional: it does not consult scan filters such as
|
|
75
106
|
* `--exclude` or profile/technique options, because it inventories fixed tool
|
|
76
|
-
* home directories rather than a project tree.
|
|
77
|
-
* accepted for signature parity and is intentionally not used to alter results.
|
|
107
|
+
* home directories rather than a project tree.
|
|
78
108
|
*
|
|
79
|
-
* @param {Object} [options={}] Collection options
|
|
109
|
+
* @param {Object} [options={}] Collection options
|
|
110
|
+
* @param {string} [options.home] Home directory to scan, defaulting to the
|
|
111
|
+
* current user's
|
|
80
112
|
* @returns {{components: Object[], services: Object[], dependencies: Object[]}} Discovered inventory
|
|
81
113
|
*/
|
|
82
|
-
export declare function collectAgenticTools(
|
|
114
|
+
export declare function collectAgenticTools(options?: {
|
|
115
|
+
home?: string;
|
|
116
|
+
}): {
|
|
83
117
|
components: Object[];
|
|
84
118
|
services: Object[];
|
|
85
119
|
dependencies: Object[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agenticToolutils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/agenticToolutils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agenticToolutils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/agenticToolutils.js"],"names":[],"mappings":"AAUA,OAAO,EAAgB,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAQhE,OAAO,EAAE,cAAc,EAAE,CAAC;AAE1B;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAiDhD;;;;;;;;;;;;;;;GAeG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,AAJpC,CACA,EADQ,MAIwC,GAHtC,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,EAAE,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,UAAU,CAAC,EAAE,KAAK,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,GAAG,EAAE,MAAM,CAAA;KAAC,CAAC,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC,CAgOtJ;AAED;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,AAJtC,CACA,EADQ,MAI0C,GAHxC,KAAK,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IAAC,GAAG,CAAC,EAAE,MAAM,CAAA;CAAC,CAAC,CAuBtH;AA4eD;;;;;;;;;;GAUG;AACH,wBAAgB,yBAAyB,CAAC,GAAG,EAPlC,MAOk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* Members the CycloneDX 1.4 to 1.7 schemas define at the root of a BOM, plus
|
|
10
|
+
* `specFormat`, which an early 2.0 draft used in place of `bomFormat`. A JSF
|
|
11
|
+
* root signature is only accepted on an object made of these members, so a
|
|
12
|
+
* signed component, service, or annotation cannot pass as a signed BOM.
|
|
12
13
|
*/
|
|
13
14
|
export declare const BOM_ROOT_MEMBERS: readonly string[];
|
|
15
|
+
/**
|
|
16
|
+
* Members the CycloneDX 2.0 draft schema defines at the root of a document.
|
|
17
|
+
* A JSS root signature (lib/helpers/jssSigner.js) is only accepted on an
|
|
18
|
+
* object made of these members.
|
|
19
|
+
*/
|
|
20
|
+
export declare const BOM_20_ROOT_MEMBERS: readonly string[];
|
|
14
21
|
/**
|
|
15
22
|
* Renders a value taken from a document for a message. JSON can make any field
|
|
16
23
|
* an object or array, and interpolating those directly can throw.
|
|
@@ -19,6 +26,16 @@ export declare const BOM_ROOT_MEMBERS: readonly string[];
|
|
|
19
26
|
* @returns {string} - Printable text
|
|
20
27
|
*/
|
|
21
28
|
export declare function displayValue(value: any): string;
|
|
29
|
+
/**
|
|
30
|
+
* Deterministic JSON canonicalizer following RFC 8785 (JCS), which JSF uses to
|
|
31
|
+
* produce the signed data. Values are serialized the way JSON.stringify would
|
|
32
|
+
* see them, so an in-memory object and its parsed JSON form canonicalize
|
|
33
|
+
* identically.
|
|
34
|
+
*
|
|
35
|
+
* @param {any} value - The JSON object/value to canonicalize
|
|
36
|
+
* @returns {string|undefined} - Canonicalized JSON string, or undefined for values JSON omits
|
|
37
|
+
*/
|
|
38
|
+
export declare function canonicalizeJson(value: any): string | undefined;
|
|
22
39
|
/**
|
|
23
40
|
* Wraps shared-secret material for HMAC (HS256, HS384, HS512) signing or
|
|
24
41
|
* verification.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bomSigner.d.ts","sourceRoot":"","sources":["../../../lib/helpers/bomSigner.js"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,aAAa,CAAC;AAy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