Skip to content

Commit

Permalink
feature/image-scan
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryosuke Tomita committed Dec 17, 2023
1 parent ee816bf commit 847fac4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions copilot/pipelines/react-app-pipeline/buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,8 @@ phases:
done;
done;
- ls -lah ./infrastructure
- cat ./infrastructure/dev-svc-dev-env.params.json
# Run trivy scan on the docker images.
- trivy image --vuln-type os --no-progress --format table -o container-scanning-report.txt --severity CRITICAL,HIGH $(jq -r '.Parameters[].ContainerImage' ./infrastructure/dev-svc-dev-env.params.json)
- trivy image --vuln-type os --no-progress --format table -o container-scanning-report.txt --severity CRITICAL,HIGH $(jq -r '.Parameters.ContainerImage' ./infrastructure/dev-svc-dev-env.params.json)
- cat container-scanning-report.txt
artifacts:
files:
Expand Down

0 comments on commit 847fac4

Please sign in to comment.