Class CfnAutomationRuleV2.OcsfFindingFiltersProperty
Specifies the filtering criteria for security findings using OCSF.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.SecurityHub
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnAutomationRuleV2.OcsfFindingFiltersProperty : CfnAutomationRuleV2.IOcsfFindingFiltersProperty
Syntax (vb)
Public Class CfnAutomationRuleV2.OcsfFindingFiltersProperty Implements CfnAutomationRuleV2.IOcsfFindingFiltersProperty
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 ocsfFindingFiltersProperty = new OcsfFindingFiltersProperty {
CompositeFilters = new [] { new CompositeFilterProperty {
BooleanFilters = new [] { new OcsfBooleanFilterProperty {
FieldName = "fieldName",
Filter = new BooleanFilterProperty {
Value = false
}
} },
DateFilters = new [] { new OcsfDateFilterProperty {
FieldName = "fieldName",
Filter = new DateFilterProperty {
DateRange = new DateRangeProperty {
Unit = "unit",
Value = 123
},
End = "end",
Start = "start"
}
} },
MapFilters = new [] { new OcsfMapFilterProperty {
FieldName = "fieldName",
Filter = new MapFilterProperty {
Comparison = "comparison",
Key = "key",
Value = "value"
}
} },
NumberFilters = new [] { new OcsfNumberFilterProperty {
FieldName = "fieldName",
Filter = new NumberFilterProperty {
Eq = 123,
Gte = 123,
Lte = 123
}
} },
Operator = "operator",
StringFilters = new [] { new OcsfStringFilterProperty {
FieldName = "fieldName",
Filter = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
}
} }
} },
CompositeOperator = "compositeOperator"
};
Synopsis
Constructors
| OcsfFindingFiltersProperty() | Specifies the filtering criteria for security findings using OCSF. |
Properties
| CompositeFilters | Enables the creation of complex filtering conditions by combining filter criteria. |
| CompositeOperator | The logical operators used to combine the filtering on multiple |
Constructors
OcsfFindingFiltersProperty()
Specifies the filtering criteria for security findings using OCSF.
public OcsfFindingFiltersProperty()
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 ocsfFindingFiltersProperty = new OcsfFindingFiltersProperty {
CompositeFilters = new [] { new CompositeFilterProperty {
BooleanFilters = new [] { new OcsfBooleanFilterProperty {
FieldName = "fieldName",
Filter = new BooleanFilterProperty {
Value = false
}
} },
DateFilters = new [] { new OcsfDateFilterProperty {
FieldName = "fieldName",
Filter = new DateFilterProperty {
DateRange = new DateRangeProperty {
Unit = "unit",
Value = 123
},
End = "end",
Start = "start"
}
} },
MapFilters = new [] { new OcsfMapFilterProperty {
FieldName = "fieldName",
Filter = new MapFilterProperty {
Comparison = "comparison",
Key = "key",
Value = "value"
}
} },
NumberFilters = new [] { new OcsfNumberFilterProperty {
FieldName = "fieldName",
Filter = new NumberFilterProperty {
Eq = 123,
Gte = 123,
Lte = 123
}
} },
Operator = "operator",
StringFilters = new [] { new OcsfStringFilterProperty {
FieldName = "fieldName",
Filter = new StringFilterProperty {
Comparison = "comparison",
Value = "value"
}
} }
} },
CompositeOperator = "compositeOperator"
};
Properties
CompositeFilters
Enables the creation of complex filtering conditions by combining filter criteria.
public object? CompositeFilters { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnAutomationRuleV2.ICompositeFilterProperty)[]
CompositeOperator
The logical operators used to combine the filtering on multiple CompositeFilters .
public string? CompositeOperator { get; set; }