Skip to content

chore(deps-dev): update step-security/harden-runner action to v2.15.1 #1462

chore(deps-dev): update step-security/harden-runner action to v2.15.1

chore(deps-dev): update step-security/harden-runner action to v2.15.1 #1462

Workflow file for this run

name: pr-trivy
on: pull_request
permissions: {}
jobs:
trivy:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
with:
egress-policy: audit
- name: Trivy fs scan
uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # 0.33.1
with:
scan-type: 'fs'
ignore-unfixed: true
scanners: license,vuln,secret
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@b5ebac6f4c00c8ccddb7cdcd45fdb248329f808a # v3.32.2
with:
sarif_file: 'trivy-results.sarif'