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 Assistant] Fix Security Assistant settings link behavior and adjust initial settings tab #197323

Merged
merged 5 commits into from
Oct 23, 2024

Conversation

stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Oct 22, 2024

Summary

This PR makes 3 design changes:

  1. Updates the Security AI Assistant context menu items that open links to the assistant settings (AI Assistant settings and Knowledge Base) to open them in a new tab, and adds the popout icon to indicate this.

    Note: The popout icon is a short term solution as @bojanasan is going to create another popout type icon for Eui to indicate Kibana link, but that will take a bit. Tracked here: https://github.com/elastic/security-team/issues/10286

    Screenshot 2024-10-22 at 11 55 38 AM
  2. Changes the first and initially selected tab of Security AI Assistant settings from Connectors to Conversations, as the Connectors tab is a redirect to Stack Management > Connectors

    Screenshot 2024-10-22 at 12 04 02 PM
  3. Changes the capitalization of the streaming heading from STREAMING to Streaming. This seems to be inadvertently changed previously.

@stephmilovic stephmilovic added release_note:skip Skip the PR/issue when compiling release notes Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) Team:Security Generative AI Security Generative AI labels Oct 22, 2024
@stephmilovic stephmilovic requested a review from a team as a code owner October 22, 2024 18:42
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Copy link
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

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

Thanks @stephmilovic for these updates!
✅ Desk tested locally
LGTM 🚀

@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

@stephmilovic stephmilovic enabled auto-merge (squash) October 22, 2024 22:00
@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

@stephmilovic stephmilovic merged commit a6dc47d into elastic:main Oct 23, 2024
43 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

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

@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 20.7MB 20.7MB +268.0B

History

@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
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 Oct 23, 2024
…ior and adjust initial settings tab (#197323) (#197493)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security Assistant] Fix Security Assistant settings link behavior
and adjust initial settings tab
(#197323)](#197323)

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

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-10-23T16:06:47Z","message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2","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:
SecuritySolution","backport:prev-minor","Team:Security Generative
AI"],"title":"[Security Assistant] Fix Security Assistant settings link
behavior and adjust initial settings
tab","number":197323,"url":"https://github.com/elastic/kibana/pull/197323","mergeCommit":{"message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197323","number":197323,"mergeCommit":{"message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2"}}]}]
BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
@stephmilovic stephmilovic added v8.16.0 backport:version Backport to applied version labels and removed backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Oct 24, 2024
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.x

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

@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.16
8.x Cherrypick failed because the selected commit (a6dc47d) is empty. It looks like the commit was already backported in #197493

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 197323

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 25, 2024
…vior and adjust initial settings tab (#197323) (#197748)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Security Assistant] Fix Security Assistant settings link behavior
and adjust initial settings tab
(#197323)](#197323)

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

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

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-10-23T16:06:47Z","message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2","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:
SecuritySolution","Team:Security Generative
AI","v8.16.0","backport:version","v8.17.0"],"title":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings
tab","number":197323,"url":"https://github.com/elastic/kibana/pull/197323","mergeCommit":{"message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197323","number":197323,"mergeCommit":{"message":"[Security
Assistant] Fix Security Assistant settings link behavior and adjust
initial settings tab
(#197323)","sha":"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2"}},{"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,"url":"https://github.com/elastic/kibana/pull/197493","number":197493,"state":"MERGED","mergeCommit":{"sha":"942827df09a03a7356f66e98753a3e356e644371","message":"[8.x]
[Security Assistant] Fix Security Assistant settings link behavior and
adjust initial settings tab (#197323) (#197493)\n\n# Backport\n\nThis
will backport the following commits from `main` to `8.x`:\n- [[Security
Assistant] Fix Security Assistant settings link behavior\nand adjust
initial settings
tab\n(#197323)](https://github.com/elastic/kibana/pull/197323)\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\":\"Steph\nMilovic\",\"email\":\"stephanie.milovic@elastic.co\"},\"sourceCommit\":{\"committedDate\":\"2024-10-23T16:06:47Z\",\"message\":\"[Security\nAssistant]
Fix Security Assistant settings link behavior and adjust\ninitial
settings
tab\n(#197323)\",\"sha\":\"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2\",\"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:\nSecuritySolution\",\"backport:prev-minor\",\"Team:Security
Generative\nAI\"],\"title\":\"[Security Assistant] Fix Security
Assistant settings link\nbehavior and adjust initial
settings\ntab\",\"number\":197323,\"url\":\"https://github.com/elastic/kibana/pull/197323\",\"mergeCommit\":{\"message\":\"[Security\nAssistant]
Fix Security Assistant settings link behavior and adjust\ninitial
settings
tab\n(#197323)\",\"sha\":\"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.0.0\",\"branchLabelMappingKey\":\"^v9.0.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/197323\",\"number\":197323,\"mergeCommit\":{\"message\":\"[Security\nAssistant]
Fix Security Assistant settings link behavior and adjust\ninitial
settings
tab\n(#197323)\",\"sha\":\"a6dc47ddeb15d6c7b91e1abaaf83fba3eee2fef2\"}}]}]\nBACKPORT-->\n\nCo-authored-by:
Steph Milovic <stephanie.milovic@elastic.co>"}}]}] BACKPORT-->

Co-authored-by: Steph Milovic <stephanie.milovic@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:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.16.0 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants