feat: Support running Debricked scan & publish results to SSC (#705) #810
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supporting newer fcli action debricked-scan to perform the debricked scan of the project. This fcli action under (ssc actions) can be run independently with the following mandatory parameters passed to the action.
--app-version|--av: Application Version to which the debricked report must be imported to.--access-token|-t: Access tokens required for Debricked authentication.--source-dir|-d: Specify the source directory to be scanned for Open Source vulnerabilities.Also, following options can be passed to the fcli action
--tool-definitions: Custom tool definitions to use for identifying available Debricked CLI tool versions and download URLs.--cli-version|-v: Specify the Debricked CLI version to be used for scanning. FCLI action installs this version of the debricked cli tool and performs the debricked scanning.--repository|-r: Debricked repository name or ID.--branch|-b: Debricked branch name or ID.--extra-opts: Extra options to be passed to the 'debricked scan' command.--wait: An option to be passed to make the action wait untilfcli ssc artifact import-debrickedcompletes.This debricked scan fcli action can be run from the ssc ci action with all required parameters set as environment variables.