Skip to content

Update observable#

update an Alert Observable.

Query#

PATCH /api/alert/artifact/{id}

With:

  • id: Alert identifier

Updatable fields are: tlp, ioc, sighted, tags, message, ignoreSimilarity

Request Body Example#

{
    "ioc": True,
    "tags":["malicious"]
}

Response#

Status codes#

  • 200: if Alert observable is updated successfully
  • 401: Authentication error
  • 403: Authorization error

ResponseBody Example#

{
    "_id":"~1564784",
    "id":"~1564784",
    "createdBy":"[email protected]",
    "updatedBy":"[email protected]",
    "createdAt":1637091448338,
    "updatedAt":1637092980667,
    "_type":"case_artifact",
    "dataType":"ip",
    "data":"1.2.3.4",
    "startDate":1637091448338,
    "tlp":2,
    "tags":["malicious"],
    "ioc":true,
    "sighted":true,
    "message":"sample description",
    "reports":{},
    "stats":{},
    "ignoreSimilarity":false
}
{
    "type": "AuthenticationError",
    "message": "Authentication failure"
}
{
    "type": "AuthorizationError",
    "message": "Your are not authorized to create custom field, you haven't the permission manageCustomField"
}

Last update: November 16, 2021 21:13:41