Checks/Aws/Test-StoragegatewayFileshareEncryptionEnabled.ps1
|
function Test-StoragegatewayFileshareEncryptionEnabled { <# .SYNOPSIS Storage Gateway file share is encrypted with KMS CMK .DESCRIPTION Storage Gateway file shares configured with **customer-managed KMS keys (CMKs)** for server-side encryption of objects written to S3. File shares without an explicit KMS key (e.g., `SSE-KMS` or `DSSE-KMS`) are identified. .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: storagegateway_fileshare_encryption_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check storagegateway_fileshare_encryption_enabled for reference.', 'N/A', 'storagegateway Resources') } |