From 92a36d0e344c2172f9bfa3d21f3d49f5fdd69782 Mon Sep 17 00:00:00 2001 From: Joanne Wang Date: Thu, 27 Jun 2024 16:28:01 -0700 Subject: [PATCH] lowercase threatintel for consistency Signed-off-by: Joanne Wang --- .../securityanalytics/action/ListIOCsAction.java | 2 +- .../threatIntel/action/GetIocFindingsAction.java | 2 +- .../iocscan/service/ThreatIntelMonitorRunner.java | 2 +- .../sacommons/IndexTIFSourceConfigAction.java | 10 +++++----- .../sacommons/monitor/ThreatIntelMonitorActions.java | 10 +++++----- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/main/java/org/opensearch/securityanalytics/action/ListIOCsAction.java b/src/main/java/org/opensearch/securityanalytics/action/ListIOCsAction.java index 3bc8243d4..ae4912bbc 100644 --- a/src/main/java/org/opensearch/securityanalytics/action/ListIOCsAction.java +++ b/src/main/java/org/opensearch/securityanalytics/action/ListIOCsAction.java @@ -9,7 +9,7 @@ public class ListIOCsAction extends ActionType { public static final ListIOCsAction INSTANCE = new ListIOCsAction(); - public static final String NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/iocs/list"; + public static final String NAME = "cluster:admin/opensearch/securityanalytics/threatintel/iocs/list"; public ListIOCsAction() { super(NAME, ListIOCsActionResponse::new); diff --git a/src/main/java/org/opensearch/securityanalytics/threatIntel/action/GetIocFindingsAction.java b/src/main/java/org/opensearch/securityanalytics/threatIntel/action/GetIocFindingsAction.java index 302ed350e..77182371f 100644 --- a/src/main/java/org/opensearch/securityanalytics/threatIntel/action/GetIocFindingsAction.java +++ b/src/main/java/org/opensearch/securityanalytics/threatIntel/action/GetIocFindingsAction.java @@ -9,7 +9,7 @@ public class GetIocFindingsAction extends ActionType { public static final GetIocFindingsAction INSTANCE = new GetIocFindingsAction(); - public static final String NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/iocs/findings/get"; + public static final String NAME = "cluster:admin/opensearch/securityanalytics/threatintel/iocs/findings/get"; public GetIocFindingsAction() { super(NAME, GetIocFindingsResponse::new); diff --git a/src/main/java/org/opensearch/securityanalytics/threatIntel/iocscan/service/ThreatIntelMonitorRunner.java b/src/main/java/org/opensearch/securityanalytics/threatIntel/iocscan/service/ThreatIntelMonitorRunner.java index b17e46a45..f683a5ed9 100644 --- a/src/main/java/org/opensearch/securityanalytics/threatIntel/iocscan/service/ThreatIntelMonitorRunner.java +++ b/src/main/java/org/opensearch/securityanalytics/threatIntel/iocscan/service/ThreatIntelMonitorRunner.java @@ -7,7 +7,7 @@ public class ThreatIntelMonitorRunner extends RemoteMonitorRunner { - public static final String FAN_OUT_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/monitors/fanout"; + public static final String FAN_OUT_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/monitors/fanout"; public static final String THREAT_INTEL_MONITOR_TYPE = "ti_doc_level_monitor"; public static final String SAMPLE_REMOTE_DOC_LEVEL_MONITOR_RUNNER_INDEX = ".opensearch-alerting-sample-remote-doc-level-monitor"; diff --git a/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/IndexTIFSourceConfigAction.java b/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/IndexTIFSourceConfigAction.java index 1a37c4c76..8b279d267 100644 --- a/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/IndexTIFSourceConfigAction.java +++ b/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/IndexTIFSourceConfigAction.java @@ -6,9 +6,9 @@ package org.opensearch.securityanalytics.threatIntel.sacommons; public class IndexTIFSourceConfigAction { - public static final String INDEX_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/sources/write"; - public static final String GET_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/sources/get"; - public static final String DELETE_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/sources/delete"; - public static final String SEARCH_TIF_SOURCE_CONFIGS_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/sources/search"; - public static final String REFRESH_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/sources/refresh"; + public static final String INDEX_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/sources/write"; + public static final String GET_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/sources/get"; + public static final String DELETE_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/sources/delete"; + public static final String SEARCH_TIF_SOURCE_CONFIGS_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/sources/search"; + public static final String REFRESH_TIF_SOURCE_CONFIG_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/sources/refresh"; } diff --git a/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/monitor/ThreatIntelMonitorActions.java b/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/monitor/ThreatIntelMonitorActions.java index 09fc3ed11..09a4d5fff 100644 --- a/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/monitor/ThreatIntelMonitorActions.java +++ b/src/main/java/org/opensearch/securityanalytics/threatIntel/sacommons/monitor/ThreatIntelMonitorActions.java @@ -1,9 +1,9 @@ package org.opensearch.securityanalytics.threatIntel.sacommons.monitor; public class ThreatIntelMonitorActions { - public static final String INDEX_THREAT_INTEL_MONITOR_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/monitors/write"; - public static final String SEARCH_THREAT_INTEL_MONITOR_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/monitors/search"; - public static final String DELETE_THREAT_INTEL_MONITOR_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/monitors/delete"; - public static final String GET_THREAT_INTEL_ALERTS_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/alerts/get"; - public static final String UPDATE_THREAT_INTEL_ALERT_STATUS_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatIntel/alerts/status/update"; + public static final String INDEX_THREAT_INTEL_MONITOR_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/monitors/write"; + public static final String SEARCH_THREAT_INTEL_MONITOR_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/monitors/search"; + public static final String DELETE_THREAT_INTEL_MONITOR_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/monitors/delete"; + public static final String GET_THREAT_INTEL_ALERTS_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/alerts/get"; + public static final String UPDATE_THREAT_INTEL_ALERT_STATUS_ACTION_NAME = "cluster:admin/opensearch/securityanalytics/threatintel/alerts/status/update"; }