Skip to content

Commit

Permalink
add skip_download option (#154)
Browse files Browse the repository at this point in the history
* add `skip_download` option

This allows to enable the `--skip-download` argument on `checkov` runs if `skip_download` input is set. Requires bridgecrewio/checkov#5734 to be merged and released prior to this.

Signed-off-by: Alexej Disterhoft <[email protected]>

* fix: also pass `skip_download` input as an arg

---------

Signed-off-by: Alexej Disterhoft <[email protected]>
  • Loading branch information
nobbs authored Nov 9, 2023
1 parent 3cf218c commit 792f35d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ inputs:
skip_cve_package:
description: 'Filter scan to run on all packages except for a specific CVE package identifier, e.g. CVE-2018-19788 (comma separated)'
required: false
skip_download:
description: 'Do not download any data from Bridgecrew. This will omit doc links, severities, etc., as well as custom policies and suppressions if using an API token. Note: it will prevent BC platform IDs from being available in Checkov.'
required: false
outputs:
results:
description: 'The results from the infrastructure scan'
Expand Down Expand Up @@ -168,6 +171,7 @@ runs:
- ${{ inputs.policy_metadata_filter }}
- ${{ inputs.skip_path }}
- ${{ inputs.skip_cve_package }}
- ${{ inputs.skip_download }}
- "--user ${{ inputs.container_user }}"
env:
API_KEY_VARIABLE: ${{ inputs.api-key }}
Expand Down

0 comments on commit 792f35d

Please sign in to comment.