[Microsoft 365] Pipeline failure resulting in incorrect root-level fields #9920
Labels
bug
Something isn't working, use only for issues
Integration:o365
Microsoft Office 365
mapping/pipeline issue
Team:Security-Service Integrations
Security Service Integrations Team [elastic/security-service-integrations]
This looks like it was introduced in v2.0.0 or v2.1.0 as this only began showing in mid January. See #8571 and #8803 for the changes in the specific PR.
Almost entirely, this occurs to
o365.audit.record.type: 64
, for Automated Investigation & Response (AIR) events. When the pipeline fails, it does not continue to rename fields nested undero365audit
too365.audit
and these events will not match under any queries for those fields.Many events do end up parsing correctly, but I've got roundly 9200 since January 22nd with an
error.message
that initially contained:At some point after, this became:
Formatting edited for readability
The AIR events contain an array of entities related to an alert. An alert might have multiple instances of one entity type and it seems like most,if not all of these, are when the alert has more than one mail cluster that may be sender+IP+subject, sender+attachments, etc (with the ID being analogous for the
fingerprint
processor in elastic, based on those values). Since something likeQueryTime
has exists in each, the above error is thrown.Sample data:
The text was updated successfully, but these errors were encountered: