Skip to content

Commit

Permalink
[8.4] [Security Solution] [Kubernetes Security] Move kubernetes link …
Browse files Browse the repository at this point in the history
…to dashboard in new security nav (#133411)

* Move kubernetes link to dashboard in new security nav

* Add kubernetes page image and description
  • Loading branch information
Jack authored Jun 8, 2022
1 parent 3eb00f5 commit e48db81
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 9 additions & 1 deletion x-pack/plugins/security_solution/public/kubernetes/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,23 @@
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/

import { i18n } from '@kbn/i18n';
import { KUBERNETES_PATH, SecurityPageName } from '../../common/constants';
import { KUBERNETES } from '../app/translations';
import { LinkItem } from '../common/links/types';
import kubernetesPageImg from '../common/images/kubernetes_page.png';

export const links: LinkItem = {
id: SecurityPageName.kubernetes,
title: KUBERNETES,
landingImage: kubernetesPageImg,
description: i18n.translate('xpack.securitySolution.appLinks.kubernetesDescription', {
defaultMessage:
'Provides interactive visualizations of your Kubernetes workload and session data.',
}),
path: KUBERNETES_PATH,
globalNavEnabled: true,
globalNavEnabled: false,
experimentalKey: 'kubernetesEnabled',
globalSearchKeywords: ['Kubernetes'],
globalNavOrder: 9005,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const dashboardsLandingLinks: LinkItem = {
defaultMessage: 'Dashboards',
}),
],
links: [overviewLinks, detectionResponseLinks],
links: [overviewLinks, detectionResponseLinks, kubernetesLinks],
skipUrlState: true,
hideTimeline: true,
};
Expand All @@ -47,7 +47,7 @@ export const threatHuntingLandingLinks: LinkItem = {
defaultMessage: 'Explore',
}),
],
links: [hostsLinks, networkLinks, usersLinks, kubernetesLinks],
links: [hostsLinks, networkLinks, usersLinks],
skipUrlState: true,
hideTimeline: true,
};

0 comments on commit e48db81

Please sign in to comment.