kibana/x-pack/test
Zacqary Adam Xeper d5201bd757
[8.12] [RAM] Fix bug where select all rules bypasses filters (#176962) (#177096)
# Backport

This will backport the following commits from `main` to `8.12`:
- [[RAM] Fix bug where select all rules bypasses filters
(#176962)](https://github.com/elastic/kibana/pull/176962)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT [{"author":{"name":"Zacqary Adam
Xeper","email":"Zacqary@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-02-15T18:30:08Z","message":"[RAM]
Fix bug where select all rules bypasses filters (#176962)\n\n##
Summary\r\n\r\nFixes #176867 \r\n\r\nA bug introduced in
https://github.com/elastic/kibana/pull/174954\r\nbypassed most filters
when using Select All on the Rules List. This was\r\nbecause the names
of the filter properties changed, and no longer\r\nmatched what the
`useBulkEditSelect` hook was expecting.\r\n\r\nBecause all of these
types were optional, it didn't trigger any type\r\nerrors.\r\n\r\nThis
syncs up the type definitions with the new filter store hook,
and\r\nadds a functional test to make sure filters are working on bulk
actions\r\nwhen clicking the select all button.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e136a9318215d5913a5e957aec5d9ad0b8132506","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:ResponseOps","Feature:Alerting/RulesManagement","v8.13.0","v8.12.2","v8.14.0"],"number":176962,"url":"https://github.com/elastic/kibana/pull/176962","mergeCommit":{"message":"[RAM]
Fix bug where select all rules bypasses filters (#176962)\n\n##
Summary\r\n\r\nFixes #176867 \r\n\r\nA bug introduced in
https://github.com/elastic/kibana/pull/174954\r\nbypassed most filters
when using Select All on the Rules List. This was\r\nbecause the names
of the filter properties changed, and no longer\r\nmatched what the
`useBulkEditSelect` hook was expecting.\r\n\r\nBecause all of these
types were optional, it didn't trigger any type\r\nerrors.\r\n\r\nThis
syncs up the type definitions with the new filter store hook,
and\r\nadds a functional test to make sure filters are working on bulk
actions\r\nwhen clicking the select all button.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e136a9318215d5913a5e957aec5d9ad0b8132506"}},"sourceBranch":"main","suggestedTargetBranches":["8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/177063","number":177063,"state":"MERGED","mergeCommit":{"sha":"4e45baaef0134a39c624b0bf770eb7b51a7725c9","message":"[8.13]
[RAM] Fix bug where select all rules bypasses filters (#176962)
(#177063)\n\n# Backport\n\nThis will backport the following commits from
`main` to `8.13`:\n- [[RAM] Fix bug where select all rules bypasses
filters\n(#176962)](https://github.com/elastic/kibana/pull/176962)\n\n<!---
Backport version: 9.4.3 -->\n\n### Questions ?\nPlease refer to the
[Backport
tool\ndocumentation](https://github.com/sqren/backport)\n\n<!--BACKPORT
[{\"author\":{\"name\":\"Zacqary
Adam\nXeper\",\"email\":\"Zacqary@users.noreply.github.com\"},\"sourceCommit\":{\"committedDate\":\"2024-02-15T18:30:08Z\",\"message\":\"[RAM]\nFix
bug where select all rules bypasses filters
(#176962)\\n\\n##\nSummary\\r\\n\\r\\nFixes #176867 \\r\\n\\r\\nA bug
introduced
in\nhttps://github.com/elastic/kibana/pull/174954\\r\\nbypassed most
filters\nwhen using Select All on the Rules List. This was\\r\\nbecause
the names\nof the filter properties changed, and no longer\\r\\nmatched
what the\n`useBulkEditSelect` hook was expecting.\\r\\n\\r\\nBecause all
of these\ntypes were optional, it didn't trigger any
type\\r\\nerrors.\\r\\n\\r\\nThis\nsyncs up the type definitions with
the new filter store hook,\nand\\r\\nadds a functional test to make sure
filters are working on bulk\nactions\\r\\nwhen clicking the select all
button.\\r\\n\\r\\n###\nChecklist\\r\\n\\r\\n- [x] [Unit
or\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most
common\nscenarios\",\"sha\":\"e136a9318215d5913a5e957aec5d9ad0b8132506\",\"branchLabelMapping\":{\"^v8.14.0$\":\"main\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"Team:ResponseOps\",\"Feature:Alerting/RulesManagement\",\"v8.13.0\",\"v8.12.2\",\"v8.14.0\"],\"title\":\"[RAM]\nFix
bug where select all rules
bypasses\nfilters\",\"number\":176962,\"url\":\"https://github.com/elastic/kibana/pull/176962\",\"mergeCommit\":{\"message\":\"[RAM]\nFix
bug where select all rules bypasses filters
(#176962)\\n\\n##\nSummary\\r\\n\\r\\nFixes #176867 \\r\\n\\r\\nA bug
introduced
in\nhttps://github.com/elastic/kibana/pull/174954\\r\\nbypassed most
filters\nwhen using Select All on the Rules List. This was\\r\\nbecause
the names\nof the filter properties changed, and no longer\\r\\nmatched
what the\n`useBulkEditSelect` hook was expecting.\\r\\n\\r\\nBecause all
of these\ntypes were optional, it didn't trigger any
type\\r\\nerrors.\\r\\n\\r\\nThis\nsyncs up the type definitions with
the new filter store hook,\nand\\r\\nadds a functional test to make sure
filters are working on bulk\nactions\\r\\nwhen clicking the select all
button.\\r\\n\\r\\n###\nChecklist\\r\\n\\r\\n- [x] [Unit
or\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most
common\nscenarios\",\"sha\":\"e136a9318215d5913a5e957aec5d9ad0b8132506\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.13\",\"8.12\"],\"targetPullRequestStates\":[{\"branch\":\"8.13\",\"label\":\"v8.13.0\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.12\",\"label\":\"v8.12.2\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"main\",\"label\":\"v8.14.0\",\"branchLabelMappingKey\":\"^v8.14.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/176962\",\"number\":176962,\"mergeCommit\":{\"message\":\"[RAM]\nFix
bug where select all rules bypasses filters
(#176962)\\n\\n##\nSummary\\r\\n\\r\\nFixes #176867 \\r\\n\\r\\nA bug
introduced
in\nhttps://github.com/elastic/kibana/pull/174954\\r\\nbypassed most
filters\nwhen using Select All on the Rules List. This was\\r\\nbecause
the names\nof the filter properties changed, and no longer\\r\\nmatched
what the\n`useBulkEditSelect` hook was expecting.\\r\\n\\r\\nBecause all
of these\ntypes were optional, it didn't trigger any
type\\r\\nerrors.\\r\\n\\r\\nThis\nsyncs up the type definitions with
the new filter store hook,\nand\\r\\nadds a functional test to make sure
filters are working on bulk\nactions\\r\\nwhen clicking the select all
button.\\r\\n\\r\\n###\nChecklist\\r\\n\\r\\n- [x] [Unit
or\nfunctional\\r\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\r\\nwere\nupdated
or added to match the most
common\nscenarios\",\"sha\":\"e136a9318215d5913a5e957aec5d9ad0b8132506\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Zacqary Adam Xeper
<Zacqary@users.noreply.github.com>"}},{"branch":"8.12","label":"v8.12.2","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","labelRegex":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/176962","number":176962,"mergeCommit":{"message":"[RAM]
Fix bug where select all rules bypasses filters (#176962)\n\n##
Summary\r\n\r\nFixes #176867 \r\n\r\nA bug introduced in
https://github.com/elastic/kibana/pull/174954\r\nbypassed most filters
when using Select All on the Rules List. This was\r\nbecause the names
of the filter properties changed, and no longer\r\nmatched what the
`useBulkEditSelect` hook was expecting.\r\n\r\nBecause all of these
types were optional, it didn't trigger any type\r\nerrors.\r\n\r\nThis
syncs up the type definitions with the new filter store hook,
and\r\nadds a functional test to make sure filters are working on bulk
actions\r\nwhen clicking the select all button.\r\n\r\n###
Checklist\r\n\r\n- [x] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common
scenarios","sha":"e136a9318215d5913a5e957aec5d9ad0b8132506"}}]}]
BACKPORT-->

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-03-18 16:07:11 -07:00
..
accessibility skip flaky suite (#172598) 2023-12-05 17:39:37 +00:00
alerting_api_integration [8.12] [RAM][BUG] Fix bug where bulk untrack wasn&#x27;t removing alerts from task runner (#176268) (#176438) 2024-02-07 13:16:38 -07:00
api_integration [8.12] [ML] Category job results API test (#172840) (#173023) 2023-12-11 03:07:18 -07:00
api_integration_basic [ML] AIOps: Log Rate Analysis V2 REST API, replaces references to term with item. (#170274) 2023-11-10 13:57:59 +01:00
apm_api_integration [8.12] [APM] Add filter to /has_data api (#173382) (#173559) 2023-12-18 14:15:39 -07:00
banners_functional
cases_api_integration [8.12] [DOCS] Add new sub feature privilege to prevent access to the cases settings (#174223) (#174467) 2024-01-08 10:17:33 -07:00
cloud_integration [8.12] Update platform security modules (main) (#173232) (#173788) 2023-12-21 03:22:25 -07:00
cloud_security_posture_api Compliance dashboard UI and API (#171312) 2023-11-30 09:21:57 -08:00
cloud_security_posture_functional [Cloud Security] [Misconfiguration] Add Grouping custom renderers (#172256) 2023-12-01 14:13:22 -08:00
common [Security Solution] Support Serverless Cypress tests with different roles (#169017) 2023-10-31 09:39:47 -07:00
custom_branding [Custom Branding] Add custom branding settings to Global settings (#150080) 2023-02-16 08:13:42 +01:00
dataset_quality_api_integration [Dataset quality] Implementing Dataset Table + consuming plugin from observability log explorer (#171777) 2023-11-23 22:57:33 +01:00
defend_workflows_cypress [Security Solution][Endpoint] Add serverless Security project users/roles to cypress e2e test setup (#167446) 2023-10-04 21:01:21 +02:00
detection_engine_api_integration [8.12] [Security Solution] Fix not complete existing rule overwrite when importing rules (#176166) (#177270) 2024-02-20 17:07:57 +01:00
disable_ems Fix some type issues in x-pack/test (#167343) 2023-09-27 13:14:01 -07:00
encrypted_saved_objects_api_integration async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
examples [Security Solution] remove unnecessary showExpandToDetails property (#168048) 2023-10-24 16:49:25 -05:00
fleet_api_integration [8.12] [Fleet] Fix assets being unintentionally moved to the default space during Fleet setup (#176173) (#176250) 2024-02-05 13:13:09 -07:00
fleet_cypress Upgrading cypress to 12.17.4 (#165869) 2023-09-19 10:15:53 -07:00
fleet_functional Unskipping fleet_functional/apps/home/welcome·ts test (#160078) 2023-06-21 09:52:46 -04:00
fleet_packages
ftr_apis
functional skip failing test suite (#178895) 2024-03-18 17:25:28 -04:00
functional_basic [ML] Rename index pattern references to data view. (#171627) 2023-11-23 08:17:26 +01:00
functional_cloud [Cloud] Rename "Endpoints" to "Connection details" (#171982) 2023-11-27 15:58:42 +00:00
functional_cors async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
functional_embedded async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
functional_enterprise_search [Enterprise Search] Enterprise Search Cypress configuration (#155398) 2023-04-21 17:06:41 +02:00
functional_execution_context Retry parsing logs if we do not find the predicate we were looking for (#171116) 2023-11-15 13:09:40 +01:00
functional_with_es_ssl [8.12] [RAM] Fix bug where select all rules bypasses filters (#176962) (#177096) 2024-03-18 16:07:11 -07:00
kubernetes_security k8s dashboard routes now versioned. types consolidated as v1. (#159359) 2023-06-13 09:27:39 -07:00
licensing_plugin unskip license type functional test (#163199) 2023-08-10 07:43:05 -07:00
load [performance] Move scalability and load APM to e2e-perf cluster (#172494) 2023-12-04 10:56:36 -07:00
localization [Lens] Fix issues with field name that contains : char in it (#163626) 2023-08-14 15:46:46 +02:00
monitoring_api_integration [Stack Monitoring] install packages before test suite runs (#165881) 2023-09-08 13:32:30 +02:00
observability_ai_assistant_api_integration [8.12] Upgrade openai to 4.24.1 (#173934) (#174128) 2024-01-02 15:08:44 -07:00
observability_ai_assistant_functional [8.12] Upgrade openai to 4.24.1 (#173934) (#174128) 2024-01-02 15:08:44 -07:00
observability_api_integration chore(slo): remove composite slo code (#168481) 2023-10-13 10:41:29 -04:00
observability_functional [RAM] Enable read-only users to access rules (#167003) 2023-10-06 09:01:18 -07:00
observability_onboarding_api_integration [Logs onboarding] Using logsSynthtrace in api integration tests (#171510) 2023-11-20 08:08:20 -07:00
osquery_cypress [Security Solution][Endpoint] several refactors of CLI tooling and associated common services (#169987) 2023-11-13 15:10:55 -05:00
plugin_api_integration Enable SentinelOne feature flags for v8.12 (#173859) 2024-01-02 08:10:24 -07:00
plugin_api_perf async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
plugin_functional [Log Explorer] Convert log explorer profile into standalone app (#164493) 2023-08-31 14:18:44 +02:00
profiling_api_integration skip flaky suite (#169841) 2023-10-26 04:16:55 +01:00
reporting_api_integration Reporting packages for export types (#162845) 2023-11-15 10:48:00 -07:00
reporting_functional [esArchiver] restrict from modifying saved objects indexes (#169852) 2023-10-27 11:27:10 -07:00
rule_registry [Alert As Data] Add match_only_text mapping for reason field (#171969) 2023-11-28 17:58:22 +01:00
saved_object_api_integration async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
saved_object_tagging Address saved_object_tagging flakiness (#170114) 2023-10-30 22:21:27 +01:00
saved_objects_field_count
scalability [data views] Add fields for wildcard scalability test (#171956) 2023-12-05 13:48:14 -06:00
screenshot_creation [8.12] Add docs for SentinelOne connector (#174696) (#176083) 2024-02-01 11:33:45 -07:00
search_sessions_integration [discover] do not show old results on error (#170769) 2023-11-10 07:01:16 -07:00
security_api_integration [8.12] Updates test file wrapper to deterministically detect file write completion (#176115) (#176161) 2024-02-02 09:40:23 -07:00
security_functional Allow using JWT credentials to grant API keys. (#172444) 2023-12-04 20:07:41 +01:00
security_solution_api_integration [8.12] [Security Solution] Fix not complete existing rule overwrite when importing rules (#176166) (#177270) 2024-02-20 17:07:57 +01:00
security_solution_cypress [8.12] [Security Solution] &quot;Data view&quot; selector is shown in &quot;Edit filter&quot; view on the Rule Editing page (#174026) (#174922) (#175433) 2024-01-25 11:02:08 -07:00
security_solution_endpoint [8.12] [Security Solution][Endpoint] Remove responder FTR test (#175454) (#177739) 2024-02-23 11:54:00 -07:00
security_solution_endpoint_api_int [8.12] [Security Solution][Endpoint] Re-enable execute api integration tests (#175082) (#175123) 2024-01-18 09:06:11 -07:00
security_solution_ftr [8.12] [Security Solution][Endpoint] Remove responder FTR test (#175454) (#177739) 2024-02-23 11:54:00 -07:00
session_view Revert "skip failing test suite (#159303)" 2023-06-08 09:46:42 -05:00
spaces_api_integration async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
stack_functional_integration [QA] Change default time interval in beats tests for stack integration (#170483) 2023-11-02 15:07:45 -07:00
threat_intelligence_cypress [Threat Intelligence] Switch to parallel cypress (#158801) 2023-06-07 15:58:26 +02:00
timeline [data.search] Use versioned router (#158520) 2023-06-07 10:33:39 +02:00
ui_capabilities async-import plugins in the server side (#170856) 2023-11-15 00:55:56 -07:00
upgrade [QA] Change default time interval in upgrade tests for stack integration (#171705) 2023-11-23 07:51:17 +01:00
upgrade_assistant_integration
usage_collection [packages] migrate all plugins to packages (#148130) 2023-02-08 21:06:50 -06:00
tsconfig.json [8.12] [Obs AI Assistant] E2E tests for conversation view (#173485) (#173598) 2023-12-19 12:38:04 +01:00