Show / Hide Table of Contents

Class CfnAutomationRuleV2.OcsfFindingFiltersProperty

Specifies the filtering criteria for security findings using OCSF.

Inheritance
object
CfnAutomationRuleV2.OcsfFindingFiltersProperty
Implements
CfnAutomationRuleV2.IOcsfFindingFiltersProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html

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 CompositeFilters .

Constructors

OcsfFindingFiltersProperty()

Specifies the filtering criteria for security findings using OCSF.

public OcsfFindingFiltersProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html#cfn-securityhub-automationrulev2-ocsffindingfilters-compositefilters

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; }
Property Value

string

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsffindingfilters.html#cfn-securityhub-automationrulev2-ocsffindingfilters-compositeoperator

Implements

CfnAutomationRuleV2.IOcsfFindingFiltersProperty
Back to top Generated by DocFX