-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Describe the bug
Workflow actions fails to run with an error "Error has occurred while performing the workflow action to the alerts"
This occurs when searching for the alert by a file name for example if you query by random file name for al searching.
The Alerts list out a file and then when you attempt to run a Workflow Action against that alert you receive the error.
To Reproduce
Steps to reproduce the behavior:
- Create a Post-processing action that raises alerts on files with 'max_score: >=0'
- Submit a file named
random file name for al searching purposes.cart - View the Alert on the Alerts page by searching for
"random file name for al searching"
4. Click `Workflow actions icon (circled in above image)
5. Apply status, priority and Label (any will do e.g):
Viewing the Post response, it's a 200 status but 0 alerts were affected by the workflow, which is why I think the error appears.
Error doesn't occur if the following is used:
file.name:.\/random*
file.name:.\/random\ file*
Expected behavior
If the query lists an Alert on the Assemblyline UI, those alerts should have the workflow action applied to them.
Environment (please complete the following information if pertinent):
- Assemblyline Version: [e.g. 4.6.0.16]
- Browser: firefox and edge