Skip to content

Add Checkov IaC security scan #2

Add Checkov IaC security scan

Add Checkov IaC security scan #2

Workflow file for this run

name: Trivy
on:
#pull_request:
push:
# branches:
# - main
permissions: read-all
jobs:
trivy:
name: Run Trivy for IaC Security Analysis
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner in IaC mode
uses: aquasecurity/trivy-action@master
with:
scan-type: "config"
hide-progress: true
exit-code: "1"
ignore-unfixed: true
scanners: dockerfile