Skip to content

[Cloud Security] add vulnerabilties data set to filter for links from CNVM dashboard#197648

Merged
maxcold merged 2 commits intomainfrom
csp-add-cnvm-filter-to-links-from-cnvm-dashboard
Oct 29, 2024
Merged

[Cloud Security] add vulnerabilties data set to filter for links from CNVM dashboard#197648
maxcold merged 2 commits intomainfrom
csp-add-cnvm-filter-to-links-from-cnvm-dashboard

Conversation

@maxcold
Copy link
Copy Markdown
Contributor

@maxcold maxcold commented Oct 24, 2024

@maxcold maxcold added release_note:skip Skip the PR/issue when compiling release notes v9.0.0 Team:Cloud Security Cloud Security team related backport:prev-minor v8.16.0 backport:version Backport to applied version labels v8.17.0 labels Oct 24, 2024
@maxcold maxcold marked this pull request as ready for review October 25, 2024 07:36
@maxcold maxcold requested a review from a team as a code owner October 25, 2024 07:36
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@maxcold maxcold requested a review from CohenIdo October 28, 2024 09:43
export const useNavigateVulnerabilities = () =>
useNavigate(findingsNavigation.vulnerabilities.path);

export const useNavigateNativeVulnerabilities = () => {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

In the long term we will probably have to pass the filter from the findings on click, which makes me think it might be better to just add the filter prop to the original useNavigateVulnerabilities hook and pass the data_stream filter to it, since the page already filtered for our data stream anyway.

though, If its technically complex we can change this later

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yep, let's change it later. Main reason, to make smaller changes as possible for 8.16 after the ff

@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
cloudSecurityPosture 509.1KB 509.2KB +133.0B

History

@maxcold maxcold merged commit b4ed7a1 into main Oct 29, 2024
@maxcold maxcold deleted the csp-add-cnvm-filter-to-links-from-cnvm-dashboard branch October 29, 2024 10:53
@kibanamachine
Copy link
Copy Markdown
Contributor

Starting backport for target branches: 8.16, 8.x

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

@kibanamachine
Copy link
Copy Markdown
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

tiansivive pushed a commit to tiansivive/kibana that referenced this pull request Oct 29, 2024
kibanamachine added a commit that referenced this pull request Oct 30, 2024
…s from CNVM dashboard (#197648) (#198140)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Cloud Security] add vulnerabilties data set to filter for links from
CNVM dashboard (#197648)](#197648)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Kholod","email":"maxim.kholod@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T10:53:23Z","message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard","number":197648,"url":"https://github.com/elastic/kibana/pull/197648","mergeCommit":{"message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197648","number":197648,"mergeCommit":{"message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
kibanamachine added a commit that referenced this pull request Oct 30, 2024
…ks from CNVM dashboard (#197648) (#198139)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Cloud Security] add vulnerabilties data set to filter for links from
CNVM dashboard (#197648)](#197648)

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

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

<!--BACKPORT [{"author":{"name":"Maxim
Kholod","email":"maxim.kholod@elastic.co"},"sourceCommit":{"committedDate":"2024-10-29T10:53:23Z","message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Cloud
Security","backport:prev-minor","v8.16.0","backport:version","v8.17.0"],"title":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard","number":197648,"url":"https://github.com/elastic/kibana/pull/197648","mergeCommit":{"message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197648","number":197648,"mergeCommit":{"message":"[Cloud
Security] add vulnerabilties data set to filter for links from CNVM
dashboard (#197648)\n\n## Summary\r\n\r\n- fixes
https://github.com/elastic/security-team/issues/10915","sha":"b4ed7a1945f5ea5b76be36833cdf11e28641cf8f"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
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:skip Skip the PR/issue when compiling release notes Team:Cloud Security Cloud Security team related v8.16.0 v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants