-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Setting -inProgressScanActionType = 0 returns an exit code of 1 when a scan is already running.
For example running via GitHub actions with this value returns:
Authenticating
Beginning upload
Package upload failed for the following reasons:
1) Can not start scan another scan is in progress
Retiring Token : Token Retired Successfully
Error: Process completed with exit code 1.
An exit code of 1 will signify an (un)expected failure of the task. For me this would make more sense to return a successful exit code when a scan is already running as your intention of including the value in ProgressScanActionType = 0 is that a scan should not be actioned if another is already in progress, meaning that this task has been completed successfully.
Could this function be amended or a new option be provided to exit successfully if a scan is already running?
Metadata
Metadata
Assignees
Labels
No labels