Skip to content

Commit

Permalink
[Security Solution][Investigations] - update list of dependencies to …
Browse files Browse the repository at this point in the history
…run cypress tests (#198586)

## Summary

This PR updates the list of dependencies that need to be watched to
trigger the Cypress tests for the Threat Hunting Investigations team.
The list is unfortunately not exhaustive. I went through all the imports
in the following folders:
- `/packages/kbn-expandable-flyout`
- `/x-pack/plugins/security_solution/public/timelines`
- `/x-pack/plugins/security_solution/public/flyout`
- `/x-pack/plugins/security_solution/public/notes`

I did not go through the
`/x-pack/plugins/security_solution/public/common` as they were way too
many files... Also I did not go through the dependencies of all of our
listed dependencies as this would take days...

It is an improvement on what we've had until now though, and should
protect us from outside code being changed!

elastic/security-team#10579
(cherry picked from commit 79edde9)
  • Loading branch information
PhilippeOberti committed Nov 1, 2024
1 parent 07e56b9 commit c27f241
Showing 1 changed file with 28 additions and 3 deletions.
31 changes: 28 additions & 3 deletions .buildkite/scripts/pipelines/pull_request/pipeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -255,18 +255,43 @@ const getPipeline = (filename: string, removeSteps = true) => {
if (
(await doAnyChangesMatch([
/^package.json/,
/^packages\/kbn-discover-utils/,
/^packages\/kbn-doc-links/,
/^packages\/kbn-dom-drag-drop/,
/^packages\/kbn-es-query/,
/^packages\/kbn-i18n-react/,
/^packages\/kbn-i18n/,
/^packages\/kbn-i18n-react/,
/^packages\/kbn-expandable-flyout/,
/^packages\/kbn-grouping/,
/^packages\/kbn-resizable-layout/,
/^packages\/kbn-rison/,
/^packages\/kbn-rule-data-utils/,
/^packages\/kbn-safer-lodash-set/,
/^packages\/kbn-search-types/,
/^packages\/kbn-securitysolution-.*/,
/^packages\/kbn-securitysolution-ecs/,
/^packages\/kbn-securitysolution-io-ts-alerting-types/,
/^packages\/kbn-securitysolution-io-ts-list-types/,
/^packages\/kbn-securitysolution-list-hooks/,
/^packages\/kbn-securitysolution-t-grid/,
/^packages\/kbn-ui-theme/,
/^packages\/kbn-utility-types/,
/^packages\/react/,
/^packages\/shared-ux/,
/^src\/core/,
/^src\/plugins\/charts/,
/^src\/plugins\/controls/,
/^src\/plugins\/data/,
/^src\/plugins\/kibana_utils/,
/^src\/plugins\/data_views/,
/^src\/plugins\/discover/,
/^src\/plugins\/field_formats/,
/^src\/plugins\/inspector/,
/^src\/plugins\/kibana_react/,
/^src\/plugins\/kibana_utils/,
/^src\/plugins\/saved_search/,
/^src\/plugins\/ui_actions/,
/^src\/plugins\/unified_histogram/,
/^src\/plugins\/unified_search/,
/^x-pack\/packages\/kbn-elastic-assistant/,
/^x-pack\/packages\/kbn-elastic-assistant-common/,
/^x-pack\/packages\/security-solution/,
Expand All @@ -282,7 +307,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
/^x-pack\/plugins\/task_manager/,
/^x-pack\/plugins\/threat_intelligence/,
/^x-pack\/plugins\/timelines/,
/^x-pack\/plugins\/triggers_actions_ui\/public\/application\/sections\/alerts_table/,
/^x-pack\/plugins\/triggers_actions_ui/,
/^x-pack\/plugins\/usage_collection\/public/,
/^x-pack\/test\/functional\/es_archives\/security_solution/,
/^x-pack\/test\/security_solution_cypress/,
Expand Down

0 comments on commit c27f241

Please sign in to comment.