We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8df2ac commit f6fc1c9Copy full SHA for f6fc1c9
detection_rules/index_mappings.py
@@ -285,6 +285,8 @@ def get_filtered_index_schema(
285
filtered_index_lookup = {
286
key.replace("logs-endpoint.", "logs-endpoint.events."): value for key, value in filtered_index_lookup.items()
287
}
288
+ # This overwrites any conflicts with non-ecs preferring what is defined in custom mappings
289
+ # This can be done safely as we have a specific non-ecs-index that will also be included with only non-ecs mappings
290
filtered_index_lookup.update(non_ecs_mapping)
291
filtered_index_lookup.update(custom_mapping)
292
0 commit comments