From 5667b755ca938a3cbec22f7b289326e0fe902145 Mon Sep 17 00:00:00 2001 From: Timotej Lazar Date: Wed, 7 May 2025 12:21:41 +0200 Subject: [PATCH] netbox: secure the cookie USI says. --- roles/netbox/tasks/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/netbox/tasks/main.yml b/roles/netbox/tasks/main.yml index 04fa6c6..27d43c6 100644 --- a/roles/netbox/tasks/main.yml +++ b/roles/netbox/tasks/main.yml @@ -69,6 +69,8 @@ line: " 'PASSWORD': '{{ password.db_pass }}', # PostgreSQL password" - key: '^PLUGINS = ' line: "PLUGINS = ['netbox_topology_views']" + - key: '^CSRF_COOKIE_SECURE = ' + line: "CSRF_COOKIE_SECURE = True" notify: run migrations - name: Configure OIDC authentication