Add namespace filtering to SSL endpoints check 19/115419/2
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 18 Nov 2020 15:49:21 +0000 (16:49 +0100)
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>
Thu, 26 Nov 2020 08:11:56 +0000 (08:11 +0000)
commit0fdd0ac7cb8addcd6ccdbbddecddc81625120b80
tree9a46536faf08b814a5d48446d66fbf9633010d8a
parentd5d30aa5edaaf24d0a6aeea03552013ab9b2c8f1
Add namespace filtering to SSL endpoints check

Utility "sslendpoints" now supports scanning only selected Kubernetes
cluster namespace. To do so, add "-namespace" flag with namespace of
your choice as its argument to the executed command.

Default behavior remained unchanged, i.e. scan covers all namespaces.

Issue-ID: INT-1582
Change-Id: If5534b76bca94248a5003d735c25328648e478a1
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
(cherry picked from commit 1a5a1ad36edcb3d8e6d041aa9ea1f622206c37f5)
test/security/sslendpoints/main.go