name = "Manual Intervention Required"
violation_action = "block"
conditions {
rego = <<-EOT
package manual_intervention_required
default result := {"allowed": false}
result := {"allowed": true} if {
some step in input.Steps
step.ActionType == "Octopus.Manual"
}
EOT
}
scope {
rego = <<-EOT
package manual_intervention_required
default evaluate := true
EOT
}