change_case_priority
Related Concepts: Case Manipulation
This function changes case priority.
siemplify.change_case_priority(priority, case_id, alert_identifier)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
priority | int | 40/60/80/100 | The priority mapping: {“Low”: 40, “Medium”: 60, “High”: 80, “Critical”: 100} | Yes |
case_id | string | 234 | Unique Case Identifier | Yes |
alert_identifier | string | ad6879f1-b72d-419f-990c-011a2526b16d | N/A | Yes |
Return Type
NoneType
Example
Sample code
from SiemplifyAction import SiemplifyAction
siemplify = SiemplifyAction()
priority = 40
alert_identifier = "ad6879f1-b72d-419f-990c-011a2526b16d"
case_id = "234"
siemplify.change_case_priority(priority=priority, case_id=case_id, alert_identifier=alert_identifier)
Result Behavior
The case 234 priority gets changed to 40, which is mapped to low.
Result Value
None