add_comment
Related Concepts: Case Manipulation
This function adds a comment to the current case’s case-wall. This function does the same thing as a user typing down a comment and saving it on the case wall.
siemplify.add_comment(comment=comment)
Parameters
Param Name | Param Type | Possible Values | Comments | Mandatory Parameter |
---|---|---|---|---|
comment | string | Any string could be used here |
|
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()
comment = "Ran some tests on the hash and it seems fine"
siemplify.add_comment(comment=comment)
Result Behavior
The specified comment is added to the current case.
Result Value
None