[Marketplace Contribution] EWS - Content Pack Update #24563
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Original External PR
external pull request
Status
Contributor
@alujones
Notes
This allows us to use this integration to fetch incidents as mail is moved into a folder, without missing messages that are moved in a different order from that in which they were received. An example use-case is a folder for managing reports of phishing emails - users don't send those reports strictly in the order our mail servers received them, and our SOC handlers don't move them into the phish folder in received order either. So, we were missing incidents. With this change, we are not.
This is the second time we've submitted changes to an integration to accommodate "modified" date processing - the other is to a Jira integration (so that as an item is modified and matches a query, it becomes available for incidents).
I've tried to make this so that the default mode of operation matches exactly what is currently in-place in EWS O365, so that nothing existing will break.
We've tested this functionality for the last several weeks, and the one complaint we've had is that tagging an item counts as changing its "last modified time". This doesn't seem significant, and our handlers simply tag emails before dragging them into the phish folder.
Changes were made to the parameters, to the fetch_emails_as_incidents function and the fetch_last_emails function.
I have not submitted a video, as this would quickly include email contents and addresses that are private
Video Link
Short demo video of the Pack usage. Speeds up the review. Optional but recommended. Use a video sharing service such as Google Drive or YouTube.