Class CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty
Enables filtering of security findings based on date and timestamp fields in OCSF.
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty : CfnAutomationRuleV2PropsMixin.IOcsfDateFilterProperty
Syntax (vb)
Public Class CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty Implements CfnAutomationRuleV2PropsMixin.IOcsfDateFilterProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub;
var ocsfDateFilterProperty = new OcsfDateFilterProperty {
FieldName = "fieldName",
Filter = new DateFilterProperty {
DateRange = new DateRangeProperty {
Unit = "unit",
Value = 123
},
End = "end",
Start = "start"
}
};
Synopsis
Constructors
| OcsfDateFilterProperty() | Enables filtering of security findings based on date and timestamp fields in OCSF. |
Properties
| FieldName | The name of the field. |
| Filter | Enables filtering of security findings based on date and timestamp fields in OCSF. |
Constructors
OcsfDateFilterProperty()
Enables filtering of security findings based on date and timestamp fields in OCSF.
public OcsfDateFilterProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.CfnPropertyMixins.AWS.SecurityHub;
var ocsfDateFilterProperty = new OcsfDateFilterProperty {
FieldName = "fieldName",
Filter = new DateFilterProperty {
DateRange = new DateRangeProperty {
Unit = "unit",
Value = 123
},
End = "end",
Start = "start"
}
};
Properties
FieldName
The name of the field.
public string? FieldName { get; set; }
Property Value
Remarks
Filter
Enables filtering of security findings based on date and timestamp fields in OCSF.
public object? Filter { get; set; }