Skip to content
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

[8.15] [ResponseOps][Cases] Fix a bug with cases telemetry where data from other spaces are not included (#193166) #193418

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

cnasikas
Copy link
Member

Backport

This will backport the following commits from main to 8.15:

Questions ?

Please refer to the Backport tool documentation

…ther spaces are not included (elastic#193166)

## Summary

The Find SO API supports the `namespaces` parameter where you can define
the spaces that the SO client should search for. If you omit the
`namespaces` parameter, the SO client will use the active space. This PR
creates a wrapper around the SO client to add the `namespaces: ['*']` to
all Find SO usages to count telemetry on all spaces.

### Checklist

Delete any items that are not applicable to this PR.

- [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

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 6b372b7)

# Conflicts:
#	x-pack/test/cases_api_integration/common/plugins/cases/server/plugin.ts
#	x-pack/test/cases_api_integration/common/plugins/cases/tsconfig.json
@cnasikas
Copy link
Member Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

The CI Stats report is too large to be displayed here, check out the CI build annotation for this information.

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@cnasikas cnasikas merged commit d57d9fa into elastic:8.15 Sep 19, 2024
21 checks passed
@cnasikas cnasikas deleted the backport/8.15/pr-193166 branch September 19, 2024 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants