Skip to content
This repository was archived by the owner on Nov 30, 2022. It is now read-only.
This repository was archived by the owner on Nov 30, 2022. It is now read-only.

Stop Fidesops masking uvicorn API logs #766

@adriaaaa

Description

@adriaaaa

Fidesops will mask all logs by default, even API server logs. This is too much masking as it impedes the debugging abilities of users deploying Fidesops.

The nuance here is that we still need to be confident that all PII gets masked in logs if LOG_PII is False. Some ideas:

  • Create a custom logging class that logs PII and is only used in the traversal layer
  • Create a custom log level for PII
  • (from Catherine) Reverse the logic of NotPii class to Pii, so that by default we do not mask logs, unless we annotate with Pii. This will solve the issue of allowing api server logs to show for Momentive

We would have to do an audit of what wouldn't be masked.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions