Forum Discussion
export "ready to be enforced" signature list
- Aug 03, 2023
Not to use the GUI, I found the other method to list the "ready to be enforced" signatures
This is the way to do with iControl:
restcurl -u admin:[password] "/tm/asm/policies/[Policy ID]/signatures?\$select=&\$filter=enabled+eq+true+and+performStaging+eq+true+and+wasUpdatedWithinEnforcementReadinessPeriod+eq+false+and+hasSuggestions+eq+false+and+inPolicy+eq+true"
with this API call, signature IDs can be listed.
password to be replaced,but whats the policy ID ..i gave the policy name it is not working
Hi,
You should export Policy ID with other restcurl commandline as a below:
restcurl -u admin:[password] "/tm/asm/policies/?\$select=id,versionPolicyName,enforcementMode"
you should use that ID to control ASM policy with API.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com