Skip to content

1.0.121 Update cloud init build script #51

1.0.121 Update cloud init build script

1.0.121 Update cloud init build script #51

Workflow file for this run

name: run-trivy
on:
push:
branches:
- main
- development
pull_request:
jobs:
build:
name: Scan IAC with Trivy
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@master
- name: Run Trivy vulnerability scanner in IaC mode
uses: aquasecurity/trivy-action@master
with:
scan-type: 'config'
hide-progress: false
format: 'sarif'
output: 'trivy-results.sarif'
exit-code: '0'
ignore-unfixed: true
severity: 'CRITICAL,HIGH'
- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@main
with:
sarif_file: 'trivy-results.sarif'