Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1cb5fad

Browse files
authored
entityanalytics_ad: new package for Active Directory user collection (#9485)
1 parent 37c598f commit 1cb5fad

File tree

21 files changed

+3169
-0
lines changed

21 files changed

+3169
-0
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
/packages/elastic_package_registry @elastic/ecosystem
148148
/packages/elasticsearch @elastic/stack-monitoring
149149
/packages/enterprisesearch @elastic/stack-monitoring
150+
/packages/entityanalytics_ad @elastic/security-service-integrations
150151
/packages/entityanalytics_entra_id @elastic/security-service-integrations
151152
/packages/entityanalytics_okta @elastic/security-service-integrations
152153
/packages/eset_protect @elastic/security-service-integrations
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
dependencies:
2+
ecs:
3+
reference: "[email protected]"
4+
import_mappings: true
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
# Active Directory Entity Analytics
2+
3+
This Active Directory Entity Analytics integration allows users to securely stream User Entities data to Elastic Security via the Active Directory LDAP look-ups. When integrated with Elastic Security, this valuable data can be leveraged within Elastic for risk-scoring scenarios (e.g., context enrichments) and detecting advanced analytics (UBA) use cases.
4+
5+
## Data streams
6+
7+
The Active Directory Entity Analytics integration collects one type of data: user.
8+
9+
**User** is used to retrieve all user entries available from an Active Directory server.
10+
11+
## Requirements
12+
13+
- Elastic Agent must be installed.
14+
- You can install only one Elastic Agent per host.
15+
- Elastic Agent is required to stream data using Entity Analytics Input and ship the data to Elastic, where the events will then be processed via the integration's ingest pipelines.
16+
17+
### Installing and managing an Elastic Agent:
18+
19+
You have a few options for installing and managing an Elastic Agent:
20+
21+
### Install a Fleet-managed Elastic Agent (recommended):
22+
23+
With this approach, you install Elastic Agent and use Fleet in Kibana to define, configure, and manage your agents in a central location. We recommend using Fleet management because it makes the management and upgrade of your agents considerably easier.
24+
25+
### Install Elastic Agent in standalone mode (advanced users):
26+
27+
With this approach, you install Elastic Agent and manually configure the agent locally on the system where it’s installed. You are responsible for managing and upgrading the agents. This approach is reserved for advanced users only.
28+
29+
### Install Elastic Agent in a containerized environment:
30+
31+
You can run Elastic Agent inside a container, either with Fleet Server or standalone. Docker images for all versions of Elastic Agent are available from the Elastic Docker registry, and we provide deployment manifests for running on Kubernetes.
32+
33+
There are some minimum requirements for running Elastic Agent and for more information, refer to the link [here](https://www.elastic.co/guide/en/fleet/current/elastic-agent-installation.html).
34+
35+
The minimum **kibana.version** required is **8.14.0**.
36+
37+
## Setup
38+
39+
### To collect data from Active Directory, follow the below steps:
40+
41+
- Obtain the LDAP username, e.g. `CN=Administrator,CN=Users,DC=testserver,DC=local` and password, and LDAP host address for the Active Directory server that you will be collecting data from.
42+
- Determine the Base DN for the directory to be used, e.g. `CN=Users,DC=testserver,DC=local`.
43+
44+
### Enabling the integration in Elastic:
45+
46+
1. In Kibana, go to Management > Integrations.
47+
2. In the "Search for integrations" search bar, type Active Directory Entity Analytics.
48+
3. Click on the "Active Directory Entity Analytics" integration from the search results.
49+
4. Click on the Add Active Directory Entity Analytics Integration button to add the integration.
50+
5. While adding the integration, add the user, host and base DN details obtained above.
51+
6. Save the integration by adding other necessary parameters.
52+
53+
## Usage
54+
55+
The Active Directory provider periodically contacts the server, retrieving updates for users, updates its internal cache of user metadata, and ships updated user metadata to Elasticsearch.
56+
57+
Fetching and shipping updates occurs in one of two processes: **full synchronizations** and **incremental updates**. Full synchronizations will send the entire list of users in state, along with write markers to indicate the start and end of the synchronization event. Incremental updates will only send data for changed users during that event. Changes on a user can come in many forms, whether it be a change to the user’s metadata, or a user was added or deleted. By default, full synchronizations occur every 24 hours and incremental updates occur every 15 minutes. These intervals may be customized to suit your use case.
58+
59+
## Logs reference
60+
61+
### User
62+
63+
This is the `User` dataset.
64+
65+
#### Example
66+
67+
{{event "user"}}
68+
69+
{{fields "user"}}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# newer versions go on top
2+
- version: "0.0.1"
3+
changes:
4+
- description: Initial Release.
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/9485
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fields:
2+
tags:
3+
- preserve_duplicate_custom_fields

0 commit comments

Comments
 (0)