Hi, I need to make a change in an API Protection Profile.
Is possible to clone, export or import such profile? I don’t want to change the existing profile.
I don’t think it’s possible. Was need the same functionality actually a while ago and I ended up creating a new policy.
Would like to see if anyone knows something more.
That is the annoying thing with the API Protection Profile. So I avoid that profile whenever possible.
I had not the time to investigate the possibilities, but I would try the REST-API and as fallback tmsh.
No REST-API endpoint for this APM config? Maybe having everything as a code will be a way to fast clone config?
Edit: Did not see that @Juergen_Mang beat me to propose this.
When I use tmsh I get all subcollections:
tmsh list api-protection profile apiprotection /Common/<profile-name>
I also get the subcollections using REST-API:
https://<FQDN>/mgmt/tm/api-protection/profile/apiprotection/~Common~<profile-name>?expandSubcollections=true
I’ll try to use REST-API to build new profiles.
Thanks.