interface CfnCodeSecurityScanConfigurationProps
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.InspectorV2.CfnCodeSecurityScanConfigurationProps |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsinspectorv2#CfnCodeSecurityScanConfigurationProps |
![]() | software.amazon.awscdk.services.inspectorv2.CfnCodeSecurityScanConfigurationProps |
![]() | aws_cdk.aws_inspectorv2.CfnCodeSecurityScanConfigurationProps |
![]() | aws-cdk-lib » aws_inspectorv2 » CfnCodeSecurityScanConfigurationProps |
Properties for defining a CfnCodeSecurityScanConfiguration
.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_inspectorv2 as inspectorv2 } from 'aws-cdk-lib';
const cfnCodeSecurityScanConfigurationProps: inspectorv2.CfnCodeSecurityScanConfigurationProps = {
configuration: {
ruleSetCategories: ['ruleSetCategories'],
// the properties below are optional
continuousIntegrationScanConfiguration: {
supportedEvents: ['supportedEvents'],
},
periodicScanConfiguration: {
frequency: 'frequency',
frequencyExpression: 'frequencyExpression',
},
},
level: 'level',
name: 'name',
scopeSettings: {
projectSelectionScope: 'projectSelectionScope',
},
tags: {
tagsKey: 'tags',
},
};
Properties
Name | Type | Description |
---|---|---|
configuration? | IResolvable | Code | The configuration settings for the code security scan. |
level? | string | The security level for the scan configuration. |
name? | string | The name of the scan configuration. |
scope | IResolvable | Scope | The scope settings that define which repositories will be scanned. |
tags? | { [string]: string } | The tags to apply to the scan configuration. |
configuration?
Type:
IResolvable
|
Code
(optional)
The configuration settings for the code security scan.
level?
Type:
string
(optional)
The security level for the scan configuration.
name?
Type:
string
(optional)
The name of the scan configuration.
scopeSettings?
Type:
IResolvable
|
Scope
(optional)
The scope settings that define which repositories will be scanned.
tags?
Type:
{ [string]: string }
(optional)
The tags to apply to the scan configuration.