For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

Eljay's avatar
Eljay
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; https://support.f5.com/csp/article/K22021244.

     

    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.