Legitimates
List all audit legitimates
Request
Definition
GET /api/v1/audit/legitimates
Headers
-
Authorization
requiredAuthentication token with privileges to view the resource.
Bearer {token}
Query string parameters
Parameter | Type | Required | Description |
---|---|---|---|
paginate | boolean | No | If the result must be paginated. |
page | integer | Yes if paginate is true | Page index. |
page_size | integer | Yes if paginate is true | Number of items displayed per page. |
legit_id | string | No | Filters operations whose legit_id matches the string entered. |
legit_id_list | array<string> | No | Filters operations whose legit_id matches any of list items. |
timestamp_start | integer | No | Filters operations performed after the date entered. |
timestamp_end | integer | No | Filters operations performed before the date entered. |
username | string | No | Filters the operations carried out by the user whose name matches the string entered. |
username_list | array<string> | No | Filters the operations carried out by the user whose name matches any of the list items. |
action | string | No | Filters the operations whose action matches the string entered. |
action_list | array<string> | No | Filters the operations whose action matches any of the list items. |
Response
Status codes
Status code | Message |
---|---|
200 | "List of audit legitimates" |
403 | "Forbidden" |
Body
- Attributes
- Example
-
data.audit_legitimates.legit_id
stringID of the legitimate concerned by the operation.
-
data.audit_legitimates.action
stringExecuted action.
-
data.audit_legitimates.username
stringUsername of the user who performed the operation.
-
data.audit_legitimates.timestamp
integerDate in which the operation has been performed in UNIX format (microseconds).
-
data.audit_legitimates.additional_info
objectSome operation's additional informations.
{
"data": {
"audit_legitimates": [
{
"action": "created",
"additional_info": {},
"legit_id": "00.X-2-0.3xxxxxwj.Kaxxxxin",
"timestamp": 1651131896000000,
"username": "DevTest"
}
]
},
"message": "List of audit legitimates",
"status": "ok"
}