Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 

export "ready to be enforced" signature list

simon_kwon
Nimbostratus
Nimbostratus

Hi there,

We have tried to export/list the "ready to be enforced" signatures for our team.

I have tried to find it through MySQL, but I cannot find it on here.

 

Is there any way to find it?

1 ACCEPTED SOLUTION

simon_kwon
Nimbostratus
Nimbostratus

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.

View solution in original post

3 REPLIES 3

CA_Valli
MVP
MVP

Enforcement readiness is a per-policy behavior.
Easiest way to find it will be in the GUI: move to Security > Policies > Policy List > (policy name) > Attack Signatures  menu, and filter Status: Ready to be enforced.

CA_Valli_1-1690970926945.png

 

Or, in older versions, move to the Application Security > Attack Signatures menu, select the intended policy from the drop-down menu, then expand the Advanced Filter and select "Ready to be enforced" for Staging. 

CA_Valli_0-1690970650340.png

 

This method does not allow you to export the list, sadly.
You can check this thread however, where the pinned answer is a script that automates policy installation and it uses the API functions of the BIG-IP to query it for the enforcement-ready entities of every policy. 

It will require some tuning but it's a very good start IMO. 

simon_kwon
Nimbostratus
Nimbostratus

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.

jerrymark
Nimbostratus
Nimbostratus

Wow, that's an amazing feat! I am grateful that you have shared this. It appeals to me.