-
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
x-pack/filebeat/input/entityanalytics/provider/activedirectory: new package #37919
Conversation
dea35ac
to
9ed9d39
Compare
56019f0
to
a376c7d
Compare
Pinging @elastic/security-service-integrations (Team:Security-Service Integrations) |
This pull request is now in conflicts. Could you fix it? 🙏
|
a376c7d
to
73313b8
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
73313b8
to
c10edcd
Compare
This pull request is now in conflicts. Could you fix it? 🙏
|
c10edcd
to
35886e4
Compare
35886e4
to
e376410
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.
Change LGTM 👍🏼 Just added few nits/clarifications.
x-pack/filebeat/input/entityanalytics/provider/activedirectory/statestore.go
Show resolved
Hide resolved
[float] | ||
===== `ad_user` | ||
|
||
The client user name. Used for authentication. Field is required. |
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.
Does this user need any additional permissions to fetch other users? Should they be documented?
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.
Will add.
|
||
// runIncrementalUpdate will run an incremental update. The process is similar | ||
// to full synchronization, except only users which have changed (newly | ||
// discovered, modified, or deleted) will be published. |
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.
How are user deletes handled? Unlike okta
, this doesn't seem to have a Deleted/DEPROVISIONED
status.
So, until the next full sync happens, there could be stale(deleted) users in the state?
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.
AD doesn't have a notion of deleted. I was thinking about this and wasn't sure what we should do. At the very least, "deleted" should be removed from the docs, but I'll take a look at possible approaches to see if we can reconstruct this functionality.
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.
I've added a method for handling deletion. It's not a complete approach, but I think it is the best we can get.
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.
Thanks Dan. That makes sense
…ackage The activedirectory package provides an entity analytics provider for Active Directory.
e376410
to
9e4d31d
Compare
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
💚 Build Succeeded
History
cc @efd6 |
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 👍🏼
Proposed commit message
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs