Default refresh interval for the SIEM time filter, in milliseconds.
', + 'Default refresh interval for the Security time filter, in milliseconds.
', } ), - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.object({ value: schema.number(), @@ -60,9 +60,9 @@ export const initUiSettings = (uiSettings: CoreSetup['uiSettings']) => { "to": "${DEFAULT_TO}" }`, description: i18n.translate('xpack.securitySolution.uiSettings.defaultTimeRangeDescription', { - defaultMessage: 'Default period of time in the SIEM time filter.
', + defaultMessage: 'Default period of time in the Security time filter.
', }), - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.object({ from: schema.string(), @@ -76,9 +76,9 @@ export const initUiSettings = (uiSettings: CoreSetup['uiSettings']) => { value: DEFAULT_INDEX_PATTERN, description: i18n.translate('xpack.securitySolution.uiSettings.defaultIndexDescription', { defaultMessage: - 'Comma-delimited list of Elasticsearch indices from which the SIEM app collects events.
', + 'Comma-delimited list of Elasticsearch indices from which the Security app collects events.
', }), - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.arrayOf(schema.string()), }, @@ -92,10 +92,10 @@ export const initUiSettings = (uiSettings: CoreSetup['uiSettings']) => { 'xpack.securitySolution.uiSettings.defaultAnomalyScoreDescription', { defaultMessage: - 'Value above which Machine Learning job anomalies are displayed in the SIEM app.
Valid values: 0 to 100.
', + 'Value above which Machine Learning job anomalies are displayed in the Security app.
Valid values: 0 to 100.
', } ), - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.number(), }, @@ -108,7 +108,7 @@ export const initUiSettings = (uiSettings: CoreSetup['uiSettings']) => { defaultMessage: 'Enables the News feed
', }), type: 'boolean', - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.boolean(), }, @@ -120,7 +120,7 @@ export const initUiSettings = (uiSettings: CoreSetup['uiSettings']) => { description: i18n.translate('xpack.securitySolution.uiSettings.newsFeedUrlDescription', { defaultMessage: 'News feed content will be retrieved from this URL
', }), - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.string(), }, @@ -137,7 +137,7 @@ export const initUiSettings = (uiSettings: CoreSetup['uiSettings']) => { 'Array of URL templates to build the list of reputation URLs to be displayed on the IP Details page.', } ), - category: ['siem'], + category: ['securitySolution'], requiresPageReload: true, schema: schema.arrayOf( schema.object({ diff --git a/x-pack/plugins/snapshot_restore/public/application/mount_management_section.ts b/x-pack/plugins/snapshot_restore/public/application/mount_management_section.ts index 3f28e78c6028..b06a60a5c830 100644 --- a/x-pack/plugins/snapshot_restore/public/application/mount_management_section.ts +++ b/x-pack/plugins/snapshot_restore/public/application/mount_management_section.ts @@ -45,5 +45,11 @@ export async function mountManagementSection( }, }; - return renderApp(element, appDependencies); + const unmountAppCallback = renderApp(element, appDependencies); + + return () => { + // Change tab label back to Kibana. + docTitle.reset(); + unmountAppCallback(); + }; } diff --git a/yarn.lock b/yarn.lock index 5506165da2d3..892fa1b5aa56 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1413,10 +1413,10 @@ resolved "https://registry.yarnpkg.com/@elastic/node-crypto/-/node-crypto-1.1.1.tgz#619b70322c9cce4a7ee5fbf8f678b1baa7f06095" integrity sha512-F6tIk8Txdqjg8Siv60iAvXzO9ZdQI87K3sS/fh5xd2XaWK+T5ZfqeTvsT7srwG6fr6uCBfuQEJV1KBBl+JpLZA== -"@elastic/numeral@2.4.0": - version "2.4.0" - resolved "https://registry.yarnpkg.com/@elastic/numeral/-/numeral-2.4.0.tgz#883197b7f4bf3c2dd994f53b274769ddfa2bf79a" - integrity sha512-uGBKGCNghTgUZPHClji/00v+AKt5nidPTGOIbcT+lbTPVxNB6QPpPLGWtXyrg3QZAxobPM/LAZB1mAqtJeq44Q== +"@elastic/numeral@^2.5.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@elastic/numeral/-/numeral-2.5.0.tgz#8da714827fc278f17546601fdfe55f5c920e2bc5" + integrity sha512-NVTuy9Wzblp6nOH86CXjWXTajHgJGn5Tk2l59/Z5cWFU14KlE+8/zqPTgZdxYABzBJFE3L7S07kJDMN8sDvTmA== "@elastic/request-crypto@1.1.4": version "1.1.4" @@ -4546,11 +4546,6 @@ resolved "https://registry.yarnpkg.com/@types/numeral/-/numeral-0.0.25.tgz#b6f55062827a4787fe4ab151cf3412a468e65271" integrity sha512-ShHzHkYD+Ldw3eyttptCpUhF1/mkInWwasQkCNXZHOsJMJ/UMa8wXrxSrTJaVk0r4pLK/VnESVM0wFsfQzNEKQ== -"@types/numeral@^0.0.26": - version "0.0.26" - resolved "https://registry.yarnpkg.com/@types/numeral/-/numeral-0.0.26.tgz#cfab9842ef9349ce714b06722940ca7ebf8a6298" - integrity sha512-DwCsRqeOWopdEsm5KLTxKVKDSDoj+pzZD1vlwu1GQJ6IF3RhjuleYlRwyRH6MJLGaf3v8wFTnC6wo3yYfz0bnA== - "@types/object-hash@^1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@types/object-hash/-/object-hash-1.3.0.tgz#b20db2074129f71829d61ff404e618c4ac3d73cf"