Class CfnAutomationRuleV2.OcsfDateFilterProperty
Enables filtering of security findings based on date and timestamp fields in OCSF.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAutomationRuleV2.OcsfDateFilterProperty : CfnAutomationRuleV2.IOcsfDateFilterProperty
Syntax (vb)
Public Class CfnAutomationRuleV2.OcsfDateFilterProperty Implements CfnAutomationRuleV2.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.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.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; }