Skip to content

chore: vuln scan failure workaround #1088

chore: vuln scan failure workaround

chore: vuln scan failure workaround #1088

Workflow file for this run

name: Vulnerability scanning
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
scan:
name: Scan for known vulnerabilities
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Run Github Trivy FS Action
uses: aquasecurity/trivy-action@master
with:
scan-type: 'fs'
scan-ref: '.'
trivy-config: .github/trivy.yaml
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db
# known issue: aquasecurity/trivy-action#389
# workaround: https://github.com/orgs/community/discussions/139074#discussioncomment-10808081