From 74515f5d9aeb2c3c515f1eec4e933213f6090b0c Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Wed, 10 Jan 2024 14:49:18 +0200 Subject: [PATCH] add link to control configurations Signed-off-by: David Wertenteil --- reporthandling/apis/statuses.go | 2 +- reporthandling/results/v1/reportsummary/summarydetails_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reporthandling/apis/statuses.go b/reporthandling/apis/statuses.go index 5baa26ef..bb3f0679 100644 --- a/reporthandling/apis/statuses.go +++ b/reporthandling/apis/statuses.go @@ -22,7 +22,7 @@ const ( StatusError ScanningStatus = "error" // Deprecated ) const ( - SubStatusConfigurationInfo StatusMsg = "Control configurations are empty" + SubStatusConfigurationInfo StatusMsg = "Control configurations are empty (docs: https://kubescape.io/docs/frameworks-and-controls/configuring-controls)" SubStatusRequiresReviewInfo StatusMsg = "Control type is requires-review" SubStatusManualReviewInfo StatusMsg = "Control type is manual-review" ) diff --git a/reporthandling/results/v1/reportsummary/summarydetails_test.go b/reporthandling/results/v1/reportsummary/summarydetails_test.go index 1a6eed50..004a456c 100644 --- a/reporthandling/results/v1/reportsummary/summarydetails_test.go +++ b/reporthandling/results/v1/reportsummary/summarydetails_test.go @@ -483,7 +483,7 @@ func TestUpdateControlsSummaryCounters(t *testing.T) { want: &apis.StatusInfo{ InnerStatus: apis.StatusSkipped, SubStatus: apis.SubStatusConfiguration, - InnerInfo: "Control configurations are empty", + InnerInfo: "Control configurations are empty (docs: https://kubescape.io/docs/frameworks-and-controls/configuring-controls)", }, }, {