diff --git a/packages/logging-interceptor/README.md b/packages/logging-interceptor/README.md index c4226a2e..43c86cd3 100644 --- a/packages/logging-interceptor/README.md +++ b/packages/logging-interceptor/README.md @@ -232,6 +232,14 @@ import { LoggingInterceptor } from '@algoan/nestjs-logging-interceptor'; new LoggingInterceptor({ disableMasking: true, // Ignore masking options in the entire applications maskingPlaceholder: 'hidden', // Replace the default placeholder '****' by a custom one + mask: { + requestHeader: { + password: true, // Mask the header 'password' in the request + authorization: (header: string | string[]) => { + ... // Handle the header value to keep non sensitve data for instance + } + }, + }, }), }, ],