@socketsecurity/cli-with-sentry 0.15.42 → 0.15.43

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.
Files changed (546) hide show
  1. package/dist/cli.js +6 -6
  2. package/dist/cli.js.map +1 -1
  3. package/dist/constants.js +3 -3
  4. package/dist/constants.js.map +1 -1
  5. package/dist/types/cli.d.mts +2 -0
  6. package/dist/types/cli.d.mts.map +1 -0
  7. package/dist/types/commands/analytics/cmd-analytics.d.mts +10 -0
  8. package/dist/types/commands/analytics/cmd-analytics.d.mts.map +1 -0
  9. package/dist/types/commands/analytics/fetch-org-analytics.d.mts +4 -0
  10. package/dist/types/commands/analytics/fetch-org-analytics.d.mts.map +1 -0
  11. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts +4 -0
  12. package/dist/types/commands/analytics/fetch-repo-analytics.d.mts.map +1 -0
  13. package/dist/types/commands/analytics/handle-analytics.d.mts +9 -0
  14. package/dist/types/commands/analytics/handle-analytics.d.mts.map +1 -0
  15. package/dist/types/commands/analytics/output-analytics.d.mts +28 -0
  16. package/dist/types/commands/analytics/output-analytics.d.mts.map +1 -0
  17. package/dist/types/commands/audit-log/cmd-audit-log.d.mts +10 -0
  18. package/dist/types/commands/audit-log/cmd-audit-log.d.mts.map +1 -0
  19. package/dist/types/commands/audit-log/fetch-audit-log.d.mts +10 -0
  20. package/dist/types/commands/audit-log/fetch-audit-log.d.mts.map +1 -0
  21. package/dist/types/commands/audit-log/handle-audit-log.d.mts +9 -0
  22. package/dist/types/commands/audit-log/handle-audit-log.d.mts.map +1 -0
  23. package/dist/types/commands/audit-log/output-audit-log.d.mts +22 -0
  24. package/dist/types/commands/audit-log/output-audit-log.d.mts.map +1 -0
  25. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts +10 -0
  26. package/dist/types/commands/cdxgen/cmd-cdxgen.d.mts.map +1 -0
  27. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts +4 -0
  28. package/dist/types/commands/cdxgen/handle-cdxgen.d.mts.map +1 -0
  29. package/dist/types/commands/ci/cmd-ci.d.mts +10 -0
  30. package/dist/types/commands/ci/cmd-ci.d.mts.map +1 -0
  31. package/dist/types/commands/ci/fetch-default-org-slug.d.mts +4 -0
  32. package/dist/types/commands/ci/fetch-default-org-slug.d.mts.map +1 -0
  33. package/dist/types/commands/ci/handle-ci.d.mts +2 -0
  34. package/dist/types/commands/ci/handle-ci.d.mts.map +1 -0
  35. package/dist/types/commands/config/cmd-config-auto.d.mts +10 -0
  36. package/dist/types/commands/config/cmd-config-auto.d.mts.map +1 -0
  37. package/dist/types/commands/config/cmd-config-get.d.mts +10 -0
  38. package/dist/types/commands/config/cmd-config-get.d.mts.map +1 -0
  39. package/dist/types/commands/config/cmd-config-list.d.mts +10 -0
  40. package/dist/types/commands/config/cmd-config-list.d.mts.map +1 -0
  41. package/dist/types/commands/config/cmd-config-set.d.mts +10 -0
  42. package/dist/types/commands/config/cmd-config-set.d.mts.map +1 -0
  43. package/dist/types/commands/config/cmd-config-unset.d.mts +10 -0
  44. package/dist/types/commands/config/cmd-config-unset.d.mts.map +1 -0
  45. package/dist/types/commands/config/cmd-config.d.mts +3 -0
  46. package/dist/types/commands/config/cmd-config.d.mts.map +1 -0
  47. package/dist/types/commands/config/discover-config-value.d.mts +3 -0
  48. package/dist/types/commands/config/discover-config-value.d.mts.map +1 -0
  49. package/dist/types/commands/config/handle-config-auto.d.mts +7 -0
  50. package/dist/types/commands/config/handle-config-auto.d.mts.map +1 -0
  51. package/dist/types/commands/config/handle-config-get.d.mts +7 -0
  52. package/dist/types/commands/config/handle-config-get.d.mts.map +1 -0
  53. package/dist/types/commands/config/handle-config-set.d.mts +8 -0
  54. package/dist/types/commands/config/handle-config-set.d.mts.map +1 -0
  55. package/dist/types/commands/config/handle-config-unset.d.mts +7 -0
  56. package/dist/types/commands/config/handle-config-unset.d.mts.map +1 -0
  57. package/dist/types/commands/config/output-config-auto.d.mts +4 -0
  58. package/dist/types/commands/config/output-config-auto.d.mts.map +1 -0
  59. package/dist/types/commands/config/output-config-get.d.mts +4 -0
  60. package/dist/types/commands/config/output-config-get.d.mts.map +1 -0
  61. package/dist/types/commands/config/output-config-list.d.mts +6 -0
  62. package/dist/types/commands/config/output-config-list.d.mts.map +1 -0
  63. package/dist/types/commands/config/output-config-set.d.mts +3 -0
  64. package/dist/types/commands/config/output-config-set.d.mts.map +1 -0
  65. package/dist/types/commands/config/output-config-unset.d.mts +3 -0
  66. package/dist/types/commands/config/output-config-unset.d.mts.map +1 -0
  67. package/dist/types/commands/dependencies/cmd-dependencies.d.mts +10 -0
  68. package/dist/types/commands/dependencies/cmd-dependencies.d.mts.map +1 -0
  69. package/dist/types/commands/dependencies/fetch-dependencies.d.mts +7 -0
  70. package/dist/types/commands/dependencies/fetch-dependencies.d.mts.map +1 -0
  71. package/dist/types/commands/dependencies/handle-dependencies.d.mts +7 -0
  72. package/dist/types/commands/dependencies/handle-dependencies.d.mts.map +1 -0
  73. package/dist/types/commands/dependencies/output-dependencies.d.mts +8 -0
  74. package/dist/types/commands/dependencies/output-dependencies.d.mts.map +1 -0
  75. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts +10 -0
  76. package/dist/types/commands/diff-scan/cmd-diff-scan-get.d.mts.map +1 -0
  77. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts +3 -0
  78. package/dist/types/commands/diff-scan/cmd-diff-scan.d.mts.map +1 -0
  79. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts +8 -0
  80. package/dist/types/commands/diff-scan/fetch-diff-scan.d.mts.map +1 -0
  81. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts +10 -0
  82. package/dist/types/commands/diff-scan/handle-diff-scan.d.mts.map +1 -0
  83. package/dist/types/commands/diff-scan/output-diff-scan.d.mts +8 -0
  84. package/dist/types/commands/diff-scan/output-diff-scan.d.mts.map +1 -0
  85. package/dist/types/commands/fix/cmd-fix.d.mts +10 -0
  86. package/dist/types/commands/fix/cmd-fix.d.mts.map +1 -0
  87. package/dist/types/commands/fix/git.d.mts +33 -0
  88. package/dist/types/commands/fix/git.d.mts.map +1 -0
  89. package/dist/types/commands/fix/handle-fix.d.mts +13 -0
  90. package/dist/types/commands/fix/handle-fix.d.mts.map +1 -0
  91. package/dist/types/commands/fix/npm-fix.d.mts +15 -0
  92. package/dist/types/commands/fix/npm-fix.d.mts.map +1 -0
  93. package/dist/types/commands/fix/open-pr.d.mts +51 -0
  94. package/dist/types/commands/fix/open-pr.d.mts.map +1 -0
  95. package/dist/types/commands/fix/output-fix-result.d.mts +3 -0
  96. package/dist/types/commands/fix/output-fix-result.d.mts.map +1 -0
  97. package/dist/types/commands/fix/pnpm-fix.d.mts +15 -0
  98. package/dist/types/commands/fix/pnpm-fix.d.mts.map +1 -0
  99. package/dist/types/commands/fix/run-fix.d.mts +12 -0
  100. package/dist/types/commands/fix/run-fix.d.mts.map +1 -0
  101. package/dist/types/commands/fix/shared.d.mts +9 -0
  102. package/dist/types/commands/fix/shared.d.mts.map +1 -0
  103. package/dist/types/commands/info/cmd-info.d.mts +10 -0
  104. package/dist/types/commands/info/cmd-info.d.mts.map +1 -0
  105. package/dist/types/commands/info/fetch-package-info.d.mts +3 -0
  106. package/dist/types/commands/info/fetch-package-info.d.mts.map +1 -0
  107. package/dist/types/commands/info/handle-package-info.d.mts +17 -0
  108. package/dist/types/commands/info/handle-package-info.d.mts.map +1 -0
  109. package/dist/types/commands/info/output-package-info.d.mts +10 -0
  110. package/dist/types/commands/info/output-package-info.d.mts.map +1 -0
  111. package/dist/types/commands/install/cmd-install-completion.d.mts +10 -0
  112. package/dist/types/commands/install/cmd-install-completion.d.mts.map +1 -0
  113. package/dist/types/commands/install/cmd-install.d.mts +3 -0
  114. package/dist/types/commands/install/cmd-install.d.mts.map +1 -0
  115. package/dist/types/commands/install/handle-install-completion.d.mts +2 -0
  116. package/dist/types/commands/install/handle-install-completion.d.mts.map +1 -0
  117. package/dist/types/commands/install/output-install-completion.d.mts +12 -0
  118. package/dist/types/commands/install/output-install-completion.d.mts.map +1 -0
  119. package/dist/types/commands/install/setup-tab-completion.d.mts +13 -0
  120. package/dist/types/commands/install/setup-tab-completion.d.mts.map +1 -0
  121. package/dist/types/commands/login/apply-login.d.mts +2 -0
  122. package/dist/types/commands/login/apply-login.d.mts.map +1 -0
  123. package/dist/types/commands/login/attempt-login.d.mts +2 -0
  124. package/dist/types/commands/login/attempt-login.d.mts.map +1 -0
  125. package/dist/types/commands/login/cmd-login.d.mts +10 -0
  126. package/dist/types/commands/login/cmd-login.d.mts.map +1 -0
  127. package/dist/types/commands/logout/apply-logout.d.mts +2 -0
  128. package/dist/types/commands/logout/apply-logout.d.mts.map +1 -0
  129. package/dist/types/commands/logout/attempt-logout.d.mts +2 -0
  130. package/dist/types/commands/logout/attempt-logout.d.mts.map +1 -0
  131. package/dist/types/commands/logout/cmd-logout.d.mts +10 -0
  132. package/dist/types/commands/logout/cmd-logout.d.mts.map +1 -0
  133. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts +10 -0
  134. package/dist/types/commands/manifest/cmd-manifest-auto.d.mts.map +1 -0
  135. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts +10 -0
  136. package/dist/types/commands/manifest/cmd-manifest-cdxgen.d.mts.map +1 -0
  137. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts +10 -0
  138. package/dist/types/commands/manifest/cmd-manifest-conda.d.mts.map +1 -0
  139. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts +10 -0
  140. package/dist/types/commands/manifest/cmd-manifest-gradle.d.mts.map +1 -0
  141. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts +10 -0
  142. package/dist/types/commands/manifest/cmd-manifest-kotlin.d.mts.map +1 -0
  143. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts +10 -0
  144. package/dist/types/commands/manifest/cmd-manifest-scala.d.mts.map +1 -0
  145. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts +10 -0
  146. package/dist/types/commands/manifest/cmd-manifest-setup.d.mts.map +1 -0
  147. package/dist/types/commands/manifest/cmd-manifest.d.mts +10 -0
  148. package/dist/types/commands/manifest/cmd-manifest.d.mts.map +1 -0
  149. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts +8 -0
  150. package/dist/types/commands/manifest/convert-conda-to-requirements.d.mts.map +1 -0
  151. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts +7 -0
  152. package/dist/types/commands/manifest/convert_gradle_to_maven.d.mts.map +1 -0
  153. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts +8 -0
  154. package/dist/types/commands/manifest/convert_sbt_to_maven.d.mts.map +1 -0
  155. package/dist/types/commands/manifest/detect-manifest-actions.d.mts +13 -0
  156. package/dist/types/commands/manifest/detect-manifest-actions.d.mts.map +1 -0
  157. package/dist/types/commands/manifest/generate_auto_manifest.d.mts +9 -0
  158. package/dist/types/commands/manifest/generate_auto_manifest.d.mts.map +1 -0
  159. package/dist/types/commands/manifest/handle-manifest-conda.d.mts +9 -0
  160. package/dist/types/commands/manifest/handle-manifest-conda.d.mts.map +1 -0
  161. package/dist/types/commands/manifest/handle-manifest-setup.d.mts +2 -0
  162. package/dist/types/commands/manifest/handle-manifest-setup.d.mts.map +1 -0
  163. package/dist/types/commands/manifest/output-manifest-setup.d.mts +3 -0
  164. package/dist/types/commands/manifest/output-manifest-setup.d.mts.map +1 -0
  165. package/dist/types/commands/manifest/output-requirements.d.mts +6 -0
  166. package/dist/types/commands/manifest/output-requirements.d.mts.map +1 -0
  167. package/dist/types/commands/manifest/run-cdxgen.d.mts +2 -0
  168. package/dist/types/commands/manifest/run-cdxgen.d.mts.map +1 -0
  169. package/dist/types/commands/manifest/setup-manifest-config.d.mts +3 -0
  170. package/dist/types/commands/manifest/setup-manifest-config.d.mts.map +1 -0
  171. package/dist/types/commands/npm/cmd-npm.d.mts +10 -0
  172. package/dist/types/commands/npm/cmd-npm.d.mts.map +1 -0
  173. package/dist/types/commands/npx/cmd-npx.d.mts +10 -0
  174. package/dist/types/commands/npx/cmd-npx.d.mts.map +1 -0
  175. package/dist/types/commands/oops/cmd-oops.d.mts +10 -0
  176. package/dist/types/commands/oops/cmd-oops.d.mts.map +1 -0
  177. package/dist/types/commands/optimize/add-overrides.d.mts +20 -0
  178. package/dist/types/commands/optimize/add-overrides.d.mts.map +1 -0
  179. package/dist/types/commands/optimize/apply-optimization.d.mts +9 -0
  180. package/dist/types/commands/optimize/apply-optimization.d.mts.map +1 -0
  181. package/dist/types/commands/optimize/cmd-optimize.d.mts +10 -0
  182. package/dist/types/commands/optimize/cmd-optimize.d.mts.map +1 -0
  183. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts +4 -0
  184. package/dist/types/commands/optimize/deps-includes-by-agent.d.mts.map +1 -0
  185. package/dist/types/commands/optimize/get-dependency-entries.d.mts +3 -0
  186. package/dist/types/commands/optimize/get-dependency-entries.d.mts.map +1 -0
  187. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts +9 -0
  188. package/dist/types/commands/optimize/get-overrides-by-agent.d.mts.map +1 -0
  189. package/dist/types/commands/optimize/handle-optimize.d.mts +8 -0
  190. package/dist/types/commands/optimize/handle-optimize.d.mts.map +1 -0
  191. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts +3 -0
  192. package/dist/types/commands/optimize/lockfile-includes-by-agent.d.mts.map +1 -0
  193. package/dist/types/commands/optimize/ls-by-agent.d.mts +7 -0
  194. package/dist/types/commands/optimize/ls-by-agent.d.mts.map +1 -0
  195. package/dist/types/commands/optimize/output-optimize-result.d.mts +9 -0
  196. package/dist/types/commands/optimize/output-optimize-result.d.mts.map +1 -0
  197. package/dist/types/commands/optimize/shared.d.mts +2 -0
  198. package/dist/types/commands/optimize/shared.d.mts.map +1 -0
  199. package/dist/types/commands/optimize/types.d.mts +9 -0
  200. package/dist/types/commands/optimize/types.d.mts.map +1 -0
  201. package/dist/types/commands/optimize/update-lockfile.d.mts +11 -0
  202. package/dist/types/commands/optimize/update-lockfile.d.mts.map +1 -0
  203. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts +5 -0
  204. package/dist/types/commands/optimize/update-manifest-by-agent.d.mts.map +1 -0
  205. package/dist/types/commands/organization/cmd-organization-list.d.mts +10 -0
  206. package/dist/types/commands/organization/cmd-organization-list.d.mts.map +1 -0
  207. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts +10 -0
  208. package/dist/types/commands/organization/cmd-organization-policy-license.d.mts.map +1 -0
  209. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts +10 -0
  210. package/dist/types/commands/organization/cmd-organization-policy-security.d.mts.map +1 -0
  211. package/dist/types/commands/organization/cmd-organization-policy.d.mts +3 -0
  212. package/dist/types/commands/organization/cmd-organization-policy.d.mts.map +1 -0
  213. package/dist/types/commands/organization/cmd-organization-quota.d.mts +10 -0
  214. package/dist/types/commands/organization/cmd-organization-quota.d.mts.map +1 -0
  215. package/dist/types/commands/organization/cmd-organization.d.mts +3 -0
  216. package/dist/types/commands/organization/cmd-organization.d.mts.map +1 -0
  217. package/dist/types/commands/organization/fetch-license-policy.d.mts +4 -0
  218. package/dist/types/commands/organization/fetch-license-policy.d.mts.map +1 -0
  219. package/dist/types/commands/organization/fetch-organization-list.d.mts +4 -0
  220. package/dist/types/commands/organization/fetch-organization-list.d.mts.map +1 -0
  221. package/dist/types/commands/organization/fetch-quota.d.mts +4 -0
  222. package/dist/types/commands/organization/fetch-quota.d.mts.map +1 -0
  223. package/dist/types/commands/organization/fetch-security-policy.d.mts +4 -0
  224. package/dist/types/commands/organization/fetch-security-policy.d.mts.map +1 -0
  225. package/dist/types/commands/organization/handle-license-policy.d.mts +3 -0
  226. package/dist/types/commands/organization/handle-license-policy.d.mts.map +1 -0
  227. package/dist/types/commands/organization/handle-organization-list.d.mts +3 -0
  228. package/dist/types/commands/organization/handle-organization-list.d.mts.map +1 -0
  229. package/dist/types/commands/organization/handle-quota.d.mts +3 -0
  230. package/dist/types/commands/organization/handle-quota.d.mts.map +1 -0
  231. package/dist/types/commands/organization/handle-security-policy.d.mts +3 -0
  232. package/dist/types/commands/organization/handle-security-policy.d.mts.map +1 -0
  233. package/dist/types/commands/organization/output-license-policy.d.mts +4 -0
  234. package/dist/types/commands/organization/output-license-policy.d.mts.map +1 -0
  235. package/dist/types/commands/organization/output-organization-list.d.mts +4 -0
  236. package/dist/types/commands/organization/output-organization-list.d.mts.map +1 -0
  237. package/dist/types/commands/organization/output-quota.d.mts +4 -0
  238. package/dist/types/commands/organization/output-quota.d.mts.map +1 -0
  239. package/dist/types/commands/organization/output-security-policy.d.mts +4 -0
  240. package/dist/types/commands/organization/output-security-policy.d.mts.map +1 -0
  241. package/dist/types/commands/package/cmd-package-score.d.mts +10 -0
  242. package/dist/types/commands/package/cmd-package-score.d.mts.map +1 -0
  243. package/dist/types/commands/package/cmd-package-shallow.d.mts +17 -0
  244. package/dist/types/commands/package/cmd-package-shallow.d.mts.map +1 -0
  245. package/dist/types/commands/package/cmd-package.d.mts +3 -0
  246. package/dist/types/commands/package/cmd-package.d.mts.map +1 -0
  247. package/dist/types/commands/package/fetch-purl-deep-score.d.mts +51 -0
  248. package/dist/types/commands/package/fetch-purl-deep-score.d.mts.map +1 -0
  249. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts +4 -0
  250. package/dist/types/commands/package/fetch-purls-shallow-score.d.mts.map +1 -0
  251. package/dist/types/commands/package/handle-purl-deep-score.d.mts +3 -0
  252. package/dist/types/commands/package/handle-purl-deep-score.d.mts.map +1 -0
  253. package/dist/types/commands/package/handle-purls-shallow-score.d.mts +6 -0
  254. package/dist/types/commands/package/handle-purls-shallow-score.d.mts.map +1 -0
  255. package/dist/types/commands/package/output-purl-score.d.mts +4 -0
  256. package/dist/types/commands/package/output-purl-score.d.mts.map +1 -0
  257. package/dist/types/commands/package/output-purls-shallow-score.d.mts +4 -0
  258. package/dist/types/commands/package/output-purls-shallow-score.d.mts.map +1 -0
  259. package/dist/types/commands/package/parse-package-specifiers.d.mts +9 -0
  260. package/dist/types/commands/package/parse-package-specifiers.d.mts.map +1 -0
  261. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts +10 -0
  262. package/dist/types/commands/raw-npm/cmd-raw-npm.d.mts.map +1 -0
  263. package/dist/types/commands/raw-npm/run-raw-npm.d.mts +2 -0
  264. package/dist/types/commands/raw-npm/run-raw-npm.d.mts.map +1 -0
  265. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts +10 -0
  266. package/dist/types/commands/raw-npx/cmd-raw-npx.d.mts.map +1 -0
  267. package/dist/types/commands/raw-npx/run-raw-npx.d.mts +2 -0
  268. package/dist/types/commands/raw-npx/run-raw-npx.d.mts.map +1 -0
  269. package/dist/types/commands/report/cmd-report-create.d.mts +10 -0
  270. package/dist/types/commands/report/cmd-report-create.d.mts.map +1 -0
  271. package/dist/types/commands/report/cmd-report-view.d.mts +10 -0
  272. package/dist/types/commands/report/cmd-report-view.d.mts.map +1 -0
  273. package/dist/types/commands/report/cmd-report.d.mts +3 -0
  274. package/dist/types/commands/report/cmd-report.d.mts.map +1 -0
  275. package/dist/types/commands/repos/cmd-repos-create.d.mts +10 -0
  276. package/dist/types/commands/repos/cmd-repos-create.d.mts.map +1 -0
  277. package/dist/types/commands/repos/cmd-repos-del.d.mts +10 -0
  278. package/dist/types/commands/repos/cmd-repos-del.d.mts.map +1 -0
  279. package/dist/types/commands/repos/cmd-repos-list.d.mts +10 -0
  280. package/dist/types/commands/repos/cmd-repos-list.d.mts.map +1 -0
  281. package/dist/types/commands/repos/cmd-repos-update.d.mts +10 -0
  282. package/dist/types/commands/repos/cmd-repos-update.d.mts.map +1 -0
  283. package/dist/types/commands/repos/cmd-repos-view.d.mts +10 -0
  284. package/dist/types/commands/repos/cmd-repos-view.d.mts.map +1 -0
  285. package/dist/types/commands/repos/cmd-repos.d.mts +3 -0
  286. package/dist/types/commands/repos/cmd-repos.d.mts.map +1 -0
  287. package/dist/types/commands/repos/fetch-create-repo.d.mts +11 -0
  288. package/dist/types/commands/repos/fetch-create-repo.d.mts.map +1 -0
  289. package/dist/types/commands/repos/fetch-delete-repo.d.mts +4 -0
  290. package/dist/types/commands/repos/fetch-delete-repo.d.mts.map +1 -0
  291. package/dist/types/commands/repos/fetch-list-all-repos.d.mts +8 -0
  292. package/dist/types/commands/repos/fetch-list-all-repos.d.mts.map +1 -0
  293. package/dist/types/commands/repos/fetch-list-repos.d.mts +10 -0
  294. package/dist/types/commands/repos/fetch-list-repos.d.mts.map +1 -0
  295. package/dist/types/commands/repos/fetch-update-repo.d.mts +11 -0
  296. package/dist/types/commands/repos/fetch-update-repo.d.mts.map +1 -0
  297. package/dist/types/commands/repos/fetch-view-repo.d.mts +4 -0
  298. package/dist/types/commands/repos/fetch-view-repo.d.mts.map +1 -0
  299. package/dist/types/commands/repos/handle-create-repo.d.mts +10 -0
  300. package/dist/types/commands/repos/handle-create-repo.d.mts.map +1 -0
  301. package/dist/types/commands/repos/handle-delete-repo.d.mts +3 -0
  302. package/dist/types/commands/repos/handle-delete-repo.d.mts.map +1 -0
  303. package/dist/types/commands/repos/handle-list-repos.d.mts +11 -0
  304. package/dist/types/commands/repos/handle-list-repos.d.mts.map +1 -0
  305. package/dist/types/commands/repos/handle-update-repo.d.mts +10 -0
  306. package/dist/types/commands/repos/handle-update-repo.d.mts.map +1 -0
  307. package/dist/types/commands/repos/handle-view-repo.d.mts +3 -0
  308. package/dist/types/commands/repos/handle-view-repo.d.mts.map +1 -0
  309. package/dist/types/commands/repos/output-create-repo.d.mts +4 -0
  310. package/dist/types/commands/repos/output-create-repo.d.mts.map +1 -0
  311. package/dist/types/commands/repos/output-delete-repo.d.mts +4 -0
  312. package/dist/types/commands/repos/output-delete-repo.d.mts.map +1 -0
  313. package/dist/types/commands/repos/output-list-repos.d.mts +4 -0
  314. package/dist/types/commands/repos/output-list-repos.d.mts.map +1 -0
  315. package/dist/types/commands/repos/output-update-repo.d.mts +4 -0
  316. package/dist/types/commands/repos/output-update-repo.d.mts.map +1 -0
  317. package/dist/types/commands/repos/output-view-repo.d.mts +4 -0
  318. package/dist/types/commands/repos/output-view-repo.d.mts.map +1 -0
  319. package/dist/types/commands/scan/cmd-scan-create.d.mts +10 -0
  320. package/dist/types/commands/scan/cmd-scan-create.d.mts.map +1 -0
  321. package/dist/types/commands/scan/cmd-scan-del.d.mts +10 -0
  322. package/dist/types/commands/scan/cmd-scan-del.d.mts.map +1 -0
  323. package/dist/types/commands/scan/cmd-scan-diff.d.mts +10 -0
  324. package/dist/types/commands/scan/cmd-scan-diff.d.mts.map +1 -0
  325. package/dist/types/commands/scan/cmd-scan-github.d.mts +10 -0
  326. package/dist/types/commands/scan/cmd-scan-github.d.mts.map +1 -0
  327. package/dist/types/commands/scan/cmd-scan-list.d.mts +3 -0
  328. package/dist/types/commands/scan/cmd-scan-list.d.mts.map +1 -0
  329. package/dist/types/commands/scan/cmd-scan-metadata.d.mts +3 -0
  330. package/dist/types/commands/scan/cmd-scan-metadata.d.mts.map +1 -0
  331. package/dist/types/commands/scan/cmd-scan-report.d.mts +3 -0
  332. package/dist/types/commands/scan/cmd-scan-report.d.mts.map +1 -0
  333. package/dist/types/commands/scan/cmd-scan-setup.d.mts +10 -0
  334. package/dist/types/commands/scan/cmd-scan-setup.d.mts.map +1 -0
  335. package/dist/types/commands/scan/cmd-scan-view.d.mts +3 -0
  336. package/dist/types/commands/scan/cmd-scan-view.d.mts.map +1 -0
  337. package/dist/types/commands/scan/cmd-scan.d.mts +3 -0
  338. package/dist/types/commands/scan/cmd-scan.d.mts.map +1 -0
  339. package/dist/types/commands/scan/create-scan-from-github.d.mts +12 -0
  340. package/dist/types/commands/scan/create-scan-from-github.d.mts.map +1 -0
  341. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts +11 -0
  342. package/dist/types/commands/scan/fetch-create-org-full-scan.d.mts.map +1 -0
  343. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts +4 -0
  344. package/dist/types/commands/scan/fetch-delete-org-full-scan.d.mts.map +1 -0
  345. package/dist/types/commands/scan/fetch-diff-scan.d.mts +8 -0
  346. package/dist/types/commands/scan/fetch-diff-scan.d.mts.map +1 -0
  347. package/dist/types/commands/scan/fetch-list-scans.d.mts +13 -0
  348. package/dist/types/commands/scan/fetch-list-scans.d.mts.map +1 -0
  349. package/dist/types/commands/scan/fetch-report-data.d.mts +12 -0
  350. package/dist/types/commands/scan/fetch-report-data.d.mts.map +1 -0
  351. package/dist/types/commands/scan/fetch-scan-metadata.d.mts +4 -0
  352. package/dist/types/commands/scan/fetch-scan-metadata.d.mts.map +1 -0
  353. package/dist/types/commands/scan/fetch-scan.d.mts +4 -0
  354. package/dist/types/commands/scan/fetch-scan.d.mts.map +1 -0
  355. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts +4 -0
  356. package/dist/types/commands/scan/fetch-supported-scan-file-names.d.mts.map +1 -0
  357. package/dist/types/commands/scan/generate-report.d.mts +43 -0
  358. package/dist/types/commands/scan/generate-report.d.mts.map +1 -0
  359. package/dist/types/commands/scan/handle-create-github-scan.d.mts +12 -0
  360. package/dist/types/commands/scan/handle-create-github-scan.d.mts.map +1 -0
  361. package/dist/types/commands/scan/handle-create-new-scan.d.mts +21 -0
  362. package/dist/types/commands/scan/handle-create-new-scan.d.mts.map +1 -0
  363. package/dist/types/commands/scan/handle-delete-scan.d.mts +3 -0
  364. package/dist/types/commands/scan/handle-delete-scan.d.mts.map +1 -0
  365. package/dist/types/commands/scan/handle-diff-scan.d.mts +10 -0
  366. package/dist/types/commands/scan/handle-diff-scan.d.mts.map +1 -0
  367. package/dist/types/commands/scan/handle-list-scans.d.mts +13 -0
  368. package/dist/types/commands/scan/handle-list-scans.d.mts.map +1 -0
  369. package/dist/types/commands/scan/handle-scan-config.d.mts +2 -0
  370. package/dist/types/commands/scan/handle-scan-config.d.mts.map +1 -0
  371. package/dist/types/commands/scan/handle-scan-metadata.d.mts +3 -0
  372. package/dist/types/commands/scan/handle-scan-metadata.d.mts.map +1 -0
  373. package/dist/types/commands/scan/handle-scan-report.d.mts +12 -0
  374. package/dist/types/commands/scan/handle-scan-report.d.mts.map +1 -0
  375. package/dist/types/commands/scan/handle-scan-view.d.mts +3 -0
  376. package/dist/types/commands/scan/handle-scan-view.d.mts.map +1 -0
  377. package/dist/types/commands/scan/output-create-new-scan.d.mts +4 -0
  378. package/dist/types/commands/scan/output-create-new-scan.d.mts.map +1 -0
  379. package/dist/types/commands/scan/output-delete-scan.d.mts +4 -0
  380. package/dist/types/commands/scan/output-delete-scan.d.mts.map +1 -0
  381. package/dist/types/commands/scan/output-diff-scan.d.mts +8 -0
  382. package/dist/types/commands/scan/output-diff-scan.d.mts.map +1 -0
  383. package/dist/types/commands/scan/output-list-scans.d.mts +4 -0
  384. package/dist/types/commands/scan/output-list-scans.d.mts.map +1 -0
  385. package/dist/types/commands/scan/output-scan-config-result.d.mts +3 -0
  386. package/dist/types/commands/scan/output-scan-config-result.d.mts.map +1 -0
  387. package/dist/types/commands/scan/output-scan-metadata.d.mts +4 -0
  388. package/dist/types/commands/scan/output-scan-metadata.d.mts.map +1 -0
  389. package/dist/types/commands/scan/output-scan-report.d.mts +20 -0
  390. package/dist/types/commands/scan/output-scan-report.d.mts.map +1 -0
  391. package/dist/types/commands/scan/output-scan-view.d.mts +4 -0
  392. package/dist/types/commands/scan/output-scan-view.d.mts.map +1 -0
  393. package/dist/types/commands/scan/setup-scan-config.d.mts +3 -0
  394. package/dist/types/commands/scan/setup-scan-config.d.mts.map +1 -0
  395. package/dist/types/commands/scan/stream-scan.d.mts +2 -0
  396. package/dist/types/commands/scan/stream-scan.d.mts.map +1 -0
  397. package/dist/types/commands/scan/suggest-org-slug.d.mts +2 -0
  398. package/dist/types/commands/scan/suggest-org-slug.d.mts.map +1 -0
  399. package/dist/types/commands/scan/suggest-repo-slug.d.mts +5 -0
  400. package/dist/types/commands/scan/suggest-repo-slug.d.mts.map +1 -0
  401. package/dist/types/commands/scan/suggest_branch_slug.d.mts +2 -0
  402. package/dist/types/commands/scan/suggest_branch_slug.d.mts.map +1 -0
  403. package/dist/types/commands/scan/suggest_target.d.mts +2 -0
  404. package/dist/types/commands/scan/suggest_target.d.mts.map +1 -0
  405. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts +10 -0
  406. package/dist/types/commands/threat-feed/cmd-threat-feed.d.mts.map +1 -0
  407. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts +10 -0
  408. package/dist/types/commands/threat-feed/fetch-threat-feed.d.mts.map +1 -0
  409. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts +10 -0
  410. package/dist/types/commands/threat-feed/handle-threat-feed.d.mts.map +1 -0
  411. package/dist/types/commands/threat-feed/output-threat-feed.d.mts +4 -0
  412. package/dist/types/commands/threat-feed/output-threat-feed.d.mts.map +1 -0
  413. package/dist/types/commands/threat-feed/types.d.mts +15 -0
  414. package/dist/types/commands/threat-feed/types.d.mts.map +1 -0
  415. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts +9 -0
  416. package/dist/types/commands/uninstall/cmd-uninstall-completion.d.mts.map +1 -0
  417. package/dist/types/commands/uninstall/cmd-uninstall.d.mts +3 -0
  418. package/dist/types/commands/uninstall/cmd-uninstall.d.mts.map +1 -0
  419. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts +2 -0
  420. package/dist/types/commands/uninstall/handle-uninstall-completion.d.mts.map +1 -0
  421. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts +6 -0
  422. package/dist/types/commands/uninstall/output-uninstall-completion.d.mts.map +1 -0
  423. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts +6 -0
  424. package/dist/types/commands/uninstall/teardown-tab-completion.d.mts.map +1 -0
  425. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts +2 -0
  426. package/dist/types/commands/wrapper/add-socket-wrapper.d.mts.map +1 -0
  427. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts +2 -0
  428. package/dist/types/commands/wrapper/check-socket-wrapper-setup.d.mts.map +1 -0
  429. package/dist/types/commands/wrapper/cmd-wrapper.d.mts +10 -0
  430. package/dist/types/commands/wrapper/cmd-wrapper.d.mts.map +1 -0
  431. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts +2 -0
  432. package/dist/types/commands/wrapper/postinstall-wrapper.d.mts.map +1 -0
  433. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts +2 -0
  434. package/dist/types/commands/wrapper/remove-socket-wrapper.d.mts.map +1 -0
  435. package/dist/types/constants.d.mts +128 -0
  436. package/dist/types/constants.d.mts.map +1 -0
  437. package/dist/types/flags.d.mts +16 -0
  438. package/dist/types/flags.d.mts.map +1 -0
  439. package/dist/types/instrument-with-sentry.d.mts +2 -0
  440. package/dist/types/instrument-with-sentry.d.mts.map +1 -0
  441. package/dist/types/shadow/npm/arborist/index.d.mts +19 -0
  442. package/dist/types/shadow/npm/arborist/index.d.mts.map +1 -0
  443. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts +24 -0
  444. package/dist/types/shadow/npm/arborist/lib/arborist/index.d.mts.map +1 -0
  445. package/dist/types/shadow/npm/arborist/types.d.mts +119 -0
  446. package/dist/types/shadow/npm/arborist/types.d.mts.map +1 -0
  447. package/dist/types/shadow/npm/arborist-helpers.d.mts +35 -0
  448. package/dist/types/shadow/npm/arborist-helpers.d.mts.map +1 -0
  449. package/dist/types/shadow/npm/bin.d.mts +2 -0
  450. package/dist/types/shadow/npm/bin.d.mts.map +1 -0
  451. package/dist/types/shadow/npm/inject.d.mts +2 -0
  452. package/dist/types/shadow/npm/inject.d.mts.map +1 -0
  453. package/dist/types/shadow/npm/install.d.mts +13 -0
  454. package/dist/types/shadow/npm/install.d.mts.map +1 -0
  455. package/dist/types/shadow/npm/link.d.mts +2 -0
  456. package/dist/types/shadow/npm/link.d.mts.map +1 -0
  457. package/dist/types/shadow/npm/paths.d.mts +7 -0
  458. package/dist/types/shadow/npm/paths.d.mts.map +1 -0
  459. package/dist/types/shadow/npm/proc-log/index.d.mts +3 -0
  460. package/dist/types/shadow/npm/proc-log/index.d.mts.map +1 -0
  461. package/dist/types/types.d.mts +29 -0
  462. package/dist/types/types.d.mts.map +1 -0
  463. package/dist/types/utils/agent.d.mts +12 -0
  464. package/dist/types/utils/agent.d.mts.map +1 -0
  465. package/dist/types/utils/alert/artifact.d.mts +34 -0
  466. package/dist/types/utils/alert/artifact.d.mts.map +1 -0
  467. package/dist/types/utils/alert/fix.d.mts +6 -0
  468. package/dist/types/utils/alert/fix.d.mts.map +1 -0
  469. package/dist/types/utils/alert/severity.d.mts +14 -0
  470. package/dist/types/utils/alert/severity.d.mts.map +1 -0
  471. package/dist/types/utils/alerts-map.d.mts +25 -0
  472. package/dist/types/utils/alerts-map.d.mts.map +1 -0
  473. package/dist/types/utils/api.d.mts +13 -0
  474. package/dist/types/utils/api.d.mts.map +1 -0
  475. package/dist/types/utils/check-input.d.mts +9 -0
  476. package/dist/types/utils/check-input.d.mts.map +1 -0
  477. package/dist/types/utils/cmd.d.mts +4 -0
  478. package/dist/types/utils/cmd.d.mts.map +1 -0
  479. package/dist/types/utils/color-or-markdown.d.mts +16 -0
  480. package/dist/types/utils/color-or-markdown.d.mts.map +1 -0
  481. package/dist/types/utils/completion.d.mts +11 -0
  482. package/dist/types/utils/completion.d.mts.map +1 -0
  483. package/dist/types/utils/config.d.mts +31 -0
  484. package/dist/types/utils/config.d.mts.map +1 -0
  485. package/dist/types/utils/determine-org-slug.d.mts +2 -0
  486. package/dist/types/utils/determine-org-slug.d.mts.map +1 -0
  487. package/dist/types/utils/errors.d.mts +14 -0
  488. package/dist/types/utils/errors.d.mts.map +1 -0
  489. package/dist/types/utils/fail-msg-with-badge.d.mts +2 -0
  490. package/dist/types/utils/fail-msg-with-badge.d.mts.map +1 -0
  491. package/dist/types/utils/fs.d.mts +22 -0
  492. package/dist/types/utils/fs.d.mts.map +1 -0
  493. package/dist/types/utils/get-output-kind.d.mts +3 -0
  494. package/dist/types/utils/get-output-kind.d.mts.map +1 -0
  495. package/dist/types/utils/glob.d.mts +14 -0
  496. package/dist/types/utils/glob.d.mts.map +1 -0
  497. package/dist/types/utils/map-to-object.d.mts +10 -0
  498. package/dist/types/utils/map-to-object.d.mts.map +1 -0
  499. package/dist/types/utils/markdown.d.mts +10 -0
  500. package/dist/types/utils/markdown.d.mts.map +1 -0
  501. package/dist/types/utils/meow-with-subcommands.d.mts +50 -0
  502. package/dist/types/utils/meow-with-subcommands.d.mts.map +1 -0
  503. package/dist/types/utils/npm-package-arg.d.mts +4 -0
  504. package/dist/types/utils/npm-package-arg.d.mts.map +1 -0
  505. package/dist/types/utils/npm-paths.d.mts +7 -0
  506. package/dist/types/utils/npm-paths.d.mts.map +1 -0
  507. package/dist/types/utils/objects.d.mts +3 -0
  508. package/dist/types/utils/objects.d.mts.map +1 -0
  509. package/dist/types/utils/output-formatting.d.mts +15 -0
  510. package/dist/types/utils/output-formatting.d.mts.map +1 -0
  511. package/dist/types/utils/package-environment.d.mts +57 -0
  512. package/dist/types/utils/package-environment.d.mts.map +1 -0
  513. package/dist/types/utils/path-resolve.d.mts +10 -0
  514. package/dist/types/utils/path-resolve.d.mts.map +1 -0
  515. package/dist/types/utils/pnpm.d.mts +11 -0
  516. package/dist/types/utils/pnpm.d.mts.map +1 -0
  517. package/dist/types/utils/purl.d.mts +3 -0
  518. package/dist/types/utils/purl.d.mts.map +1 -0
  519. package/dist/types/utils/sdk.d.mts +8 -0
  520. package/dist/types/utils/sdk.d.mts.map +1 -0
  521. package/dist/types/utils/semver.d.mts +8 -0
  522. package/dist/types/utils/semver.d.mts.map +1 -0
  523. package/dist/types/utils/serialize-result-json.d.mts +5 -0
  524. package/dist/types/utils/serialize-result-json.d.mts.map +1 -0
  525. package/dist/types/utils/socket-package-alert.d.mts +77 -0
  526. package/dist/types/utils/socket-package-alert.d.mts.map +1 -0
  527. package/dist/types/utils/socket-url.d.mts +9 -0
  528. package/dist/types/utils/socket-url.d.mts.map +1 -0
  529. package/dist/types/utils/socketjson.d.mts +56 -0
  530. package/dist/types/utils/socketjson.d.mts.map +1 -0
  531. package/dist/types/utils/spec.d.mts +4 -0
  532. package/dist/types/utils/spec.d.mts.map +1 -0
  533. package/dist/types/utils/strings.d.mts +2 -0
  534. package/dist/types/utils/strings.d.mts.map +1 -0
  535. package/dist/types/utils/translations.d.mts +593 -0
  536. package/dist/types/utils/translations.d.mts.map +1 -0
  537. package/dist/types/utils/walk-nested-map.d.mts +7 -0
  538. package/dist/types/utils/walk-nested-map.d.mts.map +1 -0
  539. package/dist/utils.js +115 -23
  540. package/dist/utils.js.map +1 -1
  541. package/dist/vendor.js +1107 -1077
  542. package/external/@socketsecurity/registry/external/browserslist.js +395 -358
  543. package/external/@socketsecurity/registry/lib/debug.js +15 -5
  544. package/external/@socketsecurity/registry/lib/logger.js +3 -10
  545. package/external/@socketsecurity/registry/lib/strings.js +9 -1
  546. package/package.json +19 -19
@@ -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,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdScanList: CliSubcommand;
3
+ //# sourceMappingURL=cmd-scan-list.d.mts.map
@@ -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,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdScanMetadata: CliSubcommand;
3
+ //# sourceMappingURL=cmd-scan-metadata.d.mts.map
@@ -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,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdScanReport: CliSubcommand;
3
+ //# sourceMappingURL=cmd-scan-report.d.mts.map
@@ -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,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdScanView: CliSubcommand;
3
+ //# sourceMappingURL=cmd-scan-view.d.mts.map
@@ -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,3 @@
1
+ import type { CliSubcommand } from '../../utils/meow-with-subcommands.mts';
2
+ export declare const cmdScan: CliSubcommand;
3
+ //# sourceMappingURL=cmd-scan.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cmd-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/cmd-scan.mts"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uCAAuC,CAAA;AAI1E,eAAO,MAAM,OAAO,EAAE,aA+BrB,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 { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ import type { components } from '@socketsecurity/sdk/types/api';
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: Array<components['schemas']['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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D;;;GAGG;AACH,wBAAsB,eAAe,CACnC,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,oBAAoB,EAAE,OAAO,GAC5B,OAAO,CACR,OAAO,CAAC;IACN,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACpD,cAAc,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACpE,CAAC,CACH,CA8IA"}
@@ -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,4 @@
1
+ import type { CResult } from '../../types.mts';
2
+ import type { components } from '@socketsecurity/sdk/types/api';
3
+ export declare function fetchScan(orgSlug: string, scanId: string): Promise<CResult<Array<components['schemas']['SocketArtifact']>>>;
4
+ //# sourceMappingURL=fetch-scan.d.mts.map
@@ -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,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,wBAAsB,SAAS,CAC7B,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAAC,CAmClE"}
@@ -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 { Spinner } from '@socketsecurity/registry/lib/spinner';
3
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
4
+ import type { components } from '@socketsecurity/sdk/types/api';
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: Array<components['schemas']['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,OAAO,EAAE,MAAM,sCAAsC,CAAA;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAG/D,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,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,EACpD,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,CAoL5C"}
@@ -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"}
@@ -0,0 +1,21 @@
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
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handle-create-new-scan.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/handle-create-new-scan.mts"],"names":[],"mappings":"AAYA,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,CAuFhB"}
@@ -0,0 +1,3 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleDeleteScan(orgSlug: string, scanId: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-delete-scan.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,10 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,13 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleListScans({ branch, direction, from_time, orgSlug, outputKind, page, per_page, repo, sort }: {
3
+ branch: string;
4
+ direction: string;
5
+ from_time: string;
6
+ orgSlug: string;
7
+ outputKind: OutputKind;
8
+ page: number;
9
+ per_page: number;
10
+ repo: string;
11
+ sort: string;
12
+ }): Promise<void>;
13
+ //# sourceMappingURL=handle-list-scans.d.mts.map
@@ -0,0 +1 @@
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,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,UAAU,EAAE,UAAU,CAAA;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAA;IAChB,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,GAAG,OAAO,CAAC,IAAI,CAAC,CAahB"}
@@ -0,0 +1,2 @@
1
+ export declare function handleScanConfig(cwd: string, defaultOnReadError?: boolean): Promise<void>;
2
+ //# sourceMappingURL=handle-scan-config.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleOrgScanMetadata(orgSlug: string, scanId: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-scan-metadata.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,12 @@
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
@@ -0,0 +1 @@
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,CAahB"}
@@ -0,0 +1,3 @@
1
+ import type { OutputKind } from '../../types.mts';
2
+ export declare function handleScanView(orgSlug: string, scanId: string, filePath: string, outputKind: OutputKind): Promise<void>;
3
+ //# sourceMappingURL=handle-scan-view.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputCreateNewScan(result: CResult<SocketSdkReturnType<'CreateOrgFullScan'>['data']>, outputKind: OutputKind, interactive: boolean): Promise<void>;
4
+ //# sourceMappingURL=output-create-new-scan.d.mts.map
@@ -0,0 +1 @@
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,mBAAmB,CACvC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,EACjE,UAAU,EAAE,UAAU,EACtB,WAAW,EAAE,OAAO,iBAiDrB"}
@@ -0,0 +1,4 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputDeleteScan(result: CResult<SocketSdkReturnType<'deleteOrgFullScan'>['data']>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-delete-scan.d.mts.map
@@ -0,0 +1 @@
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,CAAC,MAAM,CAAC,CAAC,EACjE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAef"}
@@ -0,0 +1,8 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputDiffScan(result: CResult<SocketSdkReturnType<'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
@@ -0,0 +1 @@
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAM9D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC,EAC9D,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"}
@@ -0,0 +1,4 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputListScans(result: CResult<SocketSdkReturnType<'getOrgFullScanList'>['data']>, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-list-scans.d.mts.map
@@ -0,0 +1 @@
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,eAAe,CACnC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,CAAC,MAAM,CAAC,CAAC,EAClE,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CAyCf"}
@@ -0,0 +1,3 @@
1
+ import type { CResult } from '../../types.mts';
2
+ export declare function outputScanConfigResult(result: CResult<unknown>): Promise<void>;
3
+ //# sourceMappingURL=output-scan-config-result.d.mts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,4 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
3
+ export declare function outputScanMetadata(result: CResult<SocketSdkReturnType<'getOrgFullScanMetadata'>['data']>, scanId: string, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-scan-metadata.d.mts.map
@@ -0,0 +1 @@
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAE9D,wBAAsB,kBAAkB,CACtC,MAAM,EAAE,OAAO,CAAC,mBAAmB,CAAC,wBAAwB,CAAC,CAAC,MAAM,CAAC,CAAC,EACtE,MAAM,EAAE,MAAM,EACd,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA0Cf"}
@@ -0,0 +1,20 @@
1
+ import type { ScanReport } from './generate-report.mts';
2
+ import type { CResult, OutputKind } from '../../types.mts';
3
+ import type { SocketSdkReturnType } from '@socketsecurity/sdk';
4
+ import type { components } from '@socketsecurity/sdk/types/api';
5
+ export declare function outputScanReport(result: CResult<{
6
+ scan: Array<components['schemas']['SocketArtifact']>;
7
+ securityPolicy: SocketSdkReturnType<'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
@@ -0,0 +1 @@
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,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AAC9D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAE/D,wBAAsB,gBAAgB,CACpC,MAAM,EAAE,OAAO,CAAC;IACd,IAAI,EAAE,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAA;IACpD,cAAc,EAAE,mBAAmB,CAAC,sBAAsB,CAAC,CAAC,MAAM,CAAC,CAAA;CACpE,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"}
@@ -0,0 +1,4 @@
1
+ import type { CResult, OutputKind } from '../../types.mts';
2
+ import type { components } from '@socketsecurity/sdk/types/api';
3
+ export declare function outputScanView(result: CResult<Array<components['schemas']['SocketArtifact']>>, orgSlug: string, scanId: string, filePath: string, outputKind: OutputKind): Promise<void>;
4
+ //# sourceMappingURL=output-scan-view.d.mts.map
@@ -0,0 +1 @@
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,UAAU,EAAE,MAAM,+BAA+B,CAAA;AAI/D,wBAAsB,cAAc,CAClC,MAAM,EAAE,OAAO,CAAC,KAAK,CAAC,UAAU,CAAC,SAAS,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAC/D,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,UAAU,GACrB,OAAO,CAAC,IAAI,CAAC,CA0Ff"}
@@ -0,0 +1,3 @@
1
+ import type { CResult } from '../../types.mts';
2
+ export declare function setupScanConfig(cwd: string, defaultOnReadError?: boolean): Promise<CResult<unknown>>;
3
+ //# sourceMappingURL=setup-scan-config.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setup-scan-config.d.mts","sourceRoot":"","sources":["../../../../src/commands/scan/setup-scan-config.mts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,wBAAsB,eAAe,CACnC,GAAG,EAAE,MAAM,EACX,kBAAkB,UAAQ,GACzB,OAAO,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CA2G3B"}