Forum Discussion
Kai_Wilke
Nov 10, 2013MVP
With V11.4 you can call the ASM::disable command directly from your HTTP_REQUEST event. So you don't need to set variables anymore to instruct the HTTP_CLASS_SELECTED event.
when HTTP_REQUEST {
switch -exact -- [class match -- [string tolower [HTTP::header "User-Agent"]] contains AVUserAgentBlacklist ] 1 {
ASM::disable
drop
}
}
Cheers, -Kai