Skip to main content

@bridgecrew/cdk-validator-checkov

Project description

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'],
});

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cdk-validator-checkov-0.0.2.tar.gz (34.5 kB view details)

Uploaded Source

Built Distribution

cdk_validator_checkov-0.0.2-py3-none-any.whl (33.2 kB view details)

Uploaded Python 3

File details

Details for the file cdk-validator-checkov-0.0.2.tar.gz.

File metadata

  • Download URL: cdk-validator-checkov-0.0.2.tar.gz
  • Upload date:
  • Size: 34.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for cdk-validator-checkov-0.0.2.tar.gz
Algorithm Hash digest
SHA256 671cc47660264a4086285ea091c019a347d4233a7f46cc569ff6a07d507a020c
MD5 c12a63147bc7efead10dfd6c94b735ab
BLAKE2b-256 6fd35d6dda19656428dbf35342dc59475b30d7475e5e61ebbd586066e58dc98a

See more details on using hashes here.

File details

Details for the file cdk_validator_checkov-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cdk_validator_checkov-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7cddb322da37e926f38904f03c266a6795070a250803200dc7dc449ac0fab5d4
MD5 16b3a8e492a2f16354cf9ca98fccaf4e
BLAKE2b-256 e95962bbecfe095753571938c2ffffa3f3ff935eb5f08b0d4b05d96e4179d892

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page