Add Trivy IaC security scan #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Checkov | |
on: | |
#pull_request: | |
push: | |
# branches: | |
# - main | |
permissions: read-all | |
jobs: | |
checkov: | |
name: Run Checkov for IaC Security Analysis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Run Checkov with GitHub Action | |
uses: bridgecrewio/checkov-action@master | |
with: | |
framework: dockerfile | |
quiet: true |