Skip to main content

I want to archive alerts from Google SecOps SIEM therefore I am still considering a couple of API endpoints to use in order to complete this. I identified legacySearchAlerts and legacySearchRulesAlerts.I noticed that both endpoints doesn´t prvoide the same form of alerts.

My questions are:

  • what is the difference between alerts that are provided by both endpoints ?
  • Is the difference just in how alerts are presented or does both endpoints provide absolute different data ?
  • What is the best choice when it comes to archiving alerts ? 

Thank you in advance !

Tried -> Method: legacy.legacySearchAlerts, but showing 404, seems it's gone, will check internally and get document updated. 


So left only -> Method: legacy.legacySearchRulesAlerts 



@ZorghostI just created this Python sample file to help you with legacySearchRulesAlerts:




Once you have the Rule IDs for the alerts you want to close, you may find my blog post on bulk closing alerts helpful:



Reply