Skip to content

Commit

Permalink
First attempt using aquasecurity/trivy-action to scan for CVEs during…
Browse files Browse the repository at this point in the history
… build.
  • Loading branch information
mitchell-as committed Aug 26, 2024
1 parent bd82284 commit dd9b717
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,16 @@ jobs:
shell: bash
run: parallelize results Build-Executor

- # === Scan for CVEs (Linux only) ===
name: Scan for CVEs
if: runner.os == 'Linux'
uses: aquasecurity/[email protected]
with:
scan-type: fs
scan-ref: build
format: table
exit-code: 1

- # === Prepare Windows Cert ===
name: Prepare Windows Cert
shell: bash
Expand Down Expand Up @@ -424,7 +434,7 @@ jobs:
name: Install Go
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
go-version: 1.22.x

- # === Install State Tool ===
name: Install State Tool
Expand Down

0 comments on commit dd9b717

Please sign in to comment.