interface CompositeFilterProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.SecurityHub.CfnAutomationRuleV2.CompositeFilterProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnAutomationRuleV2_CompositeFilterProperty |
![]() | software.amazon.awscdk.services.securityhub.CfnAutomationRuleV2.CompositeFilterProperty |
![]() | aws_cdk.aws_securityhub.CfnAutomationRuleV2.CompositeFilterProperty |
![]() | aws-cdk-lib » aws_securityhub » CfnAutomationRuleV2 » CompositeFilterProperty |
Enables the creation of filtering criteria for security findings.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_securityhub as securityhub } from 'aws-cdk-lib';
const compositeFilterProperty: securityhub.CfnAutomationRuleV2.CompositeFilterProperty = {
booleanFilters: [{
fieldName: 'fieldName',
filter: {
value: false,
},
}],
dateFilters: [{
fieldName: 'fieldName',
filter: {
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
},
}],
mapFilters: [{
fieldName: 'fieldName',
filter: {
comparison: 'comparison',
key: 'key',
value: 'value',
},
}],
numberFilters: [{
fieldName: 'fieldName',
filter: {
eq: 123,
gte: 123,
lte: 123,
},
}],
operator: 'operator',
stringFilters: [{
fieldName: 'fieldName',
filter: {
comparison: 'comparison',
value: 'value',
},
}],
};
Properties
Name | Type | Description |
---|---|---|
boolean | IResolvable | IResolvable | Ocsf [] | Enables filtering based on boolean field values. |
date | IResolvable | IResolvable | Ocsf [] | Enables filtering based on date and timestamp fields. |
map | IResolvable | IResolvable | Ocsf [] | Enables the creation of filtering criteria for security findings. |
number | IResolvable | IResolvable | Ocsf [] | Enables filtering based on numerical field values. |
operator? | string | The logical operator used to combine multiple filter conditions. |
string | IResolvable | IResolvable | Ocsf [] | Enables filtering based on string field values. |
booleanFilters?
Type:
IResolvable
|
IResolvable
|
Ocsf
[]
(optional)
Enables filtering based on boolean field values.
dateFilters?
Type:
IResolvable
|
IResolvable
|
Ocsf
[]
(optional)
Enables filtering based on date and timestamp fields.
mapFilters?
Type:
IResolvable
|
IResolvable
|
Ocsf
[]
(optional)
Enables the creation of filtering criteria for security findings.
numberFilters?
Type:
IResolvable
|
IResolvable
|
Ocsf
[]
(optional)
Enables filtering based on numerical field values.
operator?
Type:
string
(optional)
The logical operator used to combine multiple filter conditions.
stringFilters?
Type:
IResolvable
|
IResolvable
|
Ocsf
[]
(optional)
Enables filtering based on string field values.