Forum Discussion

kridsana's avatar
kridsana
Icon for Cirrocumulus rankCirrocumulus
Sep 11, 2025

Is it possible to select ASM BoT profile from irule?

Hi.
.
Is it possible to select BoT profile from irule?

.

Concept is we have different set of IP which need to allow "some" BoT type. That why we can't use whitelist IP in BoT profile because it will allow all BoT type.
So We want to use iRule to check if it IP A > use BoT profile which have some exception, but if all other IP > use normally BoT profile.

.

when HTTP_REQUEST {
    # Check IP and select BoT profile from that
    if { [IP::client_addr] eq "A" } {


        ASM::enable allow_some_bot_profile

    } else {

        ASM::enable normally_bot_profile

    }
}
ps. I didn't see any document about how to select BoT profile. So I'm not sure if ASM::enable can do that.

3 Replies