Skip to content

Commit

Permalink
Schedule vulnerability scan over latest and version branches
Browse files Browse the repository at this point in the history
  • Loading branch information
gcotelli committed Apr 25, 2024
1 parent d0dc79f commit d9cd459
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/scheduled-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,19 @@ jobs:
permissions:
contents: read
security-events: write
name: Scheduled scan for vulnerabilities
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- latest
- v5
name: Scheduled scan for vulnerabilities ${{ matrix.version }}
steps:
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@master
with:
image-ref: ghcr.io/${{ github.repository_owner }}/launchpad:latest
image-ref: ghcr.io/${{ github.repository_owner }}/launchpad:${{ matrix.version}}
format: 'sarif'
output: 'trivy-results.sarif'
severity: 'CRITICAL,HIGH'
Expand Down

0 comments on commit d9cd459

Please sign in to comment.