Skip to content

Update README: GitHub Security setup and Ona automations guide #48

Update README: GitHub Security setup and Ona automations guide

Update README: GitHub Security setup and Ona automations guide #48

Workflow file for this run

name: trivy
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
schedule:
- cron: '29 6 * * 2'
permissions:
contents: read
jobs:
fs-scan:
permissions:
contents: read
security-events: write
actions: read
name: Filesystem Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy filesystem scanner
uses: aquasecurity/trivy-action@0.35.0
with:
scan-type: 'fs'
scan-ref: '.'
format: 'sarif'
output: 'trivy-fs-results.sarif'
severity: 'CRITICAL,HIGH'
- name: Upload filesystem scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
if: always()
with:
sarif_file: 'trivy-fs-results.sarif'
category: 'trivy-fs'