From a2bb6e9dd491ccce770294c205ac6789191bdf46 Mon Sep 17 00:00:00 2001 From: Casper Thygesen Date: Tue, 28 May 2024 14:48:13 +0200 Subject: [PATCH] Made sensitive header log statement more clear (#4367) Signed-off-by: Casper Thygesen --- .../org/opensearch/security/auditlog/config/AuditConfig.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/opensearch/security/auditlog/config/AuditConfig.java b/src/main/java/org/opensearch/security/auditlog/config/AuditConfig.java index 3b3ee742b6..4a54d2ea59 100644 --- a/src/main/java/org/opensearch/security/auditlog/config/AuditConfig.java +++ b/src/main/java/org/opensearch/security/auditlog/config/AuditConfig.java @@ -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);