Checks/Aws/Test-GuarddutyCentrallyManaged.ps1
|
function Test-GuarddutyCentrallyManaged { <# .SYNOPSIS GuardDuty detector is managed by an administrator account or is the administrator with member accounts .DESCRIPTION Amazon GuardDuty detectors are under **centralized management** when linked to a delegated administrator account, or when the detector's account serves as the **administrator** with associated member accounts. .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: guardduty_centrally_managed [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check guardduty_centrally_managed for reference.', 'N/A', 'guardduty Resources') } |