Policies and findings · GraphQL type

RuleFunctionOpa type

A RuleFunction that implements its policy logic using OPA Rego code.

Fields

Field Name Description
opaPolicy - String! OPA Rego policy that implements the rule logic.

Used by

  • RuleFunction union: A polymorphic rule function that implements the rule logic.

Example

Example

{"opaPolicy": "abc123"}