diff --git a/internal/enforcer/enforcer.go b/internal/enforcer/enforcer.go index 711d4695..d0e79110 100644 --- a/internal/enforcer/enforcer.go +++ b/internal/enforcer/enforcer.go @@ -89,6 +89,7 @@ func (c *Conform) Enforce(setters ...policy.Option) { if err := c.summarizer.SetStatus("failure", p.Type, check.Name(), check.Message()); err != nil { log.Printf("WARNING: summary failed: %+v", err) } + pass = false } else { fmt.Fprintf(w, "%s\t%s\t%s\t%s\t\n", p.Type, check.Name(), "PASS", "") if err := c.summarizer.SetStatus("success", p.Type, check.Name(), check.Message()); err != nil {