interface OcsfDateFilterProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.SecurityHub.CfnAutomationRuleV2.OcsfDateFilterProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awssecurityhub#CfnAutomationRuleV2_OcsfDateFilterProperty |
Java | software.amazon.awscdk.services.securityhub.CfnAutomationRuleV2.OcsfDateFilterProperty |
Python | aws_cdk.aws_securityhub.CfnAutomationRuleV2.OcsfDateFilterProperty |
TypeScript | aws-cdk-lib » aws_securityhub » CfnAutomationRuleV2 » 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 { aws_securityhub as securityhub } from 'aws-cdk-lib';
const ocsfDateFilterProperty: securityhub.CfnAutomationRuleV2.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
The name of the field.
filter
Type:
IResolvable | Date
Enables filtering of security findings based on date and timestamp fields in OCSF.

.NET
Go
Java
Python
TypeScript