From 1a8efaba12031ee55048fc7ec3f89d1335f6c1bf Mon Sep 17 00:00:00 2001 From: Scott Hissam Date: Sat, 27 Aug 2022 17:48:20 -0500 Subject: [PATCH] revised the score value based on observation of one *or more* url(s) or one email(s) found; e2e tests update accordingly Signed-off-by: Scott Hissam --- e2e/security_policy_test.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e2e/security_policy_test.go b/e2e/security_policy_test.go index 293e291640f..f3488dcc006 100644 --- a/e2e/security_policy_test.go +++ b/e2e/security_policy_test.go @@ -50,7 +50,7 @@ var _ = Describe("E2E TEST:"+checks.CheckSecurityPolicy, func() { Error: nil, Score: checker.MaxResultScore, NumberOfWarn: 0, - NumberOfInfo: 1, + NumberOfInfo: 4, NumberOfDebug: 0, } result := checks.SecurityPolicy(&req) @@ -76,7 +76,7 @@ var _ = Describe("E2E TEST:"+checks.CheckSecurityPolicy, func() { Error: nil, Score: checker.MaxResultScore, NumberOfWarn: 0, - NumberOfInfo: 1, + NumberOfInfo: 4, NumberOfDebug: 0, } result := checks.SecurityPolicy(&req) @@ -102,7 +102,7 @@ var _ = Describe("E2E TEST:"+checks.CheckSecurityPolicy, func() { Error: nil, Score: checker.MaxResultScore, NumberOfWarn: 0, - NumberOfInfo: 1, + NumberOfInfo: 4, NumberOfDebug: 0, } result := checks.SecurityPolicy(&req) @@ -128,7 +128,7 @@ var _ = Describe("E2E TEST:"+checks.CheckSecurityPolicy, func() { Error: nil, Score: checker.MaxResultScore, NumberOfWarn: 0, - NumberOfInfo: 1, + NumberOfInfo: 4, NumberOfDebug: 0, } result := checks.SecurityPolicy(&req) @@ -165,7 +165,7 @@ var _ = Describe("E2E TEST:"+checks.CheckSecurityPolicy, func() { Error: nil, Score: checker.MaxResultScore, NumberOfWarn: 0, - NumberOfInfo: 1, + NumberOfInfo: 4, NumberOfDebug: 0, } result := checks.SecurityPolicy(&req)