From 98b121112a1ad89a3ab72dec2809ea0f44643128 Mon Sep 17 00:00:00 2001 From: Pram Gurusinga Date: Fri, 22 Nov 2024 13:31:13 +0100 Subject: [PATCH] feat: remove download due to TOOMANYREQ [skip ci] --- .github/workflows/scan.yml | 42 +++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/scan.yml b/.github/workflows/scan.yml index 6d016afe1..6e58c69d4 100644 --- a/.github/workflows/scan.yml +++ b/.github/workflows/scan.yml @@ -12,29 +12,29 @@ env: CONTAINER_IMAGE_VERSION: latest jobs: - reset-trivy-cache: - runs-on: ubuntu-latest - steps: - # TODO with latest release 0.24.0 there is no environment variable for resetting cache anymore - # GH issue: https://github.com/aquasecurity/trivy-action/issues/372 - # - # - name: Remove all caches and database of the trivy scanner - # uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 - # env: - # TRIVY_RESET: true - # TRIVY_DEBUG: true - # with: - # scan-type: "image" - - name: Download trivy vulnerabilities DB - uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 - env: - TRIVY_DEBUG: true - TRIVY_DOWNLOAD_DB_ONLY: true - with: - scan-type: "image" + # reset-trivy-cache: + # runs-on: ubuntu-latest + # steps: + # # TODO with latest release 0.24.0 there is no environment variable for resetting cache anymore + # # GH issue: https://github.com/aquasecurity/trivy-action/issues/372 + # # + # - name: Remove all caches and database of the trivy scanner + # uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 + # env: + # TRIVY_RESET: true + # TRIVY_DEBUG: true + # with: + # scan-type: "image" + # - name: Download trivy vulnerabilities DB + # uses: aquasecurity/trivy-action@f781cce5aab226378ee181d764ab90ea0be3cdd8 # v0.25.0 + # env: + # TRIVY_DEBUG: true + # TRIVY_DOWNLOAD_DB_ONLY: true + # with: + # scan-type: "image" vulnerability-scan-backend: runs-on: ubuntu-latest - needs: reset-trivy-cache + # needs: reset-trivy-cache strategy: matrix: container-name: