Forum Discussion
Jad_Tabbara__JT
Nimbostratus
May 30, 2017irule to select an ASM policy
Dear community,
I am trying to disable "Attack Signature" checks for a specific URL.
As I didn't find a way to do it directly via the ASM policy itself, I thought to do it like that :
Add an ...
Anesh
Cirrostratus
May 30, 2017What you are looking to achieve can be done via Local Traffic Policies and if you want to use iRule you can try the below
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*/car/*" {
ASM::enable /Common/asm_policy_1
}
"*/house/*" {
ASM::enable /Common/asm_policy_2
}
}
}
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects