diff --git a/tests/networking/suite.go b/tests/networking/suite.go index 260561e90..6f61cd94d 100644 --- a/tests/networking/suite.go +++ b/tests/networking/suite.go @@ -219,6 +219,8 @@ func testUndeclaredContainerPortsUsage(check *checksdb.Check, env *provider.Test } if len(listeningPorts) == 0 { check.LogInfo("None of the containers of %q have any listening port.", put) + compliantObjects = append(compliantObjects, + testhelper.NewPodReportObject(put.Namespace, put.Name, "None of the containers have any listening ports", true)) continue }