diff --git a/core/pkg/opaprocessor/networkscanner.go b/core/pkg/opaprocessor/networkscanner.go index d2d3c534..453d6c8c 100644 --- a/core/pkg/opaprocessor/networkscanner.go +++ b/core/pkg/opaprocessor/networkscanner.go @@ -24,7 +24,7 @@ func isUnauthenticatedService(host string, port int, namespace string) bool { return false } - if !discoveryResults.IsAuthenticated { + if !discoveryResults.IsAuthenticated && discoveryResults.ApplicationLayer != "" { return true }