Forum Discussion
ghchee
Nimbostratus
Hi Zamroni,
Can i keep existing irule for ASM policies for specific host,
and use local policy for BOTDEFENSE for specific host?
zamroni777
Dec 23, 2023Cumulonimbus
irules can be assigned to virtual server along side with traffic policy, but not as juergen wrote, botdefense::enable doesnt have parameter for profile selection
https://clouddocs.f5.com/api/irules/BOTDEFENSE__enable.html
- ghcheeDec 24, 2023Nimbostratus
Appreciate you can give a sample for create botdefense profile using iRule.
Is it botdefense with custom profile selection like below?
when HTTP_REQUEST {
if {[HTTP::host] starts_with "Infra.abc.com"} {
BOTDEFENSE::enable
BOTDEFENSE::bot_name "/Common/Infra-bot-defense"
}
}
https://clouddocs.f5.com/api/irules/BOTDEFENSE__bot_name.html