Related Concepts: Case Manipulation

This function sets a case’s priority to a specific value. Values for priority are integers and will be described below.

siemplify.change_case_priority(priority=-1, 40, 80 or 100)

Parameters

Param Name Param Type Possible Values Comments Mandatory Parameter
priority int One of the following: -1, 40, 60, 80 or 100 Priority represented by each number respectively is: Informative, Low, Medium, High and Critical Yes
case_id string 12345 Unique case identifier. No
alert_identifier string 12345 Unique alert identifier. No

Return Type

NoneType

Example:

Sample Code
from SiemplifyAction import SiemplifyAction 
siemplify = SiemplifyAction() 
priority_to_change_to = 60 
siemplify.change_case_priority(priority=priority_to_change_to )
Result Behavior
The case priority gets changed to "Medium". 
Result Value
None

NOTE: Case Priority is a case’s property! Be mindful when changing it from a playbook/alert’s perspective.