Loggingredactor

Latest version: v0.0.5

Safety actively analyzes 683530 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

0.0.2b1

- Updated README
- Updated patterns key to mask_patterns

0.0.2a2

- Changed default_mask key to mask

0.0.2a1

- Catch TypeError
- Updated README
- Optimized to remove unecessary deepcopies

0.0.1

Improvements
- Added ability to redact by key, not just by regex for extra field.
- Added support to redact by key for positional arguments.
- Optimized checks that identified elements of the logger object to apply the redaction rule to.
- Added support for tuples to be provided as arguments to the logger.
- Added support for logger message arguments to be among the redacted elements.
- Added support for python 3.8+ (3.8 - 3.12).

Bug fixes:
- Fixed bugs that mutated variables in place when redacting data (specific to dictionaries, lists and tuples).
- The added support for tuples is technically a bug fix, as it was meant to be present in the original release.

Improved Documentation:
- Added an illustrative example to indicate how to apply logging redaction to already configured loggers in prior projects.
- Added an illustrative example which demonstrates redaction being applied using keys with positional arguments in the logger.

0.0.1b2

- Updated README
- Updated Unit Tests

0.0.1b1

Updates:
- Added support to redact by key for positional arguments.
- Made ruff the linter for the project.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.