Forum Discussion

Eljay's avatar
Icon for Cirrus rankCirrus
Aug 26, 2021

iRule to extract ASM policy name

I'm trying to find a way to get the ASM policy name. POLICY::names lists only the policies attached to LTM. Is it possible?

1 Reply

  • Our F5 partner found the solution deep down in a KB-article;


    The command ASM::policy returns the ASM policy name. This command is undocumented and I wonder why, F5? As long as ASM::enable demands a policy name then it is imperative to have a command like ASM::policy.