Skip to content

Commit

Permalink
o365: Fix processing of ModifiedProperties field (#23777) (#23787)
Browse files Browse the repository at this point in the history
A bug was causing entries for the ModifiedProperties field to be
dropped.

(cherry picked from commit 1f8a2e6)
  • Loading branch information
adriansr authored Feb 1, 2021
1 parent 0f9626c commit 098acff
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Fix CredentialsJSON unpacking for `gcp-pubsub` and `httpjson` inputs. {pull}23277[23277]
- Fix syslog header parsing in infoblox module. {issue}23272[23272] {pull}23273[23273]
- Fix concurrent modification exception in Suricata ingest node pipeline. {pull}23534[23534]
- Fix handling of ModifiedProperties field in Office 365. {pull}23777[23777]

*Heartbeat*

Expand Down
2 changes: 1 addition & 1 deletion x-pack/filebeat/module/o365/audit/config/pipeline.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ function makeDictFromModifiedPropertyArray(options) {
if (src[i] == null
|| (name=src[i].Name) == null
|| (newValue=src[i].NewValue) == null
|| (oldValue=src[i].OldValue)) continue;
|| (oldValue=src[i].OldValue) == null) continue;
name = validFieldName(name);
if (name in dict) {
if (dict[name].NewValue instanceof Array) {
Expand Down
Loading

0 comments on commit 098acff

Please sign in to comment.