Checks/Aws/Test-CodebuildProjectUserControlledBuildspec.ps1
|
function Test-CodebuildProjectUserControlledBuildspec { <# .SYNOPSIS CodeBuild project does not use a user-controlled buildspec file .DESCRIPTION AWS CodeBuild projects are evaluated for use of a **user-controlled buildspec**, identified when the project references a repository file like `*.yml` or `*.yaml`. Projects using non file-based build instructions are treated as centrally managed. .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: codebuild_project_user_controlled_buildspec [CIEMScanResult]::Create($Check, 'MANUAL', 'This check requires manual implementation. See Prowler check codebuild_project_user_controlled_buildspec for reference.', 'N/A', 'codebuild Resources') } |