Details
-
Bug
-
Status: Done
-
Major
-
Resolution: Done
-
None
-
None
Description
Create a meta alert with multiple alerts.
Retrieve the alert using findone
{ "guid": "<guid-of-meta-alert>, "sensorType": "metaalert" }
Apply the below patch
{ "patch": [ { "op": "add", "path": "/comments", "value": [ { "comment": "aaa", "username": "admin", "timestamp": 1508251594109 }, { "comment": "aaa", "username": "admin", "timestamp": 1508251398188 }, { "comment": "abcd", "username": "admin", "timestamp": 1508251201985 }, { "comment": "ccc", "username": "admin", "timestamp": 1508244721089 }, { "comment": "c123", "username": "admin", "timestamp": 1508244381778 } ] } ], "guid": "<one-of-the-alert-in-meta-alert>", "sensorType": "<sensor-type>" }
Run find one again, you will notice all the alerts are missing except the one on which patch is applied
Attachments
Issue Links
- links to