diff --git a/docs/changelog/137222.yaml b/docs/changelog/137222.yaml new file mode 100644 index 0000000000000..15b649bb5cea6 --- /dev/null +++ b/docs/changelog/137222.yaml @@ -0,0 +1,6 @@ +pr: 137222 +summary: "[Sentinel One] Add `manage`, `create_index`, `read`, `index`, `write`, `delete`, permission for third-party agent indices in the `Kibana system` to support the threat event data stream." +area: Authorization +type: enhancement +issues: + - 240901 diff --git a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java index d8740c8aab234..5a05d37465bba 100644 --- a/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java +++ b/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/security/authz/store/KibanaOwnedReservedRoleDescriptors.java @@ -500,7 +500,7 @@ static RoleDescriptor kibanaSystem(String name) { TransportDeleteIndexAction.TYPE.name() ) .build(), - // For ExtraHop, QualysGAV, SentinelOne Application Dataset and Island Browser specific actions. + // For ExtraHop, QualysGAV, SentinelOne and Island Browser specific actions. // Kibana reads, writes and manages this index // for configured ILM policies. RoleDescriptor.IndicesPrivileges.builder() @@ -508,6 +508,7 @@ static RoleDescriptor kibanaSystem(String name) { "logs-extrahop.investigation-*", "logs-qualys_gav.asset-*", "logs-sentinel_one.application-*", + "logs-sentinel_one.threat_event-*", "logs-island_browser.user-*", "logs-island_browser.device-*" ) diff --git a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java index 788c85169bfe9..1e8e592b00436 100644 --- a/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java +++ b/x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java @@ -1901,6 +1901,7 @@ public void testKibanaSystemRole() { "logs-extrahop.investigation-" + randomAlphaOfLength(randomIntBetween(1, 10)), "logs-qualys_gav.asset-" + randomAlphaOfLength(randomIntBetween(1, 10)), "logs-sentinel_one.application-" + randomAlphaOfLength(randomIntBetween(1, 10)), + "logs-sentinel_one.threat_event-" + randomAlphaOfLength(randomIntBetween(1, 10)), "logs-island_browser.user-" + randomAlphaOfLength(randomIntBetween(1, 10)), "logs-island_browser.device-" + randomAlphaOfLength(randomIntBetween(1, 10)) ).forEach((index_qualys_extra_hop) -> {