Policies and findings · GraphQL input

RuleApplyToOptionInput input

Input variant of RuleApplyToOption. The operator is optional and defaults to EQUALS.

Fields

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

Used by

  • RuleInput input: Input variant of Rule carrying its writable fields.

Example

Example

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