Skip to content

🛂 Add Auth0 client for VS Code #1352

🛂 Add Auth0 client for VS Code

🛂 Add Auth0 client for VS Code #1352

Workflow file for this run

name: Trivy
on:
schedule:
- cron: "0 6 * * 1"
workflow_dispatch:
pull_request:
permissions: read-all
jobs:
trivy:
name: trivy
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
security-events: write
pull-requests: read
issues: read
steps:
- name: Checkout
id: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: trivy
id: terraform_static_analysis_trivy
uses: aquasecurity/trivy-action@84384bd6e777ef152729993b8145ea352e9dd3ef # v0.17.0
with:
scan-type: config
ignore-unfixed: true
format: "sarif"
output: "trivy-results.sarif"
exit-code: "1"
severity: CRITICAL,HIGH,LOW,MEDIUM
trivyignores: .github/.trivyignore.yaml
continue-on-error: true
- name: Sarif workaround
run: |
sed -i 's/git::https:\///g' trivy-results.sarif
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"