Forum Discussion
biv_59618
Nimbostratus
Dec 08, 2017Applying Auto ASM Policy via TMSH
What I am trying to do is
enable ASM profile add an ASM policy which is configured for Autopolicy
When done through the GUI it looks like this is the config. This is what I am trying to achiev...
biv_59618
Nimbostratus
Jan 17, 2018Anyone had luck with this?
mjb109
Nimbostratus
Jun 08, 2020Old thread, but I just had this same problem, and this works on 13.1.3. Think you just need to add the "asm enable" before your final policy statement
create /ltm policy '/Common/Drafts/asm_auto_l7_policy__MY-VIRTUAL' controls add { asm } requires add {http} rules add { default { ordinal 1 actions add { 1 { asm enable policy /Common/MY-WAF-POLICY } } } }Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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