Skip to content

Commit 2dc8cc7

Browse files
authored
feat(codepipeline-actions): support InspectorEcrImageScanAction and InspectorSourceCodeScanAction actions (#33378)
### Issue # (if applicable) Closes #33377. ### Reason for this change AWS CodePipeline introduces new build action: InspectorScan action. - What's new: https://aws.amazon.com/jp/about-aws/whats-new/2024/11/aws-codepipeline-publishing-ecr-image-aws-inspectorscan-actions/ - Ref: https://docs.aws.amazon.com/codepipeline/latest/userguide/action-reference-InspectorScan.html - IAM management: https://docs.aws.amazon.com/codepipeline/latest/userguide/security-iam.html#how-to-custom-role ### Description of changes Add `InspectorEcrImageScanAction` and `InspectorSourceCodeScanAction` classes that extends `BaseInspectorScan` class. The `BaseInspectorScan` class that extends `Action` class to aws-codepipeline-actions module. ### Describe any new or updated permissions being added ### Description of how you validated changes Both unit and integ tests ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
1 parent 3154d01 commit 2dc8cc7

File tree

36 files changed

+69619
-0
lines changed

36 files changed

+69619
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM node:20-alpine

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-ecr-image-scan-action.js.snapshot/asset.30a26f3582aa60a33d76db3f126e70a08bcfd5d4af185230cbb2a37db272ab4e/Dockerfile

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: packages/@aws-cdk-testing/framework-integ/test/aws-codepipeline-actions/test/integ.pipeline-ecr-image-scan-action.js.snapshot/asset.44e9c4d7a5d3fd2d677e1a7e416b2b56f6b0104bd5eff9cac5557b4c65a9dc61/index.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)