Get audit management logs. - Response is concatenated using AND condition (OR is not supported). - Maximum result set size is 100. - Offset is the zero-based number of incidents from the start of the result set.
request_dataObject
A dictionary containing the API request fields. An empty dictionary returns all results.
filtersArray
Array of filter fields.
fieldString (Enum)
Filter is based on the following keywords:
- email
: User's email address.
- type
: Type of audit log.
- sub_type
: Subtype of audit log.
- result
: Result type.
- timestamp
: Log timestamp.
operatorString (Enum)
Identifies the comparison operator you want to use for this filter. Valid keywords and values are:
in
- email
, type
, sub_type
, result
: List of strings
gte
/ lte
- timestamp
: Integer in timestamp epoch milliseconds
valueString array integer
Value that this filter must match.
- timestamp
: Integer representing the number of milliseconds after the Unix epoch, UTC timezone.
- All other fields require a string value. In the case of in
operator, the value is an array.
search_fromInteger
An integer representing the starting offset within the query result set from which you want management logs returned. Management logs are returned as a zero-based list. Any log indexed less than this value is not returned in the final result set and defaults to zero.
search_toInteger
An integer representing the end offset within the result set after which you do not want management logs returned. Logs in the management log list that are indexed higher than this value are not returned in the final results set. Defaults to 100, which returns all logs to the end of the list.
sortObjectrequired
Identifies the sort order for the result set. By default the sort is defined as creation-time and desc.
fieldString (Enum)
The field you want to sort by.
keywordString (Enum)
Whether to sort in ascending or descending order.
{
"request_data": {
"search_from": 0,
"search_to": 100,
"sort": {
"field": "timestamp",
"keyword": "asc"
}
}
}
curl -X 'POST'
-H
'Accept: application/json'
-H
'Content-Type: application/json'
'https://api-yourfqdn/public_api/v1/audits/management_logs'
-d
''