Log
Get instance logs
POST
https://misp.local/admin/logs
Request:
{
"page": 1,
"limit": 0,
"id": "12345",
"title": "Attribute (448272) from Event (1): Other/text foo",
"created": "string",
"model": "AdminSetting",
"model_id": "12345",
"action": "accept",
"user_id": "12345",
"change": "%name () => (ORGNAME)%",
"email": "[email protected]",
"org": "ORG_%",
"description": "%updated by User%",
"ip": "string"
}
Response:
200:
[
{
"Log": {
"id": "12345",
"title": "Attribute (448272) from Event (1): Other/text foo",
"created": "string",
"model": "AdminSetting",
"model_id": "12345",
"action": "accept",
"user_id": "12345",
"change": "name () => (ORGNAME)",
"email": "[email protected]",
"org": "ORGNAME",
"description": "Organisation \"ORGNAME\" (1) added by User \"SYSTEM\" (0).",
"ip": "10.0.0.10"
}
}
]
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"
}