Skip to content

Add --report to socket scan create, to immediately generate a report#408

Merged
jdalton merged 4 commits intomainfrom
scan_create_report
Apr 4, 2025
Merged

Add --report to socket scan create, to immediately generate a report#408
jdalton merged 4 commits intomainfrom
scan_create_report

Conversation

@pvdz
Copy link
Contributor

@pvdz pvdz commented Apr 4, 2025

The old report workflow, attached to socket ci, is to do create a report and then ask for the results in a report view. While you could do the same in the scan creation flow, it would require some slightly awkward shell script to handle the json result and fire a report request etc. Anyways, --report takes care of that.

The only concern is a timeout from the server while waiting for the scan to complete...

Also clarified flags desc for pendingHead and defaultBranch a bit.

Fixed a bug with defaultOrg (nobody uses this yet) with the suggestion flow.

Added support for --json and --markdown in the socket scan create flow. A bit superficial but it does what it should do.

@pvdz pvdz requested a review from jdalton April 4, 2025 17:16
@jdalton jdalton enabled auto-merge (squash) April 4, 2025 18:46
@jdalton jdalton merged commit efd9d1b into main Apr 4, 2025
4 checks passed
@jdalton jdalton deleted the scan_create_report branch April 4, 2025 18:46
@pvdz pvdz restored the scan_create_report branch April 7, 2025 09:47
@pvdz pvdz mentioned this pull request Apr 7, 2025
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