diff --git a/.github/workflows/scan-image.yml b/.github/workflows/scan-image.yml index b76f997..23dce48 100644 --- a/.github/workflows/scan-image.yml +++ b/.github/workflows/scan-image.yml @@ -49,7 +49,10 @@ jobs: - name: Scan Image (On SARIF Scan Failure) if: failure() && steps.scan_image.outcome == 'failure' id: scan_image_on_failure - uses: aquasecurity/trivy-action@6e7b7d1fd3e4fef0c5fa8cce1229c54b2c9bd0d8 # v0.24.0 + uses: aquasecurity/trivy-action@5681af892cd0f4997658e2bacc62bd0a894cf564 # v0.27.0 + env: + TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2 + TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db:1 with: image-ref: grafana-api-key-rotator exit-code: 1 diff --git a/requirements-dev.txt b/requirements-dev.txt index 537b119..18ca3ec 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -3,5 +3,5 @@ autopep8==2.3.1 black==24.10.0 flake8==7.1.1 isort==5.13.2 -mypy==1.12.0 -pylint==3.2.7 +mypy==1.20.0 +pylint==3.3.1