@@ -13,17 +13,35 @@ import org.opensearch.indexmanagement.indexstatemanagement.transport.action.mana
1313import org.opensearch.indexmanagement.rollup.action.explain.ExplainRollupAction
1414import org.opensearch.indexmanagement.rollup.action.get.GetRollupAction
1515import org.opensearch.indexmanagement.rollup.action.index.IndexRollupAction
16+ import org.opensearch.indexmanagement.rollup.action.mapping.UpdateRollupMappingAction
17+ import org.opensearch.indexmanagement.transform.action.explain.ExplainTransformAction
18+ import org.opensearch.indexmanagement.transform.action.get.GetTransformAction
19+ import org.opensearch.indexmanagement.transform.action.index.IndexTransformAction
20+ import org.opensearch.indexmanagement.transform.action.start.StartTransformAction
1621
22+ // ISM
1723const val WRITE_POLICY = IndexPolicyAction .NAME
1824const val GET_POLICIES = GetPoliciesAction .NAME
1925const val GET_POLICY = GetPolicyAction .NAME
2026const val EXPLAIN_INDEX = ExplainAction .NAME
2127const val MANAGED_INDEX = ManagedIndexAction .NAME
28+ // Rollup
2229const val ROLLUP_ALL = " cluster:admin/opendistro/rollup/*"
2330const val INDEX_ROLLUP = IndexRollupAction .NAME
2431const val GET_ROLLUP = GetRollupAction .NAME
2532const val EXPLAIN_ROLLUP = ExplainRollupAction .NAME
26-
27- // Index related
28- const val GET_INDEX = " indices:admin/mappings/get"
33+ const val UPDATE_ROLLUP = UpdateRollupMappingAction .NAME
34+ // Transform
35+ const val TRANSFORM_ACTION = IndexTransformAction .NAME
36+ const val GET_TRANSFORM = GetTransformAction .NAME
37+ const val EXPLAIN_TRANSFORM = ExplainTransformAction .NAME
38+ const val START_TRANSFORM = StartTransformAction .NAME
39+ // In order to execute transform, user need to have health privilege
40+ const val HEALTH = " cluster:monitor/health"
41+ // Index
42+ const val GET_INDEX_MAPPING = " indices:admin/mappings/get"
43+ const val PUT_INDEX_MAPPING = " indices:admin/mapping/put"
2944const val SEARCH_INDEX = " indices:data/read/search"
45+ const val CREATE_INDEX = " indices:admin/create"
46+ const val WRITE_INDEX = " indices:data/write/index"
47+ const val BULK_WRITE_INDEX = " indices:data/write/bulk*"
0 commit comments