Policies and findings · GraphQL type

RuleApplyToOption type

A single key/operator/value constraint that narrows which objects a rule applies to. A rule applies to an object only when every option is satisfied.

Fields

Field Name Description
key - RuleApplyToOptionKey! The option key identifying which attribute to constrain.
operator - RuleApplyToOperator! The comparison applied between value and the object's attribute.
value - String! The value the object's attribute is compared against. A comma-separated list for IN and NOT_IN.

Used by

  • Rule type: A policy rule evaluated against graph objects.

Example

Example

{
  "key": "OS",
  "operator": "EQUALS",
  "value": "xyz789"
}