diff --git a/test/modsec_logging_test.go b/test/modsec_logging_test.go index 9d86da365..3e2867af4 100644 --- a/test/modsec_logging_test.go +++ b/test/modsec_logging_test.go @@ -127,7 +127,7 @@ var _ = Describe("logging", Ordered, func() { nsObject := metav1.ObjectMeta{ Name: namespace, Labels: map[string]string{ - "pod-security.kubernetes.io/audit": "restricted", + "pod-security.kubernetes.io/enforce": "restricted", }, }