diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality/use_asset_criticality.ts b/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality/use_asset_criticality.ts index 40ca5da33a1d8..d5ecde239f35a 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality/use_asset_criticality.ts +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/asset_criticality/use_asset_criticality.ts @@ -35,7 +35,9 @@ export const useAssetCriticalityPrivileges = ( return useQuery({ queryKey: [ASSET_CRITICALITY_KEY, PRIVILEGES_KEY, queryKey, hasEntityAnalyticsCapability], - queryFn: hasEntityAnalyticsCapability ? fetchAssetCriticalityPrivileges : () => nonAuthorizedResponse, + queryFn: hasEntityAnalyticsCapability + ? fetchAssetCriticalityPrivileges + : () => nonAuthorizedResponse, }); }; diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/common.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/common.tsx index f99df28cb4c16..1f9832b79654c 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/common.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/common.tsx @@ -24,9 +24,7 @@ interface EntityData { risk: RiskStats; } -export const buildColumns: (showFooter: boolean) => Array> = ( - showFooter -) => [ +export const buildColumns: () => Array> = () => [ { field: 'category', name: ( @@ -38,12 +36,12 @@ export const buildColumns: (showFooter: boolean) => Array - ) : undefined, + ), }, { field: 'score', @@ -59,12 +57,11 @@ export const buildColumns: (showFooter: boolean) => Array - showFooter ? ( - - {formatRiskScore(sumBy((i) => i.score, props.items))} - - ) : undefined, + footer: (props) => ( + + {formatRiskScore(sumBy((i) => i.score, props.items))} + + ), }, { field: 'count', @@ -79,18 +76,15 @@ export const buildColumns: (showFooter: boolean) => Array - showFooter ? ( - - {sumBy((i) => i.count ?? 0, props.items)} - - ) : undefined, + footer: (props) => ( + + {sumBy((i) => i.count ?? 0, props.items)} + + ), }, ]; -export const getItems: ( - entityData: EntityData | undefined, -) => TableItem[] = (entityData) => { +export const getItems: (entityData: EntityData | undefined) => TableItem[] = (entityData) => { return [ { category: i18n.translate('xpack.securitySolution.flyout.entityDetails.alertsGroupLabel', { @@ -99,17 +93,17 @@ export const getItems: ( score: entityData?.risk.category_1_score ?? 0, count: entityData?.risk.category_1_count ?? 0, }, - - { - category: i18n.translate( - 'xpack.securitySolution.flyout.entityDetails.assetCriticalityGroupLabel', - { - defaultMessage: 'Asset Criticality', - } - ), - score: entityData?.risk.category_2_score ?? 0, - count: undefined, - }, + + { + category: i18n.translate( + 'xpack.securitySolution.flyout.entityDetails.assetCriticalityGroupLabel', + { + defaultMessage: 'Asset Criticality', + } + ), + score: entityData?.risk.category_2_score ?? 0, + count: undefined, + }, ]; }; diff --git a/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx b/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx index f6f123d863033..fee62f34dfdee 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/components/risk_summary_flyout/risk_summary.tsx @@ -81,12 +81,9 @@ const FlyoutRiskSummaryComponent = ({ const xsFontSize = useEuiFontSize('xxs').fontSize; - const columns = useMemo(() => buildColumns(true), []); + const columns = useMemo(() => buildColumns(), []); - const rows = useMemo( - () => getItems(entityData), - [entityData] - ); + const rows = useMemo(() => getItems(entityData), [entityData]); const onToggle = useCallback( (isOpen: boolean) => { diff --git a/x-pack/plugins/security_solution/public/entity_analytics/pages/asset_criticality_upload_page.tsx b/x-pack/plugins/security_solution/public/entity_analytics/pages/asset_criticality_upload_page.tsx index 99e11ad2fbe06..c6460c4134247 100644 --- a/x-pack/plugins/security_solution/public/entity_analytics/pages/asset_criticality_upload_page.tsx +++ b/x-pack/plugins/security_solution/public/entity_analytics/pages/asset_criticality_upload_page.tsx @@ -44,16 +44,7 @@ export const AssetCriticalityUploadPage = () => { return null; } - if ( - !hasEntityAnalyticsCapability || - privilegesError?.body.status_code === 403 - ) { - const errorMessage = privilegesError?.body.message ?? ( - - ); - + if (!hasEntityAnalyticsCapability || privilegesError?.body.status_code === 403) { return ( { /> } - body={

{errorMessage}

} + body={

{privilegesError?.body.message}

} /> ); } diff --git a/x-pack/plugins/security_solution/public/explore/hosts/components/hosts_table/columns.tsx b/x-pack/plugins/security_solution/public/explore/hosts/components/hosts_table/columns.tsx index 0da86aff87f50..d4f2791f4a314 100644 --- a/x-pack/plugins/security_solution/public/explore/hosts/components/hosts_table/columns.tsx +++ b/x-pack/plugins/security_solution/public/explore/hosts/components/hosts_table/columns.tsx @@ -138,22 +138,6 @@ export const getHostsColumns = ( return getEmptyTagValue(); }, }, - { - field: 'node.criticality', - name: i18n.ASSET_CRITICALITY, - truncateText: false, - mobileOptions: { show: true }, - sortable: false, - render: (assetCriticality: CriticalityLevelWithUnassigned) => { - if (!assetCriticality) return getEmptyTagValue(); - return ( - - ); - }, - }, ]; if (showRiskColumn) { @@ -181,5 +165,22 @@ export const getHostsColumns = ( }); } + columns.push({ + field: 'node.criticality', + name: i18n.ASSET_CRITICALITY, + truncateText: false, + mobileOptions: { show: true }, + sortable: false, + render: (assetCriticality: CriticalityLevelWithUnassigned) => { + if (!assetCriticality) return getEmptyTagValue(); + return ( + + ); + }, + }); + return columns; }; diff --git a/x-pack/plugins/security_solution/public/explore/users/components/all_users/index.tsx b/x-pack/plugins/security_solution/public/explore/users/components/all_users/index.tsx index 106375c5cf8ce..dccb3d89f4f65 100644 --- a/x-pack/plugins/security_solution/public/explore/users/components/all_users/index.tsx +++ b/x-pack/plugins/security_solution/public/explore/users/components/all_users/index.tsx @@ -119,21 +119,6 @@ const getUsersColumns = ( }) : getOrEmptyTagFromValue(domain), }, - { - field: 'criticality', - name: i18n.ASSET_CRITICALITY, - truncateText: false, - mobileOptions: { show: true }, - sortable: false, - render: (assetCriticality: CriticalityLevelWithUnassigned) => { - return ( - - ); - }, - }, ]; if (showRiskColumn) { @@ -160,6 +145,24 @@ const getUsersColumns = ( }, }); } + + columns.push({ + field: 'criticality', + name: i18n.ASSET_CRITICALITY, + truncateText: false, + mobileOptions: { show: true }, + sortable: false, + render: (assetCriticality: CriticalityLevelWithUnassigned) => { + if (!assetCriticality) return getEmptyTagValue(); + return ( + + ); + }, + }); + return columns; }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/enrichments/index.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/enrichments/index.ts index 1b3a20abd7b4e..3df7049b90301 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/enrichments/index.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/utils/enrichments/index.ts @@ -39,7 +39,6 @@ export const enrichEvents: EnrichEventsFunction = async ({ logger.debug('Alert enrichments started'); const isNewRiskScoreModuleAvailable = experimentalFeatures?.riskScoringRoutesEnabled ?? false; const { uiSettingsClient } = services; - const isAssetCriticalityEnabled = true; let isNewRiskScoreModuleInstalled = false; if (isNewRiskScoreModuleAvailable) { @@ -84,29 +83,27 @@ export const enrichEvents: EnrichEventsFunction = async ({ ); } - if (isAssetCriticalityEnabled) { - const assetCriticalityIndexExist = await isIndexExist({ - services, - index: getAssetCriticalityIndex(spaceId), - }); - if (assetCriticalityIndexExist) { - enrichments.push( - createUserAssetCriticalityEnrichments({ - services, - logger, - events, - spaceId, - }) - ); - enrichments.push( - createHostAssetCriticalityEnrichments({ - services, - logger, - events, - spaceId, - }) - ); - } + const assetCriticalityIndexExist = await isIndexExist({ + services, + index: getAssetCriticalityIndex(spaceId), + }); + if (assetCriticalityIndexExist) { + enrichments.push( + createUserAssetCriticalityEnrichments({ + services, + logger, + events, + spaceId, + }) + ); + enrichments.push( + createHostAssetCriticalityEnrichments({ + services, + logger, + events, + spaceId, + }) + ); } const allEnrichmentsResults = await Promise.allSettled(enrichments); diff --git a/x-pack/plugins/translations/translations/fr-FR.json b/x-pack/plugins/translations/translations/fr-FR.json index 0031fbbb5666f..22b0b40b7ea8b 100644 --- a/x-pack/plugins/translations/translations/fr-FR.json +++ b/x-pack/plugins/translations/translations/fr-FR.json @@ -38372,7 +38372,6 @@ "xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.successTitle": "Réussite", "xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.uploadAnotherFile": "Charger un autre fichier", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.acceptedFileFormats": "Formats de fichiers : {formats}", - "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.advancedSettingDisabledMessage": "Veuillez autoriser \"{ENABLE_ASSET_CRITICALITY_SETTING}\" dans les paramètres avancés pour accéder à la page.", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.advancedSettingDisabledTitle": "Cette page est désactivée", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.assetCriticalityLabels": "Niveau de criticité : Spécifiez n'importe laquelle de ces {labels}", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.assetIdentifierDescription": "Identificateur : Spécifiez le {hostName} ou le {userName} de l'entité.", @@ -40610,8 +40609,6 @@ "xpack.securitySolution.uiSettings.defaultThreatIndexLabel": "Index de menaces", "xpack.securitySolution.uiSettings.defaultTimeRangeDescription": "

Période de temps par défaut dans le filtre de temps Security.

", "xpack.securitySolution.uiSettings.defaultTimeRangeLabel": "Période du filtre de temps", - "xpack.securitySolution.uiSettings.enableAssetCriticalityDescription": "

Permet des flux de travail pour l'affectation de l'état critique des actifs et ses contributions au risque de l'entité

", - "xpack.securitySolution.uiSettings.enableAssetCriticalityTitle": "Criticité des ressources", "xpack.securitySolution.uiSettings.enableCcsReadWarningLabel": "Avertissement lié aux privilèges de la règle CCS", "xpack.securitySolution.uiSettings.enableCcsWarningDescription": "

Active les avertissements de vérification des privilèges dans les règles relatives aux index CCS

", "xpack.securitySolution.uiSettings.enableNewsFeedDescription": "

Active le fil d'actualités

", diff --git a/x-pack/plugins/translations/translations/ja-JP.json b/x-pack/plugins/translations/translations/ja-JP.json index 801f3aed69cd6..55489c054e5aa 100644 --- a/x-pack/plugins/translations/translations/ja-JP.json +++ b/x-pack/plugins/translations/translations/ja-JP.json @@ -38114,7 +38114,6 @@ "xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.successTitle": "成功", "xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.uploadAnotherFile": "別のファイルをアップロード", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.acceptedFileFormats": "ファイル形式:{formats}", - "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.advancedSettingDisabledMessage": "ページにアクセスするには、詳細設定で\"{ENABLE_ASSET_CRITICALITY_SETTING}\"を有効化してください。", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.advancedSettingDisabledTitle": "このページは無効です", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.assetCriticalityLabels": "重要度レベル:{labels}のいずれかを指定", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.assetIdentifierDescription": "識別子:エンティティの{hostName}または{userName}を指定します。", @@ -40356,8 +40355,6 @@ "xpack.securitySolution.uiSettings.defaultThreatIndexLabel": "脅威インデックス", "xpack.securitySolution.uiSettings.defaultTimeRangeDescription": "

セキュリティ時間フィルダーのデフォルトの期間です。

", "xpack.securitySolution.uiSettings.defaultTimeRangeLabel": "時間フィルターの期間", - "xpack.securitySolution.uiSettings.enableAssetCriticalityDescription": "

アセット重要度割り当てワークフローとエンティティリスクへの寄与を有効化します

", - "xpack.securitySolution.uiSettings.enableAssetCriticalityTitle": "アセット重要度", "xpack.securitySolution.uiSettings.enableCcsReadWarningLabel": "CCSルール権限警告", "xpack.securitySolution.uiSettings.enableCcsWarningDescription": "

CCSインデックスのルールで権限チェック警告を有効にします

", "xpack.securitySolution.uiSettings.enableNewsFeedDescription": "

ニュースフィードを有効にします

", diff --git a/x-pack/plugins/translations/translations/zh-CN.json b/x-pack/plugins/translations/translations/zh-CN.json index 312eb075003c8..5df7f8e885631 100644 --- a/x-pack/plugins/translations/translations/zh-CN.json +++ b/x-pack/plugins/translations/translations/zh-CN.json @@ -38160,7 +38160,6 @@ "xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.successTitle": "成功", "xpack.securitySolution.entityAnalytics.assetCriticalityResultStep.uploadAnotherFile": "上传另一个文件", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.acceptedFileFormats": "文件格式:{formats}", - "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.advancedSettingDisabledMessage": "请在高级设置上启用“{ENABLE_ASSET_CRITICALITY_SETTING}”以访问此页面。", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.advancedSettingDisabledTitle": "已禁用此页面", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.assetCriticalityLabels": "关键度级别:指定任意 {labels}", "xpack.securitySolution.entityAnalytics.assetCriticalityUploadPage.assetIdentifierDescription": "标识符:指定实体的 {hostName} 或 {userName}。", @@ -40401,8 +40400,6 @@ "xpack.securitySolution.uiSettings.defaultThreatIndexLabel": "威胁索引", "xpack.securitySolution.uiSettings.defaultTimeRangeDescription": "

Security 时间筛选中的默认时段。

", "xpack.securitySolution.uiSettings.defaultTimeRangeLabel": "时间筛选时段", - "xpack.securitySolution.uiSettings.enableAssetCriticalityDescription": "

启用资产关键度分配工作流及其对实体风险的贡献率

", - "xpack.securitySolution.uiSettings.enableAssetCriticalityTitle": "资产关键度", "xpack.securitySolution.uiSettings.enableCcsReadWarningLabel": "CCS 规则权限警告", "xpack.securitySolution.uiSettings.enableCcsWarningDescription": "

在规则中为 CCS 索引启用权限检查警告

", "xpack.securitySolution.uiSettings.enableNewsFeedDescription": "

启用新闻源

", diff --git a/x-pack/test/security_solution_api_integration/package.json b/x-pack/test/security_solution_api_integration/package.json index 9a6547a9595ed..f6df36a93452a 100644 --- a/x-pack/test/security_solution_api_integration/package.json +++ b/x-pack/test/security_solution_api_integration/package.json @@ -7,404 +7,338 @@ "scripts": { "initialize-server:genai:trial_complete": "node ./scripts/index.js server genai trial_license_complete_tier", "run-tests:genai:trial_complete": "node ./scripts/index.js runner genai trial_license_complete_tier", - "initialize-server:genai:basic_essentials": "node ./scripts/index.js server genai basic_license_essentials_tier", "run-tests:genai:basic_essentials": "node ./scripts/index.js runner genai basic_license_essentials_tier", - "initialize-server:ea:trial_complete": "node ./scripts/index.js server entity_analytics trial_license_complete_tier", "run-tests:ea:trial_complete": "node ./scripts/index.js runner entity_analytics trial_license_complete_tier", - "initialize-server:ea:basic_essentials": "node ./scripts/index.js server entity_analytics basic_license_essentials_tier", "run-tests:ea:basic_essentials": "node ./scripts/index.js runner entity_analytics basic_license_essentials_tier", - "initialize-server:dr": "node ./scripts/index.js server detections_response trial_license_complete_tier", "run-tests:dr": "node ./scripts/index.js runner detections_response trial_license_complete_tier", - - "initialize-server:de": "node ./scripts/index.js server detections_response/detection_engine trial_license_complete_tier", "run-tests:de": "node ./scripts/index.js runner detections_response/detection_engine trial_license_complete_tier", - "initialize-server:de:basic_essentials": "node ./scripts/index.js server detections_response/detection_engine basic_license_essentials_tier", "run-tests:de:basic_essentials": "node ./scripts/index.js runner detections_response/detection_engine basic_license_essentials_tier", - "initialize-server:rm": "node ./scripts/index.js server detections_response/rules_management trial_license_complete_tier ", "run-tests:rm": "node ./scripts/index.js runner detections_response/rules_management trial_license_complete_tier", - "initialize-server:rm:basic_essentials": "node ./scripts/index.js server detections_response/rules_management basic_license_essentials_tier ", "run-tests:rm:basic_essentials": "node ./scripts/index.js runner detections_response/rules_management basic_license_essentials_tier", - "initialize-server:lists:complete": "node ./scripts/index.js server lists_and_exception_lists trial_license_complete_tier", "run-tests:lists:complete": "node ./scripts/index.js runner lists_and_exception_lists trial_license_complete_tier", - "initialize-server:edr-workflows": "node ./scripts/index.js server edr_workflows trial_license_complete_tier", "run-tests:edr-workflows": "node ./scripts/index.js runner edr_workflows trial_license_complete_tier", - "initialize-server:investigations": "node scripts/index.js server investigation trial_license_complete_tier", "run-tests:investigations": "node scripts/index.js runner investigation trial_license_complete_tier", - "intialize-server:explore": "node scripts/index.js server explore trial_license_complete_tier", "run-tests:explore": "node scripts/index.js runner explore trial_license_complete_tier", - "genai_kb_entries:server:serverless": "npm run initialize-server:genai:trial_complete knowledge_base/entries serverless", "genai_kb_entries:runner:serverless": "npm run run-tests:genai:trial_complete knowledge_base/entries serverless serverlessEnv", "genai_kb_entries:qa:serverless": "npm run run-tests:genai:trial_complete knowledge_base/entries serverless qaPeriodicEnv", "genai_kb_entries:qa:serverless:release": "npm run run-tests:genai:trial_complete knowledge_base/entries serverless qaEnv", "genai_kb_entries:server:ess": "npm run initialize-server:genai:trial_complete knowledge_base/entries ess", "genai_kb_entries:runner:ess": "npm run run-tests:genai:trial_complete knowledge_base/entries ess essEnv", - "nlp_cleanup_task:complete:server:serverless": "npm run initialize-server:genai:trial_complete nlp_cleanup_task serverless", "nlp_cleanup_task:complete:runner:serverless": "npm run run-tests:genai:trial_complete nlp_cleanup_task serverless serverlessEnv", "nlp_cleanup_task:complete:qa:serverless": "npm run run-tests:genai:trial_complete nlp_cleanup_task serverless qaPeriodicEnv", "nlp_cleanup_task:complete:qa:serverless:release": "npm run run-tests:genai:trial_complete nlp_cleanup_task serverless qaEnv", - "nlp_cleanup_task:essentials:server:serverless": "npm run initialize-server:genai:basic_essentials nlp_cleanup_task serverless", "nlp_cleanup_task:essentials:runner:serverless": "npm run run-tests:genai:basic_essentials nlp_cleanup_task serverless serverlessEnv", "nlp_cleanup_task:essentials:qa:serverless": "npm run run-tests:genai:basic_essentials nlp_cleanup_task serverless qaPeriodicEnv", "nlp_cleanup_task:essentials:qa:serverless:release": "npm run run-tests:genai:basic_essentials nlp_cleanup_task serverless qaEnv", - "entity_analytics:server:serverless": "npm run initialize-server:ea:trial_complete risk_engine serverless", "entity_analytics:runner:serverless": "npm run run-tests:ea:trial_complete risk_engine serverless serverlessEnv --", "entity_analytics:qa:serverless": "npm run run-tests:ea:trial_complete risk_engine serverless qaPeriodicEnv", "entity_analytics:qa:serverless:release": "npm run run-tests:ea:trial_complete risk_engine serverless qaEnv", "entity_analytics:server:ess": "npm run initialize-server:ea:trial_complete risk_engine ess", - "entity_analytics:runner:ess": "npm run run-tests:ea:trial_complete risk_engine ess essEnv --", - + "entity_analytics:runner:ess": "npm run run-tests:ea:trial_complete risk_engine ess essEnv", "entity_analytics:essentials:server:serverless": "npm run initialize-server:ea:basic_essentials risk_engine serverless", "entity_analytics:essentials:runner:serverless": "npm run run-tests:ea:basic_essentials risk_engine serverless serverlessEnv", "entity_analytics:essentials:qa:serverless": "npm run run-tests:ea:basic_essentials risk_engine serverless qaPeriodicEnv", "entity_analytics:essentials:qa:serverless:release": "npm run run-tests:ea:basic_essentials risk_engine serverless qaEnv", "entity_analytics:essentials:server:ess": "npm run initialize-server:ea:basic_essentials risk_engine ess", "entity_analytics:essentials:runner:ess": "npm run run-tests:ea:basic_essentials risk_engine ess essEnv", - "entity_analytics:entity_store:server:serverless": "npm run initialize-server:ea:trial_complete entity_store serverless", "entity_analytics:entity_store:runner:serverless": "npm run run-tests:ea:trial_complete entity_store serverless serverlessEnv", "entity_analytics:entity_store:qa:serverless": "npm run run-tests:ea:trial_complete entity_store serverless qaPeriodicEnv", "entity_analytics:entity_store:qa:serverless:release": "npm run run-tests:ea:trial_complete entity_store serverless qaEnv", "entity_analytics:entity_store:server:ess": "npm run initialize-server:ea:trial_complete entity_store ess", "entity_analytics:entity_store:runner:ess": "npm run run-tests:ea:trial_complete entity_store ess essEnv --", - "edr_workflows:artifacts:server:serverless": "npm run initialize-server:edr-workflows artifacts serverless", "edr_workflows:artifacts:runner:serverless": "npm run run-tests:edr-workflows artifacts serverless serverlessEnv", "edr_workflows:artifacts:qa:serverless": "npm run run-tests:edr-workflows artifacts serverless qaPeriodicEnv", "edr_workflows:artifacts:qa:serverless:release": "npm run run-tests:edr-workflows artifacts serverless qaEnv", "edr_workflows:artifacts:server:ess": "npm run initialize-server:edr-workflows artifacts ess", "edr_workflows:artifacts:runner:ess": "npm run run-tests:edr-workflows artifacts ess essEnv", - "edr_workflows:authentication:server:serverless": "npm run initialize-server:edr-workflows authentication serverless", "edr_workflows:authentication:runner:serverless": "npm run run-tests:edr-workflows authentication serverless serverlessEnv", "edr_workflows:authentication:qa:serverless": "npm run run-tests:edr-workflows authentication serverless qaPeriodicEnv", "edr_workflows:authentication:qa:serverless:release": "npm run run-tests:edr-workflows authentication serverless qaEnv", "edr_workflows:authentication:server:ess": "npm run initialize-server:edr-workflows authentication ess", "edr_workflows:authentication:runner:ess": "npm run run-tests:edr-workflows authentication ess essEnv", - "edr_workflows:metadata:server:serverless": "npm run initialize-server:edr-workflows metadata serverless", "edr_workflows:metadata:runner:serverless": "npm run run-tests:edr-workflows metadata serverless serverlessEnv", "edr_workflows:metadata:qa:serverless": "npm run run-tests:edr-workflows metadata serverless qaPeriodicEnv", "edr_workflows:metadata:qa:serverless:release": "npm run run-tests:edr-workflows metadata serverless qaEnv", "edr_workflows:metadata:server:ess": "npm run initialize-server:edr-workflows metadata ess", "edr_workflows:metadata:runner:ess": "npm run run-tests:edr-workflows metadata ess essEnv", - "edr_workflows:package:server:serverless": "npm run initialize-server:edr-workflows package serverless", "edr_workflows:package:runner:serverless": "npm run run-tests:edr-workflows package serverless serverlessEnv", "edr_workflows:package:qa:serverless": "npm run run-tests:edr-workflows package serverless qaPeriodicEnv", "edr_workflows:package:qa:serverless:release": "npm run run-tests:edr-workflows package serverless qaEnv", "edr_workflows:package:server:ess": "npm run initialize-server:edr-workflows package ess", "edr_workflows:package:runner:ess": "npm run run-tests:edr-workflows package ess essEnv", - "edr_workflows:policy_response:server:serverless": "npm run initialize-server:edr-workflows policy_response serverless", "edr_workflows:policy_response:runner:serverless": "npm run run-tests:edr-workflows policy_response serverless serverlessEnv", "edr_workflows:policy_response:qa:serverless": "npm run run-tests:edr-workflows policy_response serverless qaPeriodicEnv", "edr_workflows:policy_response:qa:serverless:release": "npm run run-tests:edr-workflows policy_response serverless qaEnv", "edr_workflows:policy_response:server:ess": "npm run initialize-server:edr-workflows policy_response ess", "edr_workflows:policy_response:runner:ess": "npm run run-tests:edr-workflows policy_response ess essEnv", - "edr_workflows:resolver:server:serverless": "npm run initialize-server:edr-workflows resolver serverless", "edr_workflows:resolver:runner:serverless": "npm run run-tests:edr-workflows resolver serverless serverlessEnv", "edr_workflows:resolver:qa:serverless": "npm run run-tests:edr-workflows resolver serverless qaPeriodicEnv", "edr_workflows:resolver:qa:serverless:release": "npm run run-tests:edr-workflows resolver serverless qaEnv", "edr_workflows:resolver:server:ess": "npm run initialize-server:edr-workflows resolver ess", "edr_workflows:resolver:runner:ess": "npm run run-tests:edr-workflows resolver ess essEnv", - "edr_workflows:response_actions:server:serverless": "npm run initialize-server:edr-workflows response_actions serverless", "edr_workflows:response_actions:runner:serverless": "npm run run-tests:edr-workflows response_actions serverless serverlessEnv", "edr_workflows:response_actions:qa:serverless": "npm run run-tests:edr-workflows response_actions serverless qaPeriodicEnv", "edr_workflows:response_actions:qa:serverless:release": "npm run run-tests:edr-workflows response_actions serverless qaEnv", "edr_workflows:response_actions:server:ess": "npm run initialize-server:edr-workflows response_actions ess", "edr_workflows:response_actions:runner:ess": "npm run run-tests:edr-workflows response_actions ess essEnv", - "exception_lists_items:server:serverless": "npm run initialize-server:lists:complete exception_lists_items serverless", "exception_lists_items:runner:serverless": "npm run run-tests:lists:complete exception_lists_items serverless serverlessEnv", "exception_lists_items:qa:serverless": "npm run run-tests:lists:complete exception_lists_items serverless qaPeriodicEnv", "exception_lists_items:qa:serverless:release": "npm run run-tests:lists:complete exception_lists_items serverless qaEnv", "exception_lists_items:server:ess": "npm run initialize-server:lists:complete exception_lists_items ess", "exception_lists_items:runner:ess": "npm run run-tests:lists:complete exception_lists_items ess essEnv", - "lists_items:server:serverless": "npm run initialize-server:lists:complete lists_items serverless", "lists_items:runner:serverless": "npm run run-tests:lists:complete lists_items serverless serverlessEnv", "lists_items:qa:serverless": "npm run run-tests:lists:complete lists_items serverless qaPeriodicEnv", "lists_items:qa:serverless:release": "npm run run-tests:lists:complete lists_items serverless qaEnv", "lists_items:server:ess": "npm run initialize-server:lists:complete lists_items ess", "lists_items:runner:ess": "npm run run-tests:lists:complete lists_items ess essEnv", - "user_roles:server:serverless": "npm run initialize-server:dr user_roles serverless", "user_roles:runner:serverless": "npm run run-tests:dr user_roles serverless serverlessEnv", "user_roles:qa:serverless": "npm run run-tests:dr user_roles serverless qaPeriodicEnv", "user_roles:qa:serverless:release": "npm run run-tests:dr user_roles serverless qaEnv", "user_roles:server:ess": "npm run initialize-server:dr user_roles ess", "user_roles:runner:ess": "npm run run-tests:dr user_roles ess essEnv", - "telemetry:server:serverless": "npm run initialize-server:dr telemetry serverless", "telemetry:runner:serverless": "npm run run-tests:dr telemetry serverless serverlessEnv", "telemetry:qa:serverless": "npm run run-tests:dr telemetry serverless qaPeriodicEnv", "telemetry:qa:serverless:release": "npm run run-tests:dr telemetry serverless qaEnv", "telemetry:server:ess": "npm run initialize-server:dr telemetry ess", "telemetry:runner:ess": "npm run run-tests:dr telemetry ess essEnv", - "exception_workflows:essentials:server:serverless": "npm run initialize-server:de:basic_essentials exceptions/workflows serverless", "exception_workflows:essentials:runner:serverless": "npm run run-tests:de:basic_essentials exceptions/workflows serverless serverlessEnv", "exception_workflows:essentials:qa:serverless": "npm run run-tests:de:basic_essentials exceptions/workflows serverless qaPeriodicEnv", "exception_workflows:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials exceptions/workflows serverless qaEnv", "exception_workflows:basic:server:ess": "npm run initialize-server:de:basic_essentials exceptions/workflows ess", "exception_workflows:basic:runner:ess": "npm run run-tests:de:basic_essentials exceptions/workflows ess essEnv", - "exception_operators_date_numeric_types:essentials:server:serverless": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/date_numeric_types serverless", "exception_operators_date_numeric_types:essentials:runner:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/date_numeric_types serverless serverlessEnv", "exception_operators_date_numeric_types:essentials:qa:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/date_numeric_types serverless qaPeriodicEnv", "exception_operators_date_numeric_types:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/date_numeric_types serverless qaEnv", "exception_operators_date_numeric_types:basic:server:ess": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/date_numeric_types ess", "exception_operators_date_numeric_types:basic:runner:ess": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/date_numeric_types ess essEnv", - "exception_operators_keyword:essentials:server:serverless": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/keyword serverless", "exception_operators_keyword:essentials:runner:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/keyword serverless serverlessEnv", "exception_operators_keyword:essentials:qa:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/keyword serverless qaPeriodicEnv", "exception_operators_keyword:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/keyword serverless qaEnv", "exception_operators_keyword:basic:server:ess": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/keyword ess", "exception_operators_keyword:basic:runner:ess": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/keyword ess essEnv", - "exception_operators_ips:essentials:server:serverless": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/ips serverless", "exception_operators_ips:essentials:runner:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/ips serverless serverlessEnv", "exception_operators_ips:essentials:qa:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/ips serverless qaPeriodicEnv", "exception_operators_ips:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/ips serverless qaEnv", "exception_operators_ips:basic:server:ess": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/ips ess", "exception_operators_ips:basic:runner:ess": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/ips ess essEnv", - "exception_operators_long:essentials:server:serverless": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/long serverless", "exception_operators_long:essentials:runner:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/long serverless serverlessEnv", "exception_operators_long:essentials:qa:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/long serverless qaPeriodicEnv", "exception_operators_long:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/long serverless qaEnv", "exception_operators_long:basic:server:ess": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/long ess", "exception_operators_long:basic:runner:ess": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/long ess essEnv", - "exception_operators_text:essentials:server:serverless": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/text serverless", "exception_operators_text:essentials:runner:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/text serverless serverlessEnv", "exception_operators_text:essentials:qa:serverless": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/text serverless qaPeriodicEnv", "exception_operators_text:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/text serverless qaEnv", "exception_operators_text:basic:server:ess": "npm run initialize-server:de:basic_essentials exceptions/operators_data_types/text ess", "exception_operators_text:basic:runner:ess": "npm run run-tests:de:basic_essentials exceptions/operators_data_types/text ess essEnv", - "actions:server:serverless": "npm run initialize-server:de actions serverless", "actions:runner:serverless": "npm run run-tests:de actions serverless serverlessEnv", "actions:qa:serverless": "npm run run-tests:de actions serverless qaPeriodicEnv", "actions:qa:serverless:release": "npm run run-tests:de actions serverless qaEnv", "actions:server:ess": "npm run initialize-server:de actions ess", "actions:runner:ess": "npm run run-tests:de actions ess essEnv", - "alerts:server:serverless": "npm run initialize-server:de alerts serverless", "alerts:runner:serverless": "npm run run-tests:de alerts serverless serverlessEnv", "alerts:qa:serverless": "npm run run-tests:de alerts serverless qaPeriodicEnv", "alerts:qa:serverless:release": "npm run run-tests:de alerts serverless qaEnv", "alerts:server:ess": "npm run initialize-server:de alerts ess", "alerts:runner:ess": "npm run run-tests:de alerts ess essEnv", - "alerts:essentials:server:serverless": "npm run initialize-server:de:basic_essentials alerts serverless", "alerts:essentials:runner:serverless": "npm run run-tests:de:basic_essentials alerts serverless serverlessEnv", "alerts:essentials:qa:serverless": "npm run run-tests:de:basic_essentials alerts serverless qaPeriodicEnv", "alerts:essentials:qa:serverless:release": "npm run run-tests:de:basic_essentials alerts serverless qaEnv", "alerts:basic:server:ess": "npm run initialize-server:de:basic_essentials alerts ess", "alerts:basic:runner:ess": "npm run run-tests:de:basic_essentials alerts ess essEnv", - "rule_execution_logic:server:serverless": "npm run initialize-server:de rule_execution_logic serverless", "rule_execution_logic:runner:serverless": "npm run run-tests:de rule_execution_logic serverless serverlessEnv", "rule_execution_logic:qa:serverless": "npm run run-tests:de rule_execution_logic serverless qaPeriodicEnv", "rule_execution_logic:qa:serverless:release": "npm run run-tests:de rule_execution_logic serverless qaEnv", "rule_execution_logic:server:ess": "npm run initialize-server:de rule_execution_logic ess", "rule_execution_logic:runner:ess": "npm run run-tests:de rule_execution_logic ess essEnv", - "rule_gaps:server:serverless": "npm run initialize-server:de rule_gaps serverless", "rule_gaps:runner:serverless": "npm run run-tests:de rule_gaps serverless serverlessEnv", "rule_gaps:qa:serverless": "npm run run-tests:rm rule_gaps serverless qaPeriodicEnv", "rule_gaps:qa:serverless:release": "npm run run-tests:de rule_gaps serverless qaEnv", "rule_gaps:server:ess": "npm run initialize-server:de rule_gaps ess", "rule_gaps:runner:ess": "npm run run-tests:de rule_gaps ess essEnv", - "rule_creation:server:serverless": "npm run initialize-server:rm rule_creation serverless", "rule_creation:runner:serverless": "npm run run-tests:rm rule_creation serverless serverlessEnv", "rule_creation:qa:serverless": "npm run run-tests:rm rule_creation serverless qaPeriodicEnv", "rule_creation:qa:serverless:release": "npm run run-tests:rm rule_creation serverless qaEnv", "rule_creation:server:ess": "npm run initialize-server:rm rule_creation ess", "rule_creation:runner:ess": "npm run run-tests:rm rule_creation ess essEnv", - "rule_creation:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_creation serverless", "rule_creation:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_creation serverless serverlessEnv", "rule_creation:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_creation serverless qaPeriodicEnv", "rule_creation:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_creation serverless qaEnv", "rule_creation:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_creation ess", "rule_creation:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_creation ess essEnv", - "rule_update:server:serverless": "npm run initialize-server:rm rule_update serverless", "rule_update:runner:serverless": "npm run run-tests:rm rule_update serverless serverlessEnv", "rule_update:qa:serverless": "npm run run-tests:rm rule_update serverless qaPeriodicEnv", "rule_update:qa:serverless:release": "npm run run-tests:rm rule_update serverless qaEnv", "rule_update:server:ess": "npm run initialize-server:rm rule_update ess", "rule_update:runner:ess": "npm run run-tests:rm rule_update ess essEnv", - "rule_update:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_update serverless", "rule_update:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_update serverless serverlessEnv", "rule_update:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_update serverless qaPeriodicEnv", "rule_update:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_update serverless qaEnv", "rule_update:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_update ess", "rule_update:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_update ess essEnv", - "rule_patch:server:serverless": "npm run initialize-server:rm rule_patch serverless", "rule_patch:runner:serverless": "npm run run-tests:rm rule_patch serverless serverlessEnv", "rule_patch:qa:serverless": "npm run run-tests:rm rule_patch serverless qaPeriodicEnv", "rule_patch:qa:serverless:release": "npm run run-tests:rm rule_patch serverless qaEnv", "rule_patch:server:ess": "npm run initialize-server:rm rule_patch ess", "rule_patch:runner:ess": "npm run run-tests:rm rule_patch ess essEnv", - "rule_patch:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_patch serverless", "rule_patch:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_patch serverless serverlessEnv", "rule_patch:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_patch serverless qaPeriodicEnv", "rule_patch:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_patch serverless qaEnv", "rule_patch:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_patch ess", "rule_patch:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_patch ess essEnv", - "prebuilt_rules_management:server:serverless": "npm run initialize-server:rm prebuilt_rules/management serverless", "prebuilt_rules_management:runner:serverless": "npm run run-tests:rm prebuilt_rules/management serverless serverlessEnv", "prebuilt_rules_management:qa:serverless": "npm run run-tests:rm prebuilt_rules/management serverless qaPeriodicEnv", "prebuilt_rules_management:qa:serverless:release": "npm run run-tests:rm prebuilt_rules/management serverless qaEnv", "prebuilt_rules_management:server:ess": "npm run initialize-server:rm prebuilt_rules/management ess", "prebuilt_rules_management:runner:ess": "npm run run-tests:rm prebuilt_rules/management ess essEnv", - "prebuilt_rules_bundled_prebuilt_rules_package:server:serverless": "npm run initialize-server:rm prebuilt_rules/bundled_prebuilt_rules_package serverless", "prebuilt_rules_bundled_prebuilt_rules_package:runner:serverless": "npm run run-tests:rm prebuilt_rules/bundled_prebuilt_rules_package serverless serverlessEnv", "prebuilt_rules_bundled_prebuilt_rules_package:qa:serverless": "npm run run-tests:rm prebuilt_rules/bundled_prebuilt_rules_package serverless qaPeriodicEnv", "prebuilt_rules_bundled_prebuilt_rules_package:qa:serverless:release": "npm run run-tests:rm prebuilt_rules/bundled_prebuilt_rules_package serverless qaEnv", "prebuilt_rules_bundled_prebuilt_rules_package:server:ess": "npm run initialize-server:rm prebuilt_rules/bundled_prebuilt_rules_package ess", "prebuilt_rules_bundled_prebuilt_rules_package:runner:ess": "npm run run-tests:rm prebuilt_rules/bundled_prebuilt_rules_package ess essEnv", - "prebuilt_rules_large_prebuilt_rules_package:server:serverless": "npm run initialize-server:rm prebuilt_rules/large_prebuilt_rules_package serverless", "prebuilt_rules_large_prebuilt_rules_package:runner:serverless": "npm run run-tests:rm prebuilt_rules/large_prebuilt_rules_package serverless serverlessEnv", "prebuilt_rules_large_prebuilt_rules_package:qa:serverless": "npm run run-tests:rm prebuilt_rules/large_prebuilt_rules_package serverless qaPeriodicEnv", "prebuilt_rules_large_prebuilt_rules_package:qa:serverless:release": "npm run run-tests:rm prebuilt_rules/large_prebuilt_rules_package serverless qaEnv", "prebuilt_rules_large_prebuilt_rules_package:server:ess": "npm run initialize-server:rm prebuilt_rules/large_prebuilt_rules_package ess", "prebuilt_rules_large_prebuilt_rules_package:runner:ess": "npm run run-tests:rm prebuilt_rules/large_prebuilt_rules_package ess essEnv", - "prebuilt_rules_update_prebuilt_rules_package:server:serverless": "npm run initialize-server:rm prebuilt_rules/update_prebuilt_rules_package serverless", "prebuilt_rules_update_prebuilt_rules_package:runner:serverless": "npm run run-tests:rm prebuilt_rules/update_prebuilt_rules_package serverless serverlessEnv", "prebuilt_rules_update_prebuilt_rules_package:qa:serverless": "npm run run-tests:rm prebuilt_rules/update_prebuilt_rules_package serverless qaPeriodicEnv", "prebuilt_rules_update_prebuilt_rules_package:qa:serverless:release": "npm run run-tests:rm prebuilt_rules/update_prebuilt_rules_package serverless qaEnv", "prebuilt_rules_update_prebuilt_rules_package:server:ess": "npm run initialize-server:rm prebuilt_rules/update_prebuilt_rules_package ess", "prebuilt_rules_update_prebuilt_rules_package:runner:ess": "npm run run-tests:rm prebuilt_rules/update_prebuilt_rules_package ess essEnv", - "rule_delete:server:serverless": "npm run initialize-server:rm rule_delete serverless", "rule_delete:runner:serverless": "npm run run-tests:rm rule_delete serverless serverlessEnv", "rule_delete:qa:serverless": "npm run run-tests:rm rule_delete serverless qaPeriodicEnv", "rule_delete:qa:serverless:release": "npm run run-tests:rm rule_delete serverless qaEnv", "rule_delete:server:ess": "npm run initialize-server:rm rule_delete ess", "rule_delete:runner:ess": "npm run run-tests:rm rule_delete ess essEnv", - "rule_delete:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_delete serverless", "rule_delete:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_delete serverless serverlessEnv", "rule_delete:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_delete serverless qaPeriodicEnv", "rule_delete:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_delete serverless qaEnv", "rule_delete:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_delete ess", "rule_delete:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_delete ess essEnv", - "rule_import_export:server:serverless": "npm run initialize-server:rm rule_import_export serverless", "rule_import_export:runner:serverless": "npm run run-tests:rm rule_import_export serverless serverlessEnv", "rule_import_export:qa:serverless": "npm run run-tests:rm rule_import_export serverless qaPeriodicEnv", "rule_import_export:qa:serverless:release": "npm run run-tests:rm rule_import_export serverless qaEnv", "rule_import_export:server:ess": "npm run initialize-server:rm rule_import_export ess", "rule_import_export:runner:ess": "npm run run-tests:rm rule_import_export ess essEnv", - "rule_import_export:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_import_export serverless", "rule_import_export:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_import_export serverless serverlessEnv", "rule_import_export:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_import_export serverless qaPeriodicEnv", "rule_import_export:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_import_export serverless qaEnv", "rule_import_export:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_import_export ess", "rule_import_export:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_import_export ess essEnv", - "rule_management:server:serverless": "npm run initialize-server:rm rule_management serverless", "rule_management:runner:serverless": "npm run run-tests:rm rule_management serverless serverlessEnv", "rule_management:qa:serverless": "npm run run-tests:rm rule_management serverless qaPeriodicEnv", "rule_management:qa:serverless:release": "npm run run-tests:rm rule_management serverless qaEnv", "rule_management:server:ess": "npm run initialize-server:rm rule_management ess", "rule_management:runner:ess": "npm run run-tests:rm rule_management ess essEnv", - "rule_bulk_actions:server:serverless": "npm run initialize-server:rm rule_bulk_actions serverless", "rule_bulk_actions:runner:serverless": "npm run run-tests:rm rule_bulk_actions serverless serverlessEnv", "rule_bulk_actions:qa:serverless": "npm run run-tests:rm rule_bulk_actions serverless qaPeriodicEnv", "rule_bulk_actions:qa:serverless:release": "npm run run-tests:rm rule_bulk_actions serverless qaEnv", "rule_bulk_actions:server:ess": "npm run initialize-server:rm rule_bulk_actions ess", "rule_bulk_actions:runner:ess": "npm run run-tests:rm rule_bulk_actions ess essEnv", - "rule_read:server:serverless": "npm run initialize-server:rm rule_read serverless", "rule_read:runner:serverless": "npm run run-tests:rm rule_read serverless serverlessEnv", "rule_read:qa:serverless": "npm run run-tests:rm rule_read serverless qaPeriodicEnv", "rule_read:qa:serverless:release": "npm run run-tests:rm rule_read serverless qaEnv", "rule_read:server:ess": "npm run initialize-server:rm rule_read ess", "rule_read:runner:ess": "npm run run-tests:rm rule_read ess essEnv", - "rule_read:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_read serverless", "rule_read:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_read serverless serverlessEnv", "rule_read:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_read serverless qaPeriodicEnv", "rule_read:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_read serverless qaEnv", "rule_read:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_read ess", "rule_read:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_read ess essEnv", - "rules_management:essentials:server:serverless": "npm run initialize-server:rm:basic_essentials rule_management serverless", "rules_management:essentials:runner:serverless": "npm run run-tests:rm:basic_essentials rule_management serverless serverlessEnv", "rules_management:essentials:qa:serverless": "npm run run-tests:rm:basic_essentials rule_management serverless qaPeriodicEnv", "rules_management:essentials:qa:serverless:release": "npm run run-tests:rm:basic_essentials rule_management serverless qaEnv", "rules_management:basic:server:ess": "npm run initialize-server:rm:basic_essentials rule_management ess", "rules_management:basic:runner:ess": "npm run run-tests:rm:basic_essentials rule_management ess essEnv", - "investigations:timeline:server:serverless": "npm run initialize-server:investigations timeline serverless", "investigations:timeline:runner:serverless": "npm run run-tests:investigations timeline serverless serverlessEnv", "investigations:timeline:runner:qa:serverless": "npm run run-tests:investigations timeline serverless qaPeriodicEnv", "investigations:timeline:runner:qa:serverless:release": "npm run run-tests:investigations timeline serverless qaEnv", "investigations:timeline:server:ess": "npm run initialize-server:investigations timeline ess", "investigations:timeline:runner:ess": "npm run run-tests:investigations timeline ess essEnv", - "investigations:saved-objects:server:serverless": "npm run initialize-server:investigations saved_objects serverless", "investigations:saved-objects:runner:serverless": "npm run run-tests:investigations saved_objects serverless serverlessEnv", "investigations:saved-objects:runner:qa:serverless": "npm run run-tests:investigations saved_objects serverless qaPeriodicEnv", "investigations:saved-objects:runner:qa:serverless:release": "npm run run-tests:investigations saved_objects serverless qaEnv", "investigations:saved-objects:server:ess": "npm run initialize-server:investigations saved_objects ess", "investigations:saved-objects:runner:ess": "npm run run-tests:investigations saved_objects ess essEnv", - "explore:hosts:server:serverless": "npm run intialize-server:explore hosts serverless", "explore:hosts:runner:serverless": "npm run run-tests:explore hosts serverless serverlessEnv", "explore:hosts:runner:qa:serverless": "npm run run-tests:explore hosts serverless qaPeriodicEnv", "explore:hosts:runner:qa:serverless:release": "npm run run-tests:explore hosts serverless qaEnv", "explore:hosts:server:ess": "npm run intialize-server:explore hosts ess", "explore:hosts:runner:ess": "npm run run-tests:explore hosts ess essEnv", - "explore:network:server:serverless": "npm run intialize-server:explore network serverless", "explore:network:runner:serverless": "npm run run-tests:explore network serverless serverlessEnv", "explore:network:runner:qa:serverless": "npm run run-tests:explore network serverless qaPeriodicEnv", "explore:network:runner:qa:serverless:release": "npm run run-tests:explore network serverless qaEnv", "explore:network:server:ess": "npm run intialize-server:explore network ess", "explore:network:runner:ess": "npm run run-tests:explore network ess essEnv", - "explore:overview:server:serverless": "npm run intialize-server:explore overview serverless", "explore:overview:runner:serverless": "npm run run-tests:explore overview serverless serverlessEnv", "explore:overview:runner:qa:serverless": "npm run run-tests:explore overview serverless qaPeriodicEnv", "explore:overview:runner:qa:serverless:release": "npm run run-tests:explore overview serverless qaEnv", "explore:overview:server:ess": "npm run intialize-server:explore overview ess", "explore:overview:runner:ess": "npm run run-tests:explore overview ess essEnv", - "explore:users:server:serverless": "npm run intialize-server:explore users serverless", "explore:users:runner:serverless": "npm run run-tests:explore users serverless serverlessEnv", "explore:users:runner:qa:serverless": "npm run run-tests:explore users serverless qaPeriodicEnv", diff --git a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/index.ts b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/index.ts index a500a1be825c3..2aa04a898a449 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/index.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/index.ts @@ -9,17 +9,17 @@ import { FtrProviderContext } from '../../../../ftr_provider_context'; export default function ({ loadTestFile }: FtrProviderContext) { describe('Entity Analytics - Risk Engine', function () { - /*loadTestFile(require.resolve('./init_and_status_apis')); + loadTestFile(require.resolve('./init_and_status_apis')); loadTestFile(require.resolve('./risk_engine_cleanup_api')); - loadTestFile(require.resolve('./risk_score_preview'));*/ + loadTestFile(require.resolve('./risk_score_preview')); loadTestFile(require.resolve('./risk_scoring_task/task_execution')); loadTestFile(require.resolve('./risk_scoring_task/task_execution_nondefault_spaces')); - /*loadTestFile(require.resolve('./telemetry_usage')); + loadTestFile(require.resolve('./telemetry_usage')); loadTestFile(require.resolve('./risk_engine_privileges')); loadTestFile(require.resolve('./asset_criticality')); loadTestFile(require.resolve('./asset_criticality_privileges')); loadTestFile(require.resolve('./asset_criticality_csv_upload')); loadTestFile(require.resolve('./risk_score_entity_calculation')); - loadTestFile(require.resolve('./risk_engine_schedule_now'));*/ + loadTestFile(require.resolve('./risk_engine_schedule_now')); }); } diff --git a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_score_entity_calculation.ts b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_score_entity_calculation.ts index 34e9019c9b93a..fb50a9beeed90 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_score_entity_calculation.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_score_entity_calculation.ts @@ -33,7 +33,6 @@ export default ({ getService }: FtrProviderContext): void => { const esArchiver = getService('esArchiver'); const es = getService('es'); const log = getService('log'); - const kibanaServer = getService('kibanaServer'); const riskEngineRoutes = riskEngineRouteHelpersFactory(supertest); diff --git a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_scoring_task/task_execution.ts b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_scoring_task/task_execution.ts index 5c0b3dd99cc23..e5e721194d015 100644 --- a/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_scoring_task/task_execution.ts +++ b/x-pack/test/security_solution_api_integration/test_suites/entity_analytics/risk_engine/trial_license_complete_tier/risk_scoring_task/task_execution.ts @@ -255,6 +255,7 @@ export default ({ getService }: FtrProviderContext): void => { await riskEngineRoutes.init(); await waitForRiskScoresToBePresent({ es, log, scoreCount: 20 }); const riskScores = await readRiskScores(es); + expect(riskScores.length).to.be.greaterThan(0); const assetCriticalityLevels = riskScores.map( (riskScore) => riskScore.host?.risk.criticality_level diff --git a/x-pack/test/security_solution_cypress/package.json b/x-pack/test/security_solution_cypress/package.json index 5768150909dc4..10a411e586cda 100644 --- a/x-pack/test/security_solution_cypress/package.json +++ b/x-pack/test/security_solution_cypress/package.json @@ -10,15 +10,14 @@ "cypress:entity_analytics:run:ess": "yarn cypress:ess --spec './cypress/e2e/entity_analytics/**/*.cy.ts'", "cypress:run:cases:ess": "yarn cypress:ess --spec './cypress/e2e/explore/cases/*.cy.ts'", "cypress:ess": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider node ../../plugins/security_solution/scripts/start_cypress_parallel run --config-file ../../test/security_solution_cypress/cypress/cypress_ci.config.ts --ftr-config-file ../../test/security_solution_cypress/cli_config", - "cypress:rule_management:run:ess":"yarn cypress:ess --spec './cypress/e2e/detection_response/rule_management/!(prebuilt_rules)/**/*.cy.ts'", + "cypress:rule_management:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/rule_management/!(prebuilt_rules)/**/*.cy.ts'", "cypress:rule_management:prebuilt_rules:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/rule_management/prebuilt_rules/**/*.cy.ts'", - "cypress:detection_engine:run:ess":"yarn cypress:ess --spec './cypress/e2e/detection_response/detection_engine/!(exceptions)/**/*.cy.ts'", + "cypress:detection_engine:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/detection_engine/!(exceptions)/**/*.cy.ts'", "cypress:detection_engine:exceptions:run:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/detection_engine/exceptions/**/*.cy.ts'", - "cypress:ai_assistant:run:ess":"yarn cypress:ess --spec './cypress/e2e/ai_assistant/**/*.cy.ts'", + "cypress:ai_assistant:run:ess": "yarn cypress:ess --spec './cypress/e2e/ai_assistant/**/*.cy.ts'", "cypress:run:respops:ess": "yarn cypress:ess --spec './cypress/e2e/detection_response/**/*.cy.ts'", "cypress:investigations:run:ess": "yarn cypress:ess --spec './cypress/e2e/investigations/**/*.cy.ts'", "cypress:explore:run:ess": "yarn cypress:ess --spec './cypress/e2e/explore/**/*.cy.ts'", - "cypress:open:explore:run:ess": "yarn cypress:ess open --spec './cypress/e2e/explore/**/*.cy.ts'", "cypress:changed-specs-only:ess": "yarn cypress:ess --changed-specs-only --env burn=5", "cypress:burn:ess": "yarn cypress:ess --env burn=5", "junit:merge": "../../../node_modules/.bin/mochawesome-merge ../../../target/kibana-security-solution/cypress/results/mochawesome*.json > ../../../target/kibana-security-solution/cypress/results/output.json && ../../../node_modules/.bin/marge ../../../target/kibana-security-solution/cypress/results/output.json --reportDir ../../../target/kibana-security-solution/cypress/results && yarn junit:transform && mkdir -p ../../../target/junit && cp ../../../target/kibana-security-solution/cypress/results/*.xml ../../../target/junit/", @@ -35,7 +34,6 @@ "cypress:ai_assistant:run:serverless": "yarn cypress:serverless --spec './cypress/e2e/ai_assistant/**/*.cy.ts'", "cypress:investigations:run:serverless": "yarn cypress:serverless --spec './cypress/e2e/investigations/**/*.cy.ts'", "cypress:explore:run:serverless": "yarn cypress:serverless --spec './cypress/e2e/explore/**/*.cy.ts'", - "cypress:open:explore:run:serverless": "yarn cypress:serverless open --spec './cypress/e2e/explore/**/*.cy.ts'", "cypress:changed-specs-only:serverless": "yarn cypress:serverless --changed-specs-only --env burn=5", "cypress:burn:serverless": "yarn cypress:serverless --env burn=2", "cypress:qa:serverless": "TZ=UTC NODE_OPTIONS=--openssl-legacy-provider node ../../plugins/security_solution/scripts/start_cypress_parallel_serverless --config-file ../../test/security_solution_cypress/cypress/cypress_ci_serverless_qa.config.ts",