Solved

API & Immediate Threat Template IDs

  • 21 February 2024
  • 2 replies
  • 40 views

Badge

Getting a list of template IDs via the API seems pretty straightforward for Web Application Firewall, Web Gateway, and other modules. What is missing is the same for Immediate Threats. Considering that a template ID is required for “/immediate-threats/start/”, I find myself a bit flummoxed. Am I overlooking something obvious?

icon

Best answer by renier_steyn 22 February 2024, 10:56

View original

2 replies

Userlevel 2
Badge

Hi @fordprefect,

Thank you for reaching out. To get a list of available Template IDs, you will need to use GET /immediate-threats/list/ 
 

 The results would be like this, with the template ID indicated here
 

Then, using /immediate-threats/start with the ID, will launch the assessment


Pro tip: Remove “(for service based agent)” from​​ profilename.

Please let us know how you get on.

Kind regards,
Renier
​​​​​

 

Badge

Thanks for the info, @renier_steyn  That worked perfectly!

Best,

FP

Reply