diff --git a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml
index c8210e1..3d7b46a 100644
--- a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml
+++ b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/etc/nevis/k8s-npi-92e282d1dc2b69d9e4f91fc0.yaml
@@ -46,7 +46,7 @@ spec:
podDisruptionBudget:
maxUnavailable: "50%"
git:
- tag: "r-4fb5275ec4c9d183bf1a4df388ebf867cbd8f1c9"
+ tag: "r-603573b16dce3bad3093656c6cd14820e69672b4"
dir: "DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi"
credentials: "git-credentials"
keystores:
diff --git a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/csrf_default.lua b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/csrf_default.lua
deleted file mode 100644
index bc67a54..0000000
--- a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/csrf_default.lua
+++ /dev/null
@@ -1,73 +0,0 @@
-function contains(tab, val)
- for index, value in ipairs(tab) do
- if value == val then
- return true
- end
- end
- return false
-end
-
-function inputHeader(request, response)
-
- if (request:getMethod() == "GET" or request:getMethod() == "HEAD" or request:getMethod() == "OPTIONS" or request:getMethod() == "TRACE") then
- -- these requests are not sensitive (do not manipulate state) and are thus not checked
- return
- end
-
- -- patterns sets allowed domains or {}
- domains = {}
-
- host = request:getHeader("Host")
-
- if (host == nil) then
- -- Internet-based HTTP/1.1 servers MUST respond with a 400 (Bad Request) status code to any HTTP/1.1 request message which lacks a Host header field.
- request:getTracer():notice("VA05", "Missing Host header")
- response:setHeader("Content-Type", "text/plain")
- response:setBody("400 Bad Request")
- response:send(400)
- return
- end
-
- -- extract host name
- host = host:match('([^:]+)')
-
- referer = request:getHeader("Referer")
- if (referer ~= nil) then
- referer = referer:match('^%w+://([^/:]+)')
- if (referer ~= host and not contains(domains, referer)) then
- if (referer ~= nil) then
- request:getTracer():notice("VA01", "HTTP Referer header " .. referer .. " does not match host " .. host)
- else
- request:getTracer():notice("VA01", "HTTP Referer header " .. request:getHeader("Referer") .. " does not match pattern '^[a-zA-Z0-9]+://([^/:]+)'")
- end
- response:setHeader("Content-Type", "text/plain")
- response:setBody("403 Denied")
- response:send(403)
- return
- end
- end
-
- origin = request:getHeader("Origin")
- if (origin ~= nil) then
- origin = origin:match('^%w+://([^/:]+)')
- if (origin ~= host and not contains(domains, origin)) then
- if (origin ~= nil) then
- request:getTracer():notice("VA01", "HTTP Origin header " .. origin .. " does not match host " .. host)
- else
- request:getTracer():notice("VA01", "HTTP Origin header " .. request:getHeader("Origin") .. " does not match pattern '^[a-zA-Z0-9]+://([^/:]+)'")
- end
- response:setHeader("Content-Type", "text/plain")
- response:setBody("403 Denied")
- response:send(403)
- return
- end
- end
-
- if (origin == nil and referer == nil) then
- request:getTracer():info("VA05", "Referer or Origin header is required for sensitive requests")
- response:setHeader("Content-Type", "text/plain")
- response:setBody("403 Denied")
- response:send(403)
- return
- end
-end
\ No newline at end of file
diff --git a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml
index 9d79581..1c194c3 100644
--- a/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml
+++ b/DEFAULT-ADN-POST-IAM-TKNXCHNG-PROJECT/DEFAULT-ADN-POST-IAM-TKNXCHNG-INV/npi/var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/web.xml
@@ -66,21 +66,6 @@
false
-
-
- CSRF_Default
- ch::nevis::isiweb4::filter::lua::LuaFilter
-
-
- Script.InputHeaderFunctionName
- inputHeader
-
-
-
- Script.Path
- /var/opt/nevisproxy/default/host-cossa.agov-w.azure.adnovum.net/WEB-INF/csrf_default.lua
-
-
ErrorHandler_Default
@@ -208,11 +193,6 @@
ModSecurity_cossa_realm_REST2
/oauth/introspect2/*
-
-
- CSRF_Default
- /oauth/introspect2/*
-
AuthenticationService_cossa_realm