Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
shield

GitHub Action

Checkov GitHub Action

v10

Checkov GitHub Action

shield

Checkov GitHub Action

Run Checkov against Terraform/CloudFormation infrastructure code, as a pre-packaged GitHub Action

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Checkov GitHub Action

uses: bridgecrewio/checkov-action@v10

Learn more about this action in bridgecrewio/checkov-action

Choose a version

Checkov Github action

This Github Action runs Checkov against an Infrastructure-as-Code repository. Checkov performs static security analysis of Terraform & CloudFormation Infrastructure code .

Example usage

jobs:
  checkov-job:
    runs-on: ubuntu-latest
    name: checkov-action
    steps:
      - name: Checkout repo
        uses: actions/checkout@v2

      - name: Run Checkov action
        id: checkov
        uses: bridgecrewio/checkov-action@master
        with:
          directory: example/
          skip_check: CKV_AWS_1 # optional: skip a specific check_id

Note that this example uses the latest version (master) but you could also use a static version (e.g. v3).