Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defaulting to use grype cdn and skip cache by default #152

Merged
merged 2 commits into from
Sep 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion security-actions/sca/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ inputs:
- 'false'
skip_grype_db_cache:
required: false
default: false
default: true
description: 'Skip the caching of the Grype DB during the SBOM (Software Bill of Materials) scanning process'
type: choice
options:
Expand Down
8 changes: 4 additions & 4 deletions security-actions/scan-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ inputs:
- 'false'
skip_grype_db_cache:
required: false
default: false
default: true
description: 'Skip grype db caching'
type: choice
saisatishkarra marked this conversation as resolved.
Show resolved Hide resolved
options:
Expand Down Expand Up @@ -219,7 +219,7 @@ runs:
add-cpes-if-none: true
severity-cutoff: ${{ steps.meta.outputs.global_severity_cutoff }}
env:
GRYPE_DB_AUTO_UPDATE: false
GRYPE_DB_AUTO_UPDATE: false # Use grype db pointed from grype_db step above

# Don't fail during report generation
# JSON format will report any ignored rules
Expand All @@ -234,7 +234,7 @@ runs:
add-cpes-if-none: true
severity-cutoff: ${{ steps.meta.outputs.global_severity_cutoff }}
env:
GRYPE_DB_AUTO_UPDATE: false # Use grype db cache from grype step above
GRYPE_DB_AUTO_UPDATE: false # Use grype db pointed from grype_db step above

- name: Check vulnerability analysis report existence
if: ${{ steps.grype_db_check_updates.outputs.GRYPE_DB_UPDATE_STATUS == 0 }} # Run only if DB is available on the runner
Expand Down Expand Up @@ -285,7 +285,7 @@ runs:
add-cpes-if-none: true
severity-cutoff: ${{ steps.meta.outputs.global_severity_cutoff }}
env:
GRYPE_DB_AUTO_UPDATE: false # Use grype db cache from grype step above
GRYPE_DB_AUTO_UPDATE: false # Use grype db pointed from grype_db step above

- name: Check docker OCI tar existence
if: ${{ steps.meta.outputs.scan_image != '' }}
Expand Down
Loading