AutomationRuleMapFilter

data class AutomationRuleMapFilter(val comparison: AutomationRuleMapFilterComparison, val key: String, val value: String)

A map filter for filtering ASHlong findings. Each map filter provides the field to check for, the value to check for, and the comparison operator.

Constructors

Link copied to clipboard
constructor(comparison: AutomationRuleMapFilterComparison, key: String, value: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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:

Link copied to clipboard
val key: String

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.

Link copied to clipboard

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.