Checks/Aws/Test-AthenaWorkgroupEnforceConfiguration.ps1
|
function Test-AthenaWorkgroupEnforceConfiguration { <# .SYNOPSIS Athena workgroup enforces workgroup configuration and cannot be overridden by client-side settings .DESCRIPTION **Athena workgroups** that set `enforce_workgroup_configuration=true` apply the **workgroup's settings** to every query, overriding client-side options for results location, expected bucket owner, encryption, and control of objects written to the results bucket. .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: athena_workgroup_enforce_configuration [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check athena_workgroup_enforce_configuration for reference.', 'N/A', 'athena Resources') } |