Checks/Aws/Test-CodepipelineProjectRepoPrivate.ps1
|
function Test-CodepipelineProjectRepoPrivate { <# .SYNOPSIS Ensure that CodePipeline projects do not use public GitHub or GitLab repositories as source. .DESCRIPTION Ensure that CodePipeline projects do not use public GitHub or GitLab repositories as source. .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: codepipeline_project_repo_private [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check codepipeline_project_repo_private for reference.', 'N/A', 'codepipeline Resources') } |