@socketsecurity/cli-with-sentry 1.0.85 → 1.0.87
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 +41 -52
- package/dist/cli.js +323 -327
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +20 -48
- package/dist/constants.js.map +1 -1
- package/dist/flags.js +5 -4
- package/dist/flags.js.map +1 -1
- package/dist/socket-completion.bash +0 -2
- package/dist/utils.js +122 -119
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +381 -381
- package/external/@coana-tech/cli/cli.mjs +25295 -30074
- package/external/@socketsecurity/registry/external/@npmcli/package-json/index.js +39 -1
- package/external/@socketsecurity/registry/external/browserslist.js +7 -1
- package/external/@socketsecurity/registry/external/libnpmpack.js +93488 -97365
- package/external/@socketsecurity/registry/external/make-fetch-happen.js +4689 -7729
- package/external/@socketsecurity/registry/external/pacote.js +51922 -72554
- package/external/@socketsecurity/registry/lib/constants/env.js +4 -4
- package/external/@socketsecurity/registry/lib/npm.js +2 -4
- package/external/@socketsecurity/registry/lib/path.js +17 -0
- package/package.json +13 -13
- package/dist/tsconfig.dts.tsbuildinfo +0 -1
- package/dist/types/cli.d.mts +0 -3
- package/dist/types/cli.d.mts.map +0 -1
- package/dist/types/commands/analytics/cmd-analytics.d.mts +0 -10
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +0 -8
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +0 -8
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/handle-analytics.d.mts +0 -9
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +0 -1
- package/dist/types/commands/analytics/output-analytics.d.mts +0 -28
- package/dist/types/commands/analytics/output-analytics.d.mts.map +0 -1
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +0 -10
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +0 -15
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +0 -9
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +0 -1
- package/dist/types/commands/audit-log/output-audit-log.d.mts +0 -22
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +0 -1
- package/dist/types/commands/ci/cmd-ci.d.mts +0 -10
- package/dist/types/commands/ci/cmd-ci.d.mts.map +0 -1
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +0 -4
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +0 -1
- package/dist/types/commands/ci/handle-ci.d.mts +0 -2
- package/dist/types/commands/ci/handle-ci.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-auto.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-get.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-list.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-set.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config-unset.d.mts +0 -10
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/cmd-config.d.mts +0 -3
- package/dist/types/commands/config/cmd-config.d.mts.map +0 -1
- package/dist/types/commands/config/discover-config-value.d.mts +0 -3
- package/dist/types/commands/config/discover-config-value.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-auto.d.mts +0 -7
- package/dist/types/commands/config/handle-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-get.d.mts +0 -7
- package/dist/types/commands/config/handle-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-set.d.mts +0 -8
- package/dist/types/commands/config/handle-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/handle-config-unset.d.mts +0 -7
- package/dist/types/commands/config/handle-config-unset.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-auto.d.mts +0 -4
- package/dist/types/commands/config/output-config-auto.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-get.d.mts +0 -4
- package/dist/types/commands/config/output-config-get.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-list.d.mts +0 -6
- package/dist/types/commands/config/output-config-list.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-set.d.mts +0 -3
- package/dist/types/commands/config/output-config-set.d.mts.map +0 -1
- package/dist/types/commands/config/output-config-unset.d.mts +0 -3
- package/dist/types/commands/config/output-config-unset.d.mts.map +0 -1
- package/dist/types/commands/fix/agent-fix.d.mts +0 -42
- package/dist/types/commands/fix/agent-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/cmd-fix.d.mts +0 -10
- package/dist/types/commands/fix/cmd-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/coana-fix.d.mts +0 -6
- package/dist/types/commands/fix/coana-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/fix-branch-helpers.d.mts +0 -4
- package/dist/types/commands/fix/fix-branch-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/fix-env-helpers.d.mts +0 -13
- package/dist/types/commands/fix/fix-env-helpers.d.mts.map +0 -1
- package/dist/types/commands/fix/get-actual-tree.d.mts +0 -3
- package/dist/types/commands/fix/get-actual-tree.d.mts.map +0 -1
- package/dist/types/commands/fix/handle-fix.d.mts +0 -11
- package/dist/types/commands/fix/handle-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/npm-fix.d.mts +0 -7
- package/dist/types/commands/fix/npm-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/output-fix-result.d.mts +0 -3
- package/dist/types/commands/fix/output-fix-result.d.mts.map +0 -1
- package/dist/types/commands/fix/pnpm-fix.d.mts +0 -7
- package/dist/types/commands/fix/pnpm-fix.d.mts.map +0 -1
- package/dist/types/commands/fix/pull-request.d.mts +0 -47
- package/dist/types/commands/fix/pull-request.d.mts.map +0 -1
- package/dist/types/commands/fix/shared.d.mts +0 -8
- package/dist/types/commands/fix/shared.d.mts.map +0 -1
- package/dist/types/commands/fix/socket-git.d.mts +0 -32
- package/dist/types/commands/fix/socket-git.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install-completion.d.mts +0 -10
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/cmd-install.d.mts +0 -3
- package/dist/types/commands/install/cmd-install.d.mts.map +0 -1
- package/dist/types/commands/install/handle-install-completion.d.mts +0 -2
- package/dist/types/commands/install/handle-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/output-install-completion.d.mts +0 -12
- package/dist/types/commands/install/output-install-completion.d.mts.map +0 -1
- package/dist/types/commands/install/setup-tab-completion.d.mts +0 -13
- package/dist/types/commands/install/setup-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/json/cmd-json.d.mts +0 -10
- package/dist/types/commands/json/cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/handle-cmd-json.d.mts +0 -2
- package/dist/types/commands/json/handle-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/json/output-cmd-json.d.mts +0 -2
- package/dist/types/commands/json/output-cmd-json.d.mts.map +0 -1
- package/dist/types/commands/login/apply-login.d.mts +0 -2
- package/dist/types/commands/login/apply-login.d.mts.map +0 -1
- package/dist/types/commands/login/attempt-login.d.mts +0 -6
- package/dist/types/commands/login/attempt-login.d.mts.map +0 -1
- package/dist/types/commands/login/cmd-login.d.mts +0 -10
- package/dist/types/commands/login/cmd-login.d.mts.map +0 -1
- package/dist/types/commands/logout/apply-logout.d.mts +0 -2
- package/dist/types/commands/logout/apply-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/attempt-logout.d.mts +0 -2
- package/dist/types/commands/logout/attempt-logout.d.mts.map +0 -1
- package/dist/types/commands/logout/cmd-logout.d.mts +0 -10
- package/dist/types/commands/logout/cmd-logout.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/cmd-manifest.d.mts +0 -10
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +0 -8
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +0 -7
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +0 -8
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +0 -1
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts +0 -13
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +0 -1
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +0 -9
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +0 -9
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +0 -1
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts +0 -2
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-manifest-setup.d.mts +0 -3
- package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +0 -1
- package/dist/types/commands/manifest/output-requirements.d.mts +0 -6
- package/dist/types/commands/manifest/output-requirements.d.mts.map +0 -1
- package/dist/types/commands/manifest/run-cdxgen.d.mts +0 -2
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +0 -1
- package/dist/types/commands/manifest/setup-manifest-config.d.mts +0 -3
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +0 -1
- package/dist/types/commands/npm/cmd-npm.d.mts +0 -10
- package/dist/types/commands/npm/cmd-npm.d.mts.map +0 -1
- package/dist/types/commands/npx/cmd-npx.d.mts +0 -10
- package/dist/types/commands/npx/cmd-npx.d.mts.map +0 -1
- package/dist/types/commands/oops/cmd-oops.d.mts +0 -10
- package/dist/types/commands/oops/cmd-oops.d.mts.map +0 -1
- package/dist/types/commands/optimize/add-overrides.d.mts +0 -20
- package/dist/types/commands/optimize/add-overrides.d.mts.map +0 -1
- package/dist/types/commands/optimize/apply-optimization.d.mts +0 -14
- package/dist/types/commands/optimize/apply-optimization.d.mts.map +0 -1
- package/dist/types/commands/optimize/cmd-optimize.d.mts +0 -10
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +0 -5
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +0 -3
- package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +0 -1
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +0 -42
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/handle-optimize.d.mts +0 -8
- package/dist/types/commands/optimize/handle-optimize.d.mts.map +0 -1
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +0 -8
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/ls-by-agent.d.mts +0 -13
- package/dist/types/commands/optimize/ls-by-agent.d.mts.map +0 -1
- package/dist/types/commands/optimize/output-optimize-result.d.mts +0 -9
- package/dist/types/commands/optimize/output-optimize-result.d.mts.map +0 -1
- package/dist/types/commands/optimize/shared.d.mts +0 -2
- package/dist/types/commands/optimize/shared.d.mts.map +0 -1
- package/dist/types/commands/optimize/types.d.mts +0 -9
- package/dist/types/commands/optimize/types.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-lockfile.d.mts +0 -11
- package/dist/types/commands/optimize/update-lockfile.d.mts.map +0 -1
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +0 -8
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-list.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +0 -3
- package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +0 -10
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/cmd-organization.d.mts +0 -3
- package/dist/types/commands/organization/cmd-organization.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-dependencies.d.mts +0 -12
- package/dist/types/commands/organization/fetch-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-license-policy.d.mts +0 -8
- package/dist/types/commands/organization/fetch-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-organization-list.d.mts +0 -8
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-quota.d.mts +0 -8
- package/dist/types/commands/organization/fetch-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/fetch-security-policy.d.mts +0 -8
- package/dist/types/commands/organization/fetch-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-dependencies.d.mts +0 -7
- package/dist/types/commands/organization/handle-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-license-policy.d.mts +0 -3
- package/dist/types/commands/organization/handle-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-organization-list.d.mts +0 -3
- package/dist/types/commands/organization/handle-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-quota.d.mts +0 -3
- package/dist/types/commands/organization/handle-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/handle-security-policy.d.mts +0 -3
- package/dist/types/commands/organization/handle-security-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-dependencies.d.mts +0 -8
- package/dist/types/commands/organization/output-dependencies.d.mts.map +0 -1
- package/dist/types/commands/organization/output-license-policy.d.mts +0 -4
- package/dist/types/commands/organization/output-license-policy.d.mts.map +0 -1
- package/dist/types/commands/organization/output-organization-list.d.mts +0 -4
- package/dist/types/commands/organization/output-organization-list.d.mts.map +0 -1
- package/dist/types/commands/organization/output-quota.d.mts +0 -4
- package/dist/types/commands/organization/output-quota.d.mts.map +0 -1
- package/dist/types/commands/organization/output-security-policy.d.mts +0 -4
- package/dist/types/commands/organization/output-security-policy.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-score.d.mts +0 -10
- package/dist/types/commands/package/cmd-package-score.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package-shallow.d.mts +0 -17
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +0 -1
- package/dist/types/commands/package/cmd-package.d.mts +0 -3
- package/dist/types/commands/package/cmd-package.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +0 -51
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +0 -8
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +0 -3
- package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +0 -6
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-deep-score.d.mts +0 -5
- package/dist/types/commands/package/output-purls-deep-score.d.mts.map +0 -1
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +0 -29
- package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +0 -1
- package/dist/types/commands/package/parse-package-specifiers.d.mts +0 -9
- package/dist/types/commands/package/parse-package-specifiers.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +0 -10
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +0 -2
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +0 -10
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +0 -2
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-create.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-create.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-del.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-del.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-list.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-list.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-update.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-update.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository-view.d.mts +0 -10
- package/dist/types/commands/repository/cmd-repository-view.d.mts.map +0 -1
- package/dist/types/commands/repository/cmd-repository.d.mts +0 -3
- package/dist/types/commands/repository/cmd-repository.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-create-repo.d.mts +0 -16
- package/dist/types/commands/repository/fetch-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-delete-repo.d.mts +0 -8
- package/dist/types/commands/repository/fetch-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts +0 -10
- package/dist/types/commands/repository/fetch-list-all-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-list-repos.d.mts +0 -15
- package/dist/types/commands/repository/fetch-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-update-repo.d.mts +0 -16
- package/dist/types/commands/repository/fetch-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/fetch-view-repo.d.mts +0 -8
- package/dist/types/commands/repository/fetch-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-create-repo.d.mts +0 -10
- package/dist/types/commands/repository/handle-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-delete-repo.d.mts +0 -3
- package/dist/types/commands/repository/handle-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-list-repos.d.mts +0 -11
- package/dist/types/commands/repository/handle-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-update-repo.d.mts +0 -10
- package/dist/types/commands/repository/handle-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/handle-view-repo.d.mts +0 -3
- package/dist/types/commands/repository/handle-view-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-create-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-create-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-delete-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-delete-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-list-repos.d.mts +0 -4
- package/dist/types/commands/repository/output-list-repos.d.mts.map +0 -1
- package/dist/types/commands/repository/output-update-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-update-repo.d.mts.map +0 -1
- package/dist/types/commands/repository/output-view-repo.d.mts +0 -4
- package/dist/types/commands/repository/output-view-repo.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-create.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-del.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-github.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-list.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-report.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +0 -10
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan-view.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/cmd-scan.d.mts +0 -3
- package/dist/types/commands/scan/cmd-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/create-scan-from-github.d.mts +0 -12
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +0 -20
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +0 -8
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +0 -8
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-list-scans.d.mts +0 -18
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-report-data.d.mts +0 -17
- package/dist/types/commands/scan/fetch-report-data.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +0 -8
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-scan.d.mts +0 -4
- package/dist/types/commands/scan/fetch-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +0 -8
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +0 -1
- package/dist/types/commands/scan/generate-report.d.mts +0 -43
- package/dist/types/commands/scan/generate-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-github-scan.d.mts +0 -12
- package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +0 -21
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-delete-scan.d.mts +0 -3
- package/dist/types/commands/scan/handle-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-diff-scan.d.mts +0 -10
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-list-scans.d.mts +0 -13
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-config.d.mts +0 -2
- package/dist/types/commands/scan/handle-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +0 -3
- package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-reach.d.mts +0 -8
- package/dist/types/commands/scan/handle-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-report.d.mts +0 -12
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/handle-scan-view.d.mts +0 -3
- package/dist/types/commands/scan/handle-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/output-create-new-scan.d.mts +0 -4
- package/dist/types/commands/scan/output-create-new-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-delete-scan.d.mts +0 -4
- package/dist/types/commands/scan/output-delete-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-diff-scan.d.mts +0 -8
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/output-list-scans.d.mts +0 -4
- package/dist/types/commands/scan/output-list-scans.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-config-result.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-config-result.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-github.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-github.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-metadata.d.mts +0 -4
- package/dist/types/commands/scan/output-scan-metadata.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-reach.d.mts +0 -3
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-report.d.mts +0 -20
- package/dist/types/commands/scan/output-scan-report.d.mts.map +0 -1
- package/dist/types/commands/scan/output-scan-view.d.mts +0 -4
- package/dist/types/commands/scan/output-scan-view.d.mts.map +0 -1
- package/dist/types/commands/scan/setup-scan-config.d.mts +0 -3
- package/dist/types/commands/scan/setup-scan-config.d.mts.map +0 -1
- package/dist/types/commands/scan/stream-scan.d.mts +0 -7
- package/dist/types/commands/scan/stream-scan.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-org-slug.d.mts +0 -2
- package/dist/types/commands/scan/suggest-org-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-repo-slug.d.mts +0 -9
- package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts +0 -2
- package/dist/types/commands/scan/suggest-to-persist-orgslug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +0 -2
- package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +0 -1
- package/dist/types/commands/scan/suggest_target.d.mts +0 -2
- package/dist/types/commands/scan/suggest_target.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +0 -10
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +0 -13
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +0 -13
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +0 -4
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +0 -1
- package/dist/types/commands/threat-feed/types.d.mts +0 -15
- package/dist/types/commands/threat-feed/types.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +0 -9
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts +0 -3
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +0 -1
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +0 -2
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +0 -6
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +0 -1
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +0 -6
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +0 -1
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +0 -2
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +0 -1
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +0 -10
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +0 -1
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +0 -2
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +0 -1
- package/dist/types/constants.d.mts +0 -149
- package/dist/types/constants.d.mts.map +0 -1
- package/dist/types/flags.d.mts +0 -17
- package/dist/types/flags.d.mts.map +0 -1
- package/dist/types/instrument-with-sentry.d.mts +0 -2
- package/dist/types/instrument-with-sentry.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/index.d.mts +0 -8
- package/dist/types/shadow/npm/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +0 -35
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist/types.d.mts +0 -123
- package/dist/types/shadow/npm/arborist/types.d.mts.map +0 -1
- package/dist/types/shadow/npm/arborist-helpers.d.mts +0 -39
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +0 -1
- package/dist/types/shadow/npm/bin.d.mts +0 -2
- package/dist/types/shadow/npm/bin.d.mts.map +0 -1
- package/dist/types/shadow/npm/inject.d.mts +0 -2
- package/dist/types/shadow/npm/inject.d.mts.map +0 -1
- package/dist/types/shadow/npm/install.d.mts +0 -13
- package/dist/types/shadow/npm/install.d.mts.map +0 -1
- package/dist/types/shadow/npm/link.d.mts +0 -2
- package/dist/types/shadow/npm/link.d.mts.map +0 -1
- package/dist/types/shadow/npm/paths.d.mts +0 -7
- package/dist/types/shadow/npm/paths.d.mts.map +0 -1
- package/dist/types/types.d.mts +0 -29
- package/dist/types/types.d.mts.map +0 -1
- package/dist/types/utils/agent.d.mts +0 -12
- package/dist/types/utils/agent.d.mts.map +0 -1
- package/dist/types/utils/alert/artifact.d.mts +0 -35
- package/dist/types/utils/alert/artifact.d.mts.map +0 -1
- package/dist/types/utils/alert/fix.d.mts +0 -6
- package/dist/types/utils/alert/fix.d.mts.map +0 -1
- package/dist/types/utils/alert/severity.d.mts +0 -14
- package/dist/types/utils/alert/severity.d.mts.map +0 -1
- package/dist/types/utils/alerts-map.d.mts +0 -24
- package/dist/types/utils/alerts-map.d.mts.map +0 -1
- package/dist/types/utils/api.d.mts +0 -18
- package/dist/types/utils/api.d.mts.map +0 -1
- package/dist/types/utils/check-input.d.mts +0 -9
- package/dist/types/utils/check-input.d.mts.map +0 -1
- package/dist/types/utils/cmd.d.mts +0 -5
- package/dist/types/utils/cmd.d.mts.map +0 -1
- package/dist/types/utils/coana.d.mts +0 -4
- package/dist/types/utils/coana.d.mts.map +0 -1
- package/dist/types/utils/color-or-markdown.d.mts +0 -16
- package/dist/types/utils/color-or-markdown.d.mts.map +0 -1
- package/dist/types/utils/completion.d.mts +0 -11
- package/dist/types/utils/completion.d.mts.map +0 -1
- package/dist/types/utils/config.d.mts +0 -32
- package/dist/types/utils/config.d.mts.map +0 -1
- package/dist/types/utils/determine-org-slug.d.mts +0 -2
- package/dist/types/utils/determine-org-slug.d.mts.map +0 -1
- package/dist/types/utils/errors.d.mts +0 -14
- package/dist/types/utils/errors.d.mts.map +0 -1
- package/dist/types/utils/fail-msg-with-badge.d.mts +0 -2
- package/dist/types/utils/fail-msg-with-badge.d.mts.map +0 -1
- package/dist/types/utils/fs.d.mts +0 -9
- package/dist/types/utils/fs.d.mts.map +0 -1
- package/dist/types/utils/get-output-kind.d.mts +0 -3
- package/dist/types/utils/get-output-kind.d.mts.map +0 -1
- package/dist/types/utils/git.d.mts +0 -29
- package/dist/types/utils/git.d.mts.map +0 -1
- package/dist/types/utils/glob.d.mts +0 -16
- package/dist/types/utils/glob.d.mts.map +0 -1
- package/dist/types/utils/lockfile.d.mts +0 -2
- package/dist/types/utils/lockfile.d.mts.map +0 -1
- package/dist/types/utils/map-to-object.d.mts +0 -10
- package/dist/types/utils/map-to-object.d.mts.map +0 -1
- package/dist/types/utils/markdown.d.mts +0 -10
- package/dist/types/utils/markdown.d.mts.map +0 -1
- package/dist/types/utils/meow-with-subcommands.d.mts +0 -47
- package/dist/types/utils/meow-with-subcommands.d.mts.map +0 -1
- package/dist/types/utils/ms-at-home.d.mts +0 -2
- package/dist/types/utils/ms-at-home.d.mts.map +0 -1
- package/dist/types/utils/npm-config.d.mts +0 -14
- package/dist/types/utils/npm-config.d.mts.map +0 -1
- package/dist/types/utils/npm-package-arg.d.mts +0 -4
- package/dist/types/utils/npm-package-arg.d.mts.map +0 -1
- package/dist/types/utils/npm-paths.d.mts +0 -7
- package/dist/types/utils/npm-paths.d.mts.map +0 -1
- package/dist/types/utils/objects.d.mts +0 -3
- package/dist/types/utils/objects.d.mts.map +0 -1
- package/dist/types/utils/output-formatting.d.mts +0 -16
- package/dist/types/utils/output-formatting.d.mts.map +0 -1
- package/dist/types/utils/package-environment.d.mts +0 -57
- package/dist/types/utils/package-environment.d.mts.map +0 -1
- package/dist/types/utils/path-resolve.d.mts +0 -14
- package/dist/types/utils/path-resolve.d.mts.map +0 -1
- package/dist/types/utils/pnpm.d.mts +0 -11
- package/dist/types/utils/pnpm.d.mts.map +0 -1
- package/dist/types/utils/purl.d.mts +0 -15
- package/dist/types/utils/purl.d.mts.map +0 -1
- package/dist/types/utils/sdk.d.mts +0 -13
- package/dist/types/utils/sdk.d.mts.map +0 -1
- package/dist/types/utils/semver.d.mts +0 -8
- package/dist/types/utils/semver.d.mts.map +0 -1
- package/dist/types/utils/serialize-result-json.d.mts +0 -5
- package/dist/types/utils/serialize-result-json.d.mts.map +0 -1
- package/dist/types/utils/socket-package-alert.d.mts +0 -77
- package/dist/types/utils/socket-package-alert.d.mts.map +0 -1
- package/dist/types/utils/socket-url.d.mts +0 -7
- package/dist/types/utils/socket-url.d.mts.map +0 -1
- package/dist/types/utils/socketjson.d.mts +0 -56
- package/dist/types/utils/socketjson.d.mts.map +0 -1
- package/dist/types/utils/spec.d.mts +0 -5
- package/dist/types/utils/spec.d.mts.map +0 -1
- package/dist/types/utils/strings.d.mts +0 -2
- package/dist/types/utils/strings.d.mts.map +0 -1
- package/dist/types/utils/tildify.d.mts +0 -4
- package/dist/types/utils/tildify.d.mts.map +0 -1
- package/dist/types/utils/translations.d.mts +0 -593
- package/dist/types/utils/translations.d.mts.map +0 -1
- package/dist/types/utils/walk-nested-map.d.mts +0 -7
- package/dist/types/utils/walk-nested-map.d.mts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-metadata.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-metadata.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AAwC9C,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const cmdScanReach: {
|
|
2
|
-
description: string;
|
|
3
|
-
hidden: boolean;
|
|
4
|
-
run: typeof run;
|
|
5
|
-
};
|
|
6
|
-
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
-
parentName: string;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=cmd-scan-reach.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-reach.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-reach.mts"],"names":[],"mappings":"AAqCA,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAkCf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-report.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AAsF9C,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAA"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const cmdScanSetup: {
|
|
2
|
-
description: string;
|
|
3
|
-
hidden: boolean;
|
|
4
|
-
run: typeof run;
|
|
5
|
-
};
|
|
6
|
-
declare function run(argv: string[] | readonly string[], importMeta: ImportMeta, { parentName }: {
|
|
7
|
-
parentName: string;
|
|
8
|
-
}): Promise<void>;
|
|
9
|
-
export {};
|
|
10
|
-
//# sourceMappingURL=cmd-scan-setup.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-setup.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-setup.mts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,YAAY;;;;CAIxB,CAAA;AAED,iBAAe,GAAG,CAChB,IAAI,EAAE,MAAM,EAAE,GAAG,SAAS,MAAM,EAAE,EAClC,UAAU,EAAE,UAAU,EACtB,EAAE,UAAU,EAAE,EAAE;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACrC,OAAO,CAAC,IAAI,CAAC,CAmBf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-view.mts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AAgD9C,eAAO,MAAM,WAAW,EAAE,aAIzB,CAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cmd-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,OAAO,EAAE,aAoCrB,CAAA"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function createScanFromGithub({ all, githubApiUrl, githubToken, interactive, orgGithub, orgSlug, outputKind, repos }: {
|
|
3
|
-
all: boolean;
|
|
4
|
-
githubApiUrl: string;
|
|
5
|
-
githubToken: string;
|
|
6
|
-
interactive: boolean;
|
|
7
|
-
orgSlug: string;
|
|
8
|
-
orgGithub: string;
|
|
9
|
-
outputKind: OutputKind;
|
|
10
|
-
repos: string;
|
|
11
|
-
}): Promise<CResult<undefined>>;
|
|
12
|
-
//# sourceMappingURL=create-scan-from-github.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"create-scan-from-github.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/create-scan-from-github.mts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,oBAAoB,CAAC,EACzC,GAAG,EACH,YAAY,EACZ,WAAW,EACX,WAAW,EACX,SAAS,EACT,OAAO,EACP,UAAU,EACV,KAAK,EACN,EAAE;IACD,GAAG,EAAE,OAAO,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd,GAAG,OAAO,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,CA4E9B"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
3
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
4
|
-
export type FetchCreateOrgFullScanConfigs = {
|
|
5
|
-
branchName: string;
|
|
6
|
-
commitHash: string;
|
|
7
|
-
commitMessage: string;
|
|
8
|
-
committers: string;
|
|
9
|
-
pullRequest: number;
|
|
10
|
-
repoName: string;
|
|
11
|
-
};
|
|
12
|
-
export type FetchCreateOrgFullScanOptions = {
|
|
13
|
-
cwd?: string | undefined;
|
|
14
|
-
defaultBranch?: boolean | undefined;
|
|
15
|
-
pendingHead?: boolean | undefined;
|
|
16
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
17
|
-
tmp?: boolean | undefined;
|
|
18
|
-
};
|
|
19
|
-
export declare function fetchCreateOrgFullScan(packagePaths: string[], orgSlug: string, config: FetchCreateOrgFullScanConfigs, options?: FetchCreateOrgFullScanOptions): Promise<CResult<SocketSdkSuccessResult<'CreateOrgFullScan'>['data']>>;
|
|
20
|
-
//# sourceMappingURL=fetch-create-org-full-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-create-org-full-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-create-org-full-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;CACjB,CAAA;AAED,MAAM,MAAM,6BAA6B,GAAG;IAC1C,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,aAAa,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,WAAW,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACjC,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;IACxC,GAAG,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC1B,CAAA;AAED,wBAAsB,sBAAsB,CAC1C,YAAY,EAAE,MAAM,EAAE,EACtB,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,6BAA6B,EACrC,OAAO,CAAC,EAAE,6BAA6B,GACtC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAsCvE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
3
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
4
|
-
export type FetchDeleteOrgFullScanOptions = {
|
|
5
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
6
|
-
};
|
|
7
|
-
export declare function fetchDeleteOrgFullScan(orgSlug: string, scanId: string, options?: FetchDeleteOrgFullScanOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'deleteOrgFullScan'>['data']>>;
|
|
8
|
-
//# sourceMappingURL=fetch-delete-org-full-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-delete-org-full-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-delete-org-full-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,6BAA6B,GAAG;IAC1C,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,6BAA6B,GAAG,SAAS,GAClD,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAevE"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
3
|
-
export declare function fetchDiffScan({ id1, id2, orgSlug }: {
|
|
4
|
-
id1: string;
|
|
5
|
-
id2: string;
|
|
6
|
-
orgSlug: string;
|
|
7
|
-
}): Promise<CResult<SocketSdkSuccessResult<'GetOrgDiffScan'>['data']>>;
|
|
8
|
-
//# sourceMappingURL=fetch-diff-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-diff-scan.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,wBAAsB,aAAa,CAAC,EAClC,GAAG,EACH,GAAG,EACH,OAAO,EACR,EAAE;IACD,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWrE"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
3
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
4
|
-
export type FetchOrgFullScanListConfig = {
|
|
5
|
-
branch: string;
|
|
6
|
-
direction: string;
|
|
7
|
-
from_time: string;
|
|
8
|
-
orgSlug: string;
|
|
9
|
-
page: number;
|
|
10
|
-
perPage: number;
|
|
11
|
-
repo: string;
|
|
12
|
-
sort: string;
|
|
13
|
-
};
|
|
14
|
-
export type FetchOrgFullScanListOptions = {
|
|
15
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
16
|
-
};
|
|
17
|
-
export declare function fetchOrgFullScanList(config: FetchOrgFullScanListConfig, options?: FetchOrgFullScanListOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'getOrgFullScanList'>['data']>>;
|
|
18
|
-
//# sourceMappingURL=fetch-list-scans.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-list-scans.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-list-scans.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,0BAA0B,GAAG;IACvC,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAAA;AAED,MAAM,MAAM,2BAA2B,GAAG;IACxC,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,wBAAsB,oBAAoB,CACxC,MAAM,EAAE,0BAA0B,EAClC,OAAO,CAAC,EAAE,2BAA2B,GAAG,SAAS,GAChD,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CA6BxE"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SocketArtifact } from '../../utils/alert/artifact.mts';
|
|
3
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
4
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
5
|
-
export type FetchScanData = {
|
|
6
|
-
includeLicensePolicy?: boolean | undefined;
|
|
7
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
8
|
-
};
|
|
9
|
-
/**
|
|
10
|
-
* This fetches all the relevant pieces of data to generate a report, given a
|
|
11
|
-
* full scan ID.
|
|
12
|
-
*/
|
|
13
|
-
export declare function fetchScanData(orgSlug: string, scanId: string, options?: FetchScanData | undefined): Promise<CResult<{
|
|
14
|
-
scan: SocketArtifact[];
|
|
15
|
-
securityPolicy: SocketSdkSuccessResult<'getOrgSecurityPolicy'>['data'];
|
|
16
|
-
}>>;
|
|
17
|
-
//# sourceMappingURL=fetch-report-data.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-report-data.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-report-data.mts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,aAAa,GAAG;IAC1B,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC1C,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED;;;GAGG;AACH,wBAAsB,aAAa,CACjC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,aAAa,GAAG,SAAS,GAClC,OAAO,CACR,OAAO,CAAC;IACN,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,cAAc,EAAE,sBAAsB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACvE,CAAC,CACH,CAiJA"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
3
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
4
|
-
export type FetchScanMetadataOptions = {
|
|
5
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
6
|
-
};
|
|
7
|
-
export declare function fetchScanMetadata(orgSlug: string, scanId: string, options?: FetchScanMetadataOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'getOrgFullScanMetadata'>['data']>>;
|
|
8
|
-
//# sourceMappingURL=fetch-scan-metadata.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-scan-metadata.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-scan-metadata.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,wBAAwB,GAAG;IACrC,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,wBAAwB,GAAG,SAAS,GAC7C,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAe5E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-scan.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE,wBAAsB,SAAS,CAC7B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC,CAoCpC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
3
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
4
|
-
export type FetchSupportedScanFileNamesOptions = {
|
|
5
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
6
|
-
};
|
|
7
|
-
export declare function fetchSupportedScanFileNames(options?: FetchSupportedScanFileNamesOptions | undefined): Promise<CResult<SocketSdkSuccessResult<'getReportSupportedFiles'>['data']>>;
|
|
8
|
-
//# sourceMappingURL=fetch-supported-scan-file-names.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-supported-scan-file-names.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/fetch-supported-scan-file-names.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,MAAM,MAAM,kCAAkC,GAAG;IAC/C,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,wBAAsB,2BAA2B,CAC/C,OAAO,CAAC,EAAE,kCAAkC,GAAG,SAAS,GACvD,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAe7E"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import type { CResult } from '../../types.mts';
|
|
2
|
-
import type { SocketArtifact } from '../../utils/alert/artifact.mts';
|
|
3
|
-
import type { Spinner } from '@socketsecurity/registry/lib/spinner';
|
|
4
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
5
|
-
type AlertKey = string;
|
|
6
|
-
type FileMap = Map<string, ReportLeafNode | Map<AlertKey, ReportLeafNode>>;
|
|
7
|
-
type VersionMap = Map<string, ReportLeafNode | FileMap>;
|
|
8
|
-
type PackageMap = Map<string, ReportLeafNode | VersionMap>;
|
|
9
|
-
type EcoMap = Map<string, ReportLeafNode | PackageMap>;
|
|
10
|
-
export type ViolationsMap = Map<string, EcoMap>;
|
|
11
|
-
export interface ShortScanReport {
|
|
12
|
-
healthy: boolean;
|
|
13
|
-
}
|
|
14
|
-
export interface ScanReport {
|
|
15
|
-
orgSlug: string;
|
|
16
|
-
scanId: string;
|
|
17
|
-
options: {
|
|
18
|
-
fold: string;
|
|
19
|
-
reportLevel: string;
|
|
20
|
-
};
|
|
21
|
-
healthy: boolean;
|
|
22
|
-
alerts: ViolationsMap;
|
|
23
|
-
}
|
|
24
|
-
export type ReportLeafNode = {
|
|
25
|
-
type: string;
|
|
26
|
-
policy: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error';
|
|
27
|
-
url: string;
|
|
28
|
-
manifest: string[];
|
|
29
|
-
};
|
|
30
|
-
// Note: The returned cresult will only be ok:false when the generation
|
|
31
|
-
// failed. It won't reflect the healthy state.
|
|
32
|
-
export declare function generateReport(scan: SocketArtifact[], securityPolicy: SocketSdkSuccessResult<'getOrgSecurityPolicy'>['data'], { fold, orgSlug, reportLevel, scanId, short, spinner }: {
|
|
33
|
-
fold: 'pkg' | 'version' | 'file' | 'none';
|
|
34
|
-
orgSlug: string;
|
|
35
|
-
reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error';
|
|
36
|
-
scanId: string;
|
|
37
|
-
short?: boolean | undefined;
|
|
38
|
-
spinner?: Spinner | undefined;
|
|
39
|
-
}): CResult<ScanReport | {
|
|
40
|
-
healthy: boolean;
|
|
41
|
-
}>;
|
|
42
|
-
export {};
|
|
43
|
-
//# sourceMappingURL=generate-report.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/generate-report.mts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAA;AACnE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAGjE,KAAK,QAAQ,GAAG,MAAM,CAAA;AAEtB,KAAK,OAAO,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,GAAG,CAAC,QAAQ,EAAE,cAAc,CAAC,CAAC,CAAA;AAC1E,KAAK,UAAU,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,CAAA;AACvD,KAAK,UAAU,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,UAAU,CAAC,CAAA;AAC1D,KAAK,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,cAAc,GAAG,UAAU,CAAC,CAAA;AACtD,MAAM,MAAM,aAAa,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;AAE/C,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,OAAO,CAAA;CACjB;AACD,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,OAAO,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,EAAE,MAAM,CAAA;KAAE,CAAA;IAC9C,OAAO,EAAE,OAAO,CAAA;IAChB,MAAM,EAAE,aAAa,CAAA;CACtB;AAED,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAA;IACZ,MAAM,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IACzD,GAAG,EAAE,MAAM,CAAA;IACX,QAAQ,EAAE,MAAM,EAAE,CAAA;CACnB,CAAA;AAED,uEAAuE;AACvE,oDAAoD;AACpD,wBAAgB,cAAc,CAC5B,IAAI,EAAE,cAAc,EAAE,EACtB,cAAc,EAAE,sBAAsB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,EACtE,EACE,IAAI,EACJ,OAAO,EACP,WAAW,EACX,MAAM,EACN,KAAK,EACL,OAAO,EACR,EAAE;IACD,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,MAAM,EAAE,MAAM,CAAA;IACd,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IAC3B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9B,GACA,OAAO,CAAC,UAAU,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAgL5C"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleCreateGithubScan({ all, githubApiUrl, githubToken, interactive, orgGithub, orgSlug, outputKind, repos }: {
|
|
3
|
-
all: boolean;
|
|
4
|
-
githubApiUrl: string;
|
|
5
|
-
githubToken: string;
|
|
6
|
-
interactive: boolean;
|
|
7
|
-
orgSlug: string;
|
|
8
|
-
orgGithub: string;
|
|
9
|
-
outputKind: OutputKind;
|
|
10
|
-
repos: string;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
//# sourceMappingURL=handle-create-github-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-create-github-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-github-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,sBAAsB,CAAC,EAC3C,GAAG,EACH,YAAY,EACZ,WAAW,EACX,WAAW,EACX,SAAS,EACT,OAAO,EACP,UAAU,EACV,KAAK,EACN,EAAE;IACD,GAAG,EAAE,OAAO,CAAA;IACZ,YAAY,EAAE,MAAM,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,SAAS,EAAE,MAAM,CAAA;IACjB,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,CAAA;CACd,iBAaA"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleCreateNewScan({ autoManifest, branchName, commitHash, commitMessage, committers, cwd, defaultBranch, interactive, orgSlug, outputKind, pendingHead, pullRequest, readOnly, repoName, report, targets, tmp }: {
|
|
3
|
-
autoManifest: boolean;
|
|
4
|
-
branchName: string;
|
|
5
|
-
commitHash: string;
|
|
6
|
-
commitMessage: string;
|
|
7
|
-
committers: string;
|
|
8
|
-
cwd: string;
|
|
9
|
-
defaultBranch: boolean;
|
|
10
|
-
interactive: boolean;
|
|
11
|
-
orgSlug: string;
|
|
12
|
-
pendingHead: boolean;
|
|
13
|
-
pullRequest: number;
|
|
14
|
-
outputKind: OutputKind;
|
|
15
|
-
readOnly: boolean;
|
|
16
|
-
repoName: string;
|
|
17
|
-
report: boolean;
|
|
18
|
-
targets: string[];
|
|
19
|
-
tmp: boolean;
|
|
20
|
-
}): Promise<void>;
|
|
21
|
-
//# sourceMappingURL=handle-create-new-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-new-scan.mts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,mBAAmB,CAAC,EACxC,YAAY,EACZ,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,GAAG,EACH,aAAa,EACb,WAAW,EACX,OAAO,EACP,UAAU,EACV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,OAAO,EACP,GAAG,EACJ,EAAE;IACD,YAAY,EAAE,OAAO,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAAA;IAClB,aAAa,EAAE,MAAM,CAAA;IACrB,UAAU,EAAE,MAAM,CAAA;IAClB,GAAG,EAAE,MAAM,CAAA;IACX,aAAa,EAAE,OAAO,CAAA;IACtB,WAAW,EAAE,OAAO,CAAA;IACpB,OAAO,EAAE,MAAM,CAAA;IACf,WAAW,EAAE,OAAO,CAAA;IACpB,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,OAAO,CAAA;IACf,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,GAAG,EAAE,OAAO,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CAqGhB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-delete-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-delete-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleDiffScan({ depth, file, id1, id2, orgSlug, outputKind }: {
|
|
3
|
-
depth: number;
|
|
4
|
-
file: string;
|
|
5
|
-
id1: string;
|
|
6
|
-
id2: string;
|
|
7
|
-
orgSlug: string;
|
|
8
|
-
outputKind: OutputKind;
|
|
9
|
-
}): Promise<void>;
|
|
10
|
-
//# sourceMappingURL=handle-diff-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-diff-scan.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAAC,EACnC,KAAK,EACL,IAAI,EACJ,GAAG,EACH,GAAG,EACH,OAAO,EACP,UAAU,EACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;CACvB,GAAG,OAAO,CAAC,IAAI,CAAC,CAYhB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleListScans({ branch, direction, from_time, orgSlug, outputKind, page, perPage, repo, sort }: {
|
|
3
|
-
branch: string;
|
|
4
|
-
direction: string;
|
|
5
|
-
from_time: string;
|
|
6
|
-
orgSlug: string;
|
|
7
|
-
outputKind: OutputKind;
|
|
8
|
-
page: number;
|
|
9
|
-
perPage: number;
|
|
10
|
-
repo: string;
|
|
11
|
-
sort: string;
|
|
12
|
-
}): Promise<void>;
|
|
13
|
-
//# sourceMappingURL=handle-list-scans.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-list-scans.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-list-scans.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,eAAe,CAAC,EACpC,MAAM,EACN,SAAS,EACT,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAI,EACJ,OAAO,EACP,IAAI,EACJ,IAAI,EACL,EAAE;IACD,MAAM,EAAE,MAAM,CAAA;IACd,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-scan-config.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-config.mts"],"names":[],"mappings":"AAGA,wBAAsB,gBAAgB,CACpC,GAAG,EAAE,MAAM,EACX,kBAAkB,UAAQ,iBAK3B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-scan-metadata.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-metadata.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,qBAAqB,CACzC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export type HandleScanReachConfig = {
|
|
3
|
-
cwd: string;
|
|
4
|
-
outputKind: OutputKind;
|
|
5
|
-
unknownFlags: string[];
|
|
6
|
-
};
|
|
7
|
-
export declare function handleScanReach({ cwd, outputKind, unknownFlags }: HandleScanReachConfig): Promise<void>;
|
|
8
|
-
//# sourceMappingURL=handle-scan-reach.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-scan-reach.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-reach.mts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,MAAM,qBAAqB,GAAG;IAClC,GAAG,EAAE,MAAM,CAAA;IACX,UAAU,EAAE,UAAU,CAAA;IACtB,YAAY,EAAE,MAAM,EAAE,CAAA;CACvB,CAAA;AAED,wBAAsB,eAAe,CAAC,EACpC,GAAG,EACH,UAAU,EACV,YAAY,EACb,EAAE,qBAAqB,iBAuBvB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { OutputKind } from '../../types.mts';
|
|
2
|
-
export declare function handleScanReport({ filePath, fold, includeLicensePolicy, orgSlug, outputKind, reportLevel, scanId, short }: {
|
|
3
|
-
orgSlug: string;
|
|
4
|
-
scanId: string;
|
|
5
|
-
includeLicensePolicy: boolean;
|
|
6
|
-
outputKind: OutputKind;
|
|
7
|
-
filePath: string;
|
|
8
|
-
fold: 'pkg' | 'version' | 'file' | 'none';
|
|
9
|
-
reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error';
|
|
10
|
-
short: boolean;
|
|
11
|
-
}): Promise<void>;
|
|
12
|
-
//# sourceMappingURL=handle-scan-report.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-report.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CAAC,EACrC,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,EACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,KAAK,EAAE,OAAO,CAAA;CACf,GAAG,OAAO,CAAC,IAAI,CAAC,CAehB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"handle-scan-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-scan-view.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
3
|
-
export declare function outputCreateNewScan(result: CResult<SocketSdkSuccessResult<'CreateOrgFullScan'>['data']>, outputKind: OutputKind, interactive: boolean): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-create-new-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-create-new-scan.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,EACpE,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,OAAO,iBAiDrB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
3
|
-
export declare function outputDeleteScan(result: CResult<SocketSdkSuccessResult<'deleteOrgFullScan'>['data']>, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-delete-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-delete-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-delete-scan.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,EACpE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
3
|
-
export declare function outputDiffScan(result: CResult<SocketSdkSuccessResult<'GetOrgDiffScan'>['data']>, { depth, file, outputKind }: {
|
|
4
|
-
depth: number;
|
|
5
|
-
file: string;
|
|
6
|
-
outputKind: OutputKind;
|
|
7
|
-
}): Promise<void>;
|
|
8
|
-
//# sourceMappingURL=output-diff-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-diff-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-diff-scan.mts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAMjE,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EACjE,EACE,KAAK,EACL,IAAI,EACJ,UAAU,EACX,EAAE;IACD,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,UAAU,EAAE,UAAU,CAAA;CACvB,GACA,OAAO,CAAC,IAAI,CAAC,CAgDf"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
3
|
-
export declare function outputListScans(result: CResult<SocketSdkSuccessResult<'getOrgFullScanList'>['data']>, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-list-scans.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-list-scans.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-list-scans.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,wBAAsB,eAAe,CACnC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,EACrE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAyCf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-scan-config-result.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-config-result.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,sBAAsB,CAAC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,iBAapE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-scan-github.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-github.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,EACxB,UAAU,EAAE,UAAU,iBAcvB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
3
|
-
export declare function outputScanMetadata(result: CResult<SocketSdkSuccessResult<'getOrgFullScanMetadata'>['data']>, scanId: string, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-scan-metadata.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-scan-metadata.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-metadata.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,OAAO,CAAC,sBAAsB,CAAC,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC,EACzE,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-scan-reach.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-reach.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAE1D,wBAAsB,eAAe,CACnC,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,EACxB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAgBf"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ScanReport } from './generate-report.mts';
|
|
2
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
3
|
-
import type { SocketArtifact } from '../../utils/alert/artifact.mts';
|
|
4
|
-
import type { SocketSdkSuccessResult } from '@socketsecurity/sdk';
|
|
5
|
-
export declare function outputScanReport(result: CResult<{
|
|
6
|
-
scan: SocketArtifact[];
|
|
7
|
-
securityPolicy: SocketSdkSuccessResult<'getOrgSecurityPolicy'>['data'];
|
|
8
|
-
}>, { filePath, fold, includeLicensePolicy, orgSlug, outputKind, reportLevel, scanId, short }: {
|
|
9
|
-
orgSlug: string;
|
|
10
|
-
scanId: string;
|
|
11
|
-
includeLicensePolicy: boolean;
|
|
12
|
-
outputKind: OutputKind;
|
|
13
|
-
filePath: string;
|
|
14
|
-
fold: 'pkg' | 'version' | 'file' | 'none';
|
|
15
|
-
reportLevel: 'defer' | 'ignore' | 'monitor' | 'warn' | 'error';
|
|
16
|
-
short: boolean;
|
|
17
|
-
}): Promise<void>;
|
|
18
|
-
export declare function toJsonReport(report: ScanReport, includeLicensePolicy?: boolean | undefined): string;
|
|
19
|
-
export declare function toMarkdownReport(report: ScanReport, includeLicensePolicy?: boolean | undefined): string;
|
|
20
|
-
//# sourceMappingURL=output-scan-report.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-report.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAkB,UAAU,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AACpE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAA;AAEjE,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,cAAc,EAAE,sBAAsB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACvE,CAAC,EACF,EACE,QAAQ,EACR,IAAI,EACJ,oBAAoB,EACpB,OAAO,EACP,UAAU,EACV,WAAW,EACX,MAAM,EACN,KAAK,EACN,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,oBAAoB,EAAE,OAAO,CAAA;IAC7B,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,KAAK,GAAG,SAAS,GAAG,MAAM,GAAG,MAAM,CAAA;IACzC,WAAW,EAAE,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAA;IAC9D,KAAK,EAAE,OAAO,CAAA;CACf,GACA,OAAO,CAAC,IAAI,CAAC,CAuFf;AAED,wBAAgB,YAAY,CAC1B,MAAM,EAAE,UAAU,EAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,GACzC,MAAM,CAaR;AAED,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,UAAU,EAClB,oBAAoB,CAAC,EAAE,OAAO,GAAG,SAAS,GACzC,MAAM,CA+DR"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
-
import type { SocketArtifact } from '../../utils/alert/artifact.mts';
|
|
3
|
-
export declare function outputScanView(result: CResult<SocketArtifact[]>, orgSlug: string, scanId: string, filePath: string, outputKind: OutputKind): Promise<void>;
|
|
4
|
-
//# sourceMappingURL=output-scan-view.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"output-scan-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/output-scan-view.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAIpE,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC,EACjC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA0Ff"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-scan-config.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/setup-scan-config.mts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAI9C,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,EACX,kBAAkB,UAAQ,GACzB,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CA2G3B"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
2
|
-
export type StreamScanOptions = {
|
|
3
|
-
file?: string | undefined;
|
|
4
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
5
|
-
};
|
|
6
|
-
export declare function streamScan(orgSlug: string, scanId: string, options?: StreamScanOptions | undefined): Promise<import("../../types.mts").CResult<unknown>>;
|
|
7
|
-
//# sourceMappingURL=stream-scan.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stream-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/stream-scan.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAA;AAE1D,MAAM,MAAM,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,UAAU,CAAC,EAAE,eAAe,GAAG,SAAS,CAAA;CACzC,CAAA;AAED,wBAAsB,UAAU,CAC9B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,iBAAiB,GAAG,SAAS,uDAmBxC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"suggest-org-slug.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/suggest-org-slug.mts"],"names":[],"mappings":"AAKA,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAqC7D"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { SetupSdkOptions } from '../../utils/sdk.mts';
|
|
2
|
-
export type SuggestRepoSlugOptions = {
|
|
3
|
-
sdkOptions?: SetupSdkOptions | undefined;
|
|
4
|
-
};
|
|
5
|
-
export declare function suggestRepoSlug(orgSlug: string, options?: SuggestRepoSlugOptions | undefined): Promise<{
|
|
6
|
-
slug: string;
|
|
7
|
-
defaultBranch: string;
|
|
8
|
-
} | void>;
|
|
9
|
-
//# sourceMappingURL=suggest-repo-slug.d.mts.map
|