Skip to main content

CDK Checkov Validator Plugin

---

cdk-constructs: Experimental

The APIs of higher level constructs in this module are experimental and under active development. They are subject to non-backward compatible changes or removal in any future version. These are not subject to the Semantic Versioning model and breaking changes will be announced in the release notes. This means that while you may use them, you may need to update your source code when upgrading to a newer version of this package.


Installation

TypeScript/JavaScript

npm install @bridgecrew/cdk-validator-checkov

Python

pip install cdk-validator-checkov

Usage

To use this plugin in your CDK application add it to the CDK App.

Python

from cdk_validator_checkov import CheckovValidator

...

App(
  policy_validation_beta1=[
    CheckovValidator()
  ]
)

By default, the CheckovValidator plugin comes with all checkov built-in checks for CloudFormation. In order to disable any of the checks or just run a subset of them you can use the check or skipCheck property.

CheckovValidator(
  check= ['CKV_AWS_18', 'CKV_AWS_21']
)
CheckovValidator(
  skipCheck= ['CKV_AWS_18', 'CKV_AWS_21']
}

TypeScript

new App({
  policyValidationBeta1: [
    new CheckovValidator(),
  ],
});

Specify checks:

new CheckovValidator({
    check: ['CKV_AWS_18', 'CKV_AWS_21'],
});

Skip checks:

new CheckovValidator({
    skipCheck: ['CKV_AWS_18', 'CKV_AWS_21'],
});

Metadata

Release files for cdk-validator-checkov 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cdk-validator-checkov 0.0.2
File Size Uploaded
cdk-validator-checkov-0.0.2.tar.gz 34.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cdk-validator-checkov 0.0.2
File Interpreter ABI Platform
cdk_validator_checkov-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 67.8 kB

Release files / cdk-validator-checkov-0.0.2.tar.gz

Download URL cdk-validator-checkov-0.0.2.tar.gz
Size 34.5 kB
Tags Source
SHA-256 checksum
How to use checksums
671cc47660264a4086285ea091c019a347d4233a7f46cc569ff6a07d507a020c
BLAKE2b-256 checksum
How to use checksums
6fd35d6dda19656428dbf35342dc59475b30d7475e5e61ebbd586066e58dc98a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / cdk_validator_checkov-0.0.2-py3-none-any.whl

Download URL cdk_validator_checkov-0.0.2-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7cddb322da37e926f38904f03c266a6795070a250803200dc7dc449ac0fab5d4
BLAKE2b-256 checksum
How to use checksums
e95962bbecfe095753571938c2ffffa3f3ff935eb5f08b0d4b05d96e4179d892
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page