Skip to content

Commit ef44e23

Browse files
authored
add wiz and aws security hub new full posture data streams to kibana_system role permissions (#124074) (#124097)
1 parent 99fedfd commit ef44e23

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
@@ -425,8 +425,10 @@ static RoleDescriptor kibanaSystem(String name) {
425425
.indices(
426426
"logs-wiz.vulnerability-*",
427427
"logs-wiz.cloud_configuration_finding-*",
428+
"logs-wiz.cloud_configuration_finding_full_posture-*",
428429
"logs-google_scc.finding-*",
429430
"logs-aws.securityhub_findings-*",
431+
"logs-aws.securityhub_findings_full_posture-*",
430432
"logs-aws.inspector-*",
431433
"logs-amazon_security_lake.findings-*",
432434
"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
@@ -1617,8 +1617,10 @@ public void testKibanaSystemRole() {
16171617
Arrays.asList(
16181618
"logs-wiz.vulnerability-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16191619
"logs-wiz.cloud_configuration_finding-" + randomAlphaOfLength(randomIntBetween(0, 13)),
1620+
"logs-wiz.cloud_configuration_finding_full_posture-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16201621
"logs-google_scc.finding-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16211622
"logs-aws.securityhub_findings-" + randomAlphaOfLength(randomIntBetween(0, 13)),
1623+
"logs-aws.securityhub_findings_full_posture-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16221624
"logs-aws.inspector-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16231625
"logs-amazon_security_lake.findings-" + randomAlphaOfLength(randomIntBetween(0, 13)),
16241626
"logs-qualys_vmdr.asset_host_detection-" + randomAlphaOfLength(randomIntBetween(0, 13)),

0 commit comments

Comments
 (0)