Skip to content

Create socket scan report and related commands#361

Merged
jdalton merged 2 commits intomainfrom
scan-report
Mar 13, 2025
Merged

Create socket scan report and related commands#361
jdalton merged 2 commits intomainfrom
scan-report

Conversation

@pvdz
Copy link
Contributor

@pvdz pvdz commented Mar 13, 2025

Ok this PR does a bunch of things actually. But the main goal is to add a report view.

  • Add a socket scan report command
    • hidden for now
    • will allow you to check if a certain full scan report passes the security policy of your org, and shows any alerts beyond a certain threshhold
  • Reorganized the socket organization command
    • The main command is now socket organization list, with a hidden alias for the main command
    • The main command is now deprecated in favor of the list sub command
  • Added the ability to alias a parent command to a sub-command to the meow tools
  • Added an socket organization quota command to show you the remaining quota on your token
    • Hidden for now
  • Added an socket organization policy security command, to fetch your security policy
  • Added a stub for a socket organization policy license command, to fetch your license policy
  • Started to add tests adjacent to source files
    • The common pattern of src/command/foo.ts -> src/command/foo.test.ts
    • Required a few updates in the rollup/eslint config files
  • Fixed a bug in error handler and the spinner where the spinner would not be stopped before throwing an error

See snapshot tests for the scan-report to see what that kinda looks like.

@pvdz pvdz requested a review from jdalton March 13, 2025 18:06
@jdalton jdalton merged commit e612014 into main Mar 13, 2025
8 checks passed
@jdalton jdalton deleted the scan-report branch March 13, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants