From 62af53ed817f71690471e5807037e7daf50463d9 Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek 
Date: Thu, 26 Nov 2020 08:45:09 +0100
Subject: [PATCH] Scan only "onap" namespace for non-SSL endpoints
Issue-ID: INT-1582
Change-Id: I88847c239016d972c4cdf95c46ad89749643d323
Signed-off-by: Pawel Wieczorek 
---
 security/onap_security/security_tests.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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"
 
 
-- 
2.16.6