Forum Discussion

Hyder_141209's avatar
Hyder_141209
Icon for Altostratus rankAltostratus
Oct 01, 2017

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:

  1. Identify a signature from signature ID in a specific policy
  2. Then enforce that signature to blocking mode
  3. Apply the policy change

Appreciate your earliest reply on this.

Cheers.

Best regards

Hyder

No RepliesBe the first to reply