[8.18] [Security Solution] Add dashboard dependency to Threat Hunting Explore tests (#210334) (#210549)

# Backport

This will backport the following commits from `main` to `8.18`:
- [[Security Solution] Add dashboard dependency to Threat Hunting
Explore tests (#210334)](https://github.com/elastic/kibana/pull/210334)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT [{"author":{"name":"Vicente
Gomez","email":"120487607+vgomez-el@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-02-11T12:18:49Z","message":"[Security
Solution] Add dashboard dependency to Threat Hunting Explore tests
(#210334)\n\n## Summary\r\n\r\nUpdated dependencies for Threat Hunting
Explore tests. This means\r\nExplore tests will now run when there are
changes to the dashboard\r\nshared component.\r\n\r\nThe change
maintains all existing dependencies while adding this new one\r\nplus
some of the Investigations Team, ensuring that:\r\n1. No other teams'
test suites are affected\r\n2. Explore tests keep running on their
previous dependencies\r\n3. Explore tests will additionally run when
dashboard container
files\r\nchange","sha":"a12afdc43343aa561870f38de1495d7bfd265b88","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Threat
Hunting:Explore","backport:version","v8.18.0","v9.1.0"],"title":"[Security
Solution] Add dashboard dependency to Threat Hunting Explore
tests","number":210334,"url":"https://github.com/elastic/kibana/pull/210334","mergeCommit":{"message":"[Security
Solution] Add dashboard dependency to Threat Hunting Explore tests
(#210334)\n\n## Summary\r\n\r\nUpdated dependencies for Threat Hunting
Explore tests. This means\r\nExplore tests will now run when there are
changes to the dashboard\r\nshared component.\r\n\r\nThe change
maintains all existing dependencies while adding this new one\r\nplus
some of the Investigations Team, ensuring that:\r\n1. No other teams'
test suites are affected\r\n2. Explore tests keep running on their
previous dependencies\r\n3. Explore tests will additionally run when
dashboard container
files\r\nchange","sha":"a12afdc43343aa561870f38de1495d7bfd265b88"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/210334","number":210334,"mergeCommit":{"message":"[Security
Solution] Add dashboard dependency to Threat Hunting Explore tests
(#210334)\n\n## Summary\r\n\r\nUpdated dependencies for Threat Hunting
Explore tests. This means\r\nExplore tests will now run when there are
changes to the dashboard\r\nshared component.\r\n\r\nThe change
maintains all existing dependencies while adding this new one\r\nplus
some of the Investigations Team, ensuring that:\r\n1. No other teams'
test suites are affected\r\n2. Explore tests keep running on their
previous dependencies\r\n3. Explore tests will additionally run when
dashboard container
files\r\nchange","sha":"a12afdc43343aa561870f38de1495d7bfd265b88"}}]}]
BACKPORT-->

Co-authored-by: Vicente Gomez <120487607+vgomez-el@users.noreply.github.com>
This commit is contained in:
Kibana Machine 2025-02-12 01:02:12 +11:00 committed by GitHub
parent 144ccad614
commit 56f3bb0266
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -300,12 +300,76 @@ const getPipeline = (filename: string, removeSteps = true) => {
pipeline.push(
getPipeline('.buildkite/pipelines/pull_request/security_solution/entity_analytics.yml')
);
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/security_solution/explore.yml'));
pipeline.push(
getPipeline('.buildkite/pipelines/pull_request/security_solution/rule_management.yml')
);
}
if (
(await doAnyChangesMatch([
/^package.json/,
/^src\/platform\/packages\/shared\/kbn-discover-utils/,
/^packages\/kbn-doc-links/,
/^src\/platform\/packages\/shared\/kbn-dom-drag-drop/,
/^src\/platform\/packages\/shared\/kbn-es-query/,
/^src\/platform\/packages\/shared\/kbn-i18n/,
/^src\/platform\/packages\/shared\/kbn-i18n-react/,
/^src\/platform\/packages\/shared\/kbn-grouping/,
/^src\/platform\/packages\/shared\/kbn-resizable-layout/,
/^src\/platform\/packages\/shared\/kbn-rison/,
/^src\/platform\/packages\/shared\/kbn-rule-data-utils/,
/^src\/platform\/packages\/shared\/kbn-safer-lodash-set/,
/^src\/platform\/packages\/shared\/kbn-search-types/,
/^packages\/kbn-securitysolution-.*/,
/^src\/platform\/packages\/shared\/kbn-securitysolution-ecs/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-alerting-types/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-list-types/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-list-hooks/,
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-t-grid/,
/^src\/platform\/packages\/shared\/kbn-ui-theme/,
/^src\/platform\/packages\/shared\/kbn-utility-types/,
/^packages\/react/,
/^packages\/shared-ux/,
/^src\/core/,
/^src\/platform\/plugins\/shared\/charts/,
/^src\/platform\/plugins\/shared\/controls/,
/^src\/platform\/plugins\/shared\/dashboard/,
/^src\/platform\/plugins\/shared\/data/,
/^src\/platform\/plugins\/shared\/data_views/,
/^src\/platform\/plugins\/shared\/discover/,
/^src\/platform\/plugins\/shared\/field_formats/,
/^src\/platform\/plugins\/shared\/inspector/,
/^src\/platform\/plugins\/shared\/kibana_react/,
/^src\/platform\/plugins\/shared\/kibana_utils/,
/^src\/platform\/plugins\/shared\/saved_search/,
/^src\/platform\/plugins\/shared\/ui_actions/,
/^src\/platform\/plugins\/shared\/unified_histogram/,
/^src\/platform\/plugins\/shared\/unified_search/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant/,
/^x-pack\/platform\/packages\/shared\/kbn-elastic-assistant-common/,
/^x-pack\/solutions\/security\/packages/,
/^x-pack\/platform\/plugins\/shared\/alerting/,
/^x-pack\/platform\/plugins\/shared\/cases/,
/^x-pack\/platform\/plugins\/shared\/data_views\/common/,
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
/^x-pack\/solutions\/security\/plugins\/lists/,
/^x-pack\/platform\/plugins\/shared\/rule_registry\/common/,
/^x-pack\/solutions\/security\/plugins\/security_solution/,
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
/^x-pack\/solutions\/security\/plugins\/security_solution_serverless/,
/^x-pack\/platform\/plugins\/shared\/task_manager/,
/^x-pack\/solutions\/security\/plugins\/threat_intelligence/,
/^x-pack\/platform\/plugins\/shared\/timelines/,
/^x-pack\/platform\/plugins\/shared\/triggers_actions_ui/,
/^x-pack\/platform\/plugins\/shared\/usage_collection\/public/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
])) ||
GITHUB_PR_LABELS.includes('ci:all-cypress-suites')
) {
pipeline.push(getPipeline('.buildkite/pipelines/pull_request/security_solution/explore.yml'));
}
if (
(await doAnyChangesMatch([
/^package.json/,