diff --git a/public/apps/configuration/top-nav-menu.tsx b/public/apps/configuration/top-nav-menu.tsx index cc9426e83..16ad4689f 100644 --- a/public/apps/configuration/top-nav-menu.tsx +++ b/public/apps/configuration/top-nav-menu.tsx @@ -18,6 +18,7 @@ import { DataSourceSelectableConfig } from 'src/plugins/data_source_management/p import { DataSourceOption } from 'src/plugins/data_source_management/public/components/data_source_menu/types'; import { AppDependencies } from '../types'; import { setDataSourceInUrl } from '../../utils/datasource-utils'; +import { SigV4ServiceName } from 'src/plugins/data_source/common/data_sources'; export interface TopNavMenuProps extends AppDependencies { dataSourcePickerReadOnly: boolean; @@ -59,7 +60,7 @@ export const SecurityPluginTopNavMenu = React.memo( : undefined, onSelectedDataSources: wrapSetDataSourceWithUpdateUrl, fullWidth: true, - dataSourceFilter: (ds) => ds.attributes.auth.credentials?.service !== 'aoss', + dataSourceFilter: (ds) => ds.attributes.auth.credentials?.service !== SigV4ServiceName.OpenSearchServerless, }} /> ) : null;