Skip to content

chore(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.36.0 #2

chore(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.36.0

chore(deps): bump aquasecurity/trivy-action from 0.32.0 to 0.36.0 #2

Workflow file for this run

name: Secret Scan
# Ignore-agnostic credential scanning. gitleaks (history) plus a full working-tree
# scan that also inspects .gitignore'd files, so a token in an ignored dotfile
# cannot slip through the gate.
on:
push:
branches: [main]
pull_request:
branches: [main]
schedule:
- cron: '0 5 * * 1'
workflow_dispatch:
permissions:
contents: read
jobs:
secret-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
persist-credentials: false
- name: gitleaks (full history)
uses: gitleaks/gitleaks-action@44c470ffc35caa8b1eb3e8012ca53c2f9bea4eb5 # v2.3.9
- name: trivy secret scan (ignore-agnostic working tree)
uses: aquasecurity/trivy-action@ed142fd0673e97e23eac54620cfb913e5ce36c25 # v0.36.0
with:
scan-type: fs
scanners: secret
skip-dirs: .git
exit-code: '1'
severity: LOW,MEDIUM,HIGH,CRITICAL