Skip to content

chore(trivy): Format should not be json #6

chore(trivy): Format should not be json

chore(trivy): Format should not be json #6

Workflow file for this run

name: Trivy
on:
push:
branches:
- build/329-implement-trivy-fs-scan
pull_request:
workflow_dispatch:
jobs:
build:
name: Run vulnerability scan
runs-on: ubuntu-22.04
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,aquasec/trivy-db,ghcr.io/aquasecurity/trivy-db
TRIVY_JAVA_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-java-db,aquasec/trivy-java-db,ghcr.io/aquasecurity/trivy-java-db
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in fs mode
uses: aquasecurity/[email protected]
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: .github/trivy.yml