Socket
Book a DemoInstallSign in
Socket

@bridgecrew/cdk-validator-checkov

Package Overview
Dependencies
Maintainers
91
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bridgecrew/cdk-validator-checkov

<!--BEGIN STABILITY BANNER-->

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
91
Created
Source

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

Keywords

cdk

FAQs

Package last updated on 20 Apr 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts