Skip to content

[Security Solution][Telemetry] Add index metadata EBT event#218546

Merged
szaffarano merged 8 commits intomainfrom
szaffarano/indices-metadata-update
Apr 17, 2025
Merged

[Security Solution][Telemetry] Add index metadata EBT event#218546
szaffarano merged 8 commits intomainfrom
szaffarano/indices-metadata-update

Conversation

@szaffarano
Copy link
Contributor

@szaffarano szaffarano commented Apr 17, 2025

Summary

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

@szaffarano szaffarano requested review from a team as code owners April 17, 2025 10:46
@szaffarano szaffarano self-assigned this Apr 17, 2025
@szaffarano szaffarano added release_note:skip Skip the PR/issue when compiling release notes backport:prev-minor ci:build-cloud-image labels Apr 17, 2025
@szaffarano szaffarano requested review from a team as code owners April 17, 2025 13:37
Copy link
Contributor

@JDKurma JDKurma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @szaffarano

@szaffarano szaffarano merged commit c9b3a3e into main Apr 17, 2025
9 checks passed
@szaffarano szaffarano deleted the szaffarano/indices-metadata-update branch April 17, 2025 18:00
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.17, 8.18, 8.19, 9.0

https://github.com/elastic/kibana/actions/runs/14521863465

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 17, 2025
…218546)

## Summary

- Fix elastic#216044
- Add a new EBT event collecting index template info
    ```typescript
    export interface IndexTemplateInfo {
      template_name: string;
      index_mode: Nullable<string>;
      datastream: boolean;
      package_name: Nullable<string>;
      managed_by: Nullable<string>;
      beat: Nullable<string>;
      is_managed: Nullable<boolean>;
      composed_of: string[];
      source_enabled: Nullable<boolean>;
      source_includes: string[];
      source_excludes: string[];
    }
    ```

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit c9b3a3e)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 17, 2025
…218546)

## Summary

- Fix elastic#216044
- Add a new EBT event collecting index template info
    ```typescript
    export interface IndexTemplateInfo {
      template_name: string;
      index_mode: Nullable<string>;
      datastream: boolean;
      package_name: Nullable<string>;
      managed_by: Nullable<string>;
      beat: Nullable<string>;
      is_managed: Nullable<boolean>;
      composed_of: string[];
      source_enabled: Nullable<boolean>;
      source_includes: string[];
      source_excludes: string[];
    }
    ```

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit c9b3a3e)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Apr 17, 2025
…218546)

## Summary

- Fix elastic#216044
- Add a new EBT event collecting index template info
    ```typescript
    export interface IndexTemplateInfo {
      template_name: string;
      index_mode: Nullable<string>;
      datastream: boolean;
      package_name: Nullable<string>;
      managed_by: Nullable<string>;
      beat: Nullable<string>;
      is_managed: Nullable<boolean>;
      composed_of: string[];
      source_enabled: Nullable<boolean>;
      source_includes: string[];
      source_excludes: string[];
    }
    ```

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit c9b3a3e)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.17 Backport failed because of merge conflicts
8.18
8.19
9.0

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 218546

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#8188

[✅] x-pack/test/security_solution_api_integration/test_suites/telemetry/configs/ess.config.ts: 25/25 tests passed.
[✅] x-pack/test/security_solution_api_integration/test_suites/telemetry/configs/serverless.config.ts: 25/25 tests passed.

see run history

kibanamachine added a commit that referenced this pull request Apr 17, 2025
…218546) (#218601)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Security Solution][Telemetry] Add index metadata EBT event
(#218546)](#218546)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sebastián
Zaffarano","email":"sebastian.zaffarano@elastic.co"},"sourceCommit":{"committedDate":"2025-04-17T18:00:26Z","message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","ci:build-cloud-image","v9.1.0"],"title":"[Security
Solution][Telemetry] Add index metadata EBT
event","number":218546,"url":"https://github.com/elastic/kibana/pull/218546","mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218546","number":218546,"mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}}]}]
BACKPORT-->

Co-authored-by: Sebastián Zaffarano <sebastian.zaffarano@elastic.co>
@kibanamachine kibanamachine added v8.19.0 backport missing Added to PRs automatically when the are determined to be missing a backport. labels Apr 17, 2025
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

davismcphee pushed a commit to davismcphee/kibana that referenced this pull request Apr 22, 2025
…218546)

## Summary



- Fix elastic#216044
- Add a new EBT event collecting index template info
    ```typescript
    export interface IndexTemplateInfo {
      template_name: string;
      index_mode: Nullable<string>;
      datastream: boolean;
      package_name: Nullable<string>;
      managed_by: Nullable<string>;
      beat: Nullable<string>;
      is_managed: Nullable<boolean>;
      composed_of: string[];
      source_enabled: Nullable<boolean>;
      source_includes: string[];
      source_excludes: string[];
    }
    ```

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
@szaffarano
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.17

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

szaffarano added a commit to szaffarano/kibana that referenced this pull request Apr 22, 2025
…218546)

## Summary

- Fix elastic#216044
- Add a new EBT event collecting index template info
    ```typescript
    export interface IndexTemplateInfo {
      template_name: string;
      index_mode: Nullable<string>;
      datastream: boolean;
      package_name: Nullable<string>;
      managed_by: Nullable<string>;
      beat: Nullable<string>;
      is_managed: Nullable<boolean>;
      composed_of: string[];
      source_enabled: Nullable<boolean>;
      source_includes: string[];
      source_excludes: string[];
    }
    ```

### Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

(cherry picked from commit c9b3a3e)

# Conflicts:
#	x-pack/plugins/security_solution/server/lib/telemetry/receiver.ts
kibanamachine added a commit that referenced this pull request Apr 22, 2025
…18546) (#218602)

# Backport

This will backport the following commits from `main` to `9.0`:
- [[Security Solution][Telemetry] Add index metadata EBT event
(#218546)](#218546)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sebastián
Zaffarano","email":"sebastian.zaffarano@elastic.co"},"sourceCommit":{"committedDate":"2025-04-17T18:00:26Z","message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","ci:build-cloud-image","v9.1.0"],"title":"[Security
Solution][Telemetry] Add index metadata EBT
event","number":218546,"url":"https://github.com/elastic/kibana/pull/218546","mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218546","number":218546,"mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}}]}]
BACKPORT-->

Co-authored-by: Sebastián Zaffarano <sebastian.zaffarano@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Apr 22, 2025
…218546) (#218600)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security Solution][Telemetry] Add index metadata EBT event
(#218546)](#218546)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sebastián
Zaffarano","email":"sebastian.zaffarano@elastic.co"},"sourceCommit":{"committedDate":"2025-04-17T18:00:26Z","message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","backport:prev-major","ci:build-cloud-image","v9.1.0"],"title":"[Security
Solution][Telemetry] Add index metadata EBT
event","number":218546,"url":"https://github.com/elastic/kibana/pull/218546","mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218546","number":218546,"mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}}]}]
BACKPORT-->

Co-authored-by: Sebastián Zaffarano <sebastian.zaffarano@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
szaffarano added a commit that referenced this pull request Apr 22, 2025
…218546) (#218771)

# Backport

This will backport the following commits from `main` to `8.17`:
- [[Security Solution][Telemetry] Add index metadata EBT event
(#218546)](#218546)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Sebastián
Zaffarano","email":"sebastian.zaffarano@elastic.co"},"sourceCommit":{"committedDate":"2025-04-17T18:00:26Z","message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport
missing","backport:prev-minor","backport:prev-major","ci:build-cloud-image","v9.1.0","v8.19.0"],"title":"[Security
Solution][Telemetry] Add index metadata EBT
event","number":218546,"url":"https://github.com/elastic/kibana/pull/218546","mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/218546","number":218546,"mergeCommit":{"message":"[Security
Solution][Telemetry] Add index metadata EBT event (#218546)\n\n##
Summary\n\n\n\n- Fix https://github.com/elastic/kibana/issues/216044\n-
Add a new EBT event collecting index template info\n ```typescript\n
export interface IndexTemplateInfo {\n template_name: string;\n
index_mode: Nullable<string>;\n datastream: boolean;\n package_name:
Nullable<string>;\n managed_by: Nullable<string>;\n beat:
Nullable<string>;\n is_managed: Nullable<boolean>;\n composed_of:
string[];\n source_enabled: Nullable<boolean>;\n source_includes:
string[];\n source_excludes: string[];\n }\n ```\n\n###
Checklist\n\nCheck the PR satisfies following conditions. \n\nReviewers
should verify this PR satisfies this list as well.\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [ ] [Flaky
Test\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\nused on any tests
changed","sha":"c9b3a3e27b27f977f0ce494fc1b52d6166b21511"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/218601","number":218601,"state":"MERGED","mergeCommit":{"sha":"181f2d61e9691bf842edf268cef5f1e4333c306c","message":"[8.19]
[Security Solution][Telemetry] Add index metadata EBT event (#218546)
(#218601)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.19`:\n- [[Security Solution][Telemetry] Add index metadata
EBT
event\n(#218546)](https://github.com/elastic/kibana/pull/218546)\n\n\n\n###
Questions ?\nPlease refer to the [Backport
tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n\n\nCo-authored-by:
Sebastián Zaffarano
<sebastian.zaffarano@elastic.co>"}},{"url":"https://github.com/elastic/kibana/pull/218600","number":218600,"branch":"8.18","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/218602","number":218602,"branch":"9.0","state":"OPEN"}]}]
BACKPORT-->
@kibanamachine kibanamachine added v8.17.6 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Apr 22, 2025
akowalska622 pushed a commit to akowalska622/kibana that referenced this pull request May 29, 2025
…218546)

## Summary



- Fix elastic#216044
- Add a new EBT event collecting index template info
    ```typescript
    export interface IndexTemplateInfo {
      template_name: string;
      index_mode: Nullable<string>;
      datastream: boolean;
      package_name: Nullable<string>;
      managed_by: Nullable<string>;
      beat: Nullable<string>;
      is_managed: Nullable<boolean>;
      composed_of: string[];
      source_enabled: Nullable<boolean>;
      source_includes: string[];
      source_excludes: string[];
    }
    ```

### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment