diff --git a/rules/python/django/cookie_missing_http_only.yml b/rules/python/django/cookie_missing_http_only.yml index d2b96de9..4d709310 100644 --- a/rules/python/django/cookie_missing_http_only.yml +++ b/rules/python/django/cookie_missing_http_only.yml @@ -37,7 +37,7 @@ auxiliary: values: [render] - id: python_django_cookie_missing_http_only_set_cookie_http_only patterns: - - pattern: $<_>($<...>httponly=$) + - pattern: $<_>($<...>httponly=$$<...>) filters: - variable: "TRUE" detection: python_django_cookie_missing_http_only_true