Checks/Aws/Test-DynamodbTableCrossAccountAccess.ps1
|
function Test-DynamodbTableCrossAccountAccess { <# .SYNOPSIS DynamoDB table resource-based policy does not allow cross-account access .DESCRIPTION **DynamoDB tables** are evaluated for **resource-based policies** that permit cross-account or public principals. Tables without a resource policy, or with policies restricted to the same account, are identified as isolated configurations. .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: dynamodb_table_cross_account_access [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check dynamodb_table_cross_account_access for reference.', 'N/A', 'dynamodb Resources') } |