@cdxgen/cdxgen 13.5.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 +17 -10
- package/bin/audit.js +7 -4
- package/bin/cdxgen.js +260 -37
- package/bin/convert.js +146 -22
- package/bin/evinse.js +28 -3
- package/bin/repl.js +47 -3
- package/bin/sign.js +211 -34
- package/bin/tracebom.js +18 -6
- package/bin/validate.js +24 -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/license-aliases.json +24 -2
- package/data/pqc-migration.json +239 -0
- package/data/remediations.json +176 -0
- package/data/rules/ai-bom.yaml +1 -1
- package/data/rules/brotli-decoder.yaml +107 -0
- package/data/rules/cbom-security.yaml +4 -3
- package/data/rules/package-integrity.yaml +28 -0
- package/data/rules/vscode-extensions.yaml +75 -0
- package/data/spdx-license-list.json +121 -7
- package/data/spdx-licenses.json +69 -0
- package/data/spdx.schema.json +845 -2
- package/lib/audit/index.js +25 -3
- package/lib/cli/bomAssembly.js +172 -4
- package/lib/cli/cliOptions.js +121 -17
- package/lib/cli/index.js +720 -902
- package/lib/cli/jsBom.js +156 -64
- package/lib/cli/jvmBom.js +602 -86
- package/lib/cli/managedBom.js +161 -19
- package/lib/cli/nativeBom.js +52 -5
- package/lib/core/boundedFile.js +344 -0
- package/lib/core/brotliProbe.js +182 -0
- package/lib/core/env.js +34 -0
- package/lib/core/fs.js +138 -3
- package/lib/core/globPatterns.js +218 -0
- package/lib/core/httpClient.js +98 -1
- package/lib/core/lockPaths.js +38 -0
- package/lib/core/paths.js +24 -1
- package/lib/core/processTree.js +100 -8
- package/lib/core/projectConfig.js +332 -25
- package/lib/core/toolRegistry.js +184 -0
- package/lib/ecosystems/cppEvidence.js +263 -106
- package/lib/ecosystems/cppIncludeResolver.js +16 -5
- package/lib/ecosystems/denoutils.js +2 -2
- package/lib/ecosystems/ecosystems.js +25 -10
- package/lib/ecosystems/gemHostProbe.js +301 -0
- package/lib/ecosystems/golem.js +3 -8
- package/lib/ecosystems/gradleutils.js +1909 -229
- 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-bazel.js +107 -6
- package/lib/ecosystems/parsers-js.js +505 -22
- package/lib/ecosystems/parsers-misc.js +209 -20
- package/lib/ecosystems/parsers-python.js +178 -30
- package/lib/ecosystems/parsers-rust.js +117 -15
- package/lib/ecosystems/pythonutils.js +128 -2
- package/lib/ecosystems/remote/huggingface.js +22 -0
- package/lib/ecosystems/rubyutils.js +538 -31
- package/lib/ecosystems/rusi.js +2 -4
- package/lib/ecosystems/scalacliutils.js +2 -0
- package/lib/ecosystems/scalasem.js +798 -152
- package/lib/ecosystems/vendoredCode.js +237 -3
- package/lib/ecosystems/venvProbe.js +360 -0
- package/lib/evinser/evinser.js +536 -71
- package/lib/evinser/scalasem.js +5 -1
- package/lib/helpers/agenticToolutils.js +525 -94
- package/lib/helpers/bomSigner.js +43 -9
- package/lib/helpers/jssSigner.js +1276 -0
- package/lib/helpers/vsixutils.js +1574 -315
- 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/atomUtils.js +77 -0
- package/lib/inventory/bomUtils.js +8 -1
- package/lib/inventory/brotliDecoder.js +142 -0
- package/lib/inventory/buildToolRateLimit.js +1 -1
- package/lib/inventory/cbomutils.js +56 -7
- 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 +141 -13
- package/lib/inventory/dosai.js +375 -6
- package/lib/inventory/dosaiParsers.js +3 -6
- package/lib/inventory/dotnetRuntime.js +367 -0
- package/lib/inventory/ecosystemFormulationParsers.js +979 -0
- package/lib/inventory/envcontext.js +436 -48
- package/lib/inventory/evidenceUtils.js +13 -1
- package/lib/inventory/fetchBatch.js +1 -1
- package/lib/inventory/formulationParsers.js +124 -14
- package/lib/inventory/gtfobins.js +13 -0
- package/lib/inventory/hbom.js +45 -6
- package/lib/inventory/hbomLoader.js +166 -0
- package/lib/inventory/hostRuntimeProbe.js +686 -0
- package/lib/inventory/jvmLocalRepos.js +9 -2
- package/lib/inventory/jvmToolEnv.js +29 -0
- package/lib/inventory/licenseEnhancer.js +12 -0
- package/lib/inventory/mavenCentralMirror.js +534 -0
- package/lib/inventory/mcpConfigParser.js +5 -0
- package/lib/inventory/nodeBuildInfo.js +218 -0
- package/lib/inventory/nodeHostProbe.js +202 -0
- package/lib/inventory/occurrenceKey.js +90 -0
- package/lib/inventory/osPackageResolver.js +182 -0
- package/lib/inventory/phpBuildInfo.js +10 -59
- package/lib/inventory/phpHostProbe.js +32 -488
- package/lib/inventory/pqcMigration.js +426 -0
- package/lib/inventory/rubyBuildInfo.js +972 -0
- package/lib/inventory/rubyHostProbe.js +218 -0
- package/lib/inventory/rustFormulationParser.js +21 -10
- package/lib/inventory/scalaCoords.js +4 -3
- package/lib/inventory/scalaDedupe.js +440 -0
- package/lib/inventory/source.js +114 -8
- package/lib/managers/binary.js +337 -3
- package/lib/managers/docker.js +79 -0
- package/lib/parsers/huggingfaceManifest.js +9 -1
- package/lib/parsers/huggingfaceUtils.js +18 -0
- package/lib/parsers/kiroPermissions.js +166 -0
- package/lib/parsers/largeJson.js +28 -11
- package/lib/parsers/vscodeExtensionId.js +183 -0
- package/lib/server/server.js +48 -35
- package/lib/stages/postgen/postgen.js +41 -1
- package/lib/stages/postgen/ruleEngine.js +13 -5
- package/lib/stages/postgen/specVersionCompat.js +76 -0
- package/lib/stages/pregen/envAudit.js +1 -0
- package/lib/stages/pregen/pregen.js +114 -57
- package/lib/validator/bomValidator.js +14 -2
- package/lib/validator/complianceEngine.js +30 -3
- package/lib/validator/complianceRules.js +1416 -4
- package/lib/validator/generated/validate-1.6.mjs +1 -1
- package/lib/validator/generated/validate-1.7.mjs +1 -1
- package/lib/validator/generated/validate-2.0.mjs +57554 -13851
- package/lib/validator/index.js +49 -8
- package/lib/validator/reporters/json.js +6 -0
- package/package.json +11 -10
- 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 +29 -1
- 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 +3 -18
- 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 +100 -0
- package/types/lib/core/boundedFile.d.ts.map +1 -0
- package/types/lib/core/brotliProbe.d.ts +37 -0
- package/types/lib/core/brotliProbe.d.ts.map +1 -0
- package/types/lib/core/env.d.ts +14 -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/httpClient.d.ts +24 -0
- package/types/lib/core/httpClient.d.ts.map +1 -1
- package/types/lib/core/lockPaths.d.ts +19 -0
- package/types/lib/core/lockPaths.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 +17 -4
- 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 +36 -0
- package/types/lib/core/toolRegistry.d.ts.map +1 -0
- package/types/lib/ecosystems/cppEvidence.d.ts +40 -13
- package/types/lib/ecosystems/cppEvidence.d.ts.map +1 -1
- package/types/lib/ecosystems/cppIncludeResolver.d.ts +2 -1
- package/types/lib/ecosystems/cppIncludeResolver.d.ts.map +1 -1
- package/types/lib/ecosystems/ecosystems.d.ts.map +1 -1
- package/types/lib/ecosystems/gemHostProbe.d.ts +28 -0
- package/types/lib/ecosystems/gemHostProbe.d.ts.map +1 -0
- package/types/lib/ecosystems/golem.d.ts.map +1 -1
- package/types/lib/ecosystems/gradleutils.d.ts +294 -20
- 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-bazel.d.ts.map +1 -1
- package/types/lib/ecosystems/parsers-js.d.ts +17 -20
- package/types/lib/ecosystems/parsers-js.d.ts.map +1 -1
- package/types/lib/ecosystems/parsers-misc.d.ts +19 -0
- package/types/lib/ecosystems/parsers-misc.d.ts.map +1 -1
- package/types/lib/ecosystems/parsers-python.d.ts +10 -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 +19 -1
- package/types/lib/ecosystems/pythonutils.d.ts.map +1 -1
- package/types/lib/ecosystems/remote/huggingface.d.ts.map +1 -1
- package/types/lib/ecosystems/rubyutils.d.ts +144 -12
- package/types/lib/ecosystems/rubyutils.d.ts.map +1 -1
- package/types/lib/ecosystems/rusi.d.ts.map +1 -1
- package/types/lib/ecosystems/scalacliutils.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/ecosystems/vendoredCode.d.ts +26 -0
- package/types/lib/ecosystems/vendoredCode.d.ts.map +1 -1
- package/types/lib/ecosystems/venvProbe.d.ts +40 -0
- package/types/lib/ecosystems/venvProbe.d.ts.map +1 -0
- package/types/lib/evinser/evinser.d.ts +120 -13
- 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/atomUtils.d.ts +19 -0
- package/types/lib/inventory/atomUtils.d.ts.map +1 -1
- package/types/lib/inventory/bomUtils.d.ts.map +1 -1
- package/types/lib/inventory/brotliDecoder.d.ts +58 -0
- package/types/lib/inventory/brotliDecoder.d.ts.map +1 -0
- package/types/lib/inventory/cbomutils.d.ts +17 -0
- package/types/lib/inventory/cbomutils.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 +36 -1
- 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 +91 -0
- package/types/lib/inventory/dotnetRuntime.d.ts.map +1 -0
- 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 +74 -12
- 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/gtfobins.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/hostRuntimeProbe.d.ts +44 -0
- package/types/lib/inventory/hostRuntimeProbe.d.ts.map +1 -0
- package/types/lib/inventory/jvmLocalRepos.d.ts +5 -1
- package/types/lib/inventory/jvmLocalRepos.d.ts.map +1 -1
- package/types/lib/inventory/jvmToolEnv.d.ts +12 -0
- package/types/lib/inventory/jvmToolEnv.d.ts.map +1 -1
- package/types/lib/inventory/licenseEnhancer.d.ts.map +1 -1
- package/types/lib/inventory/mavenCentralMirror.d.ts +170 -0
- package/types/lib/inventory/mavenCentralMirror.d.ts.map +1 -0
- package/types/lib/inventory/mcpConfigParser.d.ts.map +1 -1
- package/types/lib/inventory/nodeBuildInfo.d.ts +95 -0
- package/types/lib/inventory/nodeBuildInfo.d.ts.map +1 -0
- package/types/lib/inventory/nodeHostProbe.d.ts +15 -0
- package/types/lib/inventory/nodeHostProbe.d.ts.map +1 -0
- package/types/lib/inventory/occurrenceKey.d.ts +52 -0
- package/types/lib/inventory/occurrenceKey.d.ts.map +1 -0
- package/types/lib/inventory/osPackageResolver.d.ts +38 -0
- package/types/lib/inventory/osPackageResolver.d.ts.map +1 -1
- package/types/lib/inventory/phpBuildInfo.d.ts.map +1 -1
- package/types/lib/inventory/phpHostProbe.d.ts.map +1 -1
- package/types/lib/inventory/pqcMigration.d.ts +84 -0
- package/types/lib/inventory/pqcMigration.d.ts.map +1 -0
- package/types/lib/inventory/rubyBuildInfo.d.ts +271 -0
- package/types/lib/inventory/rubyBuildInfo.d.ts.map +1 -0
- package/types/lib/inventory/rubyHostProbe.d.ts +47 -0
- package/types/lib/inventory/rubyHostProbe.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 +25 -0
- package/types/lib/inventory/source.d.ts.map +1 -1
- package/types/lib/managers/binary.d.ts.map +1 -1
- package/types/lib/managers/docker.d.ts +12 -0
- package/types/lib/managers/docker.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/largeJson.d.ts +4 -3
- package/types/lib/parsers/largeJson.d.ts.map +1 -1
- 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/stages/pregen/envAudit.d.ts.map +1 -1
- package/types/lib/stages/pregen/pregen.d.ts +12 -8
- package/types/lib/stages/pregen/pregen.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":"vsixutils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/vsixutils.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"vsixutils.d.ts","sourceRoot":"","sources":["../../../lib/helpers/vsixutils.js"],"names":[],"mappings":"AA+BA;;GAEG;AACH,eAAO,MAAM,0BAA0B,qBAAqB,CAAC;AAO7D;;;GAGG;AACH,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAE/C;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,YAAY;;;;;;QAOnB,MAAM;QACN,KAAK;QAKL,KAAK;;;;;;;;;;;;IAkLV,CAAC;AAqGF;;;;;;;;;;;;GAYG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,AAJrC,CACA,EADQ,MAIyC,GAHvC,KAAK,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAA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ding-agent behaviour at CycloneDX 2.0 (cdxgen/cdxgen#4593).
|
|
3
|
+
*
|
|
4
|
+
* The source is the AI inventory the 1.x parsers already produce
|
|
5
|
+
* (communityAiConfigParser: Kiro agents, Claude subagents and agent
|
|
6
|
+
* definitions). Only real agent definitions count: a component with a
|
|
7
|
+
* `cdx:agent:role`, or whose `cdx:file:kind` is `agent-definition` or
|
|
8
|
+
* `claude-subagent`. Instruction files, specs, steering documents, agent
|
|
9
|
+
* configs and plugins describe or configure agents but are not agents.
|
|
10
|
+
* At 2.0 this module derives:
|
|
11
|
+
*
|
|
12
|
+
* - one party per agent component with a bom-ref
|
|
13
|
+
* (#/$defs/cyclonedx-party-2.0/$defs/party, role `agent`) whose `system`
|
|
14
|
+
* (#/$defs/cyclonedx-party-2.0/$defs/system) has kind `agent`, `ref` the
|
|
15
|
+
* agent component's refId, `label` its name and `permissions` the tool
|
|
16
|
+
* names its config allows. The allow list is split on the commas outside
|
|
17
|
+
* parentheses, and each entry is reduced to the tool name before any "("
|
|
18
|
+
* (`Bash(git status:*)` is `Bash`), so arguments, paths and commands
|
|
19
|
+
* never reach the BOM. Names that are not safe tool names are dropped
|
|
20
|
+
* (see lib/inventory/agentToolNames.js). The list is unique and sorted.
|
|
21
|
+
*
|
|
22
|
+
* - one blueprint (#/$defs/cyclonedx-blueprint-2.0/$defs/blueprint,
|
|
23
|
+
* modelTypes `behavioral`) whose actors reference the agent parties and
|
|
24
|
+
* whose behaviors.instances carry `acknowledgment: ["declared"]` and a
|
|
25
|
+
* `behavior` from data/behavior-taxonomy.schema.json:
|
|
26
|
+
* `ai:agent:invokesTool` when the agent declares tools or MCP servers, and
|
|
27
|
+
* `ai:agent:requestsUserApproval` when its permission policy has ask rules.
|
|
28
|
+
* The inventory records only how many MCP servers an agent's own config
|
|
29
|
+
* names, not which, so instances carry no `targets`: naming the project's
|
|
30
|
+
* MCP services would claim a binding no config makes.
|
|
31
|
+
*
|
|
32
|
+
* No free text from instruction, skill or MCP files is emitted. Business
|
|
33
|
+
* objectives and use cases are free text, so they are out of scope, and so
|
|
34
|
+
* is observed behaviour.
|
|
35
|
+
*/
|
|
36
|
+
/** refId of the derived blueprint. */
|
|
37
|
+
export declare const AGENT_BLUEPRINT_REF_ID = "blueprint-declared-agents";
|
|
38
|
+
/** Prefix of every derived agent party refId. */
|
|
39
|
+
export declare const AGENT_PARTY_REF_ID_PREFIX = "party-agent-";
|
|
40
|
+
/**
|
|
41
|
+
* Is this internal-model component a real coding-agent definition?
|
|
42
|
+
*
|
|
43
|
+
* @param {object} component Internal-model component
|
|
44
|
+
* @returns {boolean} True for a `cdx:agent:role` component or an
|
|
45
|
+
* agent-definition / claude-subagent file
|
|
46
|
+
*/
|
|
47
|
+
export declare function isDeclaredAgentComponent(component: object): boolean;
|
|
48
|
+
/**
|
|
49
|
+
* The permissions of an agent: the tool names of `cdx:agent:tools` and the
|
|
50
|
+
* scopes of `cdx:agent:permissionCapabilities`, each reduced to the name
|
|
51
|
+
* before any "(", unique and sorted.
|
|
52
|
+
*
|
|
53
|
+
* @param {object} component Internal-model agent component
|
|
54
|
+
* @returns {string[]} Permission names
|
|
55
|
+
*/
|
|
56
|
+
export declare function declaredAgentPermissions(component: object): string[];
|
|
57
|
+
/**
|
|
58
|
+
* Collect the 2.0 agent parties and the behavioral blueprint for the
|
|
59
|
+
* declared agents of an internal-model BOM. Agents without a bom-ref are
|
|
60
|
+
* skipped (their party could not point at them); parties are unique by
|
|
61
|
+
* refId.
|
|
62
|
+
*
|
|
63
|
+
* @param {object} internalBom The 1.x-shaped internal model
|
|
64
|
+
* @returns {{parties: object[], blueprint: object|undefined}}
|
|
65
|
+
*/
|
|
66
|
+
export declare function collectAgentBehaviour(internalBom: object): {
|
|
67
|
+
parties: object[];
|
|
68
|
+
blueprint: object | undefined;
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=agentBlueprint.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentBlueprint.d.ts","sourceRoot":"","sources":["../../../lib/inventory/agentBlueprint.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AAQH,sCAAsC;AACtC,eAAO,MAAM,sBAAsB,8BAA8B,CAAC;AAClE,iDAAiD;AACjD,eAAO,MAAM,yBAAyB,iBAAiB,CAAC;AAuBxD;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAJvC,MAIuC,GAHrC,OAAO,CAcnB;AAED;;;;;;;GAOG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAHvC,MAGuC,GAFrC,MAAM,EAAE,CAYpB;AAyCD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,WAAW,EAHtC,MAGsC,GAFpC;IAAC,OAAO,EAAE,MAAM,EAAE,CAAC;IAAC,SAAS,EAAE,MAAM,GAAC,SAAS,CAAA;CAAC,CAsC5D"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool allow lists of coding-agent configurations, reduced to tool names.
|
|
3
|
+
*
|
|
4
|
+
* An allow list such as `Read, Bash(git status:*), Bash(curl -u user,secret)`
|
|
5
|
+
* carries commands, paths and sometimes credentials inside its parentheses.
|
|
6
|
+
* Only the tool name before any "(" is kept, so nothing an entry scopes its
|
|
7
|
+
* tool to reaches a BOM. The list is split on the commas outside parentheses,
|
|
8
|
+
* so the arguments of one entry never become entries of their own.
|
|
9
|
+
*
|
|
10
|
+
* A tool name is at most 64 characters of letters, digits and `_ - . : *`
|
|
11
|
+
* (`Read`, `mcp__github__*`, `fs_write`), optionally in the `@server/tool`
|
|
12
|
+
* form Kiro uses. A name that looks like a credential (a known token prefix
|
|
13
|
+
* such as `ghp_` or `AKIA`, or a long run of letters and digits with no
|
|
14
|
+
* separator) is dropped.
|
|
15
|
+
*/
|
|
16
|
+
/**
|
|
17
|
+
* Split an allow list on the commas outside parentheses. An array is taken
|
|
18
|
+
* as already split.
|
|
19
|
+
*
|
|
20
|
+
* @param {string|string[]|undefined} value Allow list
|
|
21
|
+
* @returns {string[]} Trimmed, non-empty entries
|
|
22
|
+
*/
|
|
23
|
+
export declare function splitAllowList(value: string | string[] | undefined): string[];
|
|
24
|
+
/**
|
|
25
|
+
* The tool name of one allow-list entry, or undefined when it is not a safe
|
|
26
|
+
* tool name.
|
|
27
|
+
*
|
|
28
|
+
* @param {string} entry Allow-list entry
|
|
29
|
+
* @returns {string|undefined} Tool name
|
|
30
|
+
*/
|
|
31
|
+
export declare function agentToolName(entry: string): string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* The unique, sorted tool names of an allow list.
|
|
34
|
+
*
|
|
35
|
+
* @param {string|string[]|undefined} value Allow list
|
|
36
|
+
* @returns {string[]} Tool names
|
|
37
|
+
*/
|
|
38
|
+
export declare function agentToolNames(value: string | string[] | undefined): string[];
|
|
39
|
+
/**
|
|
40
|
+
* An allow list as cdxgen records it in `cdx:agent:tools` and
|
|
41
|
+
* `cdx:agent:disallowedTools`: each entry reduced to its tool name, written
|
|
42
|
+
* `Name(...)` when the entry scoped the tool with arguments, so a scoped
|
|
43
|
+
* `Bash(git status:*)` stays distinguishable from an unrestricted `Bash`
|
|
44
|
+
* without copying the scope. Unique, in the order the config lists them,
|
|
45
|
+
* comma separated.
|
|
46
|
+
*
|
|
47
|
+
* @param {string|string[]|undefined} value Allow list
|
|
48
|
+
* @returns {string|undefined} Summary, or undefined when nothing is left
|
|
49
|
+
*/
|
|
50
|
+
export declare function summarizeAgentToolList(value: string | string[] | undefined): string | undefined;
|
|
51
|
+
//# sourceMappingURL=agentToolNames.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentToolNames.d.ts","sourceRoot":"","sources":["../../../lib/inventory/agentToolNames.js"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAyBH;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAHzB,MAAM,GAAC,MAAM,EAAE,GAAC,SAGS,GAFvB,MAAM,EAAE,CAyBpB;AAmBD;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAHxB,MAGwB,GAFtB,MAAM,GAAC,SAAS,CAiB5B;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,KAAK,EAHzB,MAAM,GAAC,MAAM,EAAE,GAAC,SAGS,GAFvB,MAAM,EAAE,CAMpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAHjC,MAAM,GAAC,MAAM,EAAE,GAAC,SAGiB,GAF/B,MAAM,GAAC,SAAS,CAW5B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiCollector.d.ts","sourceRoot":"","sources":["../../../lib/inventory/aiCollector.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aiCollector.d.ts","sourceRoot":"","sources":["../../../lib/inventory/aiCollector.js"],"names":[],"mappings":"AAslEA;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,aAAa,EAJvC,MAIuC,EAAE,OAAO,AAHxD,CACA,EADQ,MAGqD,GAFnD;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CA8YhF;AAED;;;;;;GAMG;AACH,wBAAgB,iCAAiC,CAAC,aAAa,EAJpD,MAIoD,EAAE,OAAO,AAHrE,CACA,EADQ,MAGkE,GAFhE;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAiMhF;AAED;;;;;;GAMG;AACH,wBAAgB,wBAAwB,CAAC,aAAa,EAJ3C,MAI2C,EAAE,OAAO,AAH5D,CACA,EADQ,MAGyD,GAFvD;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAQhF;AAED;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,aAAa,EAJ7C,MAI6C,EAAE,OAAO,AAH9D,CACA,EADQ,MAG2D,GAFzD;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAQhF;AAED;;;;;;GAMG;AACH,wBAAgB,8BAA8B,CAAC,aAAa,EAJjD,MAIiD,EAAE,OAAO,AAHlE,CACA,EADQ,MAG+D,GAF7D;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,QAAQ,EAAE,MAAM,EAAE,CAAA;CAAE,CAQhF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aiInventory.d.ts","sourceRoot":"","sources":["../../../lib/inventory/aiInventory.js"],"names":[],"mappings":"AAgBA,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,UAA4B,CAAC;AACpE;;;GAGG;AACH,eAAO,MAAM,yBAAyB,aAapC,CAAC;AACH,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAC/C,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"aiInventory.d.ts","sourceRoot":"","sources":["../../../lib/inventory/aiInventory.js"],"names":[],"mappings":"AAgBA,gFAAgF;AAChF,eAAO,MAAM,0BAA0B,UAA4B,CAAC;AACpE;;;GAGG;AACH,eAAO,MAAM,yBAAyB,aAapC,CAAC;AACH,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,eAAe,CAAC;AAC/C,iFAAiF;AACjF,eAAO,MAAM,oBAAoB,eAAe,CAAC;AA+EjD;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAJnC,MAImC,EAAE,I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M,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,cAAc,EAAE,MAAM,CAAC;IACvB,mBAAmB,EAAE,MAAM,CAAC;CAC7B,CA+BH"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Organisations that create AI models, keyed by the short creator id cdxgen
|
|
3
|
+
* uses internally. The value is the full organisation name written to the
|
|
4
|
+
* `manufacturer` of a model component, since the minimum elements guidance
|
|
5
|
+
* asks for full names rather than acronyms or product names.
|
|
6
|
+
*/
|
|
7
|
+
export declare const MODEL_CREATOR_NAMES: Map<string, string>;
|
|
8
|
+
/**
|
|
9
|
+
* Local runtimes and inference servers. They serve whatever tag or served
|
|
10
|
+
* model name the user chose, so a model they run names no creator.
|
|
11
|
+
*/
|
|
12
|
+
export declare const LOCAL_MODEL_RUNTIMES: Set<string>;
|
|
13
|
+
/**
|
|
14
|
+
* Split a model reference written in source code into the route provider it
|
|
15
|
+
* names, if any, and the model name a creator lookup should read.
|
|
16
|
+
*
|
|
17
|
+
* `groq/llama3-8b-8192` names the groq route and the model `llama3-8b-8192`.
|
|
18
|
+
* `models/gemini-1.5-flash`, `tunedModels/x` and
|
|
19
|
+
* `projects/p/locations/l/publishers/google/models/gemini-1.5-pro` are Google
|
|
20
|
+
* API resource names, and the model is the part after the last `models`
|
|
21
|
+
* segment. Neither form is a Hugging Face repository id.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} modelId Model reference as written in the source
|
|
24
|
+
* @returns {{ name: string, nonHub: boolean, route?: string, routeProvider?: string }}
|
|
25
|
+
* The model name, whether the reference is not a Hub repository id, and the
|
|
26
|
+
* route and its provider when one is named
|
|
27
|
+
*/
|
|
28
|
+
export declare function splitModelReference(modelId: string): {
|
|
29
|
+
name: string;
|
|
30
|
+
nonHub: boolean;
|
|
31
|
+
route?: string;
|
|
32
|
+
routeProvider?: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Name the creator of a model from its name alone, when only one creator
|
|
36
|
+
* publishes under that name.
|
|
37
|
+
*
|
|
38
|
+
* @param {string} modelName Model name without route or namespace
|
|
39
|
+
* @returns {string|undefined} Creator id
|
|
40
|
+
*/
|
|
41
|
+
export declare function modelCreatorFromName(modelName: string): string | undefined;
|
|
42
|
+
/**
|
|
43
|
+
* Resolve a creator spelling, such as a Hugging Face organisation or a
|
|
44
|
+
* GGUF general.organization value, to a known creator id.
|
|
45
|
+
*
|
|
46
|
+
* @param {string} name Organisation name or namespace
|
|
47
|
+
* @returns {string|undefined} Creator id, or undefined when unknown
|
|
48
|
+
*/
|
|
49
|
+
export declare function modelCreatorFromOrganization(name: string): string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* Pick the creator of a model that source code calls by name.
|
|
52
|
+
*
|
|
53
|
+
* The provider of such a model is the SDK, AI host or route the code uses,
|
|
54
|
+
* which names the client rather than the model: the openai SDK is the usual
|
|
55
|
+
* client for self-hosted Llama or DeepSeek servers, and a file may use
|
|
56
|
+
* several SDKs. So the creator is the one the model name names, when the
|
|
57
|
+
* provider is that creator, is a hosting or routing service, or the file
|
|
58
|
+
* also uses the creator's own SDK or host. A different creator's SDK leaves
|
|
59
|
+
* it unset. A model name that names no creator is credited only to a
|
|
60
|
+
* provider whose own API serves nothing but its own models. A local runtime
|
|
61
|
+
* serves whatever tag the user created, so it names no creator, and neither
|
|
62
|
+
* does a file that only uses a local runtime.
|
|
63
|
+
*
|
|
64
|
+
* @param {string} modelId Model reference as written in the source
|
|
65
|
+
* @param {{ provider?: string, fileProviders?: Iterable<string>, runtimes?: Iterable<string> }} [context]
|
|
66
|
+
* The provider the code declares through an SDK import, AI host or dosai
|
|
67
|
+
* report (never a guess from the model name), every provider the file
|
|
68
|
+
* references, and the runtimes it uses
|
|
69
|
+
* @returns {string|undefined} Creator id
|
|
70
|
+
*/
|
|
71
|
+
export declare function resolveModelCreator(modelId: string, context?: {
|
|
72
|
+
provider?: string;
|
|
73
|
+
fileProviders?: Iterable<string>;
|
|
74
|
+
runtimes?: Iterable<string>;
|
|
75
|
+
}): string | undefined;
|
|
76
|
+
/**
|
|
77
|
+
* Build the CycloneDX organisational entity for a creator id.
|
|
78
|
+
*
|
|
79
|
+
* @param {string} creator Creator id
|
|
80
|
+
* @returns {{ name: string }|undefined} Manufacturer entity
|
|
81
|
+
*/
|
|
82
|
+
export declare function modelCreatorEntity(creator: string): {
|
|
83
|
+
name: string;
|
|
84
|
+
} | undefined;
|
|
85
|
+
//# sourceMappingURL=aiProviders.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiProviders.d.ts","sourceRoot":"","sources":["../../../lib/inventory/aiProviders.js"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,qBAW9B,CAAC;AAmCH;;;GAGG;AACH,eAAO,MAAM,oBAAoB,aAY/B,CAAC;AAqHH;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EALhC,MAKgC,GAJ9B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,MAAM,CAAA;CAAE,CA4BrF;AAED;;;;;;GAMG;AACH,wBAAgB,oBAAoB,CAAC,SAAS,EAHnC,MAGmC,GAFjC,MAAM,GAAC,SAAS,CAY5B;AAED;;;;;;GAMG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAHtC,MAGsC,GAFpC,MAAM,GAAC,SAAS,CAI5B;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAPhC,MAOgC,EAAE,OAAO,AANjD,CAIA,EAJQ;IAAE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,aAAa,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAC;IAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,CAAA;CAMpC,GAF5C,MAAM,GAAC,SAAS,CAqC5B;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAH/B,MAG+B,GAF7B;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,GAAC,SAAS,CAKtC"}
|
|
@@ -49,6 +49,13 @@ export declare function splitAtomCommand(command: string): [string, string | und
|
|
|
49
49
|
* @returns {Set<string>} Supported keys
|
|
50
50
|
*/
|
|
51
51
|
export declare function atomFrontendArgKeys(language: string): Set<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The options the installed atom accepts, as `atom --help` lists them. Asked
|
|
54
|
+
* once per atom command. An atom that fails to start accepts none.
|
|
55
|
+
*
|
|
56
|
+
* @returns {Set<string>} Supported options, such as `--bom-file`
|
|
57
|
+
*/
|
|
58
|
+
export declare function atomOptions(): Set<string>;
|
|
52
59
|
/**
|
|
53
60
|
* The `--frontend-args` atom takes for a C/C++ language: the project's
|
|
54
61
|
* compilation database, when there is one and the installed atom reads it
|
|
@@ -61,6 +68,18 @@ export declare function atomFrontendArgKeys(language: string): Set<string>;
|
|
|
61
68
|
* @returns {string[]} Arguments to add to the atom command
|
|
62
69
|
*/
|
|
63
70
|
export declare function atomCompileCommandsArgs(src: string, language: string, options?: Object): string[];
|
|
71
|
+
/**
|
|
72
|
+
* The `--bom-file` a reachables slice takes package purls from: the BOM evinse
|
|
73
|
+
* annotates. atom would otherwise only find a BOM saved as `bom.json` inside
|
|
74
|
+
* the scanned directory, so a BOM written anywhere else gave every reachable
|
|
75
|
+
* flow no purl. An atom without `--bom-file` is given the arguments it has
|
|
76
|
+
* always been given, and still reads a `bom.json` in the scanned directory.
|
|
77
|
+
*
|
|
78
|
+
* @param {string} sliceType atom slice command
|
|
79
|
+
* @param {Object} options CLI options, for `input`
|
|
80
|
+
* @returns {string[]} Arguments to add to the atom command
|
|
81
|
+
*/
|
|
82
|
+
export declare function atomBomFileArgs(sliceType: string, options?: Object): string[];
|
|
64
83
|
/**
|
|
65
84
|
* The arguments that stop atom's Java frontend from running the scanned
|
|
66
85
|
* project's build. In its default delombok mode, atom runs
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"atomUtils.d.ts","sourceRoot":"","sources":["../../../lib/inventory/atomUtils.js"],"names":[],"mappings":"AAkEA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,aAM/B,CAAC;AA2CH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAJ5B,MAI4B,EAAE,OAAO,GAHrC,MAG0C,GAFxC,MAAM,GAAC,SAAS,CA6C5B;
|
|
1
|
+
{"version":3,"file":"atomUtils.d.ts","sourceRoot":"","sources":["../../../lib/inventory/atomUtils.js"],"names":[],"mappings":"AAkEA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,aAM/B,CAAC;AA2CH;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,mBAAmB,CAAC,GAAG,EAJ5B,MAI4B,EAAE,OAAO,GAHrC,MAG0C,GAFxC,MAAM,GAAC,SAAS,CA6C5B;AAKD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,gBAAgB,CAAC,OAAO,EAH7B,MAG6B,GAF3B,CAAC,MAAM,EAAE,MAAM,GAAC,SAAS,CAAC,CAwBtC;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAHjC,MAGiC,GAF/B,GAAG,CAAC,MAAM,CAAC,CAwCvB;AAED;;;;;GAKG;AACH,wBAAgB,WAAW,IAFd,GAAG,CAAC,MAAM,CAAC,CA+BvB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,uBAAuB,CAAC,GAAG,EALhC,MAKgC,EAAE,QAAQ,EAJ1C,MAI0C,EAAE,OAAO,GAHnD,MAGwD,GAFtD,MAAM,EAAE,CAiCpB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,eAAe,CAAC,SAAS,EAJ9B,MAI8B,EAAE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,CAAC,UAAU,EAHpC,MAGoC,GAFlC,MAAM,EAAE,CAwBpB;AAcD;;;;;GAKG;AACH,wBAAgB,0BAA0B,CAAC,UAAU,EAF1C,MAE0C,QAQpD;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAAC,UAAU,EAJ9B,MAI8B,EAAE,SAAS,EAHzC,MAGyC,GAFvC,GAAC,CAcb;AAED;;;;;;;;;GASG;AACH,wBAAgB,oBAAoB,CAAC,UAAU,EAHpC,MAGoC,GAFlC,MAAM,EAAE,GAAC,MAAM,GAAC,SAAS,CAwBrC;AAED;;;;;;;;;GASG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EARM,MAQN,EACH,QAAQ,EARC,MAQD,EACR,WAAW,GARF,MAQa,EACtB,UAAU,GARD,MAQa,EACtB,OAAO,GARE,MAQG,OA8Cb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bomUtils.d.ts","sourceRoot":"","sources":["../../../lib/inventory/bomUtils.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"bomUtils.d.ts","sourceRoot":"","sources":["../../../lib/inventory/bomUtils.js"],"names":[],"mappings":"AAGA;;;GAGG;AACH,eAAO,MAAM,wBAAwB,MAAM,CAAC;AA8C5C;;;GAGG;AACH,eAAO,MAAM,yCAAyC;;;;;;EAMpD,CAAC;AAEH;;;;;GAKG;AACH,eAAO,MAAM,YAAY,YAHd,MAAM,KACJ,OAOV,CAAC;AAgBJ;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,gBAH/B,MAAM,GAAC,MAAM,KACX,MAAM,GAAC,SAQnB,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,4BAA4B,gBAH9B,MAAM,GAAC,MAAM,KACX,MAAM,GAAC,SAWnB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B,gBAJ/B,MAAM,GAAC,MAAM,kB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ROBES, readBrotliDecoder } from "../core/brotliProbe.js";
|
|
2
|
+
export { MAX_BROTLI_PROBE_BYTES, MAX_BROTLI_PROBES, readBrotliDecoder };
|
|
3
|
+
/**
|
|
4
|
+
* The properties a file component carries once it has been probed: the fix
|
|
5
|
+
* state of each decoder found in it, or why it could not be read.
|
|
6
|
+
*
|
|
7
|
+
* @param {Object} decoder result of readBrotliDecoder
|
|
8
|
+
* @returns {{name: string, value: string}[]} properties to append
|
|
9
|
+
*/
|
|
10
|
+
export declare function brotliDecoderProperties(decoder: Object): {
|
|
11
|
+
name: string;
|
|
12
|
+
value: string;
|
|
13
|
+
}[];
|
|
14
|
+
/**
|
|
15
|
+
* The library component every embedded decoder links to. It has no version:
|
|
16
|
+
* no build records one, and only the per-file cdx:brotli:*:blockSwitchFix
|
|
17
|
+
* properties say whether a copy is vulnerable. The `vcs_url` qualifier names
|
|
18
|
+
* the project and keeps the identity apart from an unpackaged `brotli`
|
|
19
|
+
* executable, which is `pkg:generic/brotli`. The purl has no namespace: a
|
|
20
|
+
* `pkg:github` purl is typed as an application and `pkg:generic/google` as a
|
|
21
|
+
* framework when the BOM is assembled, and this is neither.
|
|
22
|
+
*
|
|
23
|
+
* @returns {Object} component with `purl` and `bom-ref`
|
|
24
|
+
*/
|
|
25
|
+
export declare function createBrotliComponent(): Object;
|
|
26
|
+
/**
|
|
27
|
+
* Start collecting the decoder copies of one scan.
|
|
28
|
+
*
|
|
29
|
+
* @returns {{component: Object|undefined, dependencies: Object[], copies: number, unpatched: number, unknown: number}}
|
|
30
|
+
*/
|
|
31
|
+
export declare function createBrotliInventory(): {
|
|
32
|
+
component: Object | undefined;
|
|
33
|
+
dependencies: Object[];
|
|
34
|
+
copies: number;
|
|
35
|
+
unpatched: number;
|
|
36
|
+
unknown: number;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Tag a probed file component and, when it holds a decoder, link it to the
|
|
40
|
+
* shared brotli component, creating that component on first use. Mutates the
|
|
41
|
+
* file component in place.
|
|
42
|
+
*
|
|
43
|
+
* @param {Object} inventory accumulator from createBrotliInventory
|
|
44
|
+
* @param {Object} fileComponent file component with a `properties` array
|
|
45
|
+
* @param {Object} decoder result of readBrotliDecoder
|
|
46
|
+
*/
|
|
47
|
+
export declare function attachBrotliDecoder(inventory: Object, fileComponent: Object, decoder: Object): void;
|
|
48
|
+
/**
|
|
49
|
+
* Finish an inventory: record the copy counts on the brotli component.
|
|
50
|
+
*
|
|
51
|
+
* @param {Object} inventory accumulator from createBrotliInventory
|
|
52
|
+
* @returns {{components: Object[], dependencies: Object[]}} what to add to the BOM
|
|
53
|
+
*/
|
|
54
|
+
export declare function finishBrotliInventory(inventory: Object): {
|
|
55
|
+
components: Object[];
|
|
56
|
+
dependencies: Object[];
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=brotliDecoder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brotliDecoder.d.ts","sourceRoot":"","sources":["../../../lib/inventory/brotliDecoder.js"],"names":[],"mappings":"AAIA,OAAO,EACL,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,wBAAwB,CAAC;AAGhC,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,CAAC;AAExE;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,OAAO,EAHpC,MAGoC,GAFlC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAC,EAAE,CAoB3C;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,qBAAqB,IAFxB,MAAM,CAiBlB;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAFxB;IAAC,SAAS,EAAE,MAAM,GAAC,SAAS,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAC,CAUrH;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,SAAS,EAJlC,MAIkC,EAAE,aAAa,EAHjD,MAGiD,EAAE,OAAO,EAF1D,MAE0D,QAyBpE;AAED;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,SAAS,EAHpC,MAGoC,GAFlC;IAAC,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,MAAM,EAAE,CAAA;CAAC,CAkB1D"}
|
|
@@ -30,6 +30,23 @@ export declare function collectDosaiCryptoComponents(src: string, options?: obje
|
|
|
30
30
|
/**
|
|
31
31
|
* Find crypto algorithm in the given code snippet
|
|
32
32
|
*
|
|
33
|
+
* cleanStr fuses the snippet's identifiers into one lowercase string
|
|
34
|
+
* (`prepare_for_save(iv` becomes `prepareforsaveiv`), so a plain substring
|
|
35
|
+
* test reads short algorithm names inside unrelated identifiers (`rsa` in
|
|
36
|
+
* `for_save`). A name therefore matches only where a cleanStr word begins:
|
|
37
|
+
* the snippet's start, right after any character cleanStr strips or keeps as
|
|
38
|
+
* a separator, or at a lowercase-to-uppercase change in the original text
|
|
39
|
+
* (`SHA256withRSA`, `HmacSHA256`, `PBKDF2WithHmacSHA256`,
|
|
40
|
+
* `generateRsaKeyPair`). Boundaries are computed from the original string
|
|
41
|
+
* before it is lowercased, so case changes survive the cleanStr fusion.
|
|
42
|
+
* Letter/digit changes do not start a word: they added no match on any
|
|
43
|
+
* reviewed form or corpus snippet, while splitting every digit-bearing
|
|
44
|
+
* identifier (`md5`, `base64`) into false word starts. Fused forms the names
|
|
45
|
+
* themselves are written in still match: `algorithms.AES(key)` and
|
|
46
|
+
* `AESGCM(key)` yield `aes`, `AES-256-GCM` yields `aes256-GCM`,
|
|
47
|
+
* `createHash("sha256")` yields `sha-256`. All-uppercase fused forms
|
|
48
|
+
* (`HMACSHA256`) still hide every name but the run's first.
|
|
49
|
+
*
|
|
33
50
|
* @param {string} code Code snippet
|
|
34
51
|
* @returns {Array} Arary of crypto algorithm objects with oid and description
|
|
35
52
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cbomutils.d.ts","sourceRoot":"","sources":["../../../lib/inventory/cbomutils.js"],"names":[],"mappings":"AAqBA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAHhC,MAGgC,EAAE,gBAAgB,KAAA,SAiC5D;AAiXD;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CAAC,GAAG,EAL5C,MAK4C,EAAE,OAAO,AAJ7D,CAEA,EADA;IAA0B,IAAI,AAA9B,CACA,EADQ,OAAO,CACf;CAEkE,GAFxD,OAAO,CAAC,MAAM,EAAE,CAAC,CAkD7B;AAED;;;;;;;;GAQG;AACH,wBAAsB,4BAA4B,CAAC,GAAG,EAJ3C,MAI2C,EAAE,OAAO,AAH5D,CACA,EADQ,MAGyD,GAFvD,OAAO,CAAC,MAAM,EAAE,CAAC,CAuG7B;AAED
|
|
1
|
+
{"version":3,"file":"cbomutils.d.ts","sourceRoot":"","sources":["../../../lib/inventory/cbomutils.js"],"names":[],"mappings":"AAqBA;;;;;GAKG;AACH,wBAAgB,mBAAmB,CAAC,OAAO,EAHhC,MAGgC,EAAE,gBAAgB,KAAA,SAiC5D;AAiXD;;;;;;;;GAQG;AACH,wBAAsB,6BAA6B,CAAC,GAAG,EAL5C,MAK4C,EAAE,OAAO,AAJ7D,CAEA,EADA;IAA0B,IAAI,AAA9B,CACA,EADQ,OAAO,CACf;CAEkE,GAFxD,OAAO,CAAC,MAAM,EAAE,CAAC,CAkD7B;AAED;;;;;;;;GAQG;AACH,wBAAsB,4BAA4B,CAAC,GAAG,EAJ3C,MAI2C,EAAE,OAAO,AAH5D,CACA,EADQ,MAGyD,GAFvD,OAAO,CAAC,MAAM,EAAE,CAAC,CAuG7B;AAED;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAHzB,MAGyB,SA6CnC"}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Maximum accepted lockfile size. `gh actions-lock` writes files that stay
|
|
3
|
+
* far below this; anything larger is treated as corrupt rather than parsed.
|
|
4
|
+
* @type {number}
|
|
5
|
+
*/
|
|
6
|
+
export declare const MAX_ACTIONS_LOCKFILE_BYTES: number;
|
|
7
|
+
export type ActionsLockDependency = {
|
|
8
|
+
/**
|
|
9
|
+
* Owner name, lower case.
|
|
10
|
+
*/
|
|
11
|
+
owner: string;
|
|
12
|
+
/**
|
|
13
|
+
* Repository name, lower case.
|
|
14
|
+
*/
|
|
15
|
+
repo: string;
|
|
16
|
+
/**
|
|
17
|
+
* Ref the commit was resolved from, with its case
|
|
18
|
+
* preserved. For a v0.0.1 entry this is the tag, else the branch. It can
|
|
19
|
+
* differ from the ref in the pin key: the key keeps the ref the workflow
|
|
20
|
+
* wrote (for example `v4`) while this field records the resolved one (for
|
|
21
|
+
* example `v4.3.1`).
|
|
22
|
+
*/
|
|
23
|
+
ref: string;
|
|
24
|
+
/**
|
|
25
|
+
* "sha1" or "sha256".
|
|
26
|
+
*/
|
|
27
|
+
hashAlgo: string;
|
|
28
|
+
/**
|
|
29
|
+
* Hex digest without the algorithm prefix.
|
|
30
|
+
*/
|
|
31
|
+
commit: string;
|
|
32
|
+
/**
|
|
33
|
+
* Numeric id of the action's owner.
|
|
34
|
+
*/
|
|
35
|
+
ownerId: number;
|
|
36
|
+
/**
|
|
37
|
+
* Numeric id of the action's repository.
|
|
38
|
+
*/
|
|
39
|
+
repoId: number;
|
|
40
|
+
/**
|
|
41
|
+
* Set only when the entry records one
|
|
42
|
+
* (v0.0.3); undefined means the home host.
|
|
43
|
+
*/
|
|
44
|
+
hostname: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* Normalised pin keys of the direct dependencies;
|
|
47
|
+
* empty for leaf actions.
|
|
48
|
+
*/
|
|
49
|
+
uses: string[];
|
|
50
|
+
};
|
|
51
|
+
export type ActionsLockfile = {
|
|
52
|
+
/**
|
|
53
|
+
* Version as written in the file; null for an
|
|
54
|
+
* empty result.
|
|
55
|
+
*/
|
|
56
|
+
version: string | null;
|
|
57
|
+
/**
|
|
58
|
+
* Set only when an older version
|
|
59
|
+
* was normalised.
|
|
60
|
+
*/
|
|
61
|
+
sourceVersion: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* Map of repository-relative
|
|
64
|
+
* workflow path (always with "/" separators) to its flat pin list.
|
|
65
|
+
*/
|
|
66
|
+
workflows: Record<string, string[]>;
|
|
67
|
+
/**
|
|
68
|
+
* Map of
|
|
69
|
+
* normalised pin key to the resolved entry.
|
|
70
|
+
*/
|
|
71
|
+
dependencies: Record<string, ActionsLockDependency>;
|
|
72
|
+
/**
|
|
73
|
+
* Human-readable problems found while reading.
|
|
74
|
+
*/
|
|
75
|
+
warnings: string[];
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Parse an actions lockfile from its text content.
|
|
79
|
+
*
|
|
80
|
+
* Every problem, including a file that cannot be parsed at all, is reported
|
|
81
|
+
* as a warning and collapses the result to the empty shape; the function
|
|
82
|
+
* never throws.
|
|
83
|
+
*
|
|
84
|
+
* @param {string} text Lockfile content
|
|
85
|
+
* @param {string} [filePath] Path the content came from, used in warnings
|
|
86
|
+
* @returns {ActionsLockfile} Parsed lockfile, or the empty shape
|
|
87
|
+
*/
|
|
88
|
+
export declare function parseActionsLockfileString(text: string, filePath?: string): ActionsLockfile;
|
|
89
|
+
/**
|
|
90
|
+
* Read and parse an actions lockfile such as
|
|
91
|
+
* `.github/workflows/actions.lock`.
|
|
92
|
+
*
|
|
93
|
+
* The file is size-checked before it is read, and every problem is reported
|
|
94
|
+
* as a warning and collapses the result to the empty shape; the function
|
|
95
|
+
* never throws.
|
|
96
|
+
*
|
|
97
|
+
* @param {string} filePath Path to the lockfile
|
|
98
|
+
* @returns {ActionsLockfile} Parsed lockfile, or the empty shape
|
|
99
|
+
*/
|
|
100
|
+
export declare function parseActionsLockfile(filePath: string): ActionsLockfile;
|
|
101
|
+
//# sourceMappingURL=githubActionsLock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"githubActionsLock.d.ts","sourceRoot":"","sources":["../../../../lib/inventory/ciParsers/githubActionsLock.js"],"names":[],"mappings":"AA2BA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,EAF7B,MAE2C,CAAC;AAyCnD,YAAkB,qBAAqB,GACvC;;;;IAAmB,KAAK,EAAb,MAAM,CACjB;;;;IAAmB,IAAI,EAAZ,MAAM,CACjB;;;;;;;;IAAmB,GAAG,EAAX,MAAM,CAKjB;;;;IAAmB,QAAQ,EAAhB,MAAM,CACjB;;;;IAAmB,MAAM,EAAd,MAAM,CACjB;;;;IAAmB,OAAO,EAAf,MAAM,CACjB;;;;IAAmB,MAAM,EAAd,MAAM,CACjB;;;;;IAA6B,QAAQ,EAA1B,MAAM,GAAC,SAAS,CAE3B;;;;;IAAqB,IAAI,EAAd,MAAM,EAAE,CAErB;CAAA,CAAA;AAKE,YAAkB,eAAe,GACjC;;;;;IAAwB,OAAO,EAApB,MAAM,GAAC,IAAI,CAEtB;;;;;IAA6B,aAAa,EAA/B,MAAM,GAAC,SAAS,CAE3B;;;;;IAAqC,SAAS,2BAE9C;;;;;IAAkD,YAAY,wCAE9D;;;;IAAqB,QAAQ,EAAlB,MAAM,EAAE,CACrB;CAAA,CAAA;AAyjBD;;;;;;;;;;GAUG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAJpC,MAIoC,EAAE,QAAQ,AAHtD,CACA,EADQ,MAG8C,GAF5C,eAAe,CA2F3B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,oBAAoB,CAAC,QAAQ,EAHlC,MAGkC,GAFhC,eAAe,CAoC3B"}
|
|
@@ -49,6 +49,11 @@ export declare function collectToolBomRefs(bomJson: Object): string[];
|
|
|
49
49
|
* Resolve the bom-ref of the cdxgen tool component, if present. This is the
|
|
50
50
|
* canonical attribution target for inventory that cdxgen collected itself.
|
|
51
51
|
*
|
|
52
|
+
* The tool component named "cdxgen" wins; a bare bom-ref (legacy array-style
|
|
53
|
+
* tools) counts when it is cdxgen's own npm purl. A helper whose bom-ref only
|
|
54
|
+
* mentions cdxgen, such as a cdxgen-plugins-bin tool like trustinspector, is
|
|
55
|
+
* never the cdxgen tool.
|
|
56
|
+
*
|
|
52
57
|
* @param {Object} bomJson CycloneDX BOM
|
|
53
58
|
* @returns {string|undefined} bom-ref of the cdxgen tool, or undefined
|
|
54
59
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"citations.d.ts","sourceRoot":"","sources":["../../../lib/inventory/citations.js"],"names":[],"mappings":"AAyBA;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,OAAO,EACP,MAAM,EACN,IAAI,EACJ,SAAS,GACV,GAlBE;IAAyB,QAAQ,AAAjC,CACA,EADQ,MAAM,EAAE,CAChB;IAAyB,WAAW,AAApC,CACA,EADQ,MAAM,EAAE,CAChB;IAAuB,YAAY,AAAnC,CACA,EADQ,MAAM,CACd;IAAuB,OAAO,AAA9B,CACA,EADQ,MAAM,CACd;IAAuB,MAAM,AAA7B,CACA,EADQ,MAAM,CACd;IAAuB,IAAI,AAA3B,CACA,EADQ,MAAM,CACd;IAAuB,SAAS,AAAhC,CAEA,EAFQ,MAAM,CAEd;CAUG,GAVO,MAAM,GAAC,IAAI,CA0CvB;AAmBD;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,QAAQ,GAJ5B,MAAM,EAI2B,EAAE,SAAS,GAH5C,MAAM,EAG2C,GAF/C,MAAM,EAAE,CAiBpB;AAED;;;;;;;GAOG;AACH,wBAAgB,kBAAkB,CAAC,OAAO,EAH/B,MAG+B,GAF7B,MAAM,EAAE,CAgBpB;
|
|
1
|
+
{"version":3,"file":"citations.d.ts","sourceRoot":"","sources":["../../../lib/inventory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ACd;CAEyD,GAF/C,MAAM,GAAC,IAAI,CAcvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"communityAiConfigParser.d.ts","sourceRoot":"","sources":["../../../lib/inventory/communityAiConfigParser.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"communityAiConfigParser.d.ts","sourceRoot":"","sources":["../../../lib/inventory/communityAiConfigParser.js"],"names":[],"mappings":"AA0rDA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,uBAAuB,EAL1B,MAoIT,CAAC"}
|