Skip to content

Commit d2037fe

Browse files
authored
2 parents 44f6d16 + 32e18fe commit d2037fe

File tree

1,137 files changed

+10541
-44576
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,137 files changed

+10541
-44576
lines changed

.github/workflows/security-guardian.yml

Lines changed: 7 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -9,59 +9,25 @@ jobs:
99
- name: Checkout
1010
uses: actions/checkout@v4
1111
with:
12-
fetch-depth: 0 # Fetches full history
12+
fetch-depth: 0 # Required to enable full git diff
1313

14-
- name: Get list of changed .template.json files
15-
id: filter_files
16-
run: |
17-
echo "Getting changed CloudFormation templates..."
18-
mkdir -p changed_templates
19-
20-
git fetch origin main --depth=1
21-
22-
base_sha="${{ github.event.pull_request.base.sha }}"
23-
head_sha="${{ github.event.pull_request.head.sha }}"
24-
if [[ -z "$base_sha" ]]; then base_sha=$(git merge-base origin/main HEAD); fi
25-
if [[ -z "$head_sha" ]]; then head_sha=HEAD; fi
26-
27-
git diff --name-status "$base_sha" "$head_sha" \
28-
| grep -E '^(A|M)\s+.*\.template\.json$' \
29-
| awk '{print $2}' > changed_files.txt || true
30-
31-
while IFS= read -r file; do
32-
if [ -f "$file" ]; then
33-
safe_name=$(echo "$file" | sed 's|/|_|g')
34-
cp "$file" "changed_templates/$safe_name"
35-
else
36-
echo "::warning::Changed file not found in workspace: $file"
37-
fi
38-
done < changed_files.txt
39-
40-
if [ -s changed_files.txt ]; then
41-
echo "files_changed=true" >> $GITHUB_OUTPUT
42-
else
43-
echo "files_changed=false" >> $GITHUB_OUTPUT
44-
fi
45-
4614
- name: Install cfn-guard
47-
if: steps.filter_files.outputs.files_changed == 'true'
4815
run: |
4916
mkdir -p $HOME/.local/bin
5017
curl -L -o cfn-guard.tar.gz https://github.com/aws-cloudformation/cloudformation-guard/releases/latest/download/cfn-guard-v3-x86_64-ubuntu-latest.tar.gz
5118
tar -xzf cfn-guard.tar.gz
5219
mv cfn-guard-v3-*/cfn-guard $HOME/.local/bin/cfn-guard
5320
chmod +x $HOME/.local/bin/cfn-guard
5421
echo "$HOME/.local/bin" >> $GITHUB_PATH
55-
22+
5623
- name: Install & Build security-guardian
57-
if: steps.filter_files.outputs.files_changed == 'true'
5824
run: yarn install --frozen-lockfile && cd tools/@aws-cdk/security-guardian && yarn build
5925

60-
- name: Run cfn-guard if templates changed
61-
if: steps.filter_files.outputs.files_changed == 'true'
26+
- name: Run Security Guardian
6227
uses: ./tools/@aws-cdk/security-guardian
6328
with:
64-
data_directory: './changed_templates'
65-
rule_set_path: './tools/@aws-cdk/security-guardian/rules/trust_scope_rules.guard'
29+
base_sha: ${{ github.event.pull_request.base.sha }}
30+
head_sha: ${{ github.event.pull_request.head.sha }}
31+
rule_set_path: './tools/@aws-cdk/security-guardian/rules'
6632
show_summary: 'fail'
67-
output_format: 'single-line-summary'
33+
output_format: 'json'

CHANGELOG.v2.alpha.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.194.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.193.0-alpha.0...v2.194.0-alpha.0) (2025-05-01)
6+
57
## [2.193.0-alpha.0](https://github.com/aws/aws-cdk/compare/v2.192.0-alpha.0...v2.193.0-alpha.0) (2025-04-30)
68

79

CHANGELOG.v2.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [2.194.0](https://github.com/aws/aws-cdk/compare/v2.193.0...v2.194.0) (2025-05-01)
6+
7+
8+
### Features
9+
10+
* update L1 CloudFormation resource definitions ([#34278](https://github.com/aws/aws-cdk/issues/34278)) ([e37faed](https://github.com/aws/aws-cdk/commit/e37faed95deb25be05826c2e1f2781b0e51ca26e))
11+
* **events:** throw `ValidationErrors` instead of untyped Errors ([#34316](https://github.com/aws/aws-cdk/issues/34316)) ([06b463f](https://github.com/aws/aws-cdk/commit/06b463fd5a92aab9ffc9d016d85b977f64379550)), closes [#32569](https://github.com/aws/aws-cdk/issues/32569)
12+
513
## [2.193.0](https://github.com/aws/aws-cdk/compare/v2.192.0...v2.193.0) (2025-04-30)
614

715

CONTRIBUTORS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ Shout out to our top contributors!
1414
- [otaviomacedo](https://github.com/otaviomacedo)
1515
- [mazyu36](https://github.com/mazyu36)
1616
- [pahud](https://github.com/pahud)
17-
- [TheRealAmazonKendra](https://github.com/TheRealAmazonKendra)
18-
- [comcalvi](https://github.com/comcalvi)
19-
- [go-to-k](https://github.com/go-to-k)
2017
- [badmintoncryer](https://github.com/badmintoncryer)
18+
- [go-to-k](https://github.com/go-to-k)
19+
- [comcalvi](https://github.com/comcalvi)
20+
- [TheRealAmazonKendra](https://github.com/TheRealAmazonKendra)
2121
- [madeline-k](https://github.com/madeline-k)
2222
- [NetaNir](https://github.com/NetaNir)
2323
- [robertd](https://github.com/robertd)
@@ -29,4 +29,4 @@ Shout out to our top contributors!
2929
- [GavinZZ](https://github.com/GavinZZ)
3030

3131

32-
_Last updated: Tue, 01 Apr 25 09:38:50 +0000_
32+
_Last updated: Thu, 01 May 25 00:13:51 +0000_

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.access-log-firehose.js.snapshot/manifest.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.access-log-firehose.js.snapshot/test-apigateway-access-logs-firehose.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-apigateway/test/integ.restapi.access-log-firehose.js.snapshot/test-apigateway-access-logs-firehose.template.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@
306306
"ap-east-1": {
307307
"value": "nodejs20.x"
308308
},
309+
"ap-east-2": {
310+
"value": "nodejs20.x"
311+
},
309312
"ap-northeast-1": {
310313
"value": "nodejs20.x"
311314
},

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/aws-appconfig-configuration.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/aws-appconfig-configuration.template.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2073,6 +2073,9 @@
20732073
"ap-east-1": {
20742074
"value": "nodejs20.x"
20752075
},
2076+
"ap-east-2": {
2077+
"value": "nodejs20.x"
2078+
},
20762079
"ap-northeast-1": {
20772080
"value": "nodejs20.x"
20782081
},

packages/@aws-cdk-testing/framework-integ/test/aws-appconfig/test/integ.configuration.js.snapshot/manifest.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-channel-namespace.js.snapshot/EventApiChannelNamespaceStack.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-channel-namespace.js.snapshot/EventApiChannelNamespaceStack.template.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@
319319
"ap-east-1": {
320320
"value": "nodejs20.x"
321321
},
322+
"ap-east-2": {
323+
"value": "nodejs20.x"
324+
},
322325
"ap-northeast-1": {
323326
"value": "nodejs20.x"
324327
},
@@ -428,7 +431,7 @@
428431
"value": "nodejs18.x"
429432
},
430433
"us-isob-west-1": {
431-
"value":"nodejs18.x"
434+
"value": "nodejs18.x"
432435
},
433436
"us-west-1": {
434437
"value": "nodejs20.x"

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-channel-namespace.js.snapshot/manifest.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-event-api.js.snapshot/appsync-event-api-stack.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-event-api.js.snapshot/appsync-event-api-stack.template.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,6 +705,9 @@
705705
"ap-east-1": {
706706
"value": "nodejs20.x"
707707
},
708+
"ap-east-2": {
709+
"value": "nodejs20.x"
710+
},
708711
"ap-northeast-1": {
709712
"value": "nodejs20.x"
710713
},
@@ -814,7 +817,7 @@
814817
"value": "nodejs18.x"
815818
},
816819
"us-isob-west-1": {
817-
"value":"nodejs18.x"
820+
"value": "nodejs18.x"
818821
},
819822
"us-west-1": {
820823
"value": "nodejs20.x"

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-event-api.js.snapshot/appsynceventapitestDefaultTestDeployAssertBF937085.assets.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@aws-cdk-testing/framework-integ/test/aws-appsync/test/integ.appsync-event-api.js.snapshot/appsynceventapitestDefaultTestDeployAssertBF937085.template.json

Lines changed: 8 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)