ScanScopeConditionInput

  • attribute
    One of ScanResourceType.attributes for the scope's type.
  • Which key of a STRING_MAP attribute to test - "Environment" in tags. Such an attribute is matched one named key at a time, never as a whole, so this is required for a STRING_MAP attribute and must be omitted for a STRING one.
  • values
    The condition holds when the attribute matches any of these. Omit for EXISTS, pass 1 to 50 non-empty values for every other operator.
  • negate
    Inverts this condition, not the filter. A condition on an attribute the resource does not have is false before negation, so negating "tags.Environment EQUALS prod" keeps a resource with no tags at all.