Problem
Users may run into an issue that failed policy checks can't be overridden even if the enforcement level is set as soft-mandatory. In the meantime, Sentinel policies show hard failed and the policy set status is Errored.
Cause
The returned policy outcome after a policy check must be either Passed
, Failed
or Errored
. Policy outcomes with an Errored
status do not have an enforcement level. Override & continue works only when the status is Failed
and the enforcement level is soft-mandatory
.
Solutions
When running into such issue, users should check if the policy configuration is valid. Syntax errors, unimported libraries or functions are most likely the cause. Fix any errors that are reported in the Description window will resolve the issue.
Additional Information:
-
For additional assistance please contact HashiCorp Support.