Get a filtered, paginated list of attributes.
POST/attributes/restSearch
- Takes: IP address
- Takes: Domain
- Takes: URL
- Takes: File
- Takes: Email
- Passive: the target is not contacted
The recommended attribute search. The request body filters by value, type, category, tags, dates and more; returnFormat selects the output format.
Request body (JSON) · 9ShowHide
value
Attribute value to match
type
Attribute type, such as ip-src, md5 or url
category
Attribute category
tags
Tags to match, such as tlp:amber
from
Start date filter
to
End date filter
page
Page number
limit
Results per page
returnFormat
Response format, such as json, xml, csv, stix2
Response fields · 8ShowHide
id
Attribute ID
event_id
ID of the event it belongs to
category
Attribute category
type
Attribute type
value
Attribute value
to_ids
Whether it is meant for detection
uuid
Attribute UUID
comment
Analyst comment
curl -X POST 'https://misp.example.org/attributes/restSearch' \
-H 'Authorization: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"returnFormat":"json","value":"198.51.100.7","type":"ip-dst","limit":10}'{
"response": {
"Attribute": [
{
"id": "1001",
"event_id": "42",
"category": "Network activity",
"type": "ip-dst",
"value": "198.51.100.7",
"to_ids": true,
"uuid": "00000000-0000-4000-8000-000000000001",
"comment": "Example comment"
}
]
}
}