Hi Abdo
the proxy doesnt' have an API.
MC does so you can use that to create the policy and then push out to the proxies or you can manually do it from within MC
an other alternative is to use a local database (this can be stored in MC) and have a rule reference the urls in the local database, that way all you need to do is add the urls to the local database, no need to push out policy as the rule is already there,,,
I've attached a doc that out lines the process, it's old but still works
Original Message:
Sent: 04-09-2020 08:42 PM
From: abdo yousri
Subject: SMC proxysg rest api integration
We have smc which manage more than one proxysg. We want to write script which will add rule to Waccl to block malicious url on all proxysg appliances.
Should we use smc api to do that ,or we should use proxysg api (if exists) then replicate changes to all appliances ,or this is not possible ?
Any help appreciated. :)