Cybersecurity
DevOps Cloud (ADM)
IT Operations Cloud
when HTTP_REQUEST {
if { [HTTP::cookie exists "authenticated"] && [TCP::local_port] != 443} {
HTTP::respond 302 Location https://[HTTP::host][HTTP::uri]
}
}
when HTTP_RESPONSE {
if { [HTTP::cookie exists "IPCZQX03a36c6c0a"] } {
set cookiedomain [HTTP::cookie domain "IPCZQX03a36c6c0a"]
HTTP::cookie secure "IPCZQX03a36c6c0a" enable
HTTP::cookie insert name "authenticated" value "true" domain $cookiedomain path "/"
}
}