Skip to content

Commit 627ec9a

Browse files
Give the kibana system user permission to read security entities (#114363) (#114520)
* Give the kibana system user .entities read permissions * Update docs/changelog/114363.yaml --------- Co-authored-by: Elastic Machine <[email protected]> (cherry picked from commit cbd3613) # Conflicts: # x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java Co-authored-by: Elastic Machine <[email protected]>
1 parent 7261c29 commit 627ec9a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/changelog/114363.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pr: 114363
2+
summary: Give the kibana system user permission to read security entities
3+
area: Infra/Core
4+
type: enhancement
5+
issues: []

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,13 @@ static RoleDescriptor kibanaSystem(String name) {
458458
TransportUpdateSettingsAction.TYPE.name()
459459
)
460460
.build(),
461+
// security entity analytics indices
461462
RoleDescriptor.IndicesPrivileges.builder().indices("risk-score.risk-*").privileges("all").build(),
462463
RoleDescriptor.IndicesPrivileges.builder()
463464
.indices(".asset-criticality.asset-criticality-*")
464465
.privileges("create_index", "manage", "read")
465466
.build(),
467+
RoleDescriptor.IndicesPrivileges.builder().indices(".entities.v1.latest.security*").privileges("read").build(),
466468
// For cloud_defend usageCollection
467469
RoleDescriptor.IndicesPrivileges.builder()
468470
.indices("logs-cloud_defend.*", "metrics-cloud_defend.*")

0 commit comments

Comments
 (0)