interface CfnPentestProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SecurityAgent.CfnPentestProps |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityagent#CfnPentestProps |
Java | software.amazon.awscdk.services.securityagent.CfnPentestProps |
Python | aws_cdk.aws_securityagent.CfnPentestProps |
TypeScript | aws-cdk-lib » aws_securityagent » CfnPentestProps |
Properties for defining a CfnPentest.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityagent as securityagent } from 'aws-cdk-lib';
const cfnPentestProps: securityagent.CfnPentestProps = {
agentSpaceId: 'agentSpaceId',
assets: {
actors: [{
authentication: {
providerType: 'providerType',
value: 'value',
},
description: 'description',
identifier: 'identifier',
uris: ['uris'],
}],
documents: [{
artifactId: 'artifactId',
s3Location: 's3Location',
}],
endpoints: [{
uri: 'uri',
}],
integratedRepositories: [{
integrationId: 'integrationId',
providerResourceId: 'providerResourceId',
}],
sourceCode: [{
s3Location: 's3Location',
}],
},
serviceRole: 'serviceRole',
// the properties below are optional
codeRemediationStrategy: 'codeRemediationStrategy',
excludeRiskTypes: ['excludeRiskTypes'],
logConfig: {
logGroup: 'logGroup',
logStream: 'logStream',
},
networkTrafficConfig: {
customHeaders: [{
name: 'name',
value: 'value',
}],
rules: [{
effect: 'effect',
networkTrafficRuleType: 'networkTrafficRuleType',
pattern: 'pattern',
}],
},
title: 'title',
vpcConfig: {
securityGroupArns: ['securityGroupArns'],
subnetArns: ['subnetArns'],
vpcArn: 'vpcArn',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| agent | string | |
| assets | IResolvable | Assets | |
| service | string | |
| code | string | |
| exclude | string[] | |
| log | IResolvable | Cloud | |
| network | IResolvable | Network | |
| title? | string | |
| vpc | IResolvable | Vpc |
agentSpaceId
Type:
string
assets
Type:
IResolvable | Assets
serviceRole
Type:
string
codeRemediationStrategy?
Type:
string
(optional)
excludeRiskTypes?
Type:
string[]
(optional)
logConfig?
Type:
IResolvable | Cloud
(optional)
networkTrafficConfig?
Type:
IResolvable | Network
(optional)
title?
Type:
string
(optional)
vpcConfig?
Type:
IResolvable | Vpc
(optional)

.NET
Go
Java
Python
TypeScript