Skip to content

[PingDirectory][LDAP Access] Add LDAP Access data stream#20091

Draft
muskan-agarwal26 wants to merge 3 commits into
elastic:feature/pingdirectory-0.1.0from
muskan-agarwal26:datastream-ldap_access
Draft

[PingDirectory][LDAP Access] Add LDAP Access data stream#20091
muskan-agarwal26 wants to merge 3 commits into
elastic:feature/pingdirectory-0.1.0from
muskan-agarwal26:datastream-ldap_access

Conversation

@muskan-agarwal26

@muskan-agarwal26 muskan-agarwal26 commented Jul 12, 2026

Copy link
Copy Markdown
Contributor

Proposed commit message

The initial release includes ldap_access data stream, associated dashboard and visualizations.

PingDirectory fields are mapped to their corresponding ECS fields where possible.

Test samples were derived from live data samples, which were subsequently sanitized.

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.
  • I have verified that any added dashboard complies with Kibana's Dashboard good practices

How to test this PR locally

To test the PingDirectory package:

  • Clone integrations repo.
  • Install elastic package locally.
  • Start elastic stack using elastic-package.
  • Move to integrations/packages/ping_directory directory.
  • Run the following command to run tests.

elastic-package test

elastic-package test
2026/07/09 11:10:52  INFO New version is available - v0.125.1. Download from: https://github.com/elastic/elastic-package/releases/tag/v0.125.1
Run asset tests for the package
2026/07/09 11:10:52  INFO elastic-package v0.125.0 version-hash be05aebd (build time: 2026-06-23T17:58:33+05:30)
2026/07/09 11:10:52  INFO elastic-stack: 8.18.0
--- Test results for package: ping_directory - START ---
╭────────────────┬─────────────┬───────────┬─────────────────────────────────────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE        │ DATA STREAM │ TEST TYPE │ TEST NAME                                                               │ RESULT │ TIME ELAPSED │
├────────────────┼─────────────┼───────────┼─────────────────────────────────────────────────────────────────────────┼────────┼──────────────┤
│ ping_directory │             │ asset     │ dashboard ping_directory-35e0d479-ad96-46d3-b2c7-c34debf03606 is loaded │ PASS   │        940ns │
│ ping_directory │             │ asset     │ lens ping_directory-015a7f2d-9876-45c1-bf85-966be64334ca is loaded      │ PASS   │        242ns │
│ ping_directory │             │ asset     │ lens ping_directory-58c4fd18-7db0-46ac-99a1-e6ec52097bee is loaded      │ PASS   │        317ns │
│ ping_directory │             │ asset     │ lens ping_directory-e488f69b-03ea-4f91-b824-2b0cdc1bbd61 is loaded      │ PASS   │        212ns │
│ ping_directory │             │ asset     │ lens ping_directory-ef704c19-ed51-43c5-9687-6df7672fbc11 is loaded      │ PASS   │        230ns │
│ ping_directory │             │ asset     │ lens ping_directory-f4653196-2b40-4f70-9d5e-a18dc7960279 is loaded      │ PASS   │        323ns │
│ ping_directory │             │ asset     │ lens ping_directory-fede7c68-f8bc-4c5d-ac15-7c6403c2206f is loaded      │ PASS   │        242ns │
│ ping_directory │             │ asset     │ search ping_directory-01041f5b-637d-40c3-9b6a-43c8d77e3113 is loaded    │ PASS   │        381ns │
│ ping_directory │ ldap_access │ asset     │ index_template logs-ping_directory.ldap_access is loaded                │ PASS   │        169ns │
│ ping_directory │ ldap_access │ asset     │ ingest_pipeline logs-ping_directory.ldap_access-0.1.0 is loaded         │ PASS   │        576ns │
╰────────────────┴─────────────┴───────────┴─────────────────────────────────────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: ping_directory - END   ---
Done
Run pipeline tests for the package
2026/07/09 11:10:58  INFO elastic-package v0.125.0 version-hash be05aebd (build time: 2026-06-23T17:58:33+05:30)
2026/07/09 11:10:58  INFO elastic-stack: 8.18.0
--- Test results for package: ping_directory - START ---
╭────────────────┬─────────────┬───────────┬─────────────────────────────────────────────────┬────────┬──────────────╮
│ PACKAGE        │ DATA STREAM │ TEST TYPE │ TEST NAME                                       │ RESULT │ TIME ELAPSED │
├────────────────┼─────────────┼───────────┼─────────────────────────────────────────────────┼────────┼──────────────┤
│ ping_directory │ ldap_access │ pipeline  │ (ingest pipeline warnings test-ldap-access.log) │ PASS   │  300.73537ms │
│ ping_directory │ ldap_access │ pipeline  │ test-ldap-access.log                            │ PASS   │ 300.825188ms │
╰────────────────┴─────────────┴───────────┴─────────────────────────────────────────────────┴────────┴──────────────╯
--- Test results for package: ping_directory - END   ---
Done
Run policy tests for the package
2026/07/09 11:10:59  INFO elastic-package v0.125.0 version-hash be05aebd (build time: 2026-06-23T17:58:33+05:30)
2026/07/09 11:10:59  INFO elastic-stack: 8.18.0
--- Test results for package: ping_directory - START ---
No test results
--- Test results for package: ping_directory - END   ---
Done
Run script tests for the package
PKG ping_directory
[no test files]
--- Test results for package: ping_directory - START ---
No test results
--- Test results for package: ping_directory - END   ---
Done
Run static tests for the package
2026/07/09 11:10:59  INFO elastic-package v0.125.0 version-hash be05aebd (build time: 2026-06-23T17:58:33+05:30)
--- Test results for package: ping_directory - START ---
╭────────────────┬─────────────┬───────────┬──────────────────────────┬────────┬──────────────╮
│ PACKAGE        │ DATA STREAM │ TEST TYPE │ TEST NAME                │ RESULT │ TIME ELAPSED │
├────────────────┼─────────────┼───────────┼──────────────────────────┼────────┼──────────────┤
│ ping_directory │ ldap_access │ static    │ Verify sample_event.json │ PASS   │  175.19759ms │
╰────────────────┴─────────────┴───────────┴──────────────────────────┴────────┴──────────────╯
--- Test results for package: ping_directory - END   ---
Done
Run system tests for the package
2026/07/09 11:11:00  INFO elastic-package v0.125.0 version-hash be05aebd (build time: 2026-06-23T17:58:33+05:30)
2026/07/09 11:11:00  INFO elastic-stack: 8.18.0
2026/07/09 11:11:00  INFO Installing package...
2026/07/09 11:11:13  INFO Running test for data_stream "ldap_access" with configuration 'udp'
2026/07/09 11:11:22  INFO Setting up independent Elastic Agent...
2026/07/09 11:11:29  INFO Setting up service...
2026/07/09 11:11:54  INFO Validating test case...
2026/07/09 11:11:54  INFO Tearing down service...
2026/07/09 11:11:55  INFO Write container logs to file: /home/devuser/integrations/build/container-logs/ping_directory-udp-ldap_access-1783575715006353088.log
2026/07/09 11:11:57  INFO Tearing down agent...
2026/07/09 11:11:57  INFO Write container logs to file: /home/devuser/integrations/build/container-logs/elastic-agent-1783575717794624959.log
2026/07/09 11:12:06  INFO Running test for data_stream "ldap_access" with configuration 'logfile'
2026/07/09 11:12:14  INFO Setting up independent Elastic Agent...
2026/07/09 11:12:28  INFO Setting up service...
2026/07/09 11:12:47  INFO Validating test case...
2026/07/09 11:12:48  INFO Tearing down service...
2026/07/09 11:12:49  INFO Write container logs to file: /home/devuser/integrations/build/container-logs/ping_directory-logfile-ldap_access-1783575769081792987.log
2026/07/09 11:12:51  INFO Tearing down agent...
2026/07/09 11:12:51  INFO Write container logs to file: /home/devuser/integrations/build/container-logs/elastic-agent-1783575771853794266.log
2026/07/09 11:13:00  INFO Uninstalling package...
--- Test results for package: ping_directory - START ---
╭────────────────┬─────────────┬───────────┬───────────┬────────┬───────────────╮
│ PACKAGE        │ DATA STREAM │ TEST TYPE │ TEST NAME │ RESULT │  TIME ELAPSED │
├────────────────┼─────────────┼───────────┼───────────┼────────┼───────────────┤
│ ping_directory │ ldap_access │ system    │ logfile   │ PASS   │ 42.136371417s │
│ ping_directory │ ldap_access │ system    │ udp       │ PASS   │ 41.048293558s │
╰────────────────┴─────────────┴───────────┴───────────┴────────┴───────────────╯
--- Test results for package: ping_directory - END   ---
Done

Related issues

Screenshots

image image (4)

@github-actions

Copy link
Copy Markdown
Contributor

Elastic Docs Style Checker (Vale)

Summary: 3 warnings, 2 suggestions found

⚠️ Warnings (3): Fix when the suggestion improves clarity or correctness.
File Line Rule Message
packages/ping_directory/data_stream/ldap_access/fields/fields.yml 96 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'for example' instead of 'e.g'.
packages/ping_directory/data_stream/ldap_access/fields/fields.yml 102 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'for example' instead of 'e.g'.
packages/ping_directory/data_stream/ldap_access/fields/fields.yml 129 Elastic.Latinisms Latin terms and abbreviations are a common source of confusion. Use 'for example' instead of 'e.g'.
💡 Suggestions (2): Optional style improvements. Apply when helpful.
File Line Rule Message
packages/ping_directory/changelog.yml 1 Elastic.Versions Use 'later versions' instead of 'newer versions' when referring to versions.
packages/ping_directory/data_stream/ldap_access/fields/fields.yml 15 Elastic.WordChoice Consider using 'can, might' instead of 'May', unless the term is in the UI.

The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

✅ All changelog entries have the correct PR link.

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

🚀 Benchmarks report

To see the full report comment with /test benchmark fullreport

@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

@andrewkroh andrewkroh added Crest Contributions from Crest developement team. New Integration Issue or pull request for creating a new integration package. documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. labels Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Crest Contributions from Crest developement team. documentation Improvements or additions to documentation. Applied to PRs that modify *.md files. New Integration Issue or pull request for creating a new integration package.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants