Related Concepts: Case Manipulation

This function adds a comment to the selected case.

siemplify.add_comment(comment, case_id, alert_identifier)

Parameters

Param Name Param Type Possible Values Comments Mandatory Parameter
comment string “This events in this alert seems suspicious” Comments related to the case 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() 
add_comment = "This alert is important"
alert_identifier = "ad6879f1-b72d-419f-990c-011a2526b16d" 
case_id = "234" siemplify.add_comment(comment, case_id, alert_identifier)
Result Behavior
The provided comment gets added to the case 234. 
Result Value
None