Skip to content

Commit e54bc0a

Browse files
committed
remove comments
1 parent 163bd32 commit e54bc0a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,15 +1692,10 @@ public void testKibanaSystemRole() {
16921692
final IndexAbstraction indexAbstraction = mockIndexAbstraction(indexName);
16931693
assertThat(kibanaRole.indices().allowedIndicesMatcher("indices:foo").test(indexAbstraction), is(false));
16941694
assertThat(kibanaRole.indices().allowedIndicesMatcher("indices:bar").test(indexAbstraction), is(false));
1695-
// if (indexAbstraction.getName().startsWith("logs-m365_defender.vulnerability-") == false &&
1696-
// indexAbstraction.getName().startsWith("logs-microsoft_defender_endpoint.vulnerability-") == false) {
1697-
// // delete_index is granted for m365_defender.vulnerability and microsoft_defender_endpoint.vulnerability
1698-
// // because of ILM policy. So exclude both from this check.
16991695
assertThat(
17001696
kibanaRole.indices().allowedIndicesMatcher(TransportDeleteIndexAction.TYPE.name()).test(indexAbstraction),
17011697
is(false)
17021698
);
1703-
// }
17041699
assertThat(kibanaRole.indices().allowedIndicesMatcher(GetIndexAction.NAME).test(indexAbstraction), is(true));
17051700
assertThat(
17061701
kibanaRole.indices().allowedIndicesMatcher(TransportCreateIndexAction.TYPE.name()).test(indexAbstraction),

0 commit comments

Comments
 (0)