Verify verifies an input against a policy
(ctx context.Context, policy *Policy, input []byte, args map[string]any)
| 155 | type PolicyEngine interface { |
| 156 | // Verify verifies an input against a policy |
| 157 | Verify(ctx context.Context, policy *Policy, input []byte, args map[string]any) (*EvaluationResult, error) |
| 158 | // MatchesParameters evaluates the matches_parameters rule to determine if evaluation parameters match expected parameters |
| 159 | MatchesParameters(ctx context.Context, policy *Policy, evaluationParams, expectedParams map[string]string) (bool, error) |
| 160 | // MatchesEvaluation evaluates the matches_evaluation rule using policy violations and expected parameters |
no outgoing calls