interface OcsfDateFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssecurityhub/mixins#CfnAutomationRuleV2PropsMixin_OcsfDateFilterProperty |
Java | software.amazon.awscdk.mixins.preview.services.securityhub.mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty |
Python | aws_cdk.mixins_preview.aws_securityhub.mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty |
TypeScript | @aws-cdk/mixins-preview » aws_securityhub » mixins » CfnAutomationRuleV2PropsMixin » OcsfDateFilterProperty |
Enables filtering of security findings based on date and timestamp fields in 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 ocsfDateFilterProperty: securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty = {
fieldName: 'fieldName',
filter: {
dateRange: {
unit: 'unit',
value: 123,
},
end: 'end',
start: 'start',
},
};
Properties
| Name | Type | Description |
|---|---|---|
| field | string | The name of the field. |
| filter? | IResolvable | Date | Enables filtering of security findings based on date and timestamp fields in OCSF. |
fieldName?
Type:
string
(optional)
The name of the field.
filter?
Type:
IResolvable | Date
(optional)
Enables filtering of security findings based on date and timestamp fields in OCSF.

.NET
Go
Java
Python
TypeScript