Forum Discussion
iRule to enable specify bot Defense profile
Hi Zamroni,
Can i keep existing irule for ASM policies for specific host,
and use local policy for BOTDEFENSE for specific host?
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, 2023
Nimbostratus
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
