Skip to content

[Security Solution] Fix toggle column not working from anywhere but the alerts page#234278

Merged
PhilippeOberti merged 2 commits intoelastic:mainfrom
PhilippeOberti:fix-toggle-column
Sep 9, 2025
Merged

[Security Solution] Fix toggle column not working from anywhere but the alerts page#234278
PhilippeOberti merged 2 commits intoelastic:mainfrom
PhilippeOberti:fix-toggle-column

Conversation

@PhilippeOberti
Copy link
Copy Markdown
Contributor

@PhilippeOberti PhilippeOberti commented Sep 8, 2025

Summary

This PR fixes an issue related to the alert flyout toggle column functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were filtering out all the usages of the alerts table that were not the alerts page. This means that the rule details, case details, attack discovery and entity analytics pages had a bug where the toggle column cell actions was not working.

Alerts page remains unchanged

Before fix

alerts-before.mov

After fix

alerts-after.mov
Timeline remains unchanged

Before fix

Before fix After fix
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
Explore pages remain unchanged

Before fix
https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix

explore-after.mov
Case details page is fixed

Before fix

case-before.mov

After fix

case-after.mov
Rule details page is fixed

Before fix

rule-before.mov

After fix

rule-after.mov
Attack discovery page is fixed

Before fix

attack.discovery-before.mov

After fix

attack.discovery-after.mov

Checklist

  • Unit or functional tests were updated or added to match the most common scenarios
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

#234223

@PhilippeOberti PhilippeOberti requested a review from a team as a code owner September 8, 2025 09:38
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/security-threat-hunting-investigations (Team:Threat Hunting:Investigations)

@PhilippeOberti PhilippeOberti added backport:version Backport to applied version labels release_note:fix labels Sep 8, 2025
Copy link
Copy Markdown
Contributor

@NicholasPeretti NicholasPeretti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff! Thanks for taking care of this 😄

I've left one minor comment, let me know what you think! ☺️

@PhilippeOberti PhilippeOberti enabled auto-merge (squash) September 8, 2025 15:19
@PhilippeOberti PhilippeOberti merged commit 890f7e9 into elastic:main Sep 9, 2025
12 checks passed
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.18, 8.19, 9.0, 9.1

https://github.com/elastic/kibana/actions/runs/17568280355

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 10.3MB 10.3MB -41.0B

Saved Objects .kibana field count

Every field in each saved object type adds overhead to Elasticsearch. Kibana needs to keep the total field count below Elasticsearch's default limit of 1000 fields. Only specify field mappings for the fields you wish to search on or query. See https://www.elastic.co/guide/en/kibana/master/saved-objects-service.html#_mappings

id before after diff
_data_stream_timestamp 1 - -1
_doc_count 1 - -1
_ignored_source 1 - -1
_index_mode 1 - -1
_inference_fields 1 - -1
_tier 1 - -1
apm-custom-dashboards 5 - -5
apm-server-schema 2 - -2
apm-service-group 5 - -5
application_usage_daily 2 - -2
config 2 - -2
config-global 2 - -2
coreMigrationVersion 1 - -1
created_at 1 - -1
created_by 1 - -1
entity-definition 9 - -9
entity-discovery-api-key 2 - -2
event_loop_delays_daily 2 - -2
favorites 4 - -4
file 11 - -11
file-upload-usage-collection-telemetry 3 - -3
fileShare 5 - -5
infra-custom-dashboards 4 - -4
infrastructure-monitoring-log-view 2 - -2
intercept_trigger_record 5 - -5
legacy-url-alias 7 - -7
managed 1 - -1
ml-job 6 - -6
ml-module 13 - -13
ml-trained-model 7 - -7
monitoring-telemetry 2 - -2
namespace 1 - -1
namespaces 1 - -1
observability-onboarding-state 2 - -2
originId 1 - -1
product-doc-install-status 7 - -7
references 4 - -4
sample-data-telemetry 3 - -3
security-ai-prompt 8 - -8
slo 11 - -11
space 5 - -5
synthetics-monitor 34 - -34
synthetics-monitor-multi-space 34 - -34
tag 4 - -4
type 1 - -1
typeMigrationVersion 1 - -1
ui-metric 2 - -2
updated_at 1 - -1
updated_by 1 - -1
upgrade-assistant-ml-upgrade-operation 3 - -3
upgrade-assistant-reindex-operation 3 - -3
uptime-synthetics-api-key 2 - -2
url 5 - -5
usage-counters 2 - -2
total -246

History

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 9, 2025
…he alerts page (elastic#234278)

## Summary

This PR fixes an issue related to the alert flyout toggle column
functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were
filtering out all the usages of the alerts table that were not the
alerts page. This means that the rule details, case details, attack
discovery and entity analytics pages had a bug where the toggle column
cell actions was not working.

<details>
<summary>Alerts page remains unchanged</summary>

Before fix

https://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a

After fix

https://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565

</details>

<details>
<summary>Timeline remains unchanged</summary>

Before fix
| Before fix  | After fix |
| ------------- | ------------- |
|
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc
|
https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
|

</details>

<details>
<summary>Explore pages remain unchanged</summary>

Before fix

https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix

https://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b

</details>

<details>
<summary>Case details page is fixed</summary>

Before fix

https://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b

After fix

https://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17

</details>

<details>
<summary>Rule details page is fixed</summary>

Before fix

https://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285

After fix

https://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be

</details>

<details>
<summary>Attack discovery page is fixed</summary>

Before fix

https://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37

After fix

https://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024

</details>

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

elastic#234223
(cherry picked from commit 890f7e9)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Sep 9, 2025
…he alerts page (elastic#234278)

## Summary

This PR fixes an issue related to the alert flyout toggle column
functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were
filtering out all the usages of the alerts table that were not the
alerts page. This means that the rule details, case details, attack
discovery and entity analytics pages had a bug where the toggle column
cell actions was not working.

<details>
<summary>Alerts page remains unchanged</summary>

Before fix

https://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a

After fix

https://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565

</details>

<details>
<summary>Timeline remains unchanged</summary>

Before fix
| Before fix  | After fix |
| ------------- | ------------- |
|
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc
|
https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
|

</details>

<details>
<summary>Explore pages remain unchanged</summary>

Before fix

https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix

https://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b

</details>

<details>
<summary>Case details page is fixed</summary>

Before fix

https://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b

After fix

https://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17

</details>

<details>
<summary>Rule details page is fixed</summary>

Before fix

https://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285

After fix

https://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be

</details>

<details>
<summary>Attack discovery page is fixed</summary>

Before fix

https://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37

After fix

https://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024

</details>

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

elastic#234223
(cherry picked from commit 890f7e9)
@kibanamachine
Copy link
Copy Markdown
Contributor

💔 Some backports could not be created

Status Branch Result
8.18 Backport failed because of merge conflicts
8.19
9.0 Backport failed because of merge conflicts
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 234278

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Sep 9, 2025
…e but the alerts page (#234278) (#234379)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[Security Solution] Fix toggle column not working from anywhere but
the alerts page
(#234278)](#234278)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-09-09T00:49:03Z","message":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page (#234278)\n\n## Summary\n\nThis PR fixes an issue related to the
alert flyout toggle column\nfunctionality not working anywhere but from
the alerts page.\n\nWe noticed in the code that we when toggling on/off
columns, were\nfiltering out all the usages of the alerts table that
were not the\nalerts page. This means that the rule details, case
details, attack\ndiscovery and entity analytics pages had a bug where
the toggle column\ncell actions was not
working.\n\n<details>\n<summary>Alerts page remains
unchanged</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565\n\n</details>\n\n<details>\n<summary>Timeline
remains unchanged</summary>\n\nBefore fix\n| Before fix | After fix |\n|
------------- | -------------
|\n|\nhttps://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc\n|\nhttps://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e\n|\n\n</details>\n\n<details>\n<summary>Explore
pages remain unchanged</summary>\n\nBefore
fix\n\nhttps://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b\n\n</details>\n\n<details>\n<summary>Case
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17\n\n</details>\n\n<details>\n<summary>Rule
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be\n\n</details>\n\n<details>\n<summary>Attack
discovery page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024\n\n</details>\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.\n\nhttps://github.com//issues/234223","sha":"890f7e9c631938443e3c8910350877f87f2a87bb","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","backport:version","v9.2.0","v9.0.6","v9.1.4","v8.18.7","v8.19.4"],"title":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page","number":234278,"url":"https://github.com/elastic/kibana/pull/234278","mergeCommit":{"message":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page (#234278)\n\n## Summary\n\nThis PR fixes an issue related to the
alert flyout toggle column\nfunctionality not working anywhere but from
the alerts page.\n\nWe noticed in the code that we when toggling on/off
columns, were\nfiltering out all the usages of the alerts table that
were not the\nalerts page. This means that the rule details, case
details, attack\ndiscovery and entity analytics pages had a bug where
the toggle column\ncell actions was not
working.\n\n<details>\n<summary>Alerts page remains
unchanged</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565\n\n</details>\n\n<details>\n<summary>Timeline
remains unchanged</summary>\n\nBefore fix\n| Before fix | After fix |\n|
------------- | -------------
|\n|\nhttps://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc\n|\nhttps://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e\n|\n\n</details>\n\n<details>\n<summary>Explore
pages remain unchanged</summary>\n\nBefore
fix\n\nhttps://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b\n\n</details>\n\n<details>\n<summary>Case
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17\n\n</details>\n\n<details>\n<summary>Rule
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be\n\n</details>\n\n<details>\n<summary>Attack
discovery page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024\n\n</details>\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.\n\nhttps://github.com//issues/234223","sha":"890f7e9c631938443e3c8910350877f87f2a87bb"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234278","number":234278,"mergeCommit":{"message":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page (#234278)\n\n## Summary\n\nThis PR fixes an issue related to the
alert flyout toggle column\nfunctionality not working anywhere but from
the alerts page.\n\nWe noticed in the code that we when toggling on/off
columns, were\nfiltering out all the usages of the alerts table that
were not the\nalerts page. This means that the rule details, case
details, attack\ndiscovery and entity analytics pages had a bug where
the toggle column\ncell actions was not
working.\n\n<details>\n<summary>Alerts page remains
unchanged</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565\n\n</details>\n\n<details>\n<summary>Timeline
remains unchanged</summary>\n\nBefore fix\n| Before fix | After fix |\n|
------------- | -------------
|\n|\nhttps://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc\n|\nhttps://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e\n|\n\n</details>\n\n<details>\n<summary>Explore
pages remain unchanged</summary>\n\nBefore
fix\n\nhttps://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b\n\n</details>\n\n<details>\n<summary>Case
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17\n\n</details>\n\n<details>\n<summary>Rule
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be\n\n</details>\n\n<details>\n<summary>Attack
discovery page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024\n\n</details>\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.\n\nhttps://github.com//issues/234223","sha":"890f7e9c631938443e3c8910350877f87f2a87bb"}},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
kibanamachine added a commit that referenced this pull request Sep 9, 2025
… but the alerts page (#234278) (#234380)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[Security Solution] Fix toggle column not working from anywhere but
the alerts page
(#234278)](#234278)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Philippe
Oberti","email":"philippe.oberti@elastic.co"},"sourceCommit":{"committedDate":"2025-09-09T00:49:03Z","message":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page (#234278)\n\n## Summary\n\nThis PR fixes an issue related to the
alert flyout toggle column\nfunctionality not working anywhere but from
the alerts page.\n\nWe noticed in the code that we when toggling on/off
columns, were\nfiltering out all the usages of the alerts table that
were not the\nalerts page. This means that the rule details, case
details, attack\ndiscovery and entity analytics pages had a bug where
the toggle column\ncell actions was not
working.\n\n<details>\n<summary>Alerts page remains
unchanged</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565\n\n</details>\n\n<details>\n<summary>Timeline
remains unchanged</summary>\n\nBefore fix\n| Before fix | After fix |\n|
------------- | -------------
|\n|\nhttps://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc\n|\nhttps://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e\n|\n\n</details>\n\n<details>\n<summary>Explore
pages remain unchanged</summary>\n\nBefore
fix\n\nhttps://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b\n\n</details>\n\n<details>\n<summary>Case
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17\n\n</details>\n\n<details>\n<summary>Rule
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be\n\n</details>\n\n<details>\n<summary>Attack
discovery page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024\n\n</details>\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.\n\nhttps://github.com//issues/234223","sha":"890f7e9c631938443e3c8910350877f87f2a87bb","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Threat
Hunting:Investigations","backport:version","v9.2.0","v9.0.6","v9.1.4","v8.18.7","v8.19.4"],"title":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page","number":234278,"url":"https://github.com/elastic/kibana/pull/234278","mergeCommit":{"message":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page (#234278)\n\n## Summary\n\nThis PR fixes an issue related to the
alert flyout toggle column\nfunctionality not working anywhere but from
the alerts page.\n\nWe noticed in the code that we when toggling on/off
columns, were\nfiltering out all the usages of the alerts table that
were not the\nalerts page. This means that the rule details, case
details, attack\ndiscovery and entity analytics pages had a bug where
the toggle column\ncell actions was not
working.\n\n<details>\n<summary>Alerts page remains
unchanged</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565\n\n</details>\n\n<details>\n<summary>Timeline
remains unchanged</summary>\n\nBefore fix\n| Before fix | After fix |\n|
------------- | -------------
|\n|\nhttps://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc\n|\nhttps://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e\n|\n\n</details>\n\n<details>\n<summary>Explore
pages remain unchanged</summary>\n\nBefore
fix\n\nhttps://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b\n\n</details>\n\n<details>\n<summary>Case
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17\n\n</details>\n\n<details>\n<summary>Rule
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be\n\n</details>\n\n<details>\n<summary>Attack
discovery page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024\n\n</details>\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.\n\nhttps://github.com//issues/234223","sha":"890f7e9c631938443e3c8910350877f87f2a87bb"}},"sourceBranch":"main","suggestedTargetBranches":["9.0","9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/234278","number":234278,"mergeCommit":{"message":"[Security
Solution] Fix toggle column not working from anywhere but the alerts
page (#234278)\n\n## Summary\n\nThis PR fixes an issue related to the
alert flyout toggle column\nfunctionality not working anywhere but from
the alerts page.\n\nWe noticed in the code that we when toggling on/off
columns, were\nfiltering out all the usages of the alerts table that
were not the\nalerts page. This means that the rule details, case
details, attack\ndiscovery and entity analytics pages had a bug where
the toggle column\ncell actions was not
working.\n\n<details>\n<summary>Alerts page remains
unchanged</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565\n\n</details>\n\n<details>\n<summary>Timeline
remains unchanged</summary>\n\nBefore fix\n| Before fix | After fix |\n|
------------- | -------------
|\n|\nhttps://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc\n|\nhttps://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e\n|\n\n</details>\n\n<details>\n<summary>Explore
pages remain unchanged</summary>\n\nBefore
fix\n\nhttps://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b\n\n</details>\n\n<details>\n<summary>Case
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17\n\n</details>\n\n<details>\n<summary>Rule
details page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be\n\n</details>\n\n<details>\n<summary>Attack
discovery page is fixed</summary>\n\nBefore
fix\n\n\nhttps://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37\n\nAfter
fix\n\n\nhttps://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024\n\n</details>\n\n###
Checklist\n\n- [x] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common scenarios\n- [x] The PR
description includes the appropriate Release Notes section,\nand the
correct `release_note:*` label is applied per
the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\n-
[x] Review the
[backport\nguidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)\nand
apply applicable `backport:*`
labels.\n\nhttps://github.com//issues/234223","sha":"890f7e9c631938443e3c8910350877f87f2a87bb"}},{"branch":"9.0","label":"v9.0.6","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.1","label":"v9.1.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.7","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Philippe Oberti <philippe.oberti@elastic.co>
@PhilippeOberti PhilippeOberti deleted the fix-toggle-column branch September 9, 2025 06:07
@PhilippeOberti
Copy link
Copy Markdown
Contributor Author

I'm removing the 8.18 and 9.0 labels as the issue does not happen there. The bug was most likely introduced by this PR which was merged to 9.1 and successfully backported to 8.19.
While the PR also says that it was backported to 9.0, looking a bit closer shows that the backport to 9.0 was rejected.

eleonoramicozzi pushed a commit to eleonoramicozzi/kibana that referenced this pull request Sep 10, 2025
…he alerts page (elastic#234278)

## Summary

This PR fixes an issue related to the alert flyout toggle column
functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were
filtering out all the usages of the alerts table that were not the
alerts page. This means that the rule details, case details, attack
discovery and entity analytics pages had a bug where the toggle column
cell actions was not working.

<details>
<summary>Alerts page remains unchanged</summary>

Before fix


https://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a

After fix


https://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565

</details>

<details>
<summary>Timeline remains unchanged</summary>

Before fix
| Before fix  | After fix |
| ------------- | ------------- |
|
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc
|
https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
|

</details>

<details>
<summary>Explore pages remain unchanged</summary>

Before fix

https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix


https://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b

</details>

<details>
<summary>Case details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b

After fix


https://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17

</details>

<details>
<summary>Rule details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285

After fix


https://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be

</details>

<details>
<summary>Attack discovery page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37

After fix


https://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024

</details>

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

elastic#234223
KodeRad pushed a commit to KodeRad/kibana that referenced this pull request Sep 15, 2025
…he alerts page (elastic#234278)

## Summary

This PR fixes an issue related to the alert flyout toggle column
functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were
filtering out all the usages of the alerts table that were not the
alerts page. This means that the rule details, case details, attack
discovery and entity analytics pages had a bug where the toggle column
cell actions was not working.

<details>
<summary>Alerts page remains unchanged</summary>

Before fix


https://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a

After fix


https://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565

</details>

<details>
<summary>Timeline remains unchanged</summary>

Before fix
| Before fix  | After fix |
| ------------- | ------------- |
|
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc
|
https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
|

</details>

<details>
<summary>Explore pages remain unchanged</summary>

Before fix

https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix


https://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b

</details>

<details>
<summary>Case details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b

After fix


https://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17

</details>

<details>
<summary>Rule details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285

After fix


https://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be

</details>

<details>
<summary>Attack discovery page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37

After fix


https://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024

</details>

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

elastic#234223
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Sep 24, 2025
…he alerts page (elastic#234278)

## Summary

This PR fixes an issue related to the alert flyout toggle column
functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were
filtering out all the usages of the alerts table that were not the
alerts page. This means that the rule details, case details, attack
discovery and entity analytics pages had a bug where the toggle column
cell actions was not working.

<details>
<summary>Alerts page remains unchanged</summary>

Before fix


https://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a

After fix


https://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565

</details>

<details>
<summary>Timeline remains unchanged</summary>

Before fix
| Before fix  | After fix |
| ------------- | ------------- |
|
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc
|
https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
|

</details>

<details>
<summary>Explore pages remain unchanged</summary>

Before fix

https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix


https://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b

</details>

<details>
<summary>Case details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b

After fix


https://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17

</details>

<details>
<summary>Rule details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285

After fix


https://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be

</details>

<details>
<summary>Attack discovery page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37

After fix


https://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024

</details>

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

elastic#234223
niros1 pushed a commit that referenced this pull request Sep 30, 2025
…he alerts page (#234278)

## Summary

This PR fixes an issue related to the alert flyout toggle column
functionality not working anywhere but from the alerts page.

We noticed in the code that we when toggling on/off columns, were
filtering out all the usages of the alerts table that were not the
alerts page. This means that the rule details, case details, attack
discovery and entity analytics pages had a bug where the toggle column
cell actions was not working.

<details>
<summary>Alerts page remains unchanged</summary>

Before fix


https://github.com/user-attachments/assets/f713e70a-8a13-452c-8b9c-c468448b967a

After fix


https://github.com/user-attachments/assets/7383783e-69a8-452c-9d83-ad8d6e2a1565

</details>

<details>
<summary>Timeline remains unchanged</summary>

Before fix
| Before fix  | After fix |
| ------------- | ------------- |
|
https://github.com/user-attachments/assets/6088856d-f884-4a2e-819e-a6df12b31fbc
|
https://github.com/user-attachments/assets/4916b382-54fc-4210-9576-11cc8ebc2f2e
|

</details>

<details>
<summary>Explore pages remain unchanged</summary>

Before fix

https://github.com/user-attachments/assets/8c42e3f2-ab26-4632-9bba-e1c7f8957b6e

After fix


https://github.com/user-attachments/assets/69561c31-f69c-4ef9-9d8e-a7862e634e0b

</details>

<details>
<summary>Case details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/9a73f413-606e-4245-b827-023677130d2b

After fix


https://github.com/user-attachments/assets/b7c0827a-4abc-4824-9b9e-8b86f545de17

</details>

<details>
<summary>Rule details page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/560ddf58-7047-4258-aa21-6fd5bdb5e285

After fix


https://github.com/user-attachments/assets/1d41244a-5482-4833-8887-d883a9f537be

</details>

<details>
<summary>Attack discovery page is fixed</summary>

Before fix


https://github.com/user-attachments/assets/692e9af4-4cd8-4cb5-ac86-ce99706f6d37

After fix


https://github.com/user-attachments/assets/5984c404-9d6b-4c1e-9af3-0877bd660024

</details>

### Checklist

- [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
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
- [x] Review the [backport
guidelines](https://docs.google.com/document/d/1VyN5k91e5OVumlc0Gb9RPa3h1ewuPE705nRtioPiTvY/edit?usp=sharing)
and apply applicable `backport:*` labels.

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

Labels

backport:version Backport to applied version labels release_note:fix Team:Threat Hunting:Investigations Security Solution Threat Hunting Investigations Team v8.19.4 v9.1.4 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants