File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
terraform/pipelines/modules/codepipeline Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ phases:
1515 build :
1616 commands :
1717 - echo "Scanning dependencies for vulnerabilities with Trivy..."
18- - trivy fs --scanners vuln --severity HIGH,CRITICAL .
18+ - ./bin/ trivy fs --scanners vuln --severity HIGH,CRITICAL .
1919 post_build :
2020 commands :
2121 - echo "Dependency scanning completed."
Original file line number Diff line number Diff line change @@ -148,6 +148,14 @@ resource "aws_iam_policy" "codebuild_policy" {
148148 " ${ var . s3_bucket_arn } /*"
149149 ]
150150 },
151+ {
152+ Effect = " Allow"
153+ Action = [
154+ " codebuild:CreateReportGroup" ,
155+ " codebuild:CreateReport"
156+ ]
157+ Resource = " *"
158+ },
151159 {
152160 Effect = " Allow"
153161 Action = [
You can’t perform that action at this time.
0 commit comments