Skip to content

Provide capability to redact sensitive information #718

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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