aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorPawel Wieczorek <p.wieczorek2@samsung.com>2020-11-26 08:45:09 +0100
committerPawel Wieczorek <p.wieczorek2@samsung.com>2020-11-26 08:45:49 +0100
commit62af53ed817f71690471e5807037e7daf50463d9 (patch)
tree4966a833a9a1f09aa6f82d3099e3a2c5496191c1 /security
parent6b1dd67db99a47de631de72501bc576251029db3 (diff)
Scan only "onap" namespace for non-SSL endpoints
Issue-ID: INT-1582 Change-Id: I88847c239016d972c4cdf95c46ad89749643d323 Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'security')
-rw-r--r--security/onap_security/security_tests.py2
1 files changed, 1 insertions, 1 deletions
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"