Noushad_Vellad1
Nov 29, 2018Altostratus
Turn off File type check for a specific URL and disable event log
I used below iRule for not blocking HTTP request when illegal file type violation is detected
when ASM_REQUEST_DONE {
if { [HTTP::uri] starts_with "/&siteid=" && [ASM::violation count] < 5 } { if { [ASM::violation_data] contains "VIOLATION_OBJ_TYPE"} { ASM::unblock } } else { More than one violation, too dangerous to Unblock return } }
It is documented at the below link
https://devcentral.f5.com/questions/turn-off-file-type-check-for-a-specific-url-55306
However, while "ASM::unblock" indeed unblocking the request, it will also generate an event log. Is there any way to disable this event log for this particular violation?