Audit log
Get an audit log signing key (all configuration) and on Encedo PPA only get a log list & files.
Allowed users
Allowed
Required access scope
logger:get
Get a log signing key
Get a log signing key
GET
https://my.ence.do/api/logger/key
Return a key used to digitally sign the log file header as proof of source.
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer JWT_TOKEN |
Response data for successful operation
Name | Type | Description |
---|---|---|
| String | Base64 encoded ED25519 public key |
| String | Base64 encoded random nonce |
| String | Base64 encoded ED25519 signature of the |
Log entries
Event | Result | Source |
---|---|---|
LOG_TYPE_FAILED_SCOPE_CHECK | LOG_RESULT_FAILED | 403 |
Get a list of log entries
Embedded Flash Drive is available on Encedo PPA only. On Encedo EPA these two endpoints are not available, response code 404 will be returned.
Get a logs list
GET
https://my.ence.do/api/logger/list/:offset
Get a list of available logs files
Path Parameters
Name | Type | Description |
---|---|---|
offset | Number | Skip 'offset' logs entries |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer JWT_TOKEN |
Response data for successful operation
Name | Type | Description |
---|---|---|
| Number | Total number of logs entries. |
| Array of strings | An array of logs File IDs |
Log entries
Event | Result | Source |
---|---|---|
LOG_TYPE_FAILED_SCOPE_CHECK | LOG_RESULT_FAILED | 403 |
LOG_TYPE_LOGGER_LIST_LOG | LOG_RESULT_OK | 200 |
LOG_TYPE_LOGGER_LIST_LOG | LOG_RESULT_FAILED | 404 |
Max 128 log entries are returned by one call. Use the offset
argument for pagination.
Get a log file
Embedded Flash Drive is available on Encedo PPA only. On Encedo EPA these two endpoints are not available, response code 404 will be returned.
Get a log file
GET
https://my.ence.do/api/logger/:id
Get a log file for a given id
Path Parameters
Name | Type | Description |
---|---|---|
id* | String | FIle ID e.g. "62310b2b" |
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | Bearer JWT_TOKEN |
Log entries
Event | Result | Source |
---|---|---|
LOG_TYPE_FAILED_SCOPE_CHECK | LOG_RESULT_FAILED | 403 |
LOG_TYPE_LOGGER_READ_LOG | LOG_RESULT_OK | 200 |
LOG_TYPE_LOGGER_READ_LOG | LOG_RESULT_FAILED | 404 |
Last updated