Skip to main content

Analyst Data

Add analyst data:

POST

https://misp.local/analystData/add/{analystType}/{objectUUID}/{ObjectType}

Response:

200:

AnalystNote:

{
  "note": "Provide more context",
  "language": "fr-BE",
  "note_type_name": "Note",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}

AnalystOpinion:

{
  "comment": "Provide more context",
  "opinion": 70,
  "note_type_name": "Opinion",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


AnalystRelationship:

{
  "related_object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "related_object_type": "Attribute",
  "relationship_type": "related-to",
  "note_type_name": "Relationship",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


403:

{
  "name": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "message": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "url": "/attributes"
}

Default:

{
  "name": "string",
  "message": "string",
  "url": "/attributes"
}

Edit analyst data:

POST

https://misp.local/analystData/edit/{analystType}/{analystDataID}

Response:

200:

AnalystNote:

{
  "note": "Provide more context",
  "language": "fr-BE",
  "note_type_name": "Note",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


AnalystOpinion:

{
  "comment": "Provide more context",
  "opinion": 70,
  "note_type_name": "Opinion",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


AnalystRelationship:

{
  "related_object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "related_object_type": "Attribute",
  "relationship_type": "related-to",
  "note_type_name": "Relationship",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


403:

{
  "name": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "message": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "url": "/attributes"
}


Default:

{
  "name": "string",
  "message": "string",
  "url": "/attributes"
}

Delete Analyst data:

DELETE

https://misp.local/analystData/delete/{analystType}/{analystDataID}

Response:

200:

{
  "message": "Analyst Note deleted."
}


403:

{
  "name": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "message": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "url": "/attributes"
}

404:

{
  "name": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "message": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "url": "/attributes"
}

Default:

{
  "name": "string",
  "message": "string",
  "url": "/attributes"
}

List Analyst data:

GET

https://misp.local/analystData/delete/{analystType}/{analystDataID}

Response:

200:

[
  {
    "note": "Provide more context",
    "language": "fr-BE",
    "note_type_name": "Note",
    "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "object_type": "Attribute",
    "authors": "[email protected]",
    "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
    "created": "2024-03-19 11:10:24",
    "modified": "2024-03-19 11:10:24",
    "distribution": "0",
    "sharing_group_id": "1",
    "locked": true
  }
]


403:

{
  "name": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "message": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "url": "/attributes"
}

404:

{
  "name": "Invalid attribute",
  "message": "Invalid attribute",
  "url": "/attributes/1234"
}

Default:

{
  "name": "string",
  "message": "string",
  "url": "/attributes"
}}

Get Analyst Data by ID:

GET

https://misp.local/analystData/view/{analystType}/{analystDataID}

Response:

200:

AnalystNote:

{
  "note": "Provide more context",
  "language": "fr-BE",
  "note_type_name": "Note",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


AnalystOpinion:

{
  "comment": "Provide more context",
  "opinion": 70,
  "note_type_name": "Opinion",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}


AnalystRelationship:

{
  "related_object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "related_object_type": "Attribute",
  "relationship_type": "related-to",
  "note_type_name": "Relationship",
  "uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "object_type": "Attribute",
  "authors": "[email protected]",
  "org_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "orgc_uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
  "created": "2024-03-19 11:10:24",
  "modified": "2024-03-19 11:10:24",
  "distribution": "0",
  "sharing_group_id": "1",
  "locked": true
}

403:

{
  "name": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "message": "Authentication failed. Please make sure you pass the API key of an API enabled user along in the Authorization header.",
  "url": "/attributes"
}

Default:

{
  "name": "string",
  "message": "string",
  "url": "/attributes"
}