Skip to content

build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6 #64

build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6

build(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.6 #64

Workflow file for this run

name: "Trivy Vulnerability Scanner"
on:
push:
branches:
- master
- release/*
pull_request:
branches:
- master
- release/*
schedule:
- cron: '0 0 * * *' # Runs every 24 hours at midnight UTC
permissions:
actions: read
contents: read
deployments: read
jobs:
trivy_vulnerability_scan:
runs-on: ubuntu-latest
timeout-minutes: 30
env:
BUILD_TAG: latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build AGIC docker image
run: make build-image
- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
with:
image-ref: 'appgwreg.azurecr.io/public/azure-application-gateway/kubernetes-ingress-staging:latest'
format: 'sarif'
output: 'trivy-results.sarif'
exit-code: '1'
ignore-unfixed: true
vuln-type: 'os,library'
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/[email protected]
if: always()
with:
sarif_file: 'trivy-results.sarif'