Skip to content

Commit

Permalink
ci: scan docker image on CVEs
Browse files Browse the repository at this point in the history
Signed-off-by: Ilya Kheifets <[email protected]>
  • Loading branch information
ikheifets-splunk committed Jul 9, 2024
1 parent e087d9b commit 21d27b6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/axosyslog-image-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,11 @@ jobs:
export SYSLOG_NG_IMAGE="axosyslog:test"
export SYSLOG_NG_VERSION="${{ needs.tarball.outputs.snapshot-version }}"
docker/tests/smoke.sh
- name: Scan docker image on CVEs
uses: aquasecurity/trivy-action@master
with:
image-ref: 'axosyslog:test'
format: 'table'
exit-code: '1'
severity: 'CRITICAL,HIGH,MEDIUM,LOW'

0 comments on commit 21d27b6

Please sign in to comment.