Use timer field commands manually in the CLI - Administrator Guide - Cortex XSIAM - Cortex - Security Operations

Cortex XSIAM Administrator Guide

Cortex XSIAM
Creation date
Last date published
Administrator Guide

Set and change timers for specific alerts, such as decreasing the required response time for a high-priority incident.

You can manage the timers for a specific alert manually in the CLI. This enables you to manage timers on a more granular level within specific alerts when the need arises. For example, the severity of the alert might dictate that you decrease the response time for the given alert.

Set timer fields

Use the setAlert command to set a specific alert due date or to set a specific timer field in an alert. When adding the sla parameter to the command, it sets the time for the alert's due date. If you also add the slaField you set the timer for the incident field.

For example, to change the Time to Assignment field target to 30 minutes in the current alert:

!setAlert sla=30 slaField=timetoassignment

To change the timer to February 1, 2024, at 11.12 am:

!setAlert sla=2024-02-01T11:12


When defining the values for the slaField use the machine name for the field, which is lowercase and without spaces. You can check the machine name by editing the alert field.

Start/stop timer fields

Use the following commands in the CLI:




Starts the timer. For example, !startTimer timerField=timetoassignnment. This command can also be used to restart a paused timer.


Timer fields are not started automatically when an alert is created unless run in a playbook.


Pauses the timer. For example, !pauseTimer timerField=timetoassignment. Use this command when a timer field has already started.


Stops the timer. For example, !stopTimer timerField=timetoassignment. After a timer field is stopped, you can only start the timer again after you reset the timer using the resetTimer command.


Timers are automatically stopped when an alert is closed.


Clears all fields for the timer. This command must be used before restarting a timer that was stopped. For example, !resetTimer timerField=timetoassignment.


When running commands in the CLI, you can specify the alertID to change the timer for a different alert.