Event Report

Add Event Report

Changed on
post/eventReports/add/{eventId}

Request

  • Base URL
    https://misp.local
  • URL
    https://misp.local/eventReports/add/{eventId}
  • Auth
    API key in header Authorization

Path parameters

string required
OR
string uuid required
Example:12345

UUID or numeric ID of the event

Request body

uuidstring uuid
event_idstring
namestring
contentstring
distribution'0' | '1' | '2' | '3' | '4' | '5'

Who will be able to see this event once it becomes published and eventually when it becomes pulled:

  • 0 - Your organization only
  • 1 - This community only
  • 2 - Connected communities
  • 3 - All communities
  • 4 - Sharing group
  • 5 - Inherit Event
timestampstring nullable
deletedboolean

Example request

{
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "event_id": "12345",
  "name": "Report of the incident",
  "distribution": "4",
  "sharing_group_id": "1",
  "timestamp": "1617875568"
}

Response

An Event Report

Example response

{
  "EventReport": {
    "id": "12345",
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "event_id": "12345",
    "name": "Report of the incident",
    "distribution": "4",
    "sharing_group_id": "1",
    "timestamp": "1617875568"
  }
}

Changes

    • breaking

      the request property became not nullable

    • breaking

      the request property type changed from string to no type

    • breaking

      the ///// response property's maxLength was unset from 10 for the response status

    • breaking

      added to the ///// response property oneOf list for the response status

    • breaking

      the ///// response's property type changed from string to no type for status

    • info

      added to the request property oneOf list

    • info

      removed the pattern ^\d+$|^$ from the request property

    • info

      the ///// response's property pattern ^\d+$|^$ was removed for the status

    • breaking

      the ///// response property's maxLength was unset from 36 for the response status