From c8a7f48d6efa57bd9907086742b0860a4d3bb4a0 Mon Sep 17 00:00:00 2001 From: jorgectf Date: Sun, 25 Jul 2021 18:18:38 +0200 Subject: [PATCH] Add `.expected` --- .../query-tests/Security/CWE-614/InsecureCookie.expected | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 python/ql/test/experimental/query-tests/Security/CWE-614/InsecureCookie.expected diff --git a/python/ql/test/experimental/query-tests/Security/CWE-614/InsecureCookie.expected b/python/ql/test/experimental/query-tests/Security/CWE-614/InsecureCookie.expected new file mode 100644 index 00000000000..5c157a11976 --- /dev/null +++ b/python/ql/test/experimental/query-tests/Security/CWE-614/InsecureCookie.expected @@ -0,0 +1,6 @@ +| django_bad.py:6:5:6:49 | Attribute() | Cookie is added to response without the 'secure' flag being set. | +| django_bad.py:12:5:12:50 | Attribute() | Cookie is added to response without the 'secure' flag being set. | +| flask_bad.py:9:5:9:56 | Attribute() | Cookie is added to response without the 'secure' flag being set. | +| flask_bad.py:16:5:16:55 | Attribute() | Cookie is added to response without the 'secure' flag being set. | +| flask_bad.py:23:5:23:30 | Subscript | Cookie is added to response without the 'secure' flag being set. | +| flask_bad.py:30:5:30:30 | Subscript | Cookie is added to response without the 'secure' flag being set. |