Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Clear all filters
Answers

ASM Rest API - import ASM policy

Hi, is there any way to import ASM policy from file via rest API? File shall be copied to F5 via SFTP to some temp folder, is it possible then to import it through Rest?

Thanks for advice, Zdenek

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hello,

For uploading the file through rest api , you can use the following URI

http://IP_ADDRESS/mgmt/tm/asm/file-transfer/uploads/file_name

As for aplying the policy from the file i have not founded the specific URI which allows you to do so yet. But it should be possible.

Hope it helps

0