Skip to content

Commit

Permalink
lowercase threatintel for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Joanne Wang <[email protected]>
  • Loading branch information
jowg-amazon committed Jun 27, 2024
1 parent adc305b commit 92a36d0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

public class ListIOCsAction extends ActionType<ListIOCsActionResponse> {
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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
public class GetIocFindingsAction extends ActionType<GetIocFindingsResponse> {

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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Original file line number Diff line number Diff line change
@@ -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";
}

0 comments on commit 92a36d0

Please sign in to comment.