Created
March 20, 2021 17:48
-
-
Save tomarv2/7f4318469fc88d2444f9d50c6ab17483 to your computer and use it in GitHub Desktop.
Checkov Security Scan
This file contains hidden or 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: Security Scans | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| paths-ignore: | |
| - 'README.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - '**.md' | |
| pull_request: | |
| paths-ignore: | |
| - 'README.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - '**.md' | |
| jobs: | |
| scans: | |
| name: Security Scans | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Checkov Scan | |
| id: checkov | |
| uses: bridgecrewio/checkov-action@master | |
| with: | |
| directory: "." | |
| framework: terraform # optional: run only on a specific infrastructure {cloudformation,terraform,kubernetes,all} | |
| output_format: json # optional: the output format, one of: cli, json, junitxml, github_failed_only |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment