Checks/Aws/Test-SecurityhubEnabled.ps1
|
function Test-SecurityhubEnabled { <# .SYNOPSIS Security Hub is enabled with standards or integrations configured .DESCRIPTION **AWS Security Hub** is `ACTIVE` in the Region and has at least one enabled **security standard** or connected **integration**. Otherwise, it is either not enabled or enabled without standards/integrations. .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: securityhub_enabled [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check securityhub_enabled for reference.', 'N/A', 'securityhub Resources') } |