From 780be45392030ac6d06decbf04a91a7117edb737 Mon Sep 17 00:00:00 2001 From: David Wertenteil Date: Wed, 5 Jul 2023 10:38:59 +0300 Subject: [PATCH] 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))