Thanks alot , This one worked . Now i was simulating that because i wanted to send Block page to users when ASM is detecting Violation instead of Support-ID , will the below be good or the custom predefined block page will continue to besent even with the below :
https://devcentral.f5.com/wiki/iRules.ASM__violation_data.ashx
when ASM_REQUEST_VIOLATION
{
log local0. "Violation detected"
log local0. " [HTTP::uri] "
HTTP::respond 200 content [subst {
Blocking Page
We are sorry, but you were blocked due to [ASM::violation_data] in [HTTP::uri]
}]
}