Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.14] [Security Solution][Serverless] Fix browser title updater (#18…
…1056) (#181108) # Backport This will backport the following commits from `main` to `8.14`: - [[Security Solution][Serverless] Fix browser title updater (#181056)](#181056) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sergi Massaneda","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-04-18T06:47:52Z","message":"[Security Solution][Serverless] Fix browser title updater (#181056)\n\n## Summary\r\n\r\nissue: https://github.com/elastic/kibana/issues/181060\r\n\r\nFixes a bug on the Browser title generation from navigation links\r\n\r\n### Issue\r\n\r\nExternal links (Discover, Osquery) were not processed properly and they\r\nwere being compared using the Security base path (/app/security) in the\r\n`matchPath`, causing the first external link in the list, Osquery, to be\r\ndisplayed instead of the correct ones.\r\n\r\n### Screenshots\r\n\r\nBefore:\r\n\r\n<img width=\"961\" alt=\"before\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17747913/3836d956-3a04-443a-8659-6b038a8f0bf4\">\r\n\r\n\r\nAfter:\r\n\r\n<img width=\"961\" alt=\"after\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17747913/dfb39139-7cc5-459a-a5de-bc77576ce542\">","sha":"fbfcb063992b9d5e2b7d41bef889a72d71700a62","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:Threat Hunting","Team:Threat Hunting:Explore","v8.14.0","v8.15.0"],"title":"[Security Solution][Serverless] Fix browser title updater","number":181056,"url":"https://github.com/elastic/kibana/pull/181056","mergeCommit":{"message":"[Security Solution][Serverless] Fix browser title updater (#181056)\n\n## Summary\r\n\r\nissue: https://github.com/elastic/kibana/issues/181060\r\n\r\nFixes a bug on the Browser title generation from navigation links\r\n\r\n### Issue\r\n\r\nExternal links (Discover, Osquery) were not processed properly and they\r\nwere being compared using the Security base path (/app/security) in the\r\n`matchPath`, causing the first external link in the list, Osquery, to be\r\ndisplayed instead of the correct ones.\r\n\r\n### Screenshots\r\n\r\nBefore:\r\n\r\n<img width=\"961\" alt=\"before\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17747913/3836d956-3a04-443a-8659-6b038a8f0bf4\">\r\n\r\n\r\nAfter:\r\n\r\n<img width=\"961\" alt=\"after\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17747913/dfb39139-7cc5-459a-a5de-bc77576ce542\">","sha":"fbfcb063992b9d5e2b7d41bef889a72d71700a62"}},"sourceBranch":"main","suggestedTargetBranches":["8.14"],"targetPullRequestStates":[{"branch":"8.14","label":"v8.14.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.15.0","branchLabelMappingKey":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/181056","number":181056,"mergeCommit":{"message":"[Security Solution][Serverless] Fix browser title updater (#181056)\n\n## Summary\r\n\r\nissue: https://github.com/elastic/kibana/issues/181060\r\n\r\nFixes a bug on the Browser title generation from navigation links\r\n\r\n### Issue\r\n\r\nExternal links (Discover, Osquery) were not processed properly and they\r\nwere being compared using the Security base path (/app/security) in the\r\n`matchPath`, causing the first external link in the list, Osquery, to be\r\ndisplayed instead of the correct ones.\r\n\r\n### Screenshots\r\n\r\nBefore:\r\n\r\n<img width=\"961\" alt=\"before\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17747913/3836d956-3a04-443a-8659-6b038a8f0bf4\">\r\n\r\n\r\nAfter:\r\n\r\n<img width=\"961\" alt=\"after\"\r\nsrc=\"https://github.com/elastic/kibana/assets/17747913/dfb39139-7cc5-459a-a5de-bc77576ce542\">","sha":"fbfcb063992b9d5e2b7d41bef889a72d71700a62"}}]}] BACKPORT--> Co-authored-by: Sergi Massaneda <[email protected]>
- Loading branch information