Forum Discussion

4 Replies

  • 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.

    • Nikoolayy1's avatar
      Nikoolayy1
      Icon for MVP rankMVP

      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.

  • 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.

    • Eljay's avatar
      Eljay
      Icon for Cirrus rankCirrus

      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.