From: Pawel Wieczorek
Date: Thu, 26 Nov 2020 07:45:09 +0000 (+0100)
Subject: Scan only "onap" namespace for non-SSL endpoints
X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=62af53ed817f71690471e5807037e7daf50463d9;p=integration%2Fxtesting.git
Scan only "onap" namespace for non-SSL endpoints
Issue-ID: INT-1582
Change-Id: I88847c239016d972c4cdf95c46ad89749643d323
Signed-off-by: Pawel Wieczorek
---
diff --git a/security/onap_security/security_tests.py b/security/onap_security/security_tests.py
index d0b25ac..4c7af29 100644
--- a/security/onap_security/security_tests.py
+++ b/security/onap_security/security_tests.py
@@ -130,7 +130,7 @@ class OnapSecurityNonSSLPorts(SecurityTesting):
tunnels."""
def __init__(self, **kwargs):
super(OnapSecurityNonSSLPorts, self).__init__(**kwargs)
- self.cmd = ['/usr/local/bin/sslendpoints', '-xfail', '/nonssl_xfail.txt']
+ self.cmd = ['/usr/local/bin/sslendpoints', '-namespace', 'onap', '-xfail', '/nonssl_xfail.txt']
self.error_string = "Public non-SSL endpoints still found"