Skip to content

Commit 12b0924

Browse files
committed
fix tests
1 parent 2033b17 commit 12b0924

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,10 @@ public void testKibanaSystemRole() {
13971397
|| indexName.startsWith(".logs-endpoint.actions-")
13981398
|| indexName.startsWith(".logs-endpoint.action.responses-")
13991399
|| indexName.startsWith(".logs-endpoint.heartbeat-")
1400-
|| indexName.startsWith(".logs-osquery_manager.actions-");
1400+
|| indexName.startsWith(".logs-osquery_manager.actions-")
1401+
|| indexName.startsWith("logs-")
1402+
|| indexName.startsWith("metrics-")
1403+
|| indexName.startsWith("traces-");
14011404
assertThat(
14021405
kibanaRole.indices().allowedIndicesMatcher(TransportGetAction.TYPE.name()).test(indexAbstraction),
14031406
is(isAlsoReadIndex)

0 commit comments

Comments
 (0)