Logging contexts#

Overview#

The logging context defines data added to the audit logs that are generated for each request of transformation. It represents the information the client wants to insert in the audit logs for future usage.

The data in the logging context is weakly formatted. A logging context is represented (instantiated) with an array of evidences sets.

IMPORTANT: the evidences sets used in the logging context do not need to be defined in RPS CoreConfiguration

JSON instantiation#

Logging contexts are instantiated using JSON and are used in the Transform API requests.

{
  "error": {
    "code": "[string]",
    "message": "[string]"
  }
}
JSON attributeTypeDescriptionRequired
code
string
the error's code.
message
string
text defining the error.

Example of JSON instantiation#

{
  "error": {
    "code": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
    "message": "Undefined RightContext"
  }
}