From 780be45392030ac6d06decbf04a91a7117edb737 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Wed, 5 Jul 2023 10:38:59 +0300 Subject: [PATCH 1/2] update submit message Signed-off-by: David Wertenteil --- core/pkg/resultshandling/reporter/v2/reporteventreceiver.go | 6 +++--- .../resultshandling/reporter/v2/reporteventreceiver_test.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/pkg/resultshandling/reporter/v2/reporteventreceiver.go b/core/pkg/resultshandling/reporter/v2/reporteventreceiver.go index 1e448687..0812c857 100644 --- a/core/pkg/resultshandling/reporter/v2/reporteventreceiver.go +++ b/core/pkg/resultshandling/reporter/v2/reporteventreceiver.go @@ -250,10 +250,10 @@ func (report *ReportEventReceiver) sendReport(host string, postureReport *report func (report *ReportEventReceiver) generateMessage() { report.message = "" - sep := "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" + sep := "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" report.message = sep - report.message += " << WOW! Now you can see the scan results on the web >>\n\n" - report.message += fmt.Sprintf(" %s\n", report.GetURL()) + report.message += "Now, take your scan results to the next level with actionable insights on ARMO Platform.\n\n" + report.message += fmt.Sprintf("Sign up for free here - %s\n", report.GetURL()) report.message += sep } diff --git a/core/pkg/resultshandling/reporter/v2/reporteventreceiver_test.go b/core/pkg/resultshandling/reporter/v2/reporteventreceiver_test.go index f4446b98..dcfcd7f0 100644 --- a/core/pkg/resultshandling/reporter/v2/reporteventreceiver_test.go +++ b/core/pkg/resultshandling/reporter/v2/reporteventreceiver_test.go @@ -337,7 +337,7 @@ func TestDisplayReportURL(t *testing.T) { require.NoError(t, err) require.NotEmpty(t, buf) - assert.Contains(t, string(buf), "WOW!") + assert.Contains(t, string(buf), "Now") assert.Contains(t, string(buf), "https://cloud.armosec.io/account/sign-up") t.Log(string(buf)) From 72f6988bb46a611390e81073b01ce9aad159eb6b Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Wed, 5 Jul 2023 10:40:22 +0300 Subject: [PATCH 2/2] update messaging based on Oshrats comments Signed-off-by: David Wertenteil --- docs/providers/armo.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/providers/armo.md b/docs/providers/armo.md index 2c7030d7..2f62450d 100644 --- a/docs/providers/armo.md +++ b/docs/providers/armo.md @@ -2,6 +2,8 @@ [ARMO Platform](https://cloud.armosec.io/account/sign-up?utm_source=ARMOgithub&utm_medium=ARMOcli) is an enterprise solution based on Kubescape. It’s a multi-cloud and multi-cluster Kubernetes and CI/CD security platform behind a single pane of glass. ARMO Platform includes Kubernetes hardening and compliance assistance, misconfiguration scanning and remediation, prioritized container image vulnerability reporting, an RBAC investigator and more. +Using ARMO Platform, you will save valuable time and make spot-on hardening decisions with contextual insights, based on the data from your scans and environment. + ## Connect Kubescape to ARMO Platform 1. Install Kubescape