File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
x-pack/plugin/core/src/test/java/org/elasticsearch/test Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ public final class SecuritySettingsSourceField {
2323 indices:
2424 - names: [ "*" ]
2525 allow_restricted_indices: true
26- privileges: [ "ALL" ]
26+ privileges: [ "ALL", "read_failures" ]
2727 run_as: [ "*" ]
2828 applications:
2929 - application: "*"
@@ -35,7 +35,11 @@ public final class SecuritySettingsSourceField {
3535 "_es_test_root" ,
3636 new String [] { "ALL" },
3737 new RoleDescriptor .IndicesPrivileges [] {
38- RoleDescriptor .IndicesPrivileges .builder ().indices ("*" ).privileges ("ALL" ).allowRestrictedIndices (true ).build () },
38+ RoleDescriptor .IndicesPrivileges .builder ()
39+ .indices ("*" )
40+ .privileges ("ALL" , "read_failures" )
41+ .allowRestrictedIndices (true )
42+ .build () },
3943 new RoleDescriptor .ApplicationResourcePrivileges [] {
4044 RoleDescriptor .ApplicationResourcePrivileges .builder ().application ("*" ).privileges ("*" ).resources ("*" ).build () },
4145 null ,
You can’t perform that action at this time.
0 commit comments