Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
hop-dev committed Apr 27, 2023
1 parent 5843f15 commit 7f9e1f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,7 @@ public static RoleDescriptor kibanaSystemRoleDescriptor(String name) {
.build(),
RoleDescriptor.IndicesPrivileges.builder()
.indices(".secrets*")
.privileges("write","create_index")
.privileges("write", "create_index")
.allowRestrictedIndices(true)
.build(),
RoleDescriptor.IndicesPrivileges.builder()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,7 @@ final class ElasticServiceAccounts {
.privileges("read", "write", "monitor", "create_index", "auto_configure", "maintenance")
.allowRestrictedIndices(true)
.build(),
RoleDescriptor.IndicesPrivileges.builder()
.indices(".secrets*")
.privileges("read")
.allowRestrictedIndices(true)
.build(),
RoleDescriptor.IndicesPrivileges.builder().indices(".secrets*").privileges("read").allowRestrictedIndices(true).build(),
RoleDescriptor.IndicesPrivileges.builder()
.indices("synthetics-*")
// Fleet Server needs "read" privilege to be able to retrieve multi-agent docs
Expand Down

0 comments on commit 7f9e1f8

Please sign in to comment.