Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/security-actions/s…
Browse files Browse the repository at this point in the history
…ign-docker-image/docker/login-action-3.3.0
  • Loading branch information
saisatishkarra authored Sep 6, 2024
2 parents c85266f + d6086ff commit bb739aa
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions security-actions/scan-docker-image/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ runs:

# Must upload artifact for output file parameter to have effect
- name: Generate SPDX SBOM Using Syft
uses: anchore/sbom-action@v0.17.1
uses: anchore/sbom-action@v0.17.2
id: sbom_spdx
with:
config: ${{ inputs.config }}
Expand All @@ -108,7 +108,7 @@ runs:
github-token: ${{ inputs.github-token }}

- name: Generate CycloneDX SBOM Using Syft
uses: anchore/sbom-action@v0.17.1
uses: anchore/sbom-action@v0.17.2
id: sbom_cyclonedx
with:
config: ${{ inputs.config }}
Expand All @@ -131,7 +131,7 @@ runs:
fail: true

- name: Download Grype
uses: anchore/scan-action/download-grype@v4.1.1
uses: anchore/scan-action/download-grype@v4.1.2

# Skip Cache Restoration: If skip_grype_db_cache is true, skip the restoration of the cache.
# Check for any existing cache to reuse
Expand Down Expand Up @@ -209,7 +209,7 @@ runs:
# Grype is invoked first time ever
# Don't fail during report generation
- name: Vulnerability analysis of SBOM
uses: anchore/scan-action@v4.1.1
uses: anchore/scan-action@v4.1.2
id: grype_analysis_sarif
if: ${{ steps.sbom_report.outputs.files_exists == 'true' && steps.grype_db_check_updates.outputs.GRYPE_DB_UPDATE_STATUS == 0 }}
with:
Expand All @@ -224,7 +224,7 @@ runs:
# Don't fail during report generation
# JSON format will report any ignored rules
- name: Vulnerability analysis of SBOM
uses: anchore/scan-action@v4.1.1
uses: anchore/scan-action@v4.1.2
id: grype_analysis_json
if: ${{ steps.sbom_report.outputs.files_exists == 'true' && steps.grype_db_check_updates.outputs.GRYPE_DB_UPDATE_STATUS == 0 }}
with:
Expand Down Expand Up @@ -276,7 +276,7 @@ runs:
# Notify grype quick scan results in table format
# Table format will supress any specified ignore rules
- name: Inspect Vulnerability analysis of SBOM
uses: anchore/scan-action@v4.1.1
uses: anchore/scan-action@v4.1.2
if: ${{ steps.sbom_report.outputs.files_exists == 'true' && steps.grype_db_check_updates.outputs.GRYPE_DB_UPDATE_STATUS == 0 }}
with:
sbom: ${{ steps.meta.outputs.sbom_spdx_file }}
Expand Down

0 comments on commit bb739aa

Please sign in to comment.