From 5e5e9a5301ad87e2accec8d2cf1c2f92c4c5f0d8 Mon Sep 17 00:00:00 2001 From: Daniel Marzini <44803752+danielmarzini@users.noreply.github.com> Date: Thu, 18 Jan 2024 10:52:45 +0100 Subject: [PATCH] Change in results output wording (#164) * OK -> VALID and FAIL -> VIOLATION This change will make the output more readable --- internal/outputs/console_collector.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/outputs/console_collector.go b/internal/outputs/console_collector.go index fea19c9f..93a5a50d 100644 --- a/internal/outputs/console_collector.go +++ b/internal/outputs/console_collector.go @@ -50,9 +50,9 @@ func (p *consoleResultCollector) Close() error { p.out.ColorPrintf("%s [bold][light_gray][%s][yellow] %s[reset]: %s\n", IconMagnifier, policy.PolicyGroup, policy.PolicyName, policyTitle) for _, evaluation := range policy.ClusterEvaluations { - statusString := "[ \033[1m\033[32mOK\033[0m ]" + statusString := "[ \033[1m\033[32mVALID\033[0m ]" if !evaluation.Valid { - statusString = "[\033[1m\033[31mFAIL\033[0m]" + statusString = "[\033[1m\033[31mINVALID\033[0m]" } p.out.TabPrintf(" - %s\t"+statusString+"\n", evaluation.ClusterID) if !evaluation.Valid {