interface CriteriaProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub.CfnAutomationRuleV2PropsMixin.CriteriaProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awssecurityhub#CfnAutomationRuleV2PropsMixin_CriteriaProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.securityhub.CfnAutomationRuleV2PropsMixin.CriteriaProperty |
Python | aws_cdk.cfn_property_mixins.aws_securityhub.CfnAutomationRuleV2PropsMixin.CriteriaProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_securityhub » CfnAutomationRuleV2PropsMixin » CriteriaProperty |
The filtering type and configuration of the automation rule.
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/cfn-property-mixins';
const criteriaProperty: securityhub.CfnAutomationRuleV2PropsMixin.CriteriaProperty = {
ocsfFindingCriteria: {
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 |
|---|---|---|
| ocsf | IResolvable | Ocsf | The filtering conditions that align with OCSF standards. |
ocsfFindingCriteria?
Type:
IResolvable | Ocsf
(optional)
The filtering conditions that align with OCSF standards.

.NET
Go
Java
Python
TypeScript