F5Audiolomb
Oct 27, 2023Altostratus
ASM::unblock not working for specific violation
Hello there,
I set an iRule for ASM that should unblock a specific violation:
when ASM_REQUEST_DONE {
set asm_support_id [ASM::support_id]
if { $uri starts_with "/my/uri" and [ASM::violation names] contains "VIOL_ENCODING" } then {
ASM::unblock
}
}
This rule is not triggered for that specific violation. What am I missing?
I would also like to point out that if I remove the second part of the IF and leave just the uri match, the rule triggers just fine.
I am 100% sure the violation I am targeting is correct.
Any clues on what is wrong with it?
Thank you!