Checks/Aws/Test-BackupPlansExist.ps1
|
function Test-BackupPlansExist { <# .SYNOPSIS At least one AWS Backup plan exists .DESCRIPTION **AWS Backup** is assessed for the existence of at least one **backup plan** that schedules and retains recovery points for selected resources. The evaluation determines whether any plan is configured; when none is found-even if backup vaults exist-the absence of a plan is noted. .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: backup_plans_exist [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check backup_plans_exist for reference.', 'N/A', 'backup Resources') } |