Forum Discussion
- Jeffrey_GranierEmployee
something like this might work.
when ASM_REQUEST_VIOLATION {
# When a request violation occurs, drop the TCP connection
drop
}when ASM_RESPONSE_VIOLATION {
# When a response violation occurs, drop the TCP connection
drop
} - JRahmAdmin
Sometimes the handoffs between the primary proxy and plugin architecture clients like ASM are obscure. You might need to set a variable in the ASM event and then evaluate in the HTTP_RESPONSE_RELEASE event. Try something like this:
when ASM_REQUEST_VIOLATION { set req_violation 1 } when HTTP_RESPONSE_RELEASE { if { [info exists req_violation] } { drop } }