From 3557dd351f7bca51b32e6a7e2ef23e7a94dc6228 Mon Sep 17 00:00:00 2001 From: Ryland Herrick Date: Mon, 27 Apr 2020 14:14:24 -0500 Subject: [PATCH] Disable mappings for rule_actions params (#64350) These are most analagous to alerting params, which use the same terminal mapping. Co-authored-by: Elastic Machine --- .../detection_engine/rule_actions/saved_object_mappings.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/siem/server/lib/detection_engine/rule_actions/saved_object_mappings.ts b/x-pack/plugins/siem/server/lib/detection_engine/rule_actions/saved_object_mappings.ts index d50c339c95266..e50f82bb482a7 100644 --- a/x-pack/plugins/siem/server/lib/detection_engine/rule_actions/saved_object_mappings.ts +++ b/x-pack/plugins/siem/server/lib/detection_engine/rule_actions/saved_object_mappings.ts @@ -31,9 +31,8 @@ export const ruleActionsSavedObjectMappings = { type: 'keyword', }, params: { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - dynamic: true as any, - properties: {}, + type: 'object', + enabled: false, }, }, },