From 23e989e9f104bb78f72c0a48bb1175d0e719feea Mon Sep 17 00:00:00 2001 From: Riya Saxena Date: Mon, 18 Mar 2024 15:36:07 -0700 Subject: [PATCH] removing threatIntel related code Signed-off-by: Riya Saxena --- .../opensearch/securityanalytics/mapper/MapperService.java | 2 +- .../java/org/opensearch/securityanalytics/model/Detector.java | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/opensearch/securityanalytics/mapper/MapperService.java b/src/main/java/org/opensearch/securityanalytics/mapper/MapperService.java index d21ce7649..77b5dca80 100644 --- a/src/main/java/org/opensearch/securityanalytics/mapper/MapperService.java +++ b/src/main/java/org/opensearch/securityanalytics/mapper/MapperService.java @@ -535,7 +535,7 @@ public void onResponse(GetMappingsResponse getMappingsResponse) { .collect(Collectors.toList()); actionListener.onResponse( - new GetMappingsViewResponse(aliasMappings, unmappedIndexFields, filteredUnmappedFieldAliases, logTypeService.getIocFieldsList(logType)) + new GetMappingsViewResponse(aliasMappings, unmappedIndexFields, filteredUnmappedFieldAliases) ); } catch (Exception e) { actionListener.onFailure(e); diff --git a/src/main/java/org/opensearch/securityanalytics/model/Detector.java b/src/main/java/org/opensearch/securityanalytics/model/Detector.java index 8e9f2a7a7..14200f1cf 100644 --- a/src/main/java/org/opensearch/securityanalytics/model/Detector.java +++ b/src/main/java/org/opensearch/securityanalytics/model/Detector.java @@ -165,9 +165,7 @@ public Detector(StreamInput sin) throws IOException { sin.readOptionalString(), sin.readOptionalString(), sin.readOptionalString(), - sin.readMap(StreamInput::readString, StreamInput::readString), - sin.readStringList(), - sin.readBoolean() + sin.readMap(StreamInput::readString, StreamInput::readString) ); }