interface OcsfFindingFiltersProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecurityhub/mixins#CfnAutomationRuleV2PropsMixin_OcsfFindingFiltersProperty |
Java | software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty |
Python | aws_cdk.mixins_preview.aws_securityhub.mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty |
TypeScript | @aws-cdk/mixins-preview » aws_securityhub » mixins » CfnAutomationRuleV2PropsMixin » OcsfFindingFiltersProperty |
Specifies the filtering criteria for security findings using OCSF.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as securityhub_mixins } from '@aws-cdk/mixins-preview/aws-securityhub';
const ocsfFindingFiltersProperty: securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty = {
compositeFilters: [{
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',
},
}],
}],
compositeOperator: 'compositeOperator',
};
Properties
| Name | Type | Description |
|---|---|---|
| composite | IResolvable | (IResolvable | Composite)[] | Enables the creation of complex filtering conditions by combining filter criteria. |
| composite | string | The logical operators used to combine the filtering on multiple CompositeFilters . |
compositeFilters?
Type:
IResolvable | (IResolvable | Composite)[]
(optional)
Enables the creation of complex filtering conditions by combining filter criteria.
compositeOperator?
Type:
string
(optional)
The logical operators used to combine the filtering on multiple CompositeFilters .

.NET
Go
Java
Python
TypeScript