Validate policy output if schema validation is avaialable
If JSON schema validation file is available in storage, the service must validate the JSON policy output with Strict validation. To execute the validation procedure, a new HTTP URL can be automatically generated.
Evaluation URL pattern: /{repo}/policies/{group}/{policyname}/{version}/evaluation
Validation URL pattern: /{repo}/policies/{group}/{policyname}/{version}/validation
If the validation fails, the policy service might LOCK the policy for execution and log an error/warning in the logs. This is decided based on a ENV variable.