Forum Discussion

JustJozef's avatar
Icon for Cirrus rankCirrus
Jul 04, 2022

icontrol - different exported policy via icontrol and GUI


I trying to export security policy with icontrol but when I compare output with same policy exported via GUI it's different.


/mgmt/tm/asm/tasks/export-policy/", '{"filename": "test_api_new.xml", "minimal":"true", "format":"xml", "policyReference":{"link": "https://localhost/mgmt/tm/asm/policies/' + str(policyId) + '"}}


icontrol exported policy 19684 lines
GUI export has 52857 lines.


For example GUI export contains info about open_api_files but icontrol export not.




Should be policy be same? Does not matter from where I export it?

In addition is there detail documentation for icontrol? Currently I use

I found some options from responses from the requests but maybe I missed some important options?

Thank you.

7 Replies