Package org.nuxeo.log4j
Class Redactor
java.lang.Object
org.nuxeo.log4j.Redactor
Redacts sensitive information from messages based on regex patterns.
- Since:
- 2023
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isValidCreditCard
(String card) maskSensitive
(String msg)
-
Field Details
-
REDACTED_PLACE_HOLDER
- Since:
- 2023
- See Also:
-
AWS_KEY_PATTERN
-
CREDIT_CARD_PATTERN
-
GCP_KEY_PATTERN
-
KEYWORD_PATTERN
-
AUTH_PATTERN
-
-
Constructor Details
-
Redactor
public Redactor()
-
-
Method Details
-
maskSensitive
-
isValidCreditCard
-