Hyder_141209
Oct 01, 2017Altostratus
Signature enforcement using iControl API
Hi there!
I am looking in to the curl commands to update a specific signature in the policy. I can retrieve the self-link using the following command for example:
curl -k -u ‘user:pass’ -X GET 'https://192.168.1.245/mgmt/tm/asm/policies//signatures?$signatureId%20eq%20200100092'
However, the retrieved self-link is not identical for a policy e.g.
/TEST01/test.com.app/test.com.app_policy
.
What curl commands/Rest APIs should I use to:
- Identify a signature from signature ID in a specific policy
- Then enforce that signature to blocking mode
- Apply the policy change
Appreciate your earliest reply on this.
Cheers.
Best regards
Hyder