elastic / connectors-ruby

Official Connector Clients for Elastic Elasticsearch, Enterprise Search, App Search and Workplace Search
https://www.elastic.co/guide/en/enterprise-search/master/index.html
Other
9 stars 17 forks source link

Added handling for HTTP response errors and only scanning allowed groups #545

Closed izmaxxsun closed 1 month ago

izmaxxsun commented 1 year ago

Closes https://github.com/elastic/connectors-ruby/issues/544

Updates to only loop through groups that the user is a member of using the following GraphAPI endpoint: https://learn.microsoft.com/en-us/graph/api/user-list-transitivememberof?view=graph-rest-1.0&tabs=http.

Also added begin...rescue to bypass and log URL request exceptions.

Checklists

Pre-Review Checklist

Changes Requiring Extra Attention

None

Release Note

For Elastic Internal Use Only

cla-checker-service[bot] commented 1 year ago

❌ Author of the following commits did not sign a Contributor Agreement: 0d0edb44ad1ee3660ccd643fe45a2242d47deced

Please, read and sign the above mentioned agreement if you want to contribute to this project