Skip to content

Add 'catalog-crawler/' from commit '73d00c04c1f697740a940f8c66846f2c2… #1106

Add 'catalog-crawler/' from commit '73d00c04c1f697740a940f8c66846f2c2…

Add 'catalog-crawler/' from commit '73d00c04c1f697740a940f8c66846f2c2… #1106

Workflow file for this run

name: Trivy Secret Scan
on:
push:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
secret-scan:
name: Secret scan
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run vulnerability scanner
uses: aquasecurity/trivy-action@0.26.0
env:
#try default GitHub DBs, if failing, use AWS mirror instead (https://github.com/aquasecurity/trivy-action/issues/389)
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-java-db,public.ecr.aws/aquasecurity/trivy-java-db
with:
scan-type: "fs"
exit-code: "1"
ignore-unfixed: true
scanners: secret