Skip to content

Added trivy-scan for plugins #4

Added trivy-scan for plugins

Added trivy-scan for plugins #4

Workflow file for this run

name: Trivy Security Scan
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
name: build
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@1f0aa582c8c8f5f7639610d6d38baddfea4fdcee # master
with:
scan-type: 'fs'
severity: 'CRITICAL,HIGH'
format: 'sarif'
output: 'trivy-results.sarif'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@16964e90ba004cdf0cd845b866b5df21038b7723 # v2.2.6
with:
sarif_file: 'trivy-results.sarif'
category: 'code'