Skip to content

Instantly share code, notes, and snippets.

@tomarv2
Created March 20, 2021 17:48
Show Gist options
  • Save tomarv2/7f4318469fc88d2444f9d50c6ab17483 to your computer and use it in GitHub Desktop.
Save tomarv2/7f4318469fc88d2444f9d50c6ab17483 to your computer and use it in GitHub Desktop.
Checkov Security Scan
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