class CfnInsightPropsMixin
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins.CfnInsightPropsMixin |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecurityhub/mixins#CfnInsightPropsMixin |
Java | software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnInsightPropsMixin |
Python | aws_cdk.mixins_preview.aws_securityhub.mixins.CfnInsightPropsMixin |
TypeScript | @aws-cdk/mixins-preview » aws_securityhub » mixins » CfnInsightPropsMixin |
Implements
IMixin
Extends
Mixin
The AWS::SecurityHub::Insight resource creates a custom insight in AWS Security Hub CSPM .
An insight is a collection of findings that relate to a security issue that requires attention or remediation. For more information, see Insights in AWS Security Hub CSPM in the AWS Security Hub CSPM User Guide .
Tags aren't supported for this resource.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-insight.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins } from '@aws-cdk/mixins-preview';
import { mixins as securityhub_mixins } from '@aws-cdk/mixins-preview/aws-securityhub';
const cfnInsightPropsMixin = new securityhub_mixins.CfnInsightPropsMixin({
filters: {
awsAccountId: [{
comparison: 'comparison',
value: 'value',
}],
awsAccountName: [{
comparison: 'comparison',
value: 'value',
}],
companyName: [{
comparison: 'comparison',
value: 'value',
}],
complianceAssociatedStandardsId: [{
comparison: 'comparison',
value: 'value',
}],
complianceSecurityControlId: [{
comparison: 'comparison',
value: 'value',
}],
complianceSecurityControlParametersName: [{
comparison: 'comparison',
value: 'value',
}],
complianceSecurityControlParametersValue: [{
comparison: 'comparison',
value: 'value',
}],
complianceStatus: [{
comparison: 'comparison',
value: 'value',
}],
confidence: [{
eq: 123,
gte: 123,
lte: 123,
}],
createdAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
criticality: [{
eq: 123,
gte: 123,
lte: 123,
}],
description: [{
comparison: 'comparison',
value: 'value',
}],
findingProviderFieldsConfidence: [{
eq: 123,
gte: 123,
lte: 123,
}],
findingProviderFieldsCriticality: [{
eq: 123,
gte: 123,
lte: 123,
}],
findingProviderFieldsRelatedFindingsId: [{
comparison: 'comparison',
value: 'value',
}],
findingProviderFieldsRelatedFindingsProductArn: [{
comparison: 'comparison',
value: 'value',
}],
findingProviderFieldsSeverityLabel: [{
comparison: 'comparison',
value: 'value',
}],
findingProviderFieldsSeverityOriginal: [{
comparison: 'comparison',
value: 'value',
}],
findingProviderFieldsTypes: [{
comparison: 'comparison',
value: 'value',
}],
firstObservedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
generatorId: [{
comparison: 'comparison',
value: 'value',
}],
id: [{
comparison: 'comparison',
value: 'value',
}],
keyword: [{
value: 'value',
}],
lastObservedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
malwareName: [{
comparison: 'comparison',
value: 'value',
}],
malwarePath: [{
comparison: 'comparison',
value: 'value',
}],
malwareState: [{
comparison: 'comparison',
value: 'value',
}],
malwareType: [{
comparison: 'comparison',
value: 'value',
}],
networkDestinationDomain: [{
comparison: 'comparison',
value: 'value',
}],
networkDestinationIpV4: [{
cidr: 'cidr',
}],
networkDestinationIpV6: [{
cidr: 'cidr',
}],
networkDestinationPort: [{
eq: 123,
gte: 123,
lte: 123,
}],
networkDirection: [{
comparison: 'comparison',
value: 'value',
}],
networkProtocol: [{
comparison: 'comparison',
value: 'value',
}],
networkSourceDomain: [{
comparison: 'comparison',
value: 'value',
}],
networkSourceIpV4: [{
cidr: 'cidr',
}],
networkSourceIpV6: [{
cidr: 'cidr',
}],
networkSourceMac: [{
comparison: 'comparison',
value: 'value',
}],
networkSourcePort: [{
eq: 123,
gte: 123,
lte: 123,
}],
noteText: [{
comparison: 'comparison',
value: 'value',
}],
noteUpdatedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
noteUpdatedBy: [{
comparison: 'comparison',
value: 'value',
}],
processLaunchedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
processName: [{
comparison: 'comparison',
value: 'value',
}],
processParentPid: [{
eq: 123,
gte: 123,
lte: 123,
}],
processPath: [{
comparison: 'comparison',
value: 'value',
}],
processPid: [{
eq: 123,
gte: 123,
lte: 123,
}],
processTerminatedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
productArn: [{
comparison: 'comparison',
value: 'value',
}],
productFields: [{
comparison: 'comparison',
key: 'key',
value: 'value',
}],
productName: [{
comparison: 'comparison',
value: 'value',
}],
recommendationText: [{
comparison: 'comparison',
value: 'value',
}],
recordState: [{
comparison: 'comparison',
value: 'value',
}],
region: [{
comparison: 'comparison',
value: 'value',
}],
relatedFindingsId: [{
comparison: 'comparison',
value: 'value',
}],
relatedFindingsProductArn: [{
comparison: 'comparison',
value: 'value',
}],
resourceApplicationArn: [{
comparison: 'comparison',
value: 'value',
}],
resourceApplicationName: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsEc2InstanceIamInstanceProfileArn: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsEc2InstanceImageId: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsEc2InstanceIpV4Addresses: [{
cidr: 'cidr',
}],
resourceAwsEc2InstanceIpV6Addresses: [{
cidr: 'cidr',
}],
resourceAwsEc2InstanceKeyName: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsEc2InstanceLaunchedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
resourceAwsEc2InstanceSubnetId: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsEc2InstanceType: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsEc2InstanceVpcId: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsIamAccessKeyCreatedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
resourceAwsIamAccessKeyPrincipalName: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsIamAccessKeyStatus: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsIamAccessKeyUserName: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsIamUserUserName: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsS3BucketOwnerId: [{
comparison: 'comparison',
value: 'value',
}],
resourceAwsS3BucketOwnerName: [{
comparison: 'comparison',
value: 'value',
}],
resourceContainerImageId: [{
comparison: 'comparison',
value: 'value',
}],
resourceContainerImageName: [{
comparison: 'comparison',
value: 'value',
}],
resourceContainerLaunchedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
resourceContainerName: [{
comparison: 'comparison',
value: 'value',
}],
resourceDetailsOther: [{
comparison: 'comparison',
key: 'key',
value: 'value',
}],
resourceId: [{
comparison: 'comparison',
value: 'value',
}],
resourcePartition: [{
comparison: 'comparison',
value: 'value',
}],
resourceRegion: [{
comparison: 'comparison',
value: 'value',
}],
resourceTags: [{
comparison: 'comparison',
key: 'key',
value: 'value',
}],
resourceType: [{
comparison: 'comparison',
value: 'value',
}],
sample: [{
value: false,
}],
severityLabel: [{
comparison: 'comparison',
value: 'value',
}],
severityNormalized: [{
eq: 123,
gte: 123,
lte: 123,
}],
severityProduct: [{
eq: 123,
gte: 123,
lte: 123,
}],
sourceUrl: [{
comparison: 'comparison',
value: 'value',
}],
threatIntelIndicatorCategory: [{
comparison: 'comparison',
value: 'value',
}],
threatIntelIndicatorLastObservedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
threatIntelIndicatorSource: [{
comparison: 'comparison',
value: 'value',
}],
threatIntelIndicatorSourceUrl: [{
comparison: 'comparison',
value: 'value',
}],
threatIntelIndicatorType: [{
comparison: 'comparison',
value: 'value',
}],
threatIntelIndicatorValue: [{
comparison: 'comparison',
value: 'value',
}],
title: [{
comparison: 'comparison',
value: 'value',
}],
type: [{
comparison: 'comparison',
value: 'value',
}],
updatedAt: [{
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
}],
userDefinedFields: [{
comparison: 'comparison',
key: 'key',
value: 'value',
}],
verificationState: [{
comparison: 'comparison',
value: 'value',
}],
vulnerabilitiesExploitAvailable: [{
comparison: 'comparison',
value: 'value',
}],
vulnerabilitiesFixAvailable: [{
comparison: 'comparison',
value: 'value',
}],
workflowState: [{
comparison: 'comparison',
value: 'value',
}],
workflowStatus: [{
comparison: 'comparison',
value: 'value',
}],
},
groupByAttribute: 'groupByAttribute',
name: 'name',
}, /* all optional props */ {
strategy: mixins.PropertyMergeStrategy.OVERRIDE,
});
Initializer
new CfnInsightPropsMixin(props: CfnInsightMixinProps, options?: CfnPropertyMixinOptions)
Parameters
- props
Cfn— L1 properties to apply.Insight Mixin Props - options
Cfn— Mixin options.Property Mixin Options
Create a mixin to apply properties to AWS::SecurityHub::Insight.
Properties
| Name | Type | Description |
|---|---|---|
| props | Cfn | |
| strategy | Property | |
| static CFN_PROPERTY_KEYS | string[] |
props
Type:
Cfn
strategy
Type:
Property
static CFN_PROPERTY_KEYS
Type:
string[]
Methods
| Name | Description |
|---|---|
| apply | Apply the mixin properties to the construct. |
| supports(construct) | Check if this mixin supports the given construct. |
applyTo(construct)
public applyTo(construct: IConstruct): IConstruct
Parameters
- construct
IConstruct
Returns
Apply the mixin properties to the construct.
supports(construct)
public supports(construct: IConstruct): boolean
Parameters
- construct
IConstruct
Returns
boolean
Check if this mixin supports the given construct.

.NET
Go
Java
Python
TypeScript