Skip to content

scan-last-released-image #684

scan-last-released-image

scan-last-released-image #684

name: scan-last-released-image
on:
schedule:
# At the end of every day
- cron: "0 0 * * *"
jobs:
scan-image:
runs-on: ubuntu-latest
steps:
- name: Run-trivy-scanner-on-last-released-docker-image
uses: aquasecurity/trivy-action@master
with:
image-ref: "mcr.microsoft.com/azuremonitor/containerinsights/ciprod/prometheus-collector/images:5.0.0-main-09-15-2022-c5d54419"
format: 'table'
severity: 'CRITICAL,HIGH'
vuln-type: 'os,library'
exit-code: '1'
timeout: '5m0s'