Skip to content

Commit

Permalink
fix(log-filecontenthash): add attachment file content hash logging th…
Browse files Browse the repository at this point in the history
…rough graylog ZMS-176 (#45)
  • Loading branch information
NickOvt authored Oct 3, 2024
1 parent fecadbe commit 1fabcf4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1413,7 +1413,8 @@ exports.hook_queue = function (next, connection) {
_attachment_disposition: attachment.disposition,
_attachment_size: attachment.size,
_attachment_encoding: attachment.transferEncoding,
_attachment_count: response.attachments.length
_attachment_count: response.attachments.length,
_attachment_sha256: attachment.fileContentHash
});
});
}
Expand Down

0 comments on commit 1fabcf4

Please sign in to comment.