Attributes
Edit an attribute
Changed onput/attributes/edit/{attributeId}
Request
- Base URLhttps://misp.local
- URLhttps://misp.local/attributes/edit/{attributeId}
- AuthAPI key in header Authorization
Path parameters
Example:12345
UUID or numeric ID of the attribute
Request body
Example request
{
"id": "12345",
"event_id": "12345",
"object_id": "12345",
"object_relation": "sensor",
"value": "127.0.0.1",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"timestamp": "1617875568",
"distribution": "4",
"sharing_group_id": "1",
"comment": "logged source ip",
"first_seen": "1581984000000000",
"last_seen": "1581984000000000",
"Tag": [
{
"id": "12345",
"name": "tlp:white",
"colour": "#ffffff",
"org_id": "12345",
"user_id": "12345",
"numerical_value": "12345"
}
],
"Galaxy": [
{
"id": "12345",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"name": "Ransomware",
"type": "ransomware",
"description": "Ransomware galaxy based on ...",
"version": "1",
"icon": "globe",
"namespace": "misp",
"kill_chain_order": {
"fraud-tactics": [
"Initiation",
"Target Compromise",
"Perform Fraud",
"Obtain Fraudulent Assets",
"Assets Transfer",
"Monetisation"
]
}
}
]
}Response
An attribute
Example response
{
"Attribute": {
"id": "12345",
"event_id": "12345",
"object_id": "12345",
"object_relation": "sensor",
"value": "127.0.0.1",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"timestamp": "1617875568",
"distribution": "4",
"sharing_group_id": "1",
"comment": "logged source ip",
"first_seen": "1581984000000000",
"last_seen": "1581984000000000",
"Tag": [
{
"id": "12345",
"name": "tlp:white",
"colour": "#ffffff",
"org_id": "12345",
"user_id": "12345",
"numerical_value": "12345"
}
],
"Galaxy": [
{
"id": "12345",
"uuid": "c99506a6-1255-4b71-afa5-7b8ba48c3b1b",
"name": "Ransomware",
"type": "ransomware",
"description": "Ransomware galaxy based on ...",
"version": "1",
"icon": "globe",
"namespace": "misp",
"kill_chain_order": {
"fraud-tactics": [
"Initiation",
"Target Compromise",
"Perform Fraud",
"Obtain Fraudulent Assets",
"Assets Transfer",
"Monetisation"
]
}
}
]
}
}Changes
- warning
added the new
edge-extension-idenum value to the/////response property for the response status - warning
added the new
suricataenum value to the/////response property for the response status - info
added the new
edge-extension-idenum value to the request property//// - info
added the new
suricataenum value to the request property////
- warning
- breaking
removed the enum value
edge-extension-idof the request property//// - info
removed the
edge-extension-idenum value from the/////response property for the response status
- breaking