From 4a0239079db9de3055eb0145790df5ce70cf0ab9 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 3 Sep 2025 00:51:06 +0000 Subject: [PATCH] Bump the trivy-actions group with 2 updates Bumps the trivy-actions group with 2 updates: [aquasecurity/setup-trivy](https://github.com/aquasecurity/setup-trivy) and [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action). Updates `aquasecurity/setup-trivy` from 0.2.3 to 0.2.4 - [Release notes](https://github.com/aquasecurity/setup-trivy/releases) - [Commits](https://github.com/aquasecurity/setup-trivy/compare/v0.2.3...v0.2.4) Updates `aquasecurity/trivy-action` from 0.32.0 to 0.33.0 - [Release notes](https://github.com/aquasecurity/trivy-action/releases) - [Commits](https://github.com/aquasecurity/trivy-action/compare/0.32.0...0.33.0) --- updated-dependencies: - dependency-name: aquasecurity/setup-trivy dependency-version: 0.2.4 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: trivy-actions - dependency-name: aquasecurity/trivy-action dependency-version: 0.33.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: trivy-actions ... Signed-off-by: dependabot[bot] --- .github/workflows/trivy_scan.yml | 10 +++++----- .github/workflows/trivy_scan_before_release.yml | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/trivy_scan.yml b/.github/workflows/trivy_scan.yml index b982b349531..797a79937cf 100644 --- a/.github/workflows/trivy_scan.yml +++ b/.github/workflows/trivy_scan.yml @@ -40,7 +40,7 @@ jobs: docker pull antrea/antrea-controller-ubuntu:latest docker pull antrea/antrea-controller-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }} - name: Install Trivy - uses: aquasecurity/setup-trivy@v0.2.3 + uses: aquasecurity/setup-trivy@v0.2.4 - name: Get current UTC date id: date run: echo "date=$(date -u +'%Y-%m-%d')" >> $GITHUB_OUTPUT @@ -68,7 +68,7 @@ jobs: key: ${{ steps.restore-db-cache.outputs.cache-primary-key }} - name: Run Trivy vulnerability scanner on latest antrea-agent Docker image if: ${{ always() && steps.pull.conclusion == 'success' }} - uses: aquasecurity/trivy-action@0.32.0 + uses: aquasecurity/trivy-action@0.33.0 # we cannot use .trivy.yml as we need to override some config parameters # and that is not supported by aquasecurity/trivy-action with: @@ -87,7 +87,7 @@ jobs: TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Run Trivy vulnerability scanner on latest antrea-controller Docker image if: ${{ always() && steps.pull.conclusion == 'success' }} - uses: aquasecurity/trivy-action@0.32.0 + uses: aquasecurity/trivy-action@0.33.0 # we cannot use .trivy.yml as we need to override some config parameters # and that is not supported by aquasecurity/trivy-action with: @@ -105,7 +105,7 @@ jobs: TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Run Trivy vulnerability scanner on antrea-agent Docker image for latest released version if: ${{ always() && steps.pull.conclusion == 'success' }} - uses: aquasecurity/trivy-action@0.32.0 + uses: aquasecurity/trivy-action@0.33.0 with: scan-type: 'image' image-ref: 'antrea/antrea-agent-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }}' @@ -121,7 +121,7 @@ jobs: TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Run Trivy vulnerability scanner on antrea-controller Docker image for latest released version if: ${{ always() && steps.pull.conclusion == 'success' }} - uses: aquasecurity/trivy-action@0.32.0 + uses: aquasecurity/trivy-action@0.33.0 with: scan-type: 'image' image-ref: 'antrea/antrea-controller-ubuntu:${{ steps.find-antrea-greatest-version.outputs.antrea_version }}' diff --git a/.github/workflows/trivy_scan_before_release.yml b/.github/workflows/trivy_scan_before_release.yml index 1457e6b90fc..1d9f88ad9b0 100644 --- a/.github/workflows/trivy_scan_before_release.yml +++ b/.github/workflows/trivy_scan_before_release.yml @@ -19,7 +19,7 @@ jobs: run: | ./hack/build-antrea-linux-all.sh --pull - name: Install Trivy - uses: aquasecurity/setup-trivy@v0.2.3 + uses: aquasecurity/setup-trivy@v0.2.4 - name: Download Trivy DB # Always download the latest DB for releases, don't use a cached version. # Try downloading the vulnerability DB up to 5 times, to account for TOOMANYREQUESTS errors. @@ -28,7 +28,7 @@ jobs: run: | for i in {1..5}; do trivy image --download-db-only --cache-dir $GITHUB_WORKSPACE/.cache/trivy && break || sleep 1; done - name: Run Trivy vulnerability scanner on the antrea-agent Docker image - uses: aquasecurity/trivy-action@0.32.0 + uses: aquasecurity/trivy-action@0.33.0 with: scan-type: 'image' image-ref: 'antrea/antrea-agent-ubuntu:latest' @@ -39,7 +39,7 @@ jobs: TRIVY_SKIP_DB_UPDATE: true TRIVY_SKIP_JAVA_DB_UPDATE: true - name: Run Trivy vulnerability scanner on the antrea-controller Docker image - uses: aquasecurity/trivy-action@0.32.0 + uses: aquasecurity/trivy-action@0.33.0 with: scan-type: 'image' image-ref: 'antrea/antrea-controller-ubuntu:latest'