Skip to content

Commit

Permalink
Merge pull request #191 from ikheifets-splunk/auto-detection-of-cves-…
Browse files Browse the repository at this point in the history
…on-ci

ci: scan docker image on CVEs
  • Loading branch information
MrAnno authored Jul 9, 2024
2 parents e087d9b + d20a955 commit 1515ba2
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 1515ba2

Please sign in to comment.