Skip to content
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

OAuth2 APIs #110

Open
Skypex opened this issue May 16, 2019 · 1 comment
Open

OAuth2 APIs #110

Skypex opened this issue May 16, 2019 · 1 comment

Comments

@Skypex
Copy link

Skypex commented May 16, 2019

Hello,

I currently want to fetch data from Windows Defender APT using a REST API provided by Microsoft.
Here is how the API works: Pull Microsoft Defender ATP alerts using SIEM REST API

However, this API uses OAuth2 for authentication/authorization and this means I need to fetch an new access token e.g. every hour. As the token is part of the request this would mean I need to reconfigure Logstash every hour as well to update it to the new token.

Is there a way to make Logstash managing the tokens?

@dan-drl
Copy link

dan-drl commented Jul 8, 2020

I also would be interested in seeing some kind of oauth2 support. I have similar use case and would like to pull data out of Microsoft Graph REST APIs.

As more and more REST APIs move towards OAuth2, support for this standard in the http_poller plugin seems very important. IMAP is being deprecated for Microsoft's exchange web server (which relies on basic auth in this case), and users are going to need to transition to using OAuth2 and Microsoft's REST APIs.

https://developer.microsoft.com/en-us/office/blogs/end-of-support-for-basic-authentication-access-to-exchange-online-apis-for-office-365-customers/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants