Skip to content

Commit

Permalink
Update src/main/java/org/opensearch/security/auditlog/impl/AuditMessa…
Browse files Browse the repository at this point in the history
…ge.java

Co-authored-by: Craig Perkins <[email protected]>
Signed-off-by: Stephen Crawford <[email protected]>
  • Loading branch information
stephen-crawford and cwperks authored Jan 2, 2024
1 parent c9ff35a commit c5a7238
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ public void addRestHeaders(Map<String, List<String>> headers, boolean excludeSen
headersClone.keySet().removeIf(AUTHORIZATION_HEADER);
}
if (filter != null) {
headersClone.entrySet().removeIf(entry -> filter.isHeaderDisabled(entry.getKey()));
headersClone.entrySet().removeIf(entry -> filter.shouldExcludeHeader(entry.getKey()));
}
auditInfo.put(REST_REQUEST_HEADERS, headersClone);
}
Expand Down

0 comments on commit c5a7238

Please sign in to comment.