Skip to content

Provide capability to redact sensitive information #718

@tedyu

Description

@tedyu

This issue is for the feature of redaction.

With pino, we can do:

    redact: {
      paths: [
        'req.headers.authorization',
        '*.options.headers.authorization',
        '*.requestOptions.headers.authorization',

We can write custom serializer to recursively inspect the data to redact any sensitive attributes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions