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

v4

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@v4

Learn more about this action in bridgecrewio/checkov-action

Choose a version

Checkov IaC security scan action

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

Inputs

(None)

Outputs

(None)

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: cmavr8/checkov-action@master

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