Skip to content

Commit

Permalink
Update logic when body gets audit logged
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Oct 22, 2024
1 parent 850cea5 commit 08d8eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ public void logDocumentWritten(ShardId shardId, GetResult originalResult, Index
}
}

if (!complianceConfig.shouldLogWriteMetadataOnly()) {
if (!complianceConfig.shouldLogWriteMetadataOnly() && !complianceConfig.shouldLogDiffsForWrite()) {
if (securityIndex.equals(shardId.getIndexName())) {
// current source, normally not null or empty
try (
Expand Down

0 comments on commit 08d8eef

Please sign in to comment.