Checks/Aws/Test-VpcEndpointServicesAllowedPrincipalsTrustBoundaries.ps1
|
function Test-VpcEndpointServicesAllowedPrincipalsTrustBoundaries { <# .SYNOPSIS VPC endpoint service allows only trusted principals or none .DESCRIPTION **VPC endpoint services** are assessed for their **allowed principals**, comparing each to a configured set of trusted accounts and identifying any **untrusted principals** or a wildcard `*` present in the allowlist. .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: vpc_endpoint_services_allowed_principals_trust_boundaries [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check vpc_endpoint_services_allowed_principals_trust_boundaries for reference.', 'N/A', 'vpc Resources') } |