Skip to content

Commit 8b4324b

Browse files
authored
add wiz and aws security hub new full posture data streams to kibana_system role permissions (elastic#124074) (elastic#124095)
1 parent 168ca7b commit 8b4324b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

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
@@ -465,8 +465,10 @@ static RoleDescriptor kibanaSystem(String name) {
465465
.indices(
466466
"logs-wiz.vulnerability-*",
467467
"logs-wiz.cloud_configuration_finding-*",
468+
"logs-wiz.cloud_configuration_finding_full_posture-*",
468469
"logs-google_scc.finding-*",
469470
"logs-aws.securityhub_findings-*",
471+
"logs-aws.securityhub_findings_full_posture-*",
470472
"logs-aws.inspector-*",
471473
"logs-amazon_security_lake.findings-*",
472474
"logs-qualys_vmdr.asset_host_detection-*",

x-pack/plugin/core/src/test/java/org/elasticsearch/xpack/core/security/authz/store/ReservedRolesStoreTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1639,8 +1639,10 @@ public void testKibanaSystemRole() {
16391639
Arrays.asList(
16401640
"logs-wiz.vulnerability-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16411641
"logs-wiz.cloud_configuration_finding-" + randomAlphaOfLength(randomIntBetween(0, 13)),
1642+
"logs-wiz.cloud_configuration_finding_full_posture-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16421643
"logs-google_scc.finding-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16431644
"logs-aws.securityhub_findings-" + randomAlphaOfLength(randomIntBetween(0, 13)),
1645+
"logs-aws.securityhub_findings_full_posture-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16441646
"logs-aws.inspector-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16451647
"logs-amazon_security_lake.findings-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16461648
"logs-qualys_vmdr.asset_host_detection-" + randomAlphaOfLength(randomIntBetween(0, 13)),

0 commit comments

Comments
 (0)