Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution][Document Flyout] Fix toggle column missing in timeline #200647

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

christineweng
Copy link
Contributor

@christineweng christineweng commented Nov 18, 2024

Summary

Related: #200046

Reenabling toggle columns for events. It was mistakenly excluded in this refactor

image

@christineweng christineweng self-assigned this Nov 18, 2024
@christineweng christineweng requested a review from a team as a code owner November 18, 2024 20:05
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

While this fixes the issue in Timeline, the same issue persists in the Explore pages' Events tabs (Host, User and Network).
Do you think you could take a look at these as well?

@elasticmachine
Copy link
Contributor

elasticmachine commented Nov 18, 2024

💔 Build Failed

Failed CI Steps

History

cc @christineweng

@PhilippeOberti
Copy link
Contributor

While this fixes the issue in Timeline, the same issue persists in the Explore pages' Events tabs (Host, User and Network). Do you think you could take a look at these as well?

@PhilippeOberti I don't see an issue of enabling toggle column everywhere, but I wonder if we excluded it in events for a reason? cc @paulewing

I think it was a mistake we missed. I hunted down when the issue was introduced and it was this PR. The commit before things work on timeline and on the explore pages. This commit breaks the logic

Copy link
Contributor

@PhilippeOberti PhilippeOberti left a comment

Choose a reason for hiding this comment

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

Desk tested and it works in the alerts page, in timeline and even in the cases page, both for alerts and events. Code LGTM.
Thanks for fixing this so quickly @christineweng!

@christineweng christineweng enabled auto-merge (squash) November 18, 2024 22:12
@elasticmachine
Copy link
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 13.4MB 13.4MB -85.0B

History

cc @christineweng

@christineweng christineweng merged commit 467d737 into elastic:main Nov 18, 2024
44 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.x

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

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.16
8.x

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Nov 19, 2024
…in timeline (#200647) (#200662)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Solution][Document Flyout] Fix toggle column missing in
timeline (#200647)](#200647)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-18T23:44:43Z","message":"[Security
Solution][Document Flyout] Fix toggle column missing in timeline
(#200647)\n\n## Summary\r\n\r\nRelated:
https://github.com/elastic/kibana/issues/200046\r\n\r\nReenabling toggle
columns for events. It was mistakenly excluded
in\r\n[this\r\nrefactor](https://github.com/elastic/kibana/pull/190560/files#diff-d9edcdb9ad0f231269f791e8392d2d0fe1d10105c223c89d9f86e546972bc342)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e787c227-f167-4f3a-a0e0-d1ac1ad45670)","sha":"467d7370ad5eafda73a8a6ff39deb29709ade5ae","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:fix","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.17.0","v8.16.1"],"title":"[Security
Solution][Document Flyout] Fix toggle column missing in
timeline","number":200647,"url":"https://github.com/elastic/kibana/pull/200647","mergeCommit":{"message":"[Security
Solution][Document Flyout] Fix toggle column missing in timeline
(#200647)\n\n## Summary\r\n\r\nRelated:
https://github.com/elastic/kibana/issues/200046\r\n\r\nReenabling toggle
columns for events. It was mistakenly excluded
in\r\n[this\r\nrefactor](https://github.com/elastic/kibana/pull/190560/files#diff-d9edcdb9ad0f231269f791e8392d2d0fe1d10105c223c89d9f86e546972bc342)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e787c227-f167-4f3a-a0e0-d1ac1ad45670)","sha":"467d7370ad5eafda73a8a6ff39deb29709ade5ae"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200647","number":200647,"mergeCommit":{"message":"[Security
Solution][Document Flyout] Fix toggle column missing in timeline
(#200647)\n\n## Summary\r\n\r\nRelated:
https://github.com/elastic/kibana/issues/200046\r\n\r\nReenabling toggle
columns for events. It was mistakenly excluded
in\r\n[this\r\nrefactor](https://github.com/elastic/kibana/pull/190560/files#diff-d9edcdb9ad0f231269f791e8392d2d0fe1d10105c223c89d9f86e546972bc342)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e787c227-f167-4f3a-a0e0-d1ac1ad45670)","sha":"467d7370ad5eafda73a8a6ff39deb29709ade5ae"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <[email protected]>
kibanamachine added a commit that referenced this pull request Nov 19, 2024
… in timeline (#200647) (#200661)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Solution][Document Flyout] Fix toggle column missing in
timeline (#200647)](#200647)

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

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

<!--BACKPORT
[{"author":{"name":"christineweng","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-18T23:44:43Z","message":"[Security
Solution][Document Flyout] Fix toggle column missing in timeline
(#200647)\n\n## Summary\r\n\r\nRelated:
https://github.com/elastic/kibana/issues/200046\r\n\r\nReenabling toggle
columns for events. It was mistakenly excluded
in\r\n[this\r\nrefactor](https://github.com/elastic/kibana/pull/190560/files#diff-d9edcdb9ad0f231269f791e8392d2d0fe1d10105c223c89d9f86e546972bc342)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e787c227-f167-4f3a-a0e0-d1ac1ad45670)","sha":"467d7370ad5eafda73a8a6ff39deb29709ade5ae","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:fix","v9.0.0","Team:Threat
Hunting","Team:Threat
Hunting:Investigations","v8.17.0","v8.16.1"],"title":"[Security
Solution][Document Flyout] Fix toggle column missing in
timeline","number":200647,"url":"https://github.com/elastic/kibana/pull/200647","mergeCommit":{"message":"[Security
Solution][Document Flyout] Fix toggle column missing in timeline
(#200647)\n\n## Summary\r\n\r\nRelated:
https://github.com/elastic/kibana/issues/200046\r\n\r\nReenabling toggle
columns for events. It was mistakenly excluded
in\r\n[this\r\nrefactor](https://github.com/elastic/kibana/pull/190560/files#diff-d9edcdb9ad0f231269f791e8392d2d0fe1d10105c223c89d9f86e546972bc342)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e787c227-f167-4f3a-a0e0-d1ac1ad45670)","sha":"467d7370ad5eafda73a8a6ff39deb29709ade5ae"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200647","number":200647,"mergeCommit":{"message":"[Security
Solution][Document Flyout] Fix toggle column missing in timeline
(#200647)\n\n## Summary\r\n\r\nRelated:
https://github.com/elastic/kibana/issues/200046\r\n\r\nReenabling toggle
columns for events. It was mistakenly excluded
in\r\n[this\r\nrefactor](https://github.com/elastic/kibana/pull/190560/files#diff-d9edcdb9ad0f231269f791e8392d2d0fe1d10105c223c89d9f86e546972bc342)\r\n\r\n\r\n![image](https://github.com/user-attachments/assets/e787c227-f167-4f3a-a0e0-d1ac1ad45670)","sha":"467d7370ad5eafda73a8a6ff39deb29709ade5ae"}},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.16","label":"v8.16.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: christineweng <[email protected]>
@christineweng
Copy link
Contributor Author

Removing 8.16.1 tag because it didn't make it to the BC cut. Will add .2 when it is available

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants