@socketsecurity/cli-with-sentry 0.15.42 → 0.15.44
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/dist/cli.js +592 -455
- package/dist/cli.js.map +1 -1
- package/dist/constants.js +3 -3
- package/dist/constants.js.map +1 -1
- package/dist/shadow-inject.js +10 -3
- package/dist/shadow-inject.js.map +1 -1
- package/dist/types/cli.d.mts +2 -0
- package/dist/types/cli.d.mts.map +1 -0
- package/dist/types/commands/analytics/cmd-analytics.d.mts +10 -0
- package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -0
- package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -0
- package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/handle-analytics.d.mts +9 -0
- package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -0
- package/dist/types/commands/analytics/output-analytics.d.mts +28 -0
- package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -0
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts +10 -0
- package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -0
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -0
- package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -0
- package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -0
- package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -0
- package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -0
- package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -0
- package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +10 -0
- package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/cdxgen/handle-cdxgen.d.mts +4 -0
- package/dist/types/commands/cdxgen/handle-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/ci/cmd-ci.d.mts +10 -0
- package/dist/types/commands/ci/cmd-ci.d.mts.map +1 -0
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts +4 -0
- package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +1 -0
- package/dist/types/commands/ci/handle-ci.d.mts +2 -0
- package/dist/types/commands/ci/handle-ci.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-auto.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-get.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-list.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-set.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config-unset.d.mts +10 -0
- package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -0
- package/dist/types/commands/config/cmd-config.d.mts +3 -0
- package/dist/types/commands/config/cmd-config.d.mts.map +1 -0
- package/dist/types/commands/config/discover-config-value.d.mts +3 -0
- package/dist/types/commands/config/discover-config-value.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-auto.d.mts +7 -0
- package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-get.d.mts +7 -0
- package/dist/types/commands/config/handle-config-get.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-set.d.mts +8 -0
- package/dist/types/commands/config/handle-config-set.d.mts.map +1 -0
- package/dist/types/commands/config/handle-config-unset.d.mts +7 -0
- package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-auto.d.mts +4 -0
- package/dist/types/commands/config/output-config-auto.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-get.d.mts +4 -0
- package/dist/types/commands/config/output-config-get.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-list.d.mts +6 -0
- package/dist/types/commands/config/output-config-list.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-set.d.mts +3 -0
- package/dist/types/commands/config/output-config-set.d.mts.map +1 -0
- package/dist/types/commands/config/output-config-unset.d.mts +3 -0
- package/dist/types/commands/config/output-config-unset.d.mts.map +1 -0
- package/dist/types/commands/dependencies/cmd-dependencies.d.mts +10 -0
- package/dist/types/commands/dependencies/cmd-dependencies.d.mts.map +1 -0
- package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -0
- package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -0
- package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -0
- package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -0
- package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -0
- package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +10 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -0
- package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -0
- package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -0
- package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -0
- package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/fix/cmd-fix.d.mts +10 -0
- package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/git.d.mts +40 -0
- package/dist/types/commands/fix/git.d.mts.map +1 -0
- package/dist/types/commands/fix/handle-fix.d.mts +13 -0
- package/dist/types/commands/fix/handle-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/npm-fix.d.mts +15 -0
- package/dist/types/commands/fix/npm-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/open-pr.d.mts +49 -0
- package/dist/types/commands/fix/open-pr.d.mts.map +1 -0
- package/dist/types/commands/fix/output-fix-result.d.mts +3 -0
- package/dist/types/commands/fix/output-fix-result.d.mts.map +1 -0
- package/dist/types/commands/fix/pnpm-fix.d.mts +15 -0
- package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/run-fix.d.mts +12 -0
- package/dist/types/commands/fix/run-fix.d.mts.map +1 -0
- package/dist/types/commands/fix/shared.d.mts +9 -0
- package/dist/types/commands/fix/shared.d.mts.map +1 -0
- package/dist/types/commands/info/cmd-info.d.mts +10 -0
- package/dist/types/commands/info/cmd-info.d.mts.map +1 -0
- package/dist/types/commands/info/fetch-package-info.d.mts +3 -0
- package/dist/types/commands/info/fetch-package-info.d.mts.map +1 -0
- package/dist/types/commands/info/handle-package-info.d.mts +17 -0
- package/dist/types/commands/info/handle-package-info.d.mts.map +1 -0
- package/dist/types/commands/info/output-package-info.d.mts +10 -0
- package/dist/types/commands/info/output-package-info.d.mts.map +1 -0
- package/dist/types/commands/install/cmd-install-completion.d.mts +10 -0
- package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -0
- package/dist/types/commands/install/cmd-install.d.mts +3 -0
- package/dist/types/commands/install/cmd-install.d.mts.map +1 -0
- package/dist/types/commands/install/handle-install-completion.d.mts +2 -0
- package/dist/types/commands/install/handle-install-completion.d.mts.map +1 -0
- package/dist/types/commands/install/output-install-completion.d.mts +12 -0
- package/dist/types/commands/install/output-install-completion.d.mts.map +1 -0
- package/dist/types/commands/install/setup-tab-completion.d.mts +13 -0
- package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -0
- package/dist/types/commands/login/apply-login.d.mts +2 -0
- package/dist/types/commands/login/apply-login.d.mts.map +1 -0
- package/dist/types/commands/login/attempt-login.d.mts +2 -0
- package/dist/types/commands/login/attempt-login.d.mts.map +1 -0
- package/dist/types/commands/login/cmd-login.d.mts +10 -0
- package/dist/types/commands/login/cmd-login.d.mts.map +1 -0
- package/dist/types/commands/logout/apply-logout.d.mts +2 -0
- package/dist/types/commands/logout/apply-logout.d.mts.map +1 -0
- package/dist/types/commands/logout/attempt-logout.d.mts +2 -0
- package/dist/types/commands/logout/attempt-logout.d.mts.map +1 -0
- package/dist/types/commands/logout/cmd-logout.d.mts +10 -0
- package/dist/types/commands/logout/cmd-logout.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -0
- package/dist/types/commands/manifest/cmd-manifest.d.mts +10 -0
- package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -0
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +8 -0
- package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +1 -0
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +7 -0
- package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +1 -0
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +8 -0
- package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +1 -0
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts +13 -0
- package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -0
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts +9 -0
- package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -0
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts +9 -0
- package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +1 -0
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts +2 -0
- package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +1 -0
- package/dist/types/commands/manifest/output-manifest-setup.d.mts +3 -0
- package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +1 -0
- package/dist/types/commands/manifest/output-requirements.d.mts +6 -0
- package/dist/types/commands/manifest/output-requirements.d.mts.map +1 -0
- package/dist/types/commands/manifest/run-cdxgen.d.mts +2 -0
- package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
- package/dist/types/commands/manifest/setup-manifest-config.d.mts +3 -0
- package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +1 -0
- package/dist/types/commands/npm/cmd-npm.d.mts +10 -0
- package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -0
- package/dist/types/commands/npx/cmd-npx.d.mts +10 -0
- package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -0
- package/dist/types/commands/oops/cmd-oops.d.mts +10 -0
- package/dist/types/commands/oops/cmd-oops.d.mts.map +1 -0
- package/dist/types/commands/optimize/add-overrides.d.mts +20 -0
- package/dist/types/commands/optimize/add-overrides.d.mts.map +1 -0
- package/dist/types/commands/optimize/apply-optimization.d.mts +9 -0
- package/dist/types/commands/optimize/apply-optimization.d.mts.map +1 -0
- package/dist/types/commands/optimize/cmd-optimize.d.mts +10 -0
- package/dist/types/commands/optimize/cmd-optimize.d.mts.map +1 -0
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -0
- package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -0
- package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +1 -0
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +9 -0
- package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/handle-optimize.d.mts +8 -0
- package/dist/types/commands/optimize/handle-optimize.d.mts.map +1 -0
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -0
- package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/ls-by-agent.d.mts +7 -0
- package/dist/types/commands/optimize/ls-by-agent.d.mts.map +1 -0
- package/dist/types/commands/optimize/output-optimize-result.d.mts +9 -0
- package/dist/types/commands/optimize/output-optimize-result.d.mts.map +1 -0
- package/dist/types/commands/optimize/shared.d.mts +2 -0
- package/dist/types/commands/optimize/shared.d.mts.map +1 -0
- package/dist/types/commands/optimize/types.d.mts +9 -0
- package/dist/types/commands/optimize/types.d.mts.map +1 -0
- package/dist/types/commands/optimize/update-lockfile.d.mts +11 -0
- package/dist/types/commands/optimize/update-lockfile.d.mts.map +1 -0
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -0
- package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-list.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -0
- package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization-quota.d.mts +10 -0
- package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/cmd-organization.d.mts +3 -0
- package/dist/types/commands/organization/cmd-organization.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -0
- package/dist/types/commands/organization/fetch-license-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -0
- package/dist/types/commands/organization/fetch-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-quota.d.mts +4 -0
- package/dist/types/commands/organization/fetch-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -0
- package/dist/types/commands/organization/fetch-security-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-license-policy.d.mts +3 -0
- package/dist/types/commands/organization/handle-license-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-organization-list.d.mts +3 -0
- package/dist/types/commands/organization/handle-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-quota.d.mts +3 -0
- package/dist/types/commands/organization/handle-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/handle-security-policy.d.mts +3 -0
- package/dist/types/commands/organization/handle-security-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/output-license-policy.d.mts +4 -0
- package/dist/types/commands/organization/output-license-policy.d.mts.map +1 -0
- package/dist/types/commands/organization/output-organization-list.d.mts +4 -0
- package/dist/types/commands/organization/output-organization-list.d.mts.map +1 -0
- package/dist/types/commands/organization/output-quota.d.mts +4 -0
- package/dist/types/commands/organization/output-quota.d.mts.map +1 -0
- package/dist/types/commands/organization/output-security-policy.d.mts +4 -0
- package/dist/types/commands/organization/output-security-policy.d.mts.map +1 -0
- package/dist/types/commands/package/cmd-package-score.d.mts +10 -0
- package/dist/types/commands/package/cmd-package-score.d.mts.map +1 -0
- package/dist/types/commands/package/cmd-package-shallow.d.mts +17 -0
- package/dist/types/commands/package/cmd-package-shallow.d.mts.map +1 -0
- package/dist/types/commands/package/cmd-package.d.mts +3 -0
- package/dist/types/commands/package/cmd-package.d.mts.map +1 -0
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts +51 -0
- package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +1 -0
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -0
- package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +1 -0
- package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -0
- package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +1 -0
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -0
- package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -0
- package/dist/types/commands/package/output-purl-score.d.mts +4 -0
- package/dist/types/commands/package/output-purl-score.d.mts.map +1 -0
- package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -0
- package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +1 -0
- package/dist/types/commands/package/parse-package-specifiers.d.mts +9 -0
- package/dist/types/commands/package/parse-package-specifiers.d.mts.map +1 -0
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +10 -0
- package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -0
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -0
- package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +1 -0
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +10 -0
- package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -0
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -0
- package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +1 -0
- package/dist/types/commands/report/cmd-report-create.d.mts +10 -0
- package/dist/types/commands/report/cmd-report-create.d.mts.map +1 -0
- package/dist/types/commands/report/cmd-report-view.d.mts +10 -0
- package/dist/types/commands/report/cmd-report-view.d.mts.map +1 -0
- package/dist/types/commands/report/cmd-report.d.mts +3 -0
- package/dist/types/commands/report/cmd-report.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-create.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-create.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-del.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-del.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-list.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-list.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-update.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-update.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos-view.d.mts +10 -0
- package/dist/types/commands/repos/cmd-repos-view.d.mts.map +1 -0
- package/dist/types/commands/repos/cmd-repos.d.mts +3 -0
- package/dist/types/commands/repos/cmd-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -0
- package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -0
- package/dist/types/commands/repos/fetch-delete-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-list-all-repos.d.mts +8 -0
- package/dist/types/commands/repos/fetch-list-all-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -0
- package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -0
- package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -0
- package/dist/types/commands/repos/fetch-view-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-create-repo.d.mts +10 -0
- package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -0
- package/dist/types/commands/repos/handle-delete-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-list-repos.d.mts +11 -0
- package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-update-repo.d.mts +10 -0
- package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/handle-view-repo.d.mts +3 -0
- package/dist/types/commands/repos/handle-view-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-create-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-create-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-delete-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-delete-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-list-repos.d.mts +4 -0
- package/dist/types/commands/repos/output-list-repos.d.mts.map +1 -0
- package/dist/types/commands/repos/output-update-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-update-repo.d.mts.map +1 -0
- package/dist/types/commands/repos/output-view-repo.d.mts +4 -0
- package/dist/types/commands/repos/output-view-repo.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-create.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-del.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-del.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-diff.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-github.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-github.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-reach.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-reach.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-report.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-setup.d.mts +10 -0
- package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan-view.d.mts.map +1 -0
- package/dist/types/commands/scan/cmd-scan.d.mts +3 -0
- package/dist/types/commands/scan/cmd-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/create-scan-from-github.d.mts +12 -0
- package/dist/types/commands/scan/create-scan-from-github.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -0
- package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -0
- package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -0
- package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -0
- package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-report-data.d.mts +12 -0
- package/dist/types/commands/scan/fetch-report-data.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -0
- package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-scan.d.mts +4 -0
- package/dist/types/commands/scan/fetch-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -0
- package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +1 -0
- package/dist/types/commands/scan/generate-report.d.mts +43 -0
- package/dist/types/commands/scan/generate-report.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-create-github-scan.d.mts +12 -0
- package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-create-new-scan.d.mts +21 -0
- package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -0
- package/dist/types/commands/scan/handle-delete-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -0
- package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-list-scans.d.mts +13 -0
- package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-reach-scan.d.mts +3 -0
- package/dist/types/commands/scan/handle-reach-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-config.d.mts +2 -0
- package/dist/types/commands/scan/handle-scan-config.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -0
- package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-report.d.mts +12 -0
- package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -0
- package/dist/types/commands/scan/handle-scan-view.d.mts +3 -0
- package/dist/types/commands/scan/handle-scan-view.d.mts.map +1 -0
- package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -0
- package/dist/types/commands/scan/output-create-new-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/output-delete-scan.d.mts +4 -0
- package/dist/types/commands/scan/output-delete-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/output-diff-scan.d.mts +8 -0
- package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/output-list-scans.d.mts +4 -0
- package/dist/types/commands/scan/output-list-scans.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-config-result.d.mts +3 -0
- package/dist/types/commands/scan/output-scan-config-result.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -0
- package/dist/types/commands/scan/output-scan-metadata.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-reach.d.mts +3 -0
- package/dist/types/commands/scan/output-scan-reach.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-report.d.mts +20 -0
- package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -0
- package/dist/types/commands/scan/output-scan-view.d.mts +4 -0
- package/dist/types/commands/scan/output-scan-view.d.mts.map +1 -0
- package/dist/types/commands/scan/scan-reachability.d.mts +3 -0
- package/dist/types/commands/scan/scan-reachability.d.mts.map +1 -0
- package/dist/types/commands/scan/setup-scan-config.d.mts +3 -0
- package/dist/types/commands/scan/setup-scan-config.d.mts.map +1 -0
- package/dist/types/commands/scan/stream-scan.d.mts +2 -0
- package/dist/types/commands/scan/stream-scan.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -0
- package/dist/types/commands/scan/suggest-org-slug.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest-repo-slug.d.mts +5 -0
- package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -0
- package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +1 -0
- package/dist/types/commands/scan/suggest_target.d.mts +2 -0
- package/dist/types/commands/scan/suggest_target.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +10 -0
- package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -0
- package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -0
- package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -0
- package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +1 -0
- package/dist/types/commands/threat-feed/types.d.mts +15 -0
- package/dist/types/commands/threat-feed/types.d.mts.map +1 -0
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +9 -0
- package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -0
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts +3 -0
- package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +1 -0
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +2 -0
- package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +1 -0
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +6 -0
- package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +1 -0
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +6 -0
- package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +1 -0
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +2 -0
- package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +1 -0
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -0
- package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +1 -0
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts +10 -0
- package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +1 -0
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -0
- package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -0
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -0
- package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +1 -0
- package/dist/types/constants.d.mts +128 -0
- package/dist/types/constants.d.mts.map +1 -0
- package/dist/types/flags.d.mts +16 -0
- package/dist/types/flags.d.mts.map +1 -0
- package/dist/types/instrument-with-sentry.d.mts +2 -0
- package/dist/types/instrument-with-sentry.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist/index.d.mts +19 -0
- package/dist/types/shadow/npm/arborist/index.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +24 -0
- package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist/types.d.mts +119 -0
- package/dist/types/shadow/npm/arborist/types.d.mts.map +1 -0
- package/dist/types/shadow/npm/arborist-helpers.d.mts +35 -0
- package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -0
- package/dist/types/shadow/npm/bin.d.mts +2 -0
- package/dist/types/shadow/npm/bin.d.mts.map +1 -0
- package/dist/types/shadow/npm/inject.d.mts +2 -0
- package/dist/types/shadow/npm/inject.d.mts.map +1 -0
- package/dist/types/shadow/npm/install.d.mts +13 -0
- package/dist/types/shadow/npm/install.d.mts.map +1 -0
- package/dist/types/shadow/npm/link.d.mts +2 -0
- package/dist/types/shadow/npm/link.d.mts.map +1 -0
- package/dist/types/shadow/npm/paths.d.mts +7 -0
- package/dist/types/shadow/npm/paths.d.mts.map +1 -0
- package/dist/types/shadow/npm/proc-log/index.d.mts +3 -0
- package/dist/types/shadow/npm/proc-log/index.d.mts.map +1 -0
- package/dist/types/types.d.mts +29 -0
- package/dist/types/types.d.mts.map +1 -0
- package/dist/types/utils/agent.d.mts +12 -0
- package/dist/types/utils/agent.d.mts.map +1 -0
- package/dist/types/utils/alert/artifact.d.mts +35 -0
- package/dist/types/utils/alert/artifact.d.mts.map +1 -0
- package/dist/types/utils/alert/fix.d.mts +6 -0
- package/dist/types/utils/alert/fix.d.mts.map +1 -0
- package/dist/types/utils/alert/severity.d.mts +14 -0
- package/dist/types/utils/alert/severity.d.mts.map +1 -0
- package/dist/types/utils/alerts-map.d.mts +25 -0
- package/dist/types/utils/alerts-map.d.mts.map +1 -0
- package/dist/types/utils/api.d.mts +13 -0
- package/dist/types/utils/api.d.mts.map +1 -0
- package/dist/types/utils/check-input.d.mts +9 -0
- package/dist/types/utils/check-input.d.mts.map +1 -0
- package/dist/types/utils/cmd.d.mts +4 -0
- package/dist/types/utils/cmd.d.mts.map +1 -0
- package/dist/types/utils/color-or-markdown.d.mts +16 -0
- package/dist/types/utils/color-or-markdown.d.mts.map +1 -0
- package/dist/types/utils/completion.d.mts +11 -0
- package/dist/types/utils/completion.d.mts.map +1 -0
- package/dist/types/utils/config.d.mts +31 -0
- package/dist/types/utils/config.d.mts.map +1 -0
- package/dist/types/utils/determine-org-slug.d.mts +2 -0
- package/dist/types/utils/determine-org-slug.d.mts.map +1 -0
- package/dist/types/utils/errors.d.mts +14 -0
- package/dist/types/utils/errors.d.mts.map +1 -0
- package/dist/types/utils/fail-msg-with-badge.d.mts +2 -0
- package/dist/types/utils/fail-msg-with-badge.d.mts.map +1 -0
- package/dist/types/utils/fs.d.mts +22 -0
- package/dist/types/utils/fs.d.mts.map +1 -0
- package/dist/types/utils/get-output-kind.d.mts +3 -0
- package/dist/types/utils/get-output-kind.d.mts.map +1 -0
- package/dist/types/utils/glob.d.mts +14 -0
- package/dist/types/utils/glob.d.mts.map +1 -0
- package/dist/types/utils/map-to-object.d.mts +10 -0
- package/dist/types/utils/map-to-object.d.mts.map +1 -0
- package/dist/types/utils/markdown.d.mts +10 -0
- package/dist/types/utils/markdown.d.mts.map +1 -0
- package/dist/types/utils/meow-with-subcommands.d.mts +50 -0
- package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -0
- package/dist/types/utils/npm-package-arg.d.mts +4 -0
- package/dist/types/utils/npm-package-arg.d.mts.map +1 -0
- package/dist/types/utils/npm-paths.d.mts +7 -0
- package/dist/types/utils/npm-paths.d.mts.map +1 -0
- package/dist/types/utils/objects.d.mts +3 -0
- package/dist/types/utils/objects.d.mts.map +1 -0
- package/dist/types/utils/output-formatting.d.mts +15 -0
- package/dist/types/utils/output-formatting.d.mts.map +1 -0
- package/dist/types/utils/package-environment.d.mts +57 -0
- package/dist/types/utils/package-environment.d.mts.map +1 -0
- package/dist/types/utils/path-resolve.d.mts +10 -0
- package/dist/types/utils/path-resolve.d.mts.map +1 -0
- package/dist/types/utils/pnpm.d.mts +11 -0
- package/dist/types/utils/pnpm.d.mts.map +1 -0
- package/dist/types/utils/purl.d.mts +97 -0
- package/dist/types/utils/purl.d.mts.map +1 -0
- package/dist/types/utils/sdk.d.mts +8 -0
- package/dist/types/utils/sdk.d.mts.map +1 -0
- package/dist/types/utils/semver.d.mts +8 -0
- package/dist/types/utils/semver.d.mts.map +1 -0
- package/dist/types/utils/serialize-result-json.d.mts +5 -0
- package/dist/types/utils/serialize-result-json.d.mts.map +1 -0
- package/dist/types/utils/socket-package-alert.d.mts +78 -0
- package/dist/types/utils/socket-package-alert.d.mts.map +1 -0
- package/dist/types/utils/socket-url.d.mts +7 -0
- package/dist/types/utils/socket-url.d.mts.map +1 -0
- package/dist/types/utils/socketjson.d.mts +56 -0
- package/dist/types/utils/socketjson.d.mts.map +1 -0
- package/dist/types/utils/spec.d.mts +5 -0
- package/dist/types/utils/spec.d.mts.map +1 -0
- package/dist/types/utils/strings.d.mts +2 -0
- package/dist/types/utils/strings.d.mts.map +1 -0
- package/dist/types/utils/translations.d.mts +593 -0
- package/dist/types/utils/translations.d.mts.map +1 -0
- package/dist/types/utils/walk-nested-map.d.mts +7 -0
- package/dist/types/utils/walk-nested-map.d.mts.map +1 -0
- package/dist/utils.js +278 -168
- package/dist/utils.js.map +1 -1
- package/dist/vendor.js +57456 -53054
- package/external/@socketsecurity/registry/external/browserslist.js +395 -358
- package/external/@socketsecurity/registry/lib/debug.js +15 -5
- package/external/@socketsecurity/registry/lib/logger.js +3 -10
- package/external/@socketsecurity/registry/lib/strings.js +9 -1
- package/package.json +26 -26
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-repos-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-list.mts"],"names":[],"mappings":"AAiFA,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,CAiFf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReposUpdate: {
|
|
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-repos-update.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-repos-update.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-update.mts"],"names":[],"mappings":"AAkFA,eAAO,MAAM,cAAc;;;;CAI1B,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,CA8Ef"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdReposView: {
|
|
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-repos-view.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-repos-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos-view.mts"],"names":[],"mappings":"AAyDA,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,CAkFf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-repos.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/cmd-repos.mts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,QAAQ,EAAE,aAmBtB,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchCreateRepo({ default_branch, description, homepage, orgSlug, repoName, visibility }: {
|
|
4
|
+
orgSlug: string;
|
|
5
|
+
repoName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
homepage: string;
|
|
8
|
+
default_branch: string;
|
|
9
|
+
visibility: string;
|
|
10
|
+
}): Promise<CResult<SocketSdkReturnType<'createOrgRepo'>['data']>>;
|
|
11
|
+
//# sourceMappingURL=fetch-create-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-create-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/fetch-create-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,eAAe,CAAC,EACpC,cAAc,EACd,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACX,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;CACnB,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAiBjE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchDeleteRepo(orgSlug: string, repoName: string): Promise<CResult<SocketSdkReturnType<'deleteOrgRepo'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-delete-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-delete-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/fetch-delete-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,eAAe,CACnC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWhE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchListAllRepos({ direction, orgSlug, sort }: {
|
|
4
|
+
direction: string;
|
|
5
|
+
orgSlug: string;
|
|
6
|
+
sort: string;
|
|
7
|
+
}): Promise<CResult<SocketSdkReturnType<'getOrgRepoList'>['data']>>;
|
|
8
|
+
//# sourceMappingURL=fetch-list-all-repos.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-list-all-repos.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/fetch-list-all-repos.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,iBAAiB,CAAC,EACtC,SAAS,EACT,OAAO,EACP,IAAI,EACL,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CA4ClE"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchListRepos({ direction, orgSlug, page, per_page, sort }: {
|
|
4
|
+
direction: string;
|
|
5
|
+
orgSlug: string;
|
|
6
|
+
page: number;
|
|
7
|
+
per_page: number;
|
|
8
|
+
sort: string;
|
|
9
|
+
}): Promise<CResult<SocketSdkReturnType<'getOrgRepoList'>['data']>>;
|
|
10
|
+
//# sourceMappingURL=fetch-list-repos.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-list-repos.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/fetch-list-repos.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,cAAc,CAAC,EACnC,SAAS,EACT,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,IAAI,EACL,EAAE;IACD,SAAS,EAAE,MAAM,CAAA;IACjB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAgBlE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchUpdateRepo({ default_branch, description, homepage, orgSlug, repoName, visibility }: {
|
|
4
|
+
orgSlug: string;
|
|
5
|
+
repoName: string;
|
|
6
|
+
description: string;
|
|
7
|
+
homepage: string;
|
|
8
|
+
default_branch: string;
|
|
9
|
+
visibility: string;
|
|
10
|
+
}): Promise<CResult<SocketSdkReturnType<'updateOrgRepo'>['data']>>;
|
|
11
|
+
//# sourceMappingURL=fetch-update-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-update-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/fetch-update-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,eAAe,CAAC,EACpC,cAAc,EACd,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACX,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;CACnB,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAkBjE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchViewRepo(orgSlug: string, repoName: string): Promise<CResult<SocketSdkReturnType<'getOrgRepo'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-view-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-view-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/fetch-view-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAC9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,aAAa,CACjC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAW7D"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function handleCreateRepo({ default_branch, description, homepage, orgSlug, repoName, visibility }: {
|
|
3
|
+
orgSlug: string;
|
|
4
|
+
repoName: string;
|
|
5
|
+
description: string;
|
|
6
|
+
homepage: string;
|
|
7
|
+
default_branch: string;
|
|
8
|
+
visibility: string;
|
|
9
|
+
}, outputKind: OutputKind): Promise<void>;
|
|
10
|
+
//# sourceMappingURL=handle-create-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-create-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/handle-create-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CACpC,EACE,cAAc,EACd,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACX,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;CACnB,EACD,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAUf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-delete-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/handle-delete-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CACpC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,iBAKvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function handleListRepos({ all, direction, orgSlug, outputKind, page, per_page, sort }: {
|
|
3
|
+
all: boolean;
|
|
4
|
+
direction: 'asc' | 'desc';
|
|
5
|
+
orgSlug: string;
|
|
6
|
+
outputKind: OutputKind;
|
|
7
|
+
page: number;
|
|
8
|
+
per_page: number;
|
|
9
|
+
sort: string;
|
|
10
|
+
}): Promise<void>;
|
|
11
|
+
//# sourceMappingURL=handle-list-repos.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-list-repos.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/handle-list-repos.mts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,eAAe,CAAC,EACpC,GAAG,EACH,SAAS,EACT,OAAO,EACP,UAAU,EACV,IAAI,EACJ,QAAQ,EACR,IAAI,EACL,EAAE;IACD,GAAG,EAAE,OAAO,CAAA;IACZ,SAAS,EAAE,KAAK,GAAG,MAAM,CAAA;IACzB,OAAO,EAAE,MAAM,CAAA;IACf,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CA6BhB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { OutputKind } from '../../types.mts';
|
|
2
|
+
export declare function handleUpdateRepo({ default_branch, description, homepage, orgSlug, repoName, visibility }: {
|
|
3
|
+
orgSlug: string;
|
|
4
|
+
repoName: string;
|
|
5
|
+
description: string;
|
|
6
|
+
homepage: string;
|
|
7
|
+
default_branch: string;
|
|
8
|
+
visibility: string;
|
|
9
|
+
}, outputKind: OutputKind): Promise<void>;
|
|
10
|
+
//# sourceMappingURL=handle-update-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-update-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/handle-update-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,gBAAgB,CACpC,EACE,cAAc,EACd,WAAW,EACX,QAAQ,EACR,OAAO,EACP,QAAQ,EACR,UAAU,EACX,EAAE;IACD,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,EAAE,MAAM,CAAA;IACnB,QAAQ,EAAE,MAAM,CAAA;IAChB,cAAc,EAAE,MAAM,CAAA;IACtB,UAAU,EAAE,MAAM,CAAA;CACnB,EACD,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAWf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-view-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/handle-view-repo.mts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,wBAAsB,cAAc,CAClC,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAIf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputCreateRepo(result: CResult<SocketSdkReturnType<'createOrgRepo'>['data']>, requestedName: string, outputKind: OutputKind): void;
|
|
4
|
+
//# sourceMappingURL=output-create-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-create-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/output-create-repo.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAgB,gBAAgB,CAC9B,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,EAC7D,aAAa,EAAE,MAAM,EACrB,UAAU,EAAE,UAAU,GACrB,IAAI,CAgBN"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputDeleteRepo(result: CResult<SocketSdkReturnType<'deleteOrgRepo'>['data']>, repoName: string, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-delete-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-delete-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/output-delete-repo.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,EAC7D,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputListRepos(result: CResult<SocketSdkReturnType<'getOrgRepoList'>['data']>, outputKind: OutputKind, page: number, nextPage: number | null, sort: string, perPage: number, direction: 'asc' | 'desc'): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-list-repos.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-list-repos.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/output-list-repos.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,eAAe,CACnC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EAC9D,UAAU,EAAE,UAAU,EACtB,IAAI,EAAE,MAAM,EACZ,QAAQ,EAAE,MAAM,GAAG,IAAI,EACvB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,KAAK,GAAG,MAAM,GACxB,OAAO,CAAC,IAAI,CAAC,CAyDf"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputUpdateRepo(result: CResult<SocketSdkReturnType<'updateOrgRepo'>['data']>, repoName: string, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-update-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-update-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/output-update-repo.mts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,EAC7D,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAef"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult, OutputKind } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function outputViewRepo(result: CResult<SocketSdkReturnType<'createOrgRepo'>['data']>, outputKind: OutputKind): Promise<void>;
|
|
4
|
+
//# sourceMappingURL=output-view-repo.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output-view-repo.d.mts","sourceRoot":"","sources":["../../../../src/commands/repos/output-view-repo.mts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,eAAe,CAAC,CAAC,MAAM,CAAC,CAAC,EAC7D,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA2Bf"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdScanCreate: {
|
|
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-create.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-create.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-create.mts"],"names":[],"mappings":"AAmKA,eAAO,MAAM,aAAa;;;;CAIzB,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,CA6Of"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdScanDel: {
|
|
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-del.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-del.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-del.mts"],"names":[],"mappings":"AAoDA,eAAO,MAAM,UAAU;;;;CAItB,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,CA6Df"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdScanDiff: {
|
|
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-diff.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-diff.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-diff.mts"],"names":[],"mappings":"AA6EA,eAAO,MAAM,WAAW;;;;CAIvB,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,CA8Ff"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const cmdScanGithub: {
|
|
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-github.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-github.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-github.mts"],"names":[],"mappings":"AA8FA,eAAO,MAAM,aAAa;;;;CAIzB,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,CA0Jf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-list.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-list.mts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AAoF9C,eAAO,MAAM,WAAW,EAAE,aAIzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-metadata.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-metadata.mts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AAuC9C,eAAO,MAAM,eAAe,EAAE,aAI7B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-reach.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-reach.mts"],"names":[],"mappings":"AA2CA,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,CA8Bf"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-report.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-report.mts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AAsE9C,eAAO,MAAM,aAAa,EAAE,aAI3B,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cmd-scan-view.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan-view.mts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAEV,aAAa,EACd,MAAM,uCAAuC,CAAA;AA+C9C,eAAO,MAAM,WAAW,EAAE,aAIzB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
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,aAgCrB,CAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-scan-from-github.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/create-scan-from-github.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAuC1D,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,CA0E9B"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchCreateOrgFullScan(packagePaths: string[], orgSlug: string, defaultBranch: boolean, pendingHead: boolean, tmp: boolean, cwd: string, { branchName, commitHash, commitMessage, committers, pullRequest, repoName }: {
|
|
4
|
+
branchName: string;
|
|
5
|
+
commitHash: string;
|
|
6
|
+
commitMessage: string;
|
|
7
|
+
committers: string;
|
|
8
|
+
pullRequest: number;
|
|
9
|
+
repoName: string;
|
|
10
|
+
}): Promise<CResult<SocketSdkReturnType<'CreateOrgFullScan'>['data']>>;
|
|
11
|
+
//# sourceMappingURL=fetch-create-org-full-scan.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,sBAAsB,CAC1C,YAAY,EAAE,MAAM,EAAE,EACtB,OAAO,EAAE,MAAM,EACf,aAAa,EAAE,OAAO,EACtB,WAAW,EAAE,OAAO,EACpB,GAAG,EAAE,OAAO,EACZ,GAAG,EAAE,MAAM,EACX,EACE,UAAU,EACV,UAAU,EACV,aAAa,EACb,UAAU,EACV,WAAW,EACX,QAAQ,EACT,EAAE;IACD,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,GACA,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CA0BpE"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchDeleteOrgFullScan(orgSlug: string, scanId: string): Promise<CResult<SocketSdkReturnType<'deleteOrgFullScan'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-delete-org-full-scan.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,sBAAsB,CAC1C,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWpE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchDiffScan({ id1, id2, orgSlug }: {
|
|
4
|
+
id1: string;
|
|
5
|
+
id2: string;
|
|
6
|
+
orgSlug: string;
|
|
7
|
+
}): Promise<CResult<SocketSdkReturnType<'GetOrgDiffScan'>['data']>>;
|
|
8
|
+
//# sourceMappingURL=fetch-diff-scan.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,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,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CASlE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchListScans({ branch, direction, from_time, orgSlug, page, per_page, repo, sort }: {
|
|
4
|
+
branch: string;
|
|
5
|
+
direction: string;
|
|
6
|
+
from_time: string;
|
|
7
|
+
orgSlug: string;
|
|
8
|
+
page: number;
|
|
9
|
+
per_page: number;
|
|
10
|
+
repo: string;
|
|
11
|
+
sort: string;
|
|
12
|
+
}): Promise<CResult<SocketSdkReturnType<'getOrgFullScanList'>['data']>>;
|
|
13
|
+
//# sourceMappingURL=fetch-list-scans.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,cAAc,CAAC,EACnC,MAAM,EACN,SAAS,EACT,SAAS,EACT,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,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,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAmBtE"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketArtifact } from '../../utils/alert/artifact.mts';
|
|
3
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
4
|
+
/**
|
|
5
|
+
* This fetches all the relevant pieces of data to generate a report, given a
|
|
6
|
+
* full scan ID.
|
|
7
|
+
*/
|
|
8
|
+
export declare function fetchReportData(orgSlug: string, scanId: string, includeLicensePolicy: boolean): Promise<CResult<{
|
|
9
|
+
scan: SocketArtifact[];
|
|
10
|
+
securityPolicy: SocketSdkReturnType<'getOrgSecurityPolicy'>['data'];
|
|
11
|
+
}>>;
|
|
12
|
+
//# sourceMappingURL=fetch-report-data.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D;;;GAGG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,OAAO,GAC5B,OAAO,CACR,OAAO,CAAC;IACN,IAAI,EAAE,cAAc,EAAE,CAAA;IACtB,cAAc,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACpE,CAAC,CACH,CA4IA"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchScanMetadata(orgSlug: string, scanId: string): Promise<CResult<SocketSdkReturnType<'getOrgFullScanMetadata'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-scan-metadata.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,iBAAiB,CACrC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAWzE"}
|
|
@@ -0,0 +1 @@
|
|
|
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,CAmCpC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { CResult } from '../../types.mts';
|
|
2
|
+
import type { SocketSdkReturnType } from '@socketsecurity/sdk';
|
|
3
|
+
export declare function fetchSupportedScanFileNames(): Promise<CResult<SocketSdkReturnType<'getReportSupportedFiles'>['data']>>;
|
|
4
|
+
//# sourceMappingURL=fetch-supported-scan-file-names.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,2BAA2B,IAAI,OAAO,CAC1D,OAAO,CAAC,mBAAmB,CAAC,yBAAyB,CAAC,CAAC,MAAM,CAAC,CAAC,CAChE,CAWA"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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 { SocketSdkReturnType } 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: SocketSdkReturnType<'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
|
|
@@ -0,0 +1 @@
|
|
|
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAG9D,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,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,EACnE,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"}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"handle-create-github-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-github-scan.mts"],"names":[],"mappings":"AAMA,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,iBAwBA"}
|