Class CfnAutomationRuleV2PropsMixin.CriteriaProperty
The filtering type and configuration of the automation rule.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.SecurityHub.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnAutomationRuleV2PropsMixin.CriteriaProperty : CfnAutomationRuleV2PropsMixin.ICriteriaProperty
Syntax (vb)
Public Class CfnAutomationRuleV2PropsMixin.CriteriaProperty Implements CfnAutomationRuleV2PropsMixin.ICriteriaProperty
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.Mixins.Preview.AWS.SecurityHub.Mixins;
var criteriaProperty = new CriteriaProperty {
OcsfFindingCriteria = 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
| CriteriaProperty() | The filtering type and configuration of the automation rule. |
Properties
| OcsfFindingCriteria | The filtering conditions that align with OCSF standards. |
Constructors
CriteriaProperty()
The filtering type and configuration of the automation rule.
public CriteriaProperty()
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.Mixins.Preview.AWS.SecurityHub.Mixins;
var criteriaProperty = new CriteriaProperty {
OcsfFindingCriteria = 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
OcsfFindingCriteria
The filtering conditions that align with OCSF standards.
public object? OcsfFindingCriteria { get; set; }