CfnAutomationRuleV2PropsMixin

class aws_cdk.mixins_preview.aws_securityhub.mixins.CfnAutomationRuleV2PropsMixin(props, *, strategy=None)

Bases: Mixin

Creates a V2 automation rule.

This API is in public preview and subject to change.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-securityhub-automationrulev2.html

CloudformationResource:

AWS::SecurityHub::AutomationRuleV2

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview import mixins
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

cfn_automation_rule_v2_props_mixin = securityhub_mixins.CfnAutomationRuleV2PropsMixin(securityhub_mixins.CfnAutomationRuleV2MixinProps(
    actions=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.AutomationRulesActionV2Property(
        external_integration_configuration=securityhub_mixins.CfnAutomationRuleV2PropsMixin.ExternalIntegrationConfigurationProperty(
            connector_arn="connectorArn"
        ),
        finding_fields_update=securityhub_mixins.CfnAutomationRuleV2PropsMixin.AutomationRulesFindingFieldsUpdateV2Property(
            comment="comment",
            severity_id=123,
            status_id=123
        ),
        type="type"
    )],
    criteria=securityhub_mixins.CfnAutomationRuleV2PropsMixin.CriteriaProperty(
        ocsf_finding_criteria=securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty(
            composite_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.CompositeFilterProperty(
                boolean_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfBooleanFilterProperty(
                    field_name="fieldName",
                    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(
                        value=False
                    )
                )],
                date_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty(
                    field_name="fieldName",
                    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateFilterProperty(
                        date_range=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
                            unit="unit",
                            value=123
                        ),
                        end="end",
                        start="start"
                    )
                )],
                map_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfMapFilterProperty(
                    field_name="fieldName",
                    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.MapFilterProperty(
                        comparison="comparison",
                        key="key",
                        value="value"
                    )
                )],
                number_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfNumberFilterProperty(
                    field_name="fieldName",
                    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.NumberFilterProperty(
                        eq=123,
                        gte=123,
                        lte=123
                    )
                )],
                operator="operator",
                string_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfStringFilterProperty(
                    field_name="fieldName",
                    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.StringFilterProperty(
                        comparison="comparison",
                        value="value"
                    )
                )]
            )],
            composite_operator="compositeOperator"
        )
    ),
    description="description",
    rule_name="ruleName",
    rule_order=123,
    rule_status="ruleStatus",
    tags={
        "tags_key": "tags"
    }
),
    strategy=mixins.PropertyMergeStrategy.OVERRIDE
)

Create a mixin to apply properties to AWS::SecurityHub::AutomationRuleV2.

Parameters:

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

IConstruct

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['actions', 'criteria', 'description', 'ruleName', 'ruleOrder', 'ruleStatus', 'tags']

Static Methods

classmethod is_mixin(x)

(experimental) Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

Stability:

experimental

AutomationRulesActionV2Property

class CfnAutomationRuleV2PropsMixin.AutomationRulesActionV2Property(*, external_integration_configuration=None, finding_fields_update=None, type=None)

Bases: object

Allows you to configure automated responses.

Parameters:
  • external_integration_configuration (Union[IResolvable, ExternalIntegrationConfigurationProperty, Dict[str, Any], None]) – The settings for integrating automation rule actions with external systems or service.

  • finding_fields_update (Union[IResolvable, AutomationRulesFindingFieldsUpdateV2Property, Dict[str, Any], None]) – Specifies that the automation rule action is an update to a finding field.

  • type (Optional[str]) – Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

automation_rules_action_v2_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.AutomationRulesActionV2Property(
    external_integration_configuration=securityhub_mixins.CfnAutomationRuleV2PropsMixin.ExternalIntegrationConfigurationProperty(
        connector_arn="connectorArn"
    ),
    finding_fields_update=securityhub_mixins.CfnAutomationRuleV2PropsMixin.AutomationRulesFindingFieldsUpdateV2Property(
        comment="comment",
        severity_id=123,
        status_id=123
    ),
    type="type"
)

Attributes

external_integration_configuration

The settings for integrating automation rule actions with external systems or service.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-externalintegrationconfiguration

finding_fields_update

Specifies that the automation rule action is an update to a finding field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-findingfieldsupdate

type

Specifies the type of action that Security Hub takes when a finding matches the defined criteria of a rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesactionv2.html#cfn-securityhub-automationrulev2-automationrulesactionv2-type

AutomationRulesFindingFieldsUpdateV2Property

class CfnAutomationRuleV2PropsMixin.AutomationRulesFindingFieldsUpdateV2Property(*, comment=None, severity_id=None, status_id=None)

Bases: object

Allows you to define the structure for modifying specific fields in security findings.

Parameters:
  • comment (Optional[str]) – Notes or contextual information for findings that are modified by the automation rule.

  • severity_id (Union[int, float, None]) – The severity level to be assigned to findings that match the automation rule criteria.

  • status_id (Union[int, float, None]) – The status to be applied to findings that match automation rule criteria.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

automation_rules_finding_fields_update_v2_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.AutomationRulesFindingFieldsUpdateV2Property(
    comment="comment",
    severity_id=123,
    status_id=123
)

Attributes

comment

Notes or contextual information for findings that are modified by the automation rule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-comment

severity_id

The severity level to be assigned to findings that match the automation rule criteria.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-severityid

status_id

The status to be applied to findings that match automation rule criteria.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2.html#cfn-securityhub-automationrulev2-automationrulesfindingfieldsupdatev2-statusid

BooleanFilterProperty

class CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(*, value=None)

Bases: object

Boolean filter for querying findings.

Parameters:

value (Union[bool, IResolvable, None]) – The value of the boolean.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

boolean_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(
    value=False
)

Attributes

value

The value of the boolean.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-booleanfilter.html#cfn-securityhub-automationrulev2-booleanfilter-value

CompositeFilterProperty

class CfnAutomationRuleV2PropsMixin.CompositeFilterProperty(*, boolean_filters=None, date_filters=None, map_filters=None, number_filters=None, operator=None, string_filters=None)

Bases: object

Enables the creation of filtering criteria for security findings.

Parameters:
See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

composite_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.CompositeFilterProperty(
    boolean_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfBooleanFilterProperty(
        field_name="fieldName",
        filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(
            value=False
        )
    )],
    date_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty(
        field_name="fieldName",
        filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateFilterProperty(
            date_range=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
                unit="unit",
                value=123
            ),
            end="end",
            start="start"
        )
    )],
    map_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfMapFilterProperty(
        field_name="fieldName",
        filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.MapFilterProperty(
            comparison="comparison",
            key="key",
            value="value"
        )
    )],
    number_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfNumberFilterProperty(
        field_name="fieldName",
        filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.NumberFilterProperty(
            eq=123,
            gte=123,
            lte=123
        )
    )],
    operator="operator",
    string_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfStringFilterProperty(
        field_name="fieldName",
        filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.StringFilterProperty(
            comparison="comparison",
            value="value"
        )
    )]
)

Attributes

boolean_filters

Enables filtering based on boolean field values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-booleanfilters

date_filters

Enables filtering based on date and timestamp fields.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-datefilters

map_filters

Enables the creation of filtering criteria for security findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-mapfilters

number_filters

Enables filtering based on numerical field values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-numberfilters

operator

The logical operator used to combine multiple filter conditions.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-operator

string_filters

Enables filtering based on string field values.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-compositefilter.html#cfn-securityhub-automationrulev2-compositefilter-stringfilters

CriteriaProperty

class CfnAutomationRuleV2PropsMixin.CriteriaProperty(*, ocsf_finding_criteria=None)

Bases: object

The filtering type and configuration of the automation rule.

Parameters:

ocsf_finding_criteria (Union[IResolvable, OcsfFindingFiltersProperty, Dict[str, Any], None]) – The filtering conditions that align with OCSF standards.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

criteria_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.CriteriaProperty(
    ocsf_finding_criteria=securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty(
        composite_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.CompositeFilterProperty(
            boolean_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfBooleanFilterProperty(
                field_name="fieldName",
                filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(
                    value=False
                )
            )],
            date_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty(
                field_name="fieldName",
                filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateFilterProperty(
                    date_range=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
                        unit="unit",
                        value=123
                    ),
                    end="end",
                    start="start"
                )
            )],
            map_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfMapFilterProperty(
                field_name="fieldName",
                filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.MapFilterProperty(
                    comparison="comparison",
                    key="key",
                    value="value"
                )
            )],
            number_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfNumberFilterProperty(
                field_name="fieldName",
                filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.NumberFilterProperty(
                    eq=123,
                    gte=123,
                    lte=123
                )
            )],
            operator="operator",
            string_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfStringFilterProperty(
                field_name="fieldName",
                filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.StringFilterProperty(
                    comparison="comparison",
                    value="value"
                )
            )]
        )],
        composite_operator="compositeOperator"
    )
)

Attributes

ocsf_finding_criteria

The filtering conditions that align with OCSF standards.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-criteria.html#cfn-securityhub-automationrulev2-criteria-ocsffindingcriteria

DateFilterProperty

class CfnAutomationRuleV2PropsMixin.DateFilterProperty(*, date_range=None, end=None, start=None)

Bases: object

A date filter for querying findings.

Parameters:
  • date_range (Union[IResolvable, DateRangeProperty, Dict[str, Any], None]) – A date range for the date filter.

  • end (Optional[str]) – A timestamp that provides the end date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub , see Timestamps .

  • start (Optional[str]) –

    A timestamp that provides the start date for the date filter. For more information about the validation and formatting of timestamp fields in Security Hub , see Timestamps .

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

date_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateFilterProperty(
    date_range=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
        unit="unit",
        value=123
    ),
    end="end",
    start="start"
)

Attributes

date_range

A date range for the date filter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-daterange

end

A timestamp that provides the end date for the date filter.

For more information about the validation and formatting of timestamp fields in Security Hub , see Timestamps .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-end

start

A timestamp that provides the start date for the date filter.

For more information about the validation and formatting of timestamp fields in Security Hub , see Timestamps .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-datefilter.html#cfn-securityhub-automationrulev2-datefilter-start

DateRangeProperty

class CfnAutomationRuleV2PropsMixin.DateRangeProperty(*, unit=None, value=None)

Bases: object

A date range for the date filter.

Parameters:
  • unit (Optional[str]) – A date range unit for the date filter.

  • value (Union[int, float, None]) – A date range value for the date filter.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

date_range_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
    unit="unit",
    value=123
)

Attributes

unit

A date range unit for the date filter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html#cfn-securityhub-automationrulev2-daterange-unit

value

A date range value for the date filter.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-daterange.html#cfn-securityhub-automationrulev2-daterange-value

ExternalIntegrationConfigurationProperty

class CfnAutomationRuleV2PropsMixin.ExternalIntegrationConfigurationProperty(*, connector_arn=None)

Bases: object

The settings for integrating automation rule actions with external systems or service.

Parameters:

connector_arn (Optional[str]) – The ARN of the connector that establishes the integration.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

external_integration_configuration_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.ExternalIntegrationConfigurationProperty(
    connector_arn="connectorArn"
)

Attributes

connector_arn

The ARN of the connector that establishes the integration.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-externalintegrationconfiguration.html#cfn-securityhub-automationrulev2-externalintegrationconfiguration-connectorarn

MapFilterProperty

class CfnAutomationRuleV2PropsMixin.MapFilterProperty(*, comparison=None, key=None, value=None)

Bases: object

A map filter for filtering Security Hub findings.

Each map filter provides the field to check for, the value to check for, and the comparison operator.

Parameters:
  • comparison (Optional[str]) – The condition to apply to the key value when filtering Security Hub findings with a map filter. To search for values that have the filter value, use one of the following comparison operators: - To search for values that include the filter value, use CONTAINS . For example, for the ResourceTags field, the filter Department CONTAINS Security matches findings that include the value Security for the Department tag. In the same example, a finding with a value of Security team for the Department tag is a match. - To search for values that exactly match the filter value, use EQUALS . For example, for the ResourceTags field, the filter Department EQUALS Security matches findings that have the value Security for the Department tag. CONTAINS and EQUALS filters on the same field are joined by OR . A finding matches if it matches any one of those filters. For example, the filters Department CONTAINS Security OR Department CONTAINS Finance match a finding that includes either Security , Finance , or both values. To search for values that don’t have the filter value, use one of the following comparison operators: - To search for values that exclude the filter value, use NOT_CONTAINS . For example, for the ResourceTags field, the filter Department NOT_CONTAINS Finance matches findings that exclude the value Finance for the Department tag. - To search for values other than the filter value, use NOT_EQUALS . For example, for the ResourceTags field, the filter Department NOT_EQUALS Finance matches findings that don’t have the value Finance for the Department tag. NOT_CONTAINS and NOT_EQUALS filters on the same field are joined by AND . A finding matches only if it matches all of those filters. For example, the filters Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance match a finding that excludes both the Security and Finance values. CONTAINS filters can only be used with other CONTAINS filters. NOT_CONTAINS filters can only be used with other NOT_CONTAINS filters. You can’t have both a CONTAINS filter and a NOT_CONTAINS filter on the same field. Similarly, you can’t have both an EQUALS filter and a NOT_EQUALS filter on the same field. Combining filters in this way returns an error. CONTAINS and NOT_CONTAINS operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide .

  • key (Optional[str]) – The key of the map filter. For example, for ResourceTags , Key identifies the name of the tag. For UserDefinedFields , Key is the name of the field.

  • value (Optional[str]) – The value for the key in the map filter. Filter values are case sensitive. For example, one of the values for a tag called Department might be Security . If you provide security as the filter value, then there’s no match.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

map_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.MapFilterProperty(
    comparison="comparison",
    key="key",
    value="value"
)

Attributes

comparison

The condition to apply to the key value when filtering Security Hub findings with a map filter.

To search for values that have the filter value, use one of the following comparison operators:

  • To search for values that include the filter value, use CONTAINS . For example, for the ResourceTags field, the filter Department CONTAINS Security matches findings that include the value Security for the Department tag. In the same example, a finding with a value of Security team for the Department tag is a match.

  • To search for values that exactly match the filter value, use EQUALS . For example, for the ResourceTags field, the filter Department EQUALS Security matches findings that have the value Security for the Department tag.

CONTAINS and EQUALS filters on the same field are joined by OR . A finding matches if it matches any one of those filters. For example, the filters Department CONTAINS Security OR Department CONTAINS Finance match a finding that includes either Security , Finance , or both values.

To search for values that don’t have the filter value, use one of the following comparison operators:

  • To search for values that exclude the filter value, use NOT_CONTAINS . For example, for the ResourceTags field, the filter Department NOT_CONTAINS Finance matches findings that exclude the value Finance for the Department tag.

  • To search for values other than the filter value, use NOT_EQUALS . For example, for the ResourceTags field, the filter Department NOT_EQUALS Finance matches findings that don’t have the value Finance for the Department tag.

NOT_CONTAINS and NOT_EQUALS filters on the same field are joined by AND . A finding matches only if it matches all of those filters. For example, the filters Department NOT_CONTAINS Security AND Department NOT_CONTAINS Finance match a finding that excludes both the Security and Finance values.

CONTAINS filters can only be used with other CONTAINS filters. NOT_CONTAINS filters can only be used with other NOT_CONTAINS filters.

You can’t have both a CONTAINS filter and a NOT_CONTAINS filter on the same field. Similarly, you can’t have both an EQUALS filter and a NOT_EQUALS filter on the same field. Combining filters in this way returns an error.

CONTAINS and NOT_CONTAINS operators can be used only with automation rules. For more information, see Automation rules in the Security Hub User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-comparison

key

The key of the map filter.

For example, for ResourceTags , Key identifies the name of the tag. For UserDefinedFields , Key is the name of the field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-key

value

The value for the key in the map filter.

Filter values are case sensitive. For example, one of the values for a tag called Department might be Security . If you provide security as the filter value, then there’s no match.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-mapfilter.html#cfn-securityhub-automationrulev2-mapfilter-value

NumberFilterProperty

class CfnAutomationRuleV2PropsMixin.NumberFilterProperty(*, eq=None, gte=None, lte=None)

Bases: object

A number filter for querying findings.

Parameters:
  • eq (Union[int, float, None]) – The equal-to condition to be applied to a single field when querying for findings.

  • gte (Union[int, float, None]) – The greater-than-equal condition to be applied to a single field when querying for findings.

  • lte (Union[int, float, None]) – The less-than-equal condition to be applied to a single field when querying for findings.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

number_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.NumberFilterProperty(
    eq=123,
    gte=123,
    lte=123
)

Attributes

eq

The equal-to condition to be applied to a single field when querying for findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-eq

gte

The greater-than-equal condition to be applied to a single field when querying for findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-gte

lte

The less-than-equal condition to be applied to a single field when querying for findings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-numberfilter.html#cfn-securityhub-automationrulev2-numberfilter-lte

OcsfBooleanFilterProperty

class CfnAutomationRuleV2PropsMixin.OcsfBooleanFilterProperty(*, field_name=None, filter=None)

Bases: object

Enables filtering of security findings based on boolean field values in OCSF.

Parameters:
  • field_name (Optional[str]) – The name of the field.

  • filter (Union[IResolvable, BooleanFilterProperty, Dict[str, Any], None]) – Enables filtering of security findings based on boolean field values in OCSF.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

ocsf_boolean_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfBooleanFilterProperty(
    field_name="fieldName",
    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(
        value=False
    )
)

Attributes

field_name

The name of the field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html#cfn-securityhub-automationrulev2-ocsfbooleanfilter-fieldname

filter

Enables filtering of security findings based on boolean field values in OCSF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfbooleanfilter.html#cfn-securityhub-automationrulev2-ocsfbooleanfilter-filter

OcsfDateFilterProperty

class CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty(*, field_name=None, filter=None)

Bases: object

Enables filtering of security findings based on date and timestamp fields in OCSF.

Parameters:
  • field_name (Optional[str]) – The name of the field.

  • filter (Union[IResolvable, DateFilterProperty, Dict[str, Any], None]) – Enables filtering of security findings based on date and timestamp fields in OCSF.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

ocsf_date_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty(
    field_name="fieldName",
    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateFilterProperty(
        date_range=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
            unit="unit",
            value=123
        ),
        end="end",
        start="start"
    )
)

Attributes

field_name

The name of the field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html#cfn-securityhub-automationrulev2-ocsfdatefilter-fieldname

filter

Enables filtering of security findings based on date and timestamp fields in OCSF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfdatefilter.html#cfn-securityhub-automationrulev2-ocsfdatefilter-filter

OcsfFindingFiltersProperty

class CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty(*, composite_filters=None, composite_operator=None)

Bases: object

Specifies the filtering criteria for security findings using OCSF.

Parameters:
  • composite_filters (Union[IResolvable, Sequence[Union[IResolvable, CompositeFilterProperty, Dict[str, Any]]], None]) – Enables the creation of complex filtering conditions by combining filter criteria.

  • composite_operator (Optional[str]) – The logical operators used to combine the filtering on multiple CompositeFilters .

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

ocsf_finding_filters_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfFindingFiltersProperty(
    composite_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.CompositeFilterProperty(
        boolean_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfBooleanFilterProperty(
            field_name="fieldName",
            filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.BooleanFilterProperty(
                value=False
            )
        )],
        date_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfDateFilterProperty(
            field_name="fieldName",
            filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateFilterProperty(
                date_range=securityhub_mixins.CfnAutomationRuleV2PropsMixin.DateRangeProperty(
                    unit="unit",
                    value=123
                ),
                end="end",
                start="start"
            )
        )],
        map_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfMapFilterProperty(
            field_name="fieldName",
            filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.MapFilterProperty(
                comparison="comparison",
                key="key",
                value="value"
            )
        )],
        number_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfNumberFilterProperty(
            field_name="fieldName",
            filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.NumberFilterProperty(
                eq=123,
                gte=123,
                lte=123
            )
        )],
        operator="operator",
        string_filters=[securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfStringFilterProperty(
            field_name="fieldName",
            filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.StringFilterProperty(
                comparison="comparison",
                value="value"
            )
        )]
    )],
    composite_operator="compositeOperator"
)

Attributes

composite_filters

Enables the creation of complex filtering conditions by combining filter criteria.

See:

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

composite_operator

The logical operators used to combine the filtering on multiple CompositeFilters .

See:

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

OcsfMapFilterProperty

class CfnAutomationRuleV2PropsMixin.OcsfMapFilterProperty(*, field_name=None, filter=None)

Bases: object

Enables filtering of security findings based on map field values in OCSF.

Parameters:
  • field_name (Optional[str]) – The name of the field.

  • filter (Union[IResolvable, MapFilterProperty, Dict[str, Any], None]) – Enables filtering of security findings based on map field values in OCSF.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

ocsf_map_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfMapFilterProperty(
    field_name="fieldName",
    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.MapFilterProperty(
        comparison="comparison",
        key="key",
        value="value"
    )
)

Attributes

field_name

The name of the field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html#cfn-securityhub-automationrulev2-ocsfmapfilter-fieldname

filter

Enables filtering of security findings based on map field values in OCSF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfmapfilter.html#cfn-securityhub-automationrulev2-ocsfmapfilter-filter

OcsfNumberFilterProperty

class CfnAutomationRuleV2PropsMixin.OcsfNumberFilterProperty(*, field_name=None, filter=None)

Bases: object

Enables filtering of security findings based on numerical field values in OCSF.

Parameters:
  • field_name (Optional[str]) – The name of the field.

  • filter (Union[IResolvable, NumberFilterProperty, Dict[str, Any], None]) – Enables filtering of security findings based on numerical field values in OCSF.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

ocsf_number_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfNumberFilterProperty(
    field_name="fieldName",
    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.NumberFilterProperty(
        eq=123,
        gte=123,
        lte=123
    )
)

Attributes

field_name

The name of the field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html#cfn-securityhub-automationrulev2-ocsfnumberfilter-fieldname

filter

Enables filtering of security findings based on numerical field values in OCSF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfnumberfilter.html#cfn-securityhub-automationrulev2-ocsfnumberfilter-filter

OcsfStringFilterProperty

class CfnAutomationRuleV2PropsMixin.OcsfStringFilterProperty(*, field_name=None, filter=None)

Bases: object

Enables filtering of security findings based on string field values in OCSF.

Parameters:
  • field_name (Optional[str]) – The name of the field.

  • filter (Union[IResolvable, StringFilterProperty, Dict[str, Any], None]) – Enables filtering of security findings based on string field values in OCSF.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

ocsf_string_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.OcsfStringFilterProperty(
    field_name="fieldName",
    filter=securityhub_mixins.CfnAutomationRuleV2PropsMixin.StringFilterProperty(
        comparison="comparison",
        value="value"
    )
)

Attributes

field_name

The name of the field.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html#cfn-securityhub-automationrulev2-ocsfstringfilter-fieldname

filter

Enables filtering of security findings based on string field values in OCSF.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-ocsfstringfilter.html#cfn-securityhub-automationrulev2-ocsfstringfilter-filter

StringFilterProperty

class CfnAutomationRuleV2PropsMixin.StringFilterProperty(*, comparison=None, value=None)

Bases: object

A string filter for filtering Security Hub findings.

Parameters:
  • comparison (Optional[str]) –

    The condition to apply to a string value when filtering Security Hub findings. To search for values that have the filter value, use one of the following comparison operators: - To search for values that include the filter value, use CONTAINS . For example, the filter Title CONTAINS CloudFront matches findings that have a Title that includes the string CloudFront. - To search for values that exactly match the filter value, use EQUALS . For example, the filter AwsAccountId EQUALS 123456789012 only matches findings that have an account ID of 123456789012 . - To search for values that start with the filter value, use PREFIX . For example, the filter ResourceRegion PREFIX us matches findings that have a ResourceRegion that starts with us . A ResourceRegion that starts with a different value, such as af , ap , or ca , doesn’t match. CONTAINS , EQUALS , and PREFIX filters on the same field are joined by OR . A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch match a finding that includes either CloudFront , CloudWatch , or both strings in the title. To search for values that don’t have the filter value, use one of the following comparison operators: - To search for values that exclude the filter value, use NOT_CONTAINS . For example, the filter Title NOT_CONTAINS CloudFront matches findings that have a Title that excludes the string CloudFront. - To search for values other than the filter value, use NOT_EQUALS . For example, the filter AwsAccountId NOT_EQUALS 123456789012 only matches findings that have an account ID other than 123456789012 . - To search for values that don’t start with the filter value, use PREFIX_NOT_EQUALS . For example, the filter ResourceRegion PREFIX_NOT_EQUALS us matches findings with a ResourceRegion that starts with a value other than us . NOT_CONTAINS , NOT_EQUALS , and PREFIX_NOT_EQUALS filters on the same field are joined by AND . A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch match a finding that excludes both CloudFront and CloudWatch in the title. You can’t have both a CONTAINS filter and a NOT_CONTAINS filter on the same field. Similarly, you can’t provide both an EQUALS filter and a NOT_EQUALS or PREFIX_NOT_EQUALS filter on the same field. Combining filters in this way returns an error. CONTAINS filters can only be used with other CONTAINS filters. NOT_CONTAINS filters can only be used with other NOT_CONTAINS filters. You can combine PREFIX filters with NOT_EQUALS or PREFIX_NOT_EQUALS filters for the same field. Security Hub first processes the PREFIX filters, and then the NOT_EQUALS or PREFIX_NOT_EQUALS filters. For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam or AwsEc2 . It then excludes findings that have a resource type of AwsIamPolicy and findings that have a resource type of AwsEc2NetworkInterface . - ResourceType PREFIX AwsIam - ResourceType PREFIX AwsEc2 - ResourceType NOT_EQUALS AwsIamPolicy - ResourceType NOT_EQUALS AwsEc2NetworkInterface CONTAINS and NOT_CONTAINS operators can be used only with automation rules V1. CONTAINS_WORD operator is only supported in GetFindingsV2 , GetFindingStatisticsV2 , GetResourcesV2 , and GetResourceStatisticsV2 APIs. For more information, see Automation rules in the Security Hub User Guide .

  • value (Optional[str]) – The string filter value. Filter values are case sensitive. For example, the product name for control-based findings is Security Hub . If you provide security hub as the filter value, there’s no match.

See:

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

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_securityhub import mixins as securityhub_mixins

string_filter_property = securityhub_mixins.CfnAutomationRuleV2PropsMixin.StringFilterProperty(
    comparison="comparison",
    value="value"
)

Attributes

comparison

The condition to apply to a string value when filtering Security Hub findings.

To search for values that have the filter value, use one of the following comparison operators:

  • To search for values that include the filter value, use CONTAINS . For example, the filter Title CONTAINS CloudFront matches findings that have a Title that includes the string CloudFront.

  • To search for values that exactly match the filter value, use EQUALS . For example, the filter AwsAccountId EQUALS 123456789012 only matches findings that have an account ID of 123456789012 .

  • To search for values that start with the filter value, use PREFIX . For example, the filter ResourceRegion PREFIX us matches findings that have a ResourceRegion that starts with us . A ResourceRegion that starts with a different value, such as af , ap , or ca , doesn’t match.

CONTAINS , EQUALS , and PREFIX filters on the same field are joined by OR . A finding matches if it matches any one of those filters. For example, the filters Title CONTAINS CloudFront OR Title CONTAINS CloudWatch match a finding that includes either CloudFront , CloudWatch , or both strings in the title.

To search for values that don’t have the filter value, use one of the following comparison operators:

  • To search for values that exclude the filter value, use NOT_CONTAINS . For example, the filter Title NOT_CONTAINS CloudFront matches findings that have a Title that excludes the string CloudFront.

  • To search for values other than the filter value, use NOT_EQUALS . For example, the filter AwsAccountId NOT_EQUALS 123456789012 only matches findings that have an account ID other than 123456789012 .

  • To search for values that don’t start with the filter value, use PREFIX_NOT_EQUALS . For example, the filter ResourceRegion PREFIX_NOT_EQUALS us matches findings with a ResourceRegion that starts with a value other than us .

NOT_CONTAINS , NOT_EQUALS , and PREFIX_NOT_EQUALS filters on the same field are joined by AND . A finding matches only if it matches all of those filters. For example, the filters Title NOT_CONTAINS CloudFront AND Title NOT_CONTAINS CloudWatch match a finding that excludes both CloudFront and CloudWatch in the title.

You can’t have both a CONTAINS filter and a NOT_CONTAINS filter on the same field. Similarly, you can’t provide both an EQUALS filter and a NOT_EQUALS or PREFIX_NOT_EQUALS filter on the same field. Combining filters in this way returns an error. CONTAINS filters can only be used with other CONTAINS filters. NOT_CONTAINS filters can only be used with other NOT_CONTAINS filters.

You can combine PREFIX filters with NOT_EQUALS or PREFIX_NOT_EQUALS filters for the same field. Security Hub first processes the PREFIX filters, and then the NOT_EQUALS or PREFIX_NOT_EQUALS filters.

For example, for the following filters, Security Hub first identifies findings that have resource types that start with either AwsIam or AwsEc2 . It then excludes findings that have a resource type of AwsIamPolicy and findings that have a resource type of AwsEc2NetworkInterface .

  • ResourceType PREFIX AwsIam

  • ResourceType PREFIX AwsEc2

  • ResourceType NOT_EQUALS AwsIamPolicy

  • ResourceType NOT_EQUALS AwsEc2NetworkInterface

CONTAINS and NOT_CONTAINS operators can be used only with automation rules V1. CONTAINS_WORD operator is only supported in GetFindingsV2 , GetFindingStatisticsV2 , GetResourcesV2 , and GetResourceStatisticsV2 APIs. For more information, see Automation rules in the Security Hub User Guide .

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html#cfn-securityhub-automationrulev2-stringfilter-comparison

value

The string filter value.

Filter values are case sensitive. For example, the product name for control-based findings is Security Hub . If you provide security hub as the filter value, there’s no match.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-securityhub-automationrulev2-stringfilter.html#cfn-securityhub-automationrulev2-stringfilter-value