|
7 | 7 |
|
8 | 8 | package org.elasticsearch.xpack.security.operator; |
9 | 9 |
|
| 10 | +import org.elasticsearch.cluster.metadata.DataStream; |
| 11 | + |
10 | 12 | import java.util.Objects; |
11 | 13 | import java.util.Set; |
12 | 14 | import java.util.stream.Collectors; |
@@ -358,6 +360,7 @@ public class Constants { |
358 | 360 | "cluster:monitor/nodes/data_tier_usage", |
359 | 361 | "cluster:monitor/nodes/features", |
360 | 362 | "cluster:monitor/nodes/hot_threads", |
| 363 | + "cluster:monitor/nodes/index_mode_stats", |
361 | 364 | "cluster:monitor/nodes/info", |
362 | 365 | "cluster:monitor/nodes/stats", |
363 | 366 | "cluster:monitor/nodes/usage", |
@@ -399,6 +402,7 @@ public class Constants { |
399 | 402 | "cluster:monitor/xpack/info/frozen_indices", |
400 | 403 | "cluster:monitor/xpack/info/graph", |
401 | 404 | "cluster:monitor/xpack/info/ilm", |
| 405 | + "cluster:monitor/xpack/info/logsdb", |
402 | 406 | "cluster:monitor/xpack/info/logstash", |
403 | 407 | "cluster:monitor/xpack/info/ml", |
404 | 408 | "cluster:monitor/xpack/info/monitoring", |
@@ -463,6 +467,7 @@ public class Constants { |
463 | 467 | "cluster:monitor/xpack/usage/health_api", |
464 | 468 | "cluster:monitor/xpack/usage/ilm", |
465 | 469 | "cluster:monitor/xpack/usage/inference", |
| 470 | + "cluster:monitor/xpack/usage/logsdb", |
466 | 471 | "cluster:monitor/xpack/usage/logstash", |
467 | 472 | "cluster:monitor/xpack/usage/ml", |
468 | 473 | "cluster:monitor/xpack/usage/monitoring", |
@@ -504,9 +509,9 @@ public class Constants { |
504 | 509 | "indices:admin/data_stream/lifecycle/get", |
505 | 510 | "indices:admin/data_stream/lifecycle/put", |
506 | 511 | "indices:admin/data_stream/lifecycle/explain", |
507 | | - "indices:admin/data_stream/options/delete", |
508 | | - "indices:admin/data_stream/options/get", |
509 | | - "indices:admin/data_stream/options/put", |
| 512 | + DataStream.isFailureStoreFeatureFlagEnabled() ? "indices:admin/data_stream/options/delete" : null, |
| 513 | + DataStream.isFailureStoreFeatureFlagEnabled() ? "indices:admin/data_stream/options/get" : null, |
| 514 | + DataStream.isFailureStoreFeatureFlagEnabled() ? "indices:admin/data_stream/options/put" : null, |
510 | 515 | "indices:admin/delete", |
511 | 516 | "indices:admin/flush", |
512 | 517 | "indices:admin/flush[s]", |
|
0 commit comments