Forum Discussion
Chris_Campbell1
Cirrus
May 22, 2013Apply ASM policy after making changes via iControl
Is it possible to apply an ASM policy via iControl? I have made changes to the policy successfully, but when I go into the GUI the policy is sat at 'modified' and requires me to manually apply the changes. I can't see any suitable method in the wiki.
7 Replies
- Not ideal but there is a tmsh command to apply a policy in 11.3
- Faintly_Lucky
Nimbostratus
Yes.
I wrestled with this as well and found the solution. You're looking for ASM/WebApplication->set_active_policy
Once you make the changes to the policy, you have to go into the web application (usually the same name as the policy) and use set_active_policy to apply it.
If you use Perl, PM me and I can give you a reference example.
Cheers,
Chris - rdkan_76154Historic F5 AccountHi,
Is it a known behavior that when changes are made to an ASM policy using iControl, the "by user" field shows up as "iControl" instead of the actual user login id?
When the same is done via the GUI, the user id shows up with the admin user id.
We noticed this in v.11.2.1.
Also the logs under System -> Logs-> Application Security also contain the user to be iControl.
Regards - rdkan_76154Historic F5 AccountHi,
Is it a known behavior that when changes are made to an ASM policy using iControl, the "by user" field shows up as "iControl" instead of the actual user login id?
When the same is done via the GUI, the user id shows up with the admin user id.
We noticed this in v.11.2.1.
Also the logs under System -> Logs-> Application Security also contain the user to be iControl.
Regards - Changes I make via icontrol show as my username. This is on 11.2.1.
Perfect, thanks. Got it working in pyControl.
Edit: hmm, not so fast doesn't seem to work on 11.4
- rdkan_76154Historic F5 AccountThanks Chris for letting me know.
Is there any possible reason as to why the "by user" field would show up as iControl instead of the actual username then?
There are no users configured as IControl under the user list.
EM is not used in this scenario as well.
Regards
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
