Checks/Azure/Test-AksClusterRbacEnabled.ps1
|
function Test-AksClusterRbacEnabled { <# .SYNOPSIS AKS cluster has RBAC enabled .DESCRIPTION **AKS clusters** with **Kubernetes RBAC** enforce authorization through roles and bindings mapped to identities and groups. This evaluates whether the cluster has RBAC enabled to control access to namespaces and cluster-wide resources. .PARAMETER Check CIEMCheck object containing check metadata. #> [CmdletBinding()] [OutputType([PSCustomObject[]])] param( [Parameter(Mandatory)] [CIEMCheck]$Check ) $ErrorActionPreference = 'Stop' # TODO: Implement check logic based on Prowler check: aks_cluster_rbac_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check aks_cluster_rbac_enabled for reference.', 'N/A', 'aks Resources') } |