-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New input for Office 365 audit logs #16244
Conversation
Pinging @elastic/siem (Team:SIEM) |
a8bb337
to
a7dc6b5
Compare
0e7f368
to
c3d6aae
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job. The main execution loop is interesting.
Removed the |
This input uses Microsoft's Office 365 Management API to fetch audit events. Relates elastic#16196
If the first query list_blobs(now-7d,now-6d) is queued for more than 1h (because of service unavailable errors for example), when it finally runs it falls outside the acceptable time-range for the server, resulting in a AF20030 error.
e44a873
to
6079341
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This input uses Microsoft's Office 365 Management API to fetch audit events. Relates to elastic#16196 (cherry picked from commit ed80900)
What does this PR do?
This adds a new input, o365audit, to retrieve audit events from an Office 365 subscription using Microsoft's Office 365 Management API.
Why is it important?
This is a first step in developing a module to ingest O365 audit events.
Checklist
Author's Checklist
Add fields.yml.moved to moduleHow to test this PR locally
Setup an Azure application in an existing O365 subscription. Follow the steps in this blog post: https://medium.com/@kiamatthews/office-365-management-api-connector-for-elk-b94fe4ed4a53
Related issues