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

[Cloud Security] Add Fields selector to the CloudSecurityDataTable #167844

Merged
merged 43 commits into from
Oct 5, 2023

Conversation

opauloh
Copy link
Contributor

@opauloh opauloh commented Oct 3, 2023

Summary

It closes #165786

Note: This PR is based on this branch, and #167587 must be merged first. Refer here for the file diff

This PR adds a Fields button in the CloudSecurityDataTable component. Clicking on the Fields button opens a Modal that allow users to select which Fields from the DataView to display in the DataTable. The selected fields are then persisted in the LocalStorage.

It also addresses some design inconsistencies stated here between the Vulnerabilities Table and the new Findings Table.

Screenshot

image

image

image

image

@opauloh opauloh added Team:Cloud Security Cloud Security team related v8.11.0 labels Oct 3, 2023
@opauloh opauloh requested a review from a team as a code owner October 3, 2023 03:24
@opauloh opauloh added the backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) label Oct 5, 2023
@opauloh opauloh removed ci:cloud-deploy Create or update a Cloud deployment ci:cloud-redeploy Always create a new Cloud deployment labels Oct 5, 2023
@Omolola-Akinleye Omolola-Akinleye requested review from Omolola-Akinleye and removed request for Omolola-Akinleye October 5, 2023 19:38
Copy link
Contributor

@Omolola-Akinleye Omolola-Akinleye left a comment

Choose a reason for hiding this comment

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

LGTM! NICE WORK!

@opauloh opauloh enabled auto-merge (squash) October 5, 2023 20:03
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
cloudSecurityPosture 358 360 +2

Async chunks

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

id before after diff
cloudSecurityPosture 383.7KB 387.2KB +3.5KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@opauloh opauloh merged commit 0c71076 into elastic:main Oct 5, 2023
17 of 19 checks passed
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.11

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 5, 2023
…lastic#167844)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: @Omolola-Akinleye
(cherry picked from commit 0c71076)
kibanamachine added a commit that referenced this pull request Oct 5, 2023
…able (#167844) (#168162)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[Cloud Security] Add Fields selector to the CloudSecurityDataTable
(#167844)](#167844)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Paulo
Henrique","email":"paulo.henrique@elastic.co"},"sourceCommit":{"committedDate":"2023-10-05T21:40:59Z","message":"[Cloud
Security] Add Fields selector to the CloudSecurityDataTable
(#167844)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
@Omolola-Akinleye","sha":"0c71076f92de0951fc66c62be69c68735ada7949","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Cloud
Security","backport:prev-minor","v8.11.0","v8.12.0"],"number":167844,"url":"https://github.com/elastic/kibana/pull/167844","mergeCommit":{"message":"[Cloud
Security] Add Fields selector to the CloudSecurityDataTable
(#167844)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
@Omolola-Akinleye","sha":"0c71076f92de0951fc66c62be69c68735ada7949"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/167844","number":167844,"mergeCommit":{"message":"[Cloud
Security] Add Fields selector to the CloudSecurityDataTable
(#167844)\n\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by:
@Omolola-Akinleye","sha":"0c71076f92de0951fc66c62be69c68735ada7949"}}]}]
BACKPORT-->

Co-authored-by: Paulo Henrique <paulo.henrique@elastic.co>
dej611 pushed a commit to dej611/kibana that referenced this pull request Oct 17, 2023
…lastic#167844)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: @Omolola-Akinleye
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) release_note:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v8.11.0 v8.12.0
Projects
None yet
6 participants