Skip to content

PBM-887: add diagnostic command #1072

PBM-887: add diagnostic command

PBM-887: add diagnostic command #1072

Workflow file for this run

name: Scan
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]
jobs:
scan:
name: Trivy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
with:
scan-type: "fs"
ignore-unfixed: true
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL,HIGH"
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: "trivy-results.sarif"