You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to create an alert using an HTTP post request on /api/alert with an alert which contains the IOC field set in one of its observables/artifacts results in a 400 Bad Request being returned by the server with a message like this one:
{"tableName":"alert","type":"AttributeCheckingError","errors":[[{"name":"alert.artifacts","format":"string","value":{"type":"JsonInputValue","value":true},"type":"InvalidFormatAttributeError","message":"Invalid format for alert.artifacts: JsonInputValue(true), expected string"}]]}
By the way, the message returned by the API server is rather cryptic. I had to trial and error several times to find which attribute of my alert was causing the issue and lost considerable time... Improvements in this area welcome 😃 .
Request Type
Bug
Work Environment
Problem Description
Trying to create an alert using an HTTP post request on
/api/alert
with an alert which contains the IOC field set in one of its observables/artifacts results in a400 Bad Request
being returned by the server with a message like this one:By the way, the message returned by the API server is rather cryptic. I had to trial and error several times to find which attribute of my alert was causing the issue and lost considerable time... Improvements in this area welcome 😃 .
Steps to Reproduce
The text was updated successfully, but these errors were encountered: