Skip to content

[9.2] [Security Solution] Remove D&R helpers duplicates (#235972)#240052

Merged
kibanamachine merged 2 commits intoelastic:9.2from
kibanamachine:backport/9.2/pr-235972
Oct 22, 2025
Merged

[9.2] [Security Solution] Remove D&R helpers duplicates (#235972)#240052
kibanamachine merged 2 commits intoelastic:9.2from
kibanamachine:backport/9.2/pr-235972

Conversation

@kibanamachine
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from main to 9.2:

Questions ?

Please refer to the Backport tool documentation

**Partially addresses: elastic#234642
**Follow-up issue to extract into package:
elastic#240043

# Summary

This PR removes duplicated Detections & Response test utils directory
that was used by `cases_api_integrations` tests. The removed directory
was located at
`x-pack/solutions/security/test/common/utils/detections_response`.

# Changes
- Removed duplicated utils directory at
`x-pack/solutions/security/test/common/utils/detections_response`
- Updated util imports in `cases_api_integrations` directory to import
from
`x-pack/solutions/security/test/security_solution_api_integration/config/services/detections_response`
instead of the removed directory
- Added a `tsconfig.json` for the utils directory to make it importable
from both `security_solution_api_integration` and
`cases_api_integrations`.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 9f98970)
@kibanamachine kibanamachine added the backport This PR is a backport of another PR label Oct 22, 2025
@kibanamachine kibanamachine enabled auto-merge (squash) October 22, 2025 10:43
@kibanamachine kibanamachine merged commit fd1488f into elastic:9.2 Oct 22, 2025
12 checks passed
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

cc @nikitaindik

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants