From 2ca888ce8fb0075805ba67fa33b104ec01333251 Mon Sep 17 00:00:00 2001 From: Ying Date: Tue, 7 Feb 2023 17:04:30 -0500 Subject: [PATCH] unbelievable --- packages/kbn-rule-data-utils/src/technical_field_names.ts | 1 + x-pack/plugins/apm/kibana.json | 1 - .../common/assets/field_maps/technical_rule_field_map.ts | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/kbn-rule-data-utils/src/technical_field_names.ts b/packages/kbn-rule-data-utils/src/technical_field_names.ts index d786120f0d5b1..cf45162b20853 100644 --- a/packages/kbn-rule-data-utils/src/technical_field_names.ts +++ b/packages/kbn-rule-data-utils/src/technical_field_names.ts @@ -202,6 +202,7 @@ export { ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_ID, ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_NAME, ALERT_THREAT_TECHNIQUE_SUBTECHNIQUE_REFERENCE, + EVENT_MODULE, }; export type TechnicalRuleDataFieldName = ValuesType; diff --git a/x-pack/plugins/apm/kibana.json b/x-pack/plugins/apm/kibana.json index ee8deff66d870..3df051925ab61 100644 --- a/x-pack/plugins/apm/kibana.json +++ b/x-pack/plugins/apm/kibana.json @@ -47,7 +47,6 @@ "apm" ], "requiredBundles": [ - "alerting", "fleet", "kibanaReact", "kibanaUtils", diff --git a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts b/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts index 59bad29950d42..1a6fc174556be 100644 --- a/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts +++ b/x-pack/plugins/rule_registry/common/assets/field_maps/technical_rule_field_map.ts @@ -24,7 +24,7 @@ export const technicalRuleFieldMap = { [Fields.SPACE_IDS]: { type: 'keyword', array: true, required: true }, [Fields.ALERT_UUID]: { type: 'keyword', required: true }, [Fields.ALERT_INSTANCE_ID]: { type: 'keyword', required: true }, - [Fields.ALERT_START]: { type: 'date' }, + [Fields.ALERT_START]: { type: 'date', required: false }, [Fields.ALERT_TIME_RANGE]: { required: false, type: 'date_range',