From 58f33a0965098cef261efb23b2f26ac0e67f820d Mon Sep 17 00:00:00 2001 From: Gerard Soldevila Date: Wed, 4 Dec 2024 00:57:23 +0100 Subject: [PATCH] Moving modules owned by `@elastic/security-detections-response` --- .github/CODEOWNERS | 2 +- api_docs/kbn_rule_data_utils.devdocs.json | 276 +++++++++--------- api_docs/triggers_actions_ui.devdocs.json | 2 +- package.json | 2 +- .../shared}/kbn-rule-data-utils/index.ts | 0 .../kbn-rule-data-utils/jest.config.js | 4 +- .../shared}/kbn-rule-data-utils/kibana.jsonc | 0 .../shared}/kbn-rule-data-utils/package.json | 0 .../src/alerts_as_data_cases.ts | 0 .../src/alerts_as_data_rbac.test.ts | 0 .../src/alerts_as_data_rbac.ts | 0 .../src/alerts_as_data_severity.ts | 0 .../src/alerts_as_data_status.ts | 0 .../src/default_alerts_as_data.ts | 0 .../src/legacy_alerts_as_data.ts | 0 .../src/routes/stack_rule_paths.ts | 0 .../src/rule_types/index.ts | 0 .../src/rule_types/o11y_rules.ts | 0 .../src/rule_types/stack_rules.ts | 0 .../src/technical_field_names.ts | 0 .../shared}/kbn-rule-data-utils/tsconfig.json | 2 +- tsconfig.base.json | 4 +- yarn.lock | 2 +- 23 files changed, 147 insertions(+), 147 deletions(-) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/jest.config.js (83%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/kibana.jsonc (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/package.json (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/alerts_as_data_cases.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/alerts_as_data_rbac.test.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/alerts_as_data_rbac.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/alerts_as_data_severity.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/alerts_as_data_status.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/default_alerts_as_data.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/legacy_alerts_as_data.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/routes/stack_rule_paths.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/rule_types/index.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/rule_types/o11y_rules.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/rule_types/stack_rules.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/src/technical_field_names.ts (100%) rename {packages => src/platform/packages/shared}/kbn-rule-data-utils/tsconfig.json (82%) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 51ab02111debd..943679fba75dc 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -464,7 +464,6 @@ packages/kbn-rison @elastic/kibana-operations packages/kbn-router-to-openapispec @elastic/kibana-core packages/kbn-router-utils @elastic/obs-ux-logs-team packages/kbn-rrule @elastic/response-ops -packages/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team packages/kbn-safer-lodash-set @elastic/kibana-security packages/kbn-saved-objects-settings @elastic/appex-sharedux packages/kbn-saved-search-component @elastic/obs-ux-logs-team @@ -621,6 +620,7 @@ packages/shared-ux/storybook/config @elastic/appex-sharedux packages/shared-ux/storybook/mock @elastic/appex-sharedux packages/shared-ux/table_persist @elastic/appex-sharedux src/core @elastic/kibana-core +src/platform/packages/shared/kbn-rule-data-utils @elastic/security-detections-response @elastic/response-ops @elastic/obs-ux-management-team src/plugins/advanced_settings @elastic/appex-sharedux @elastic/kibana-management src/plugins/ai_assistant_management/selection @elastic/obs-ai-assistant src/plugins/bfetch @elastic/appex-sharedux diff --git a/api_docs/kbn_rule_data_utils.devdocs.json b/api_docs/kbn_rule_data_utils.devdocs.json index 20d8ad66f520a..5277e393f46be 100644 --- a/api_docs/kbn_rule_data_utils.devdocs.json +++ b/api_docs/kbn_rule_data_utils.devdocs.json @@ -29,7 +29,7 @@ "signature": [ "(ruleTypeId: string) => string" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -43,7 +43,7 @@ "signature": [ "string" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -62,7 +62,7 @@ "signature": [ "(ruleId: string) => string" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -76,7 +76,7 @@ "signature": [ "string" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -102,7 +102,7 @@ "text": "EsQueryConfig" } ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -116,7 +116,7 @@ "signature": [ "GetEsQueryConfigParamType | undefined" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -135,7 +135,7 @@ "signature": [ "(ruleId: string) => string" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -149,7 +149,7 @@ "signature": [ "string" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -172,7 +172,7 @@ "SortResults", " | null | undefined) => any[] | null | undefined" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -189,7 +189,7 @@ "SortResults", " | null | undefined" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "isRequired": false @@ -217,7 +217,7 @@ "text": "AlertConsumers" } ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "children": [ @@ -231,7 +231,7 @@ "signature": [ "unknown" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "isRequired": true @@ -250,7 +250,7 @@ "tags": [], "label": "ApmRuleType", "description": [], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -267,7 +267,7 @@ "signature": [ "\"kibana.alert.action_group\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -282,7 +282,7 @@ "signature": [ "\"kibana.alert.building_block_type\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -297,7 +297,7 @@ "signature": [ "\"kibana.alert.case_ids\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -312,7 +312,7 @@ "signature": [ "\"kibana.alert.consecutive_matches\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -327,7 +327,7 @@ "signature": [ "\"kibana.alert.context\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -342,7 +342,7 @@ "signature": [ "\"kibana.alert.duration.us\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -357,7 +357,7 @@ "signature": [ "\"kibana.alert.end\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -372,7 +372,7 @@ "signature": [ "\"kibana.alert.evaluation.threshold\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -387,7 +387,7 @@ "signature": [ "\"kibana.alert.evaluation.value\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -402,7 +402,7 @@ "signature": [ "\"kibana.alert.evaluation.values\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -417,7 +417,7 @@ "signature": [ "\"kibana.alert.flapping\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -432,7 +432,7 @@ "signature": [ "\"kibana.alert.flapping_history\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -447,7 +447,7 @@ "signature": [ "\"kibana.alert.group\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -462,7 +462,7 @@ "signature": [ "\"kibana.alert.group.field\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -477,7 +477,7 @@ "signature": [ "\"kibana.alert.group.value\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -492,7 +492,7 @@ "signature": [ "\"kibana.alert.instance.id\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -507,7 +507,7 @@ "signature": [ "\"kibana.alert.intended_timestamp\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -522,7 +522,7 @@ "signature": [ "\"kibana.alert.last_detected\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -537,7 +537,7 @@ "signature": [ "\"kibana.alert.maintenance_window_ids\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -552,7 +552,7 @@ "signature": [ "\"kibana.alert\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -567,7 +567,7 @@ "signature": [ "\"kibana.alert.previous_action_group\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -582,7 +582,7 @@ "signature": [ "\"kibana.alert.reason\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -597,7 +597,7 @@ "signature": [ "\"kibana.alert.risk_score\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -612,7 +612,7 @@ "signature": [ "\"kibana.alert.rule.author\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -627,7 +627,7 @@ "signature": [ "\"kibana.alert.rule.category\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -642,7 +642,7 @@ "signature": [ "\"kibana.alert.rule.consumer\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -657,7 +657,7 @@ "signature": [ "\"kibana.alert.rule.created_at\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -672,7 +672,7 @@ "signature": [ "\"kibana.alert.rule.created_by\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -687,7 +687,7 @@ "signature": [ "\"kibana.alert.rule.description\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -702,7 +702,7 @@ "signature": [ "\"kibana.alert.rule.enabled\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -717,7 +717,7 @@ "signature": [ "\"kibana.alert.rule.exceptions_list\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -732,7 +732,7 @@ "signature": [ "\"kibana.alert.rule.execution.timestamp\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -747,7 +747,7 @@ "signature": [ "\"kibana.alert.rule.execution.type\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -762,7 +762,7 @@ "signature": [ "\"kibana.alert.rule.execution.uuid\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -777,7 +777,7 @@ "signature": [ "\"kibana.alert.rule.from\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -792,7 +792,7 @@ "signature": [ "\"kibana.alert.rule.interval\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -807,7 +807,7 @@ "signature": [ "\"kibana.alert.rule.license\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -822,7 +822,7 @@ "signature": [ "\"kibana.alert.rule.name\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -837,7 +837,7 @@ "signature": [ "\"kibana.alert.rule\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -852,7 +852,7 @@ "signature": [ "\"kibana.alert.rule.namespace\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -867,7 +867,7 @@ "signature": [ "\"kibana.alert.rule.note\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -882,7 +882,7 @@ "signature": [ "\"kibana.alert.rule.parameters\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -897,7 +897,7 @@ "signature": [ "\"kibana.alert.rule.producer\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -912,7 +912,7 @@ "signature": [ "\"kibana.alert.rule.references\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -927,7 +927,7 @@ "signature": [ "\"kibana.alert.rule.revision\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -942,7 +942,7 @@ "signature": [ "\"kibana.alert.rule.rule_id\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -957,7 +957,7 @@ "signature": [ "\"kibana.alert.rule.rule_name_override\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -972,7 +972,7 @@ "signature": [ "\"kibana.alert.rule.tags\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -987,7 +987,7 @@ "signature": [ "\"kibana.alert.rule.to\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1002,7 +1002,7 @@ "signature": [ "\"kibana.alert.rule.type\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1017,7 +1017,7 @@ "signature": [ "\"kibana.alert.rule.rule_type_id\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1032,7 +1032,7 @@ "signature": [ "\"kibana.alert.rule.updated_at\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1047,7 +1047,7 @@ "signature": [ "\"kibana.alert.rule.updated_by\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1062,7 +1062,7 @@ "signature": [ "\"kibana.alert.rule.uuid\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1077,7 +1077,7 @@ "signature": [ "\"kibana.alert.rule.version\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1092,7 +1092,7 @@ "signature": [ "\"kibana.alert.severity\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1107,7 +1107,7 @@ "signature": [ "\"critical\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_severity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1122,7 +1122,7 @@ "signature": [ "\"kibana.alert.severity_improving\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1137,7 +1137,7 @@ "signature": [ "\"warning\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_severity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1152,7 +1152,7 @@ "signature": [ "\"kibana.alert.start\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1167,7 +1167,7 @@ "signature": [ "\"kibana.alert.status\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1182,7 +1182,7 @@ "signature": [ "\"active\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1197,7 +1197,7 @@ "signature": [ "\"recovered\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1212,7 +1212,7 @@ "signature": [ "\"untracked\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1227,7 +1227,7 @@ "signature": [ "\"kibana.alert.suppression.docs_count\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1242,7 +1242,7 @@ "signature": [ "\"kibana.alert.suppression.end\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1257,7 +1257,7 @@ "signature": [ "\"kibana.alert.suppression.terms.field\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1272,7 +1272,7 @@ "signature": [ "\"kibana.alert.suppression.start\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1287,7 +1287,7 @@ "signature": [ "\"kibana.alert.suppression.terms\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1302,7 +1302,7 @@ "signature": [ "\"kibana.alert.suppression.terms.value\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1317,7 +1317,7 @@ "signature": [ "\"kibana.alert.system_status\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1332,7 +1332,7 @@ "signature": [ "\"kibana.alert.rule.threat.framework\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1347,7 +1347,7 @@ "signature": [ "\"kibana.alert.rule.threat.tactic.id\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1362,7 +1362,7 @@ "signature": [ "\"kibana.alert.rule.threat.tactic.name\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1377,7 +1377,7 @@ "signature": [ "\"kibana.alert.rule.threat.tactic.reference\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1392,7 +1392,7 @@ "signature": [ "\"kibana.alert.rule.threat.technique.id\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1407,7 +1407,7 @@ "signature": [ "\"kibana.alert.rule.threat.technique.name\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1422,7 +1422,7 @@ "signature": [ "\"kibana.alert.rule.threat.technique.reference\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1437,7 +1437,7 @@ "signature": [ "\"kibana.alert.rule.threat.technique.subtechnique.id\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1452,7 +1452,7 @@ "signature": [ "\"kibana.alert.rule.threat.technique.subtechnique.name\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1467,7 +1467,7 @@ "signature": [ "\"kibana.alert.rule.threat.technique.subtechnique.reference\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1482,7 +1482,7 @@ "signature": [ "\"kibana.alert.time_range\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1497,7 +1497,7 @@ "signature": [ "\"kibana.alert.url\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1512,7 +1512,7 @@ "signature": [ "\"kibana.alert.uuid\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1527,7 +1527,7 @@ "signature": [ "\"kibana.alert.workflow_assignee_ids\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1542,7 +1542,7 @@ "signature": [ "\"kibana.alert.workflow_reason\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1557,7 +1557,7 @@ "signature": [ "\"kibana.alert.workflow_status\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1572,7 +1572,7 @@ "signature": [ "\"kibana.alert.workflow_status_updated_at\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1587,7 +1587,7 @@ "signature": [ "\"kibana.alert.workflow_tags\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1602,7 +1602,7 @@ "signature": [ "\"kibana.alert.workflow_user\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1617,7 +1617,7 @@ "signature": [ "\"ml\" | \"monitoring\" | \"uptime\" | \"siem\" | \"observability\" | \"stackAlerts\" | \"apm\" | \"logs\" | \"infrastructure\" | \"slo\" | \"AlertingExample\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1632,7 +1632,7 @@ "signature": [ "\"warning\" | \"critical\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_severity.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1647,7 +1647,7 @@ "signature": [ "\"recovered\" | \"active\" | \"untracked\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_status.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_status.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1662,7 +1662,7 @@ "signature": [ "\"/rules/create/:ruleTypeId\"" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1677,7 +1677,7 @@ "signature": [ "\"@timestamp\" | \"kibana\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.execution.uuid\" | \"kibana.alert.instance.id\" | \"kibana.alert.rule.category\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.producer\" | \"kibana.alert.rule.revision\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.status\" | \"kibana.alert.uuid\" | \"kibana.space_ids\" | \"kibana.alert.action_group\" | \"kibana.alert.case_ids\" | \"kibana.alert.consecutive_matches\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.flapping\" | \"kibana.alert.flapping_history\" | \"kibana.alert.intended_timestamp\" | \"kibana.alert.last_detected\" | \"kibana.alert.maintenance_window_ids\" | \"kibana.alert.previous_action_group\" | \"kibana.alert.reason\" | \"kibana.alert.rule.execution.timestamp\" | \"kibana.alert.rule.execution.type\" | \"kibana.alert.rule.parameters\" | \"kibana.alert.rule.tags\" | \"kibana.alert.severity_improving\" | \"kibana.alert.start\" | \"kibana.alert.time_range\" | \"kibana.alert.url\" | \"kibana.alert.workflow_assignee_ids\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_tags\" | \"kibana.version\" | \"kibana.alert\" | \"kibana.alert.rule\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1692,7 +1692,7 @@ "signature": [ "\"ecs.version\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1707,7 +1707,7 @@ "signature": [ "\"/rules/edit/:id\"" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1722,7 +1722,7 @@ "signature": [ "\".es-query\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/stack_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/stack_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1737,7 +1737,7 @@ "signature": [ "\"event.action\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1752,7 +1752,7 @@ "signature": [ "\"event.kind\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1767,7 +1767,7 @@ "signature": [ "\"event.module\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1782,7 +1782,7 @@ "signature": [ "\"event.original\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1797,7 +1797,7 @@ "signature": [ "\"kibana\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1812,7 +1812,7 @@ "signature": [ "\"logs.alert.document.count\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1827,7 +1827,7 @@ "signature": [ "10" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_cases.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_cases.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1842,7 +1842,7 @@ "signature": [ "\"metrics.alert.inventory.threshold\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1857,7 +1857,7 @@ "signature": [ "\"metrics.alert.threshold\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1872,7 +1872,7 @@ "signature": [ "\"xpack.ml.anomaly_detection_alert\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/stack_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/stack_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1887,7 +1887,7 @@ "signature": [ "\"observability.rules.custom_threshold\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1902,7 +1902,7 @@ "signature": [ "\"observability\" | \"stackAlerts\" | \"alerts\" | \"logs\" | \"infrastructure\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/index.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1917,7 +1917,7 @@ "signature": [ "\"/rule/:ruleId\"" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1932,7 +1932,7 @@ "signature": [ "\"slo.rules.burnRate\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1947,7 +1947,7 @@ "signature": [ "\"kibana.space_ids\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1962,7 +1962,7 @@ "signature": [ "\"stackAlerts\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/stack_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/stack_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1977,7 +1977,7 @@ "signature": [ "\"open\" | \"closed\" | \"in-progress\" | \"acknowledged\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -1992,7 +1992,7 @@ "signature": [ "\"xpack.synthetics.alerts.monitorStatus\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2007,7 +2007,7 @@ "signature": [ "\"xpack.synthetics.alerts.tls\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2022,7 +2022,7 @@ "signature": [ "\"tags\"" ], - "path": "packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2037,7 +2037,7 @@ "signature": [ "\"@timestamp\" | \"event.action\" | \"tags\" | \"kibana\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.execution.uuid\" | \"kibana.alert.instance.id\" | \"kibana.alert.rule.category\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.producer\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.status\" | \"kibana.alert.uuid\" | \"kibana.space_ids\" | \"event.kind\" | \"kibana.alert.action_group\" | \"kibana.alert.case_ids\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.flapping\" | \"kibana.alert.maintenance_window_ids\" | \"kibana.alert.reason\" | \"kibana.alert.rule.parameters\" | \"kibana.alert.rule.tags\" | \"kibana.alert.start\" | \"kibana.alert.time_range\" | \"kibana.alert.workflow_assignee_ids\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_tags\" | \"kibana.version\" | \"kibana.alert.context\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.evaluation.values\" | \"kibana.alert.group\" | \"ecs.version\" | \"kibana.alert.risk_score\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.severity\" | \"kibana.alert.suppression.docs_count\" | \"kibana.alert.suppression.end\" | \"kibana.alert.suppression.start\" | \"kibana.alert.suppression.terms.field\" | \"kibana.alert.suppression.terms.value\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_user\" | \"event.module\" | \"kibana.alert.rule.threat.framework\" | \"kibana.alert.rule.threat.tactic.id\" | \"kibana.alert.rule.threat.tactic.name\" | \"kibana.alert.rule.threat.tactic.reference\" | \"kibana.alert.rule.threat.technique.id\" | \"kibana.alert.rule.threat.technique.name\" | \"kibana.alert.rule.threat.technique.reference\" | \"kibana.alert.rule.threat.technique.subtechnique.id\" | \"kibana.alert.rule.threat.technique.subtechnique.name\" | \"kibana.alert.rule.threat.technique.subtechnique.reference\" | \"kibana.alert.building_block_type\" | \"kibana.alert\" | \"kibana.alert.rule\" | \"kibana.alert.suppression.terms\" | \"kibana.alert.group.field\" | \"kibana.alert.group.value\" | \"kibana.alert.rule.exceptions_list\" | \"kibana.alert.rule.namespace\"" ], - "path": "packages/kbn-rule-data-utils/src/technical_field_names.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2052,7 +2052,7 @@ "signature": [ "\"@timestamp\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2067,7 +2067,7 @@ "signature": [ "\"/app/management/insightsAndAlerting/triggersActions\"" ], - "path": "packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2082,7 +2082,7 @@ "signature": [ "\"ml\" | \"monitoring\" | \"uptime\" | \"siem\" | \"observability\" | \"stackAlerts\" | \"apm\" | \"logs\" | \"infrastructure\" | \"slo\" | \"AlertingExample\"" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2097,7 +2097,7 @@ "signature": [ "string[]" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2112,7 +2112,7 @@ "signature": [ "\"kibana.version\"" ], - "path": "packages/kbn-rule-data-utils/src/default_alerts_as_data.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false @@ -2131,7 +2131,7 @@ "signature": [ "{ readonly APM: \"apm\"; readonly LOGS: \"logs\"; readonly INFRASTRUCTURE: \"infrastructure\"; readonly OBSERVABILITY: \"observability\"; readonly SLO: \"slo\"; readonly SIEM: \"siem\"; readonly UPTIME: \"uptime\"; readonly ML: \"ml\"; readonly STACK_ALERTS: \"stackAlerts\"; readonly EXAMPLE: \"AlertingExample\"; readonly MONITORING: \"monitoring\"; }" ], - "path": "packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/api_docs/triggers_actions_ui.devdocs.json b/api_docs/triggers_actions_ui.devdocs.json index 7521fa286a980..0c428ecf12a9b 100644 --- a/api_docs/triggers_actions_ui.devdocs.json +++ b/api_docs/triggers_actions_ui.devdocs.json @@ -6501,7 +6501,7 @@ "signature": [ "\"observability\" | \"stackAlerts\" | \"alerts\" | \"logs\" | \"infrastructure\"" ], - "path": "packages/kbn-rule-data-utils/src/rule_types/index.ts", + "path": "src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/index.ts", "deprecated": false, "trackAdoption": false, "initialIsOpen": false diff --git a/package.json b/package.json index eb82728877813..740fc9b4ace7e 100644 --- a/package.json +++ b/package.json @@ -768,7 +768,7 @@ "@kbn/router-utils": "link:packages/kbn-router-utils", "@kbn/routing-example-plugin": "link:examples/routing_example", "@kbn/rrule": "link:packages/kbn-rrule", - "@kbn/rule-data-utils": "link:packages/kbn-rule-data-utils", + "@kbn/rule-data-utils": "link:src/platform/packages/shared/kbn-rule-data-utils", "@kbn/rule-registry-plugin": "link:x-pack/plugins/rule_registry", "@kbn/runtime-fields-plugin": "link:x-pack/plugins/runtime_fields", "@kbn/safer-lodash-set": "link:packages/kbn-safer-lodash-set", diff --git a/packages/kbn-rule-data-utils/index.ts b/src/platform/packages/shared/kbn-rule-data-utils/index.ts similarity index 100% rename from packages/kbn-rule-data-utils/index.ts rename to src/platform/packages/shared/kbn-rule-data-utils/index.ts diff --git a/packages/kbn-rule-data-utils/jest.config.js b/src/platform/packages/shared/kbn-rule-data-utils/jest.config.js similarity index 83% rename from packages/kbn-rule-data-utils/jest.config.js rename to src/platform/packages/shared/kbn-rule-data-utils/jest.config.js index fd0feabd9f0ad..c8cb6a4bbec63 100644 --- a/packages/kbn-rule-data-utils/jest.config.js +++ b/src/platform/packages/shared/kbn-rule-data-utils/jest.config.js @@ -9,6 +9,6 @@ module.exports = { preset: '@kbn/test', - rootDir: '../..', - roots: ['/packages/kbn-rule-data-utils'], + rootDir: '../../../../..', + roots: ['/src/platform/packages/shared/kbn-rule-data-utils'], }; diff --git a/packages/kbn-rule-data-utils/kibana.jsonc b/src/platform/packages/shared/kbn-rule-data-utils/kibana.jsonc similarity index 100% rename from packages/kbn-rule-data-utils/kibana.jsonc rename to src/platform/packages/shared/kbn-rule-data-utils/kibana.jsonc diff --git a/packages/kbn-rule-data-utils/package.json b/src/platform/packages/shared/kbn-rule-data-utils/package.json similarity index 100% rename from packages/kbn-rule-data-utils/package.json rename to src/platform/packages/shared/kbn-rule-data-utils/package.json diff --git a/packages/kbn-rule-data-utils/src/alerts_as_data_cases.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_cases.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/alerts_as_data_cases.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_cases.ts diff --git a/packages/kbn-rule-data-utils/src/alerts_as_data_rbac.test.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.test.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/alerts_as_data_rbac.test.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.test.ts diff --git a/packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/alerts_as_data_rbac.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_rbac.ts diff --git a/packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_severity.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/alerts_as_data_severity.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_severity.ts diff --git a/packages/kbn-rule-data-utils/src/alerts_as_data_status.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_status.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/alerts_as_data_status.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/alerts_as_data_status.ts diff --git a/packages/kbn-rule-data-utils/src/default_alerts_as_data.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/default_alerts_as_data.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/default_alerts_as_data.ts diff --git a/packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/legacy_alerts_as_data.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/legacy_alerts_as_data.ts diff --git a/packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/routes/stack_rule_paths.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/routes/stack_rule_paths.ts diff --git a/packages/kbn-rule-data-utils/src/rule_types/index.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/index.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/rule_types/index.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/index.ts diff --git a/packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/rule_types/o11y_rules.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/o11y_rules.ts diff --git a/packages/kbn-rule-data-utils/src/rule_types/stack_rules.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/stack_rules.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/rule_types/stack_rules.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/rule_types/stack_rules.ts diff --git a/packages/kbn-rule-data-utils/src/technical_field_names.ts b/src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts similarity index 100% rename from packages/kbn-rule-data-utils/src/technical_field_names.ts rename to src/platform/packages/shared/kbn-rule-data-utils/src/technical_field_names.ts diff --git a/packages/kbn-rule-data-utils/tsconfig.json b/src/platform/packages/shared/kbn-rule-data-utils/tsconfig.json similarity index 82% rename from packages/kbn-rule-data-utils/tsconfig.json rename to src/platform/packages/shared/kbn-rule-data-utils/tsconfig.json index 77352c4f44209..536c1110ab3e3 100644 --- a/packages/kbn-rule-data-utils/tsconfig.json +++ b/src/platform/packages/shared/kbn-rule-data-utils/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": "../../tsconfig.base.json", + "extends": "../../../../../tsconfig.base.json", "compilerOptions": { "outDir": "target/types", "types": [ diff --git a/tsconfig.base.json b/tsconfig.base.json index c690ecf1a7f93..849b982cb0f37 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -1500,8 +1500,8 @@ "@kbn/routing-example-plugin/*": ["examples/routing_example/*"], "@kbn/rrule": ["packages/kbn-rrule"], "@kbn/rrule/*": ["packages/kbn-rrule/*"], - "@kbn/rule-data-utils": ["packages/kbn-rule-data-utils"], - "@kbn/rule-data-utils/*": ["packages/kbn-rule-data-utils/*"], + "@kbn/rule-data-utils": ["src/platform/packages/shared/kbn-rule-data-utils"], + "@kbn/rule-data-utils/*": ["src/platform/packages/shared/kbn-rule-data-utils/*"], "@kbn/rule-registry-plugin": ["x-pack/plugins/rule_registry"], "@kbn/rule-registry-plugin/*": ["x-pack/plugins/rule_registry/*"], "@kbn/runtime-fields-plugin": ["x-pack/plugins/runtime_fields"], diff --git a/yarn.lock b/yarn.lock index 70875c1d31374..a70c2d37f24a9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6808,7 +6808,7 @@ version "0.0.0" uid "" -"@kbn/rule-data-utils@link:packages/kbn-rule-data-utils": +"@kbn/rule-data-utils@link:src/platform/packages/shared/kbn-rule-data-utils": version "0.0.0" uid ""