Skip to content

Commit

Permalink
Made sensitive header log statement more clear (#4367)
Browse files Browse the repository at this point in the history
Signed-off-by: Casper Thygesen <cth@trifork.com>
  • Loading branch information
cthtrifork authored May 28, 2024
1 parent 0692496 commit a2bb6e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ public void log(Logger logger) {
logger.info("Auditing of request body is {}.", logRequestBody ? "enabled" : "disabled");
logger.info("Bulk requests resolution is {} during request auditing.", resolveBulkRequests ? "enabled" : "disabled");
logger.info("Index resolution is {} during request auditing.", resolveIndices ? "enabled" : "disabled");
logger.info("Sensitive headers auditing is {}.", excludeSensitiveHeaders ? "enabled" : "disabled");
logger.info("Sensitive headers exclusion from auditing is {}.", excludeSensitiveHeaders ? "enabled" : "disabled");
logger.info("Auditing requests from {} users is disabled.", ignoredAuditUsersMatcher);
logger.info("Auditing request headers {} is disabled.", ignoredCustomHeadersMatcher);
logger.info("Auditing request url params {} is disabled.", ignoredUrlParamsMatcher);
Expand Down

0 comments on commit a2bb6e9

Please sign in to comment.