Policies and findings · GraphQL type

RuleBodySearch type

The body of a SEARCH rule: the graph search whose matches the rule flags.

Each time the rule runs, every object the search finds gets a finding, and every other object the rule applies to is cleared.

Fields

Field Name Description
query - GraphSearchQueryInputPayload! The graph search the rule runs, rooted at the object type the rule applies to. Its select flags and columns are ignored: the rule needs only which objects match.

Used by

  • RuleBody union: A polymorphic body for a rule type.
  • RuleType enum: Describes how a rule gathers the input its function evaluates.

Example

Example

{"query": GraphSearchQueryInputPayload}