From 8cf6526cc4b5a8745c4441a89dddcc216d2bb980 Mon Sep 17 00:00:00 2001 From: elsapet Date: Tue, 11 Jun 2024 09:22:56 +0200 Subject: [PATCH] Update rules/python/django/cookie_missing_http_only.yml Co-authored-by: David Roe --- rules/python/django/cookie_missing_http_only.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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