Skip to content

Commit b369b50

Browse files
authored
add wiz and aws security hub new full posture data streams to kibana_system role permissions (#124074) (#124105)
(cherry picked from commit 025acaa)
1 parent 3997642 commit b369b50

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
@@ -444,8 +444,10 @@ static RoleDescriptor kibanaSystem(String name) {
444444
.indices(
445445
"logs-wiz.vulnerability-*",
446446
"logs-wiz.cloud_configuration_finding-*",
447+
"logs-wiz.cloud_configuration_finding_full_posture-*",
447448
"logs-google_scc.finding-*",
448449
"logs-aws.securityhub_findings-*",
450+
"logs-aws.securityhub_findings_full_posture-*",
449451
"logs-aws.inspector-*",
450452
"logs-amazon_security_lake.findings-*",
451453
"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
@@ -1622,8 +1622,10 @@ public void testKibanaSystemRole() {
16221622
Arrays.asList(
16231623
"logs-wiz.vulnerability-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16241624
"logs-wiz.cloud_configuration_finding-" + randomAlphaOfLength(randomIntBetween(0, 13)),
1625+
"logs-wiz.cloud_configuration_finding_full_posture-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16251626
"logs-google_scc.finding-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16261627
"logs-aws.securityhub_findings-" + randomAlphaOfLength(randomIntBetween(0, 13)),
1628+
"logs-aws.securityhub_findings_full_posture-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16271629
"logs-aws.inspector-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16281630
"logs-amazon_security_lake.findings-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16291631
"logs-qualys_vmdr.asset_host_detection-" + randomAlphaOfLength(randomIntBetween(0, 13)),

0 commit comments

Comments
 (0)