Skip to content

Add support for local httpstatus #238

Add support for local httpstatus

Add support for local httpstatus #238

Workflow file for this run

name: Trivy scan
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
branches: [ '**' ]
jobs:
trivy:
name: trivy scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.6
- name: Run Trivy vulnerability scanner with rootfs command
uses: aquasecurity/trivy-action@master
with:
scan-type: 'rootfs'
scan-ref: '.'
ignore-unfixed: true
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: 'trivy-results.sarif'