Skip to content

Commit cbd3613

Browse files
Give the kibana system user permission to read security entities (#114363)
* Give the kibana system user .entities read permissions * Update docs/changelog/114363.yaml --------- Co-authored-by: Elastic Machine <[email protected]>
1 parent 0c3e52c commit cbd3613

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,13 +458,13 @@ static RoleDescriptor kibanaSystem(String name) {
458458
TransportUpdateSettingsAction.TYPE.name()
459459
)
460460
.build(),
461-
461+
// security entity analytics indices
462462
RoleDescriptor.IndicesPrivileges.builder().indices("risk-score.risk-*").privileges("all").build(),
463463
RoleDescriptor.IndicesPrivileges.builder()
464464
.indices(".asset-criticality.asset-criticality-*")
465465
.privileges("create_index", "manage", "read", "write")
466466
.build(),
467-
467+
RoleDescriptor.IndicesPrivileges.builder().indices(".entities.v1.latest.security*").privileges("read").build(),
468468
// For cloud_defend usageCollection
469469
RoleDescriptor.IndicesPrivileges.builder()
470470
.indices("logs-cloud_defend.*", "metrics-cloud_defend.*")

0 commit comments

Comments
 (0)