Interface CfnAutomationRuleV2.OcsfFindingFiltersProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAutomationRuleV2.OcsfFindingFiltersProperty.Jsii$Proxy
Enclosing class:
CfnAutomationRuleV2

@Stability(Stable) public static interface CfnAutomationRuleV2.OcsfFindingFiltersProperty extends software.amazon.jsii.JsiiSerializable
Specifies the filtering criteria for security findings using OCSF.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.securityhub.*;
 OcsfFindingFiltersProperty ocsfFindingFiltersProperty = OcsfFindingFiltersProperty.builder()
         .compositeFilters(List.of(CompositeFilterProperty.builder()
                 .booleanFilters(List.of(OcsfBooleanFilterProperty.builder()
                         .fieldName("fieldName")
                         .filter(BooleanFilterProperty.builder()
                                 .value(false)
                                 .build())
                         .build()))
                 .dateFilters(List.of(OcsfDateFilterProperty.builder()
                         .fieldName("fieldName")
                         .filter(DateFilterProperty.builder()
                                 .dateRange(DateRangeProperty.builder()
                                         .unit("unit")
                                         .value(123)
                                         .build())
                                 .end("end")
                                 .start("start")
                                 .build())
                         .build()))
                 .mapFilters(List.of(OcsfMapFilterProperty.builder()
                         .fieldName("fieldName")
                         .filter(MapFilterProperty.builder()
                                 .comparison("comparison")
                                 .key("key")
                                 .value("value")
                                 .build())
                         .build()))
                 .numberFilters(List.of(OcsfNumberFilterProperty.builder()
                         .fieldName("fieldName")
                         .filter(NumberFilterProperty.builder()
                                 .eq(123)
                                 .gte(123)
                                 .lte(123)
                                 .build())
                         .build()))
                 .operator("operator")
                 .stringFilters(List.of(OcsfStringFilterProperty.builder()
                         .fieldName("fieldName")
                         .filter(StringFilterProperty.builder()
                                 .comparison("comparison")
                                 .value("value")
                                 .build())
                         .build()))
                 .build()))
         .compositeOperator("compositeOperator")
         .build();
 

See Also: