From 19e1b94e7c9ce4092f1dabd659023a193b2c4a92 Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Fri, 14 Apr 2023 07:40:27 +0100 Subject: [PATCH] feat: anoymization based on pr feedback Signed-off-by: Alex Jones --- pkg/analyzer/netpol.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/analyzer/netpol.go b/pkg/analyzer/netpol.go index 5e51fb17b2..67e2e814e8 100644 --- a/pkg/analyzer/netpol.go +++ b/pkg/analyzer/netpol.go @@ -26,7 +26,7 @@ func (NetworkPolicyAnalyzer) Analyze(a common.Analyzer) ([]common.Result, error) // Check if policy allows traffic to all pods in the namespace if len(policy.Spec.PodSelector.MatchLabels) == 0 { failures = append(failures, common.Failure{ - Text: fmt.Sprintf("Network policy allows traffic to all pods in the namespace: %s", policy.Name), + Text: fmt.Sprintf("Network policy allows traffic to all pods: %s", policy.Name), Sensitive: []common.Sensitive{ { Unmasked: policy.Name,