Checks/Aws/Test-NeptuneClusterPublicSnapshot.ps1
|
function Test-NeptuneClusterPublicSnapshot { <# .SYNOPSIS NeptuneDB cluster snapshot is not publicly shared .DESCRIPTION Neptune DB manual cluster snapshot is evaluated to determine if its restore attributes allow access to all AWS accounts *(public)*. A failed status in the report means the snapshot is publicly shared and can be copied or restored by any AWS account; **PASS** means it is not shared publicly. .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: neptune_cluster_public_snapshot [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check neptune_cluster_public_snapshot for reference.', 'N/A', 'neptune Resources') } |