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

{
  "key": "T61jY1AgV5XUW++eAcQibRDFOl5KjKwLGdo+U0def8A=",
  "nonce": "P4M0YrCmPemejJg2zRYFPl4uZu7p8kG1IQDnrRHLMZg=",
  "nonce_signed": "/rgJmzoAbGLIQEg/meAxF2vrYWcvFnbeMNkaQDfS8RKvaBuj7/HPcObkz9X0HX+V53xyh8YJR+lJ6AO727PRBQ=="
}

Response data for successful operation

Name
Type
Description

key

String

Base64 encoded ED25519 public key

nonce

String

Base64 encoded random nonce

nonce_signed

String

Base64 encoded ED25519 signature of the nonce.

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

{
  "total": 3,
  "id": ["62310b2b", "62310bf6", "6231f603"]
}

Response data for successful operation

Name
Type
Description

total

Number

Total number of logs entries.

id

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 offsetargument 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

# Encedo HEM v0.9.77 (#ff0a263)
0|62310ba5|0|0|NgPWx9MnmngrKa7xkSuQnDcwBlDV5JeR0OoX6gFyMpo|sMfJhY2jjkQLb7dVGlWf_GynEOTZVh5tO33k8Iq52jB0CAECs1ysU3NenhlmWBWyTo1XEaqL-ysBVB7quNHDBA|XEwWbRXrh65JPjAjb-9bwg
1|62310ba5|1|0|||rfB1gKL0hTi5tGh8PDerAA
2|62310ba5|7|0|||dsutQDgmuLtecPIwPDctdA
3|62310ba5|13|0||NQsxYg|bODm1bUzTiX6qS7LheDJFA
4|62310ba6|1d|0|M||9b_vMf0QXC-qEhi-kQ4zpg
5|62310bdd|12|0|U||Rhwgm9ZQx-RGfrjESNxhDQ
6|62310c0c|2|0|U||IhCfo8F_OHBLhgOGXE5vPA

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