From 77d00ea8e208424aaad8a84f95efedf1eaec1544 Mon Sep 17 00:00:00 2001 From: Ignacio Rivas Date: Mon, 19 Jul 2021 09:12:28 +0300 Subject: [PATCH] CR changes --- .../processors/community_id.tsx | 31 ++++++++++++------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/community_id.tsx b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/community_id.tsx index 9274b8df422d88..cd6f97d0a299e4 100644 --- a/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/community_id.tsx +++ b/x-pack/plugins/ingest_pipelines/public/application/components/pipeline_editor/components/processor_form/processors/community_id.tsx @@ -56,7 +56,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'source.ip'} }} /> ), }, @@ -69,7 +70,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'source.port'} }} /> ), }, @@ -82,7 +84,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'destination.ip'} }} /> ), }, @@ -95,7 +98,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'destination.port'} }} /> ), }, @@ -108,7 +112,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'icmp.type'} }} /> ), }, @@ -121,7 +126,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'icmp.code'} }} /> ), }, @@ -134,9 +140,10 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'transport'}, + field: {'Transport'}, + defaultValue: {'network.iana_number'}, }} /> ), @@ -150,9 +157,10 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'iana_number'}, + field: {'IANA number'}, + defaultValue: {'network.transport'}, }} /> ), @@ -167,7 +175,8 @@ const fieldsConfig: FieldsConfig = { helpText: ( {'0'} }} /> ), validations: [