import { CheckovValidatorProps } from '@bridgecrew/cdk-validator-checkov'
const checkovValidatorProps: CheckovValidatorProps = { ... }
Name | Type | Description |
---|---|---|
check |
string[] |
List of checks to run. |
skipCheck |
string[] |
List of checks to skip. |
public readonly check: string[];
- Type: string[]
- Default: all checks are run
List of checks to run.
public readonly skipCheck: string[];
- Type: string[]
- Default: no checks are skipped
List of checks to skip.
- Implements: aws-cdk-lib.IPolicyValidationPluginBeta1
A validation plugin using checkov.
import { CheckovValidator } from '@bridgecrew/cdk-validator-checkov'
new CheckovValidator(props?: CheckovValidatorProps)
Name | Type | Description |
---|---|---|
props |
CheckovValidatorProps |
No description. |
- Type: CheckovValidatorProps
Name | Description |
---|---|
validate |
The method that will be called by the CDK framework to perform validations. |
public validate(context: IPolicyValidationContextBeta1): PolicyValidationPluginReportBeta1
The method that will be called by the CDK framework to perform validations.
This is where the plugin will evaluate the CloudFormation templates for compliance and report and violations
- Type: aws-cdk-lib.IPolicyValidationContextBeta1
Name | Type | Description |
---|---|---|
name |
string |
The name of the plugin that will be displayed in the validation report. |
public readonly name: string;
- Type: string
The name of the plugin that will be displayed in the validation report.