Forum Discussion
qso
Mar 24, 2023Ret. Employee
What is the iControlRest and curl to import the ASM policy
Hi folks, may I know what is the command for curl to import the API policy into ASM and and make it visible on GUI?
I have used the following curl and iControlRest to upload the xml policy file, th...
Nikoolayy1
MVP
Mar 27, 2023Also you can try ansible for this.
With inline you can also try to feed jinja2 template:
"{{ lookup('template', 'templates/asm_xml_policy.j2') }}"
- name: Import ASM policy inline
bigip_asm_policy_import:
name: foo-policy4
inline: <xml>content</xml>
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