"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault"); Object.defineProperty(exports, "__esModule", { value: true }); exports.exploreLinks = void 0; var _i18n = require("@kbn/i18n"); var _constants = require("../../common/constants"); var _translations = require("../app/translations"); var _hosts_page = _interopRequireDefault(require("../common/images/hosts_page.png")); var _users_page = _interopRequireDefault(require("../common/images/users_page.png")); var _network_page = _interopRequireDefault(require("../common/images/network_page.png")); /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const networkLinks = { id: _constants.SecurityPageName.network, title: _translations.NETWORK, landingImage: _network_page.default, description: _i18n.i18n.translate('xpack.securitySolution.appLinks.network.description', { defaultMessage: 'Provides key activity metrics in an interactive map as well as event tables that enable interaction with the Timeline.' }), path: _constants.NETWORK_PATH, globalSearchKeywords: [_i18n.i18n.translate('xpack.securitySolution.appLinks.network', { defaultMessage: 'Network' })], links: [{ id: _constants.SecurityPageName.networkDns, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.network.dns', { defaultMessage: 'DNS' }), path: `${_constants.NETWORK_PATH}/dns` }, { id: _constants.SecurityPageName.networkHttp, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.network.http', { defaultMessage: 'HTTP' }), path: `${_constants.NETWORK_PATH}/http` }, { id: _constants.SecurityPageName.networkTls, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.network.tls', { defaultMessage: 'TLS' }), path: `${_constants.NETWORK_PATH}/tls` }, { id: _constants.SecurityPageName.networkAnomalies, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.hosts.anomalies', { defaultMessage: 'Anomalies' }), path: `${_constants.NETWORK_PATH}/anomalies`, licenseType: 'gold' }, { id: _constants.SecurityPageName.networkEvents, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.network.events', { defaultMessage: 'Events' }), path: `${_constants.NETWORK_PATH}/events` }] }; const usersLinks = { id: _constants.SecurityPageName.users, title: _translations.USERS, landingImage: _users_page.default, description: _i18n.i18n.translate('xpack.securitySolution.appLinks.users.description', { defaultMessage: 'A comprehensive overview of user data that enables understanding of authentication and user behavior within your environment.' }), path: _constants.USERS_PATH, globalSearchKeywords: [_i18n.i18n.translate('xpack.securitySolution.appLinks.users', { defaultMessage: 'Users' })], links: [{ id: _constants.SecurityPageName.usersAuthentications, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.users.authentications', { defaultMessage: 'Authentications' }), path: `${_constants.USERS_PATH}/authentications` }, { id: _constants.SecurityPageName.usersAnomalies, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.users.anomalies', { defaultMessage: 'Anomalies' }), path: `${_constants.USERS_PATH}/anomalies`, licenseType: 'gold' }, { id: _constants.SecurityPageName.usersRisk, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.users.risk', { defaultMessage: 'User risk' }), path: `${_constants.USERS_PATH}/userRisk` }, { id: _constants.SecurityPageName.usersEvents, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.users.events', { defaultMessage: 'Events' }), path: `${_constants.USERS_PATH}/events` }] }; const hostsLinks = { id: _constants.SecurityPageName.hosts, title: _translations.HOSTS, landingImage: _hosts_page.default, description: _i18n.i18n.translate('xpack.securitySolution.landing.threatHunting.hostsDescription', { defaultMessage: 'A comprehensive overview of all hosts and host-related security events.' }), path: _constants.HOSTS_PATH, globalSearchKeywords: [_i18n.i18n.translate('xpack.securitySolution.appLinks.hosts', { defaultMessage: 'Hosts' })], links: [{ id: _constants.SecurityPageName.uncommonProcesses, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.hosts.uncommonProcesses', { defaultMessage: 'Uncommon Processes' }), path: `${_constants.HOSTS_PATH}/uncommonProcesses` }, { id: _constants.SecurityPageName.hostsAnomalies, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.hosts.anomalies', { defaultMessage: 'Anomalies' }), path: `${_constants.HOSTS_PATH}/anomalies`, licenseType: 'gold' }, { id: _constants.SecurityPageName.hostsEvents, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.hosts.events', { defaultMessage: 'Events' }), path: `${_constants.HOSTS_PATH}/events` }, { id: _constants.SecurityPageName.hostsRisk, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.hosts.risk', { defaultMessage: 'Host risk' }), path: `${_constants.HOSTS_PATH}/hostRisk` }, { id: _constants.SecurityPageName.sessions, title: _i18n.i18n.translate('xpack.securitySolution.appLinks.hosts.sessions', { defaultMessage: 'Sessions' }), path: `${_constants.HOSTS_PATH}/sessions`, isBeta: false, licenseType: 'enterprise' }] }; const exploreLinks = { id: _constants.SecurityPageName.exploreLanding, title: _translations.EXPLORE, path: _constants.EXPLORE_PATH, globalNavPosition: 8, capabilities: [`${_constants.SERVER_APP_ID}.show`], globalSearchKeywords: [_i18n.i18n.translate('xpack.securitySolution.appLinks.explore', { defaultMessage: 'Explore' })], links: [hostsLinks, networkLinks, usersLinks], hideTimeline: true, skipUrlState: true }; exports.exploreLinks = exploreLinks;