Query v2: query for any expression.
Unlike GET /facts, which only lists facts you’ve added to Oso Cloud, you can use POST /evaluate_query to list derived information about any rule in your policy.
Requires an API key to access. Signup at https://ui.osohq.com/
A generic query comprising 1+ predicates conjuncted together.
Predicate name and variable names.
INVARIANT: all variable names must exist in constraints. This ensures that all variables at least have a type.
2 elementsPredicate name and variable names.
INVARIANT: all variable names must exist in constraints. This ensures that all variables at least have a type.
2 elementsMap of variable names to their type and value(s). Every variable is at least typed and may also be constrained to a set of values.