Log Masker Interceptor - getheimdall/heimdall GitHub Wiki
Definition
Heimdall by default logs the body, headers and URI from every request and response. The Log Masker interceptor allows the user to remove any of those information from the log.
Details

Name: Simple name for your interceptor
Description: A simple description for your interceptor
Life Cycle: The appropriate life cycle for the interceptor
- Life cycles allowed:
- Api
- Plan
- Resource
- Operation
Content: Configuration of the interceptor
JSON example:
{
"body": true,
"uri": true,
"headers": true,
"ignoredHeaders": [
"someHeader",
"anotherHeader"
]
}
body: true to remove the body from the logs, false/empty otherwise
uri: true to remove the uri from the logs, false/empty otherwise
headers: true to remove the headers from the logs, false/empty otherwise
ignoredHeaders: if empty and headers is true, all headers will be deleted. If a list of headers is specified, only those will be removed