-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(custom-resources): log statement exposes information prohibited by security guideline #29406
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The pull request linter has failed. See the aws-cdk-automation comment below for failure reasons. If you believe this pull request should receive an exemption, please comment and provide a justification.
A comment requesting an exemption should contain the text Exemption Request
. Additionally, if clarification is needed add Clarification Request
to a comment.
packages/aws-cdk-lib/custom-resources/lib/provider-framework/runtime/framework.ts
Show resolved
Hide resolved
This seems to be a breaking change, will wrap it with a feature flag. |
Changes to the hash doesn't necessarily indicate a breaking change. I would pull this PR down and run those tests with |
edc97f5
to
672107c
Compare
✅ Updated pull request passes all PRLinter validations. Dismissing previous PRLinter review.
...yer-awscli/test/integ.awscli-layer.js.snapshot/lambda-layer-awscli-integ-stack.template.json
Show resolved
Hide resolved
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
Thank you for contributing! Your pull request will be updated from main and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork). |
) ### Issue # (if applicable) Closes #31320 ### Reason for this change Presigned url is still logged despite a previous PR to fix it. #29406 ### Description of changes Verified that the `events:` no longer display the response url. ### Description of how you validated changes Re-run all failed integration tests ### Checklist - [ ] 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*
…#31322) ### Issue # (if applicable) Closes aws#31320 ### Reason for this change Presigned url is still logged despite a previous PR to fix it. aws#29406 ### Description of changes Verified that the `events:` no longer display the response url. ### Description of how you validated changes Re-run all failed integration tests ### Checklist - [ ] 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*
…#31322) ### Issue # (if applicable) Closes aws#31320 ### Reason for this change Presigned url is still logged despite a previous PR to fix it. aws#29406 ### Description of changes Verified that the `events:` no longer display the response url. ### Description of how you validated changes Re-run all failed integration tests ### Checklist - [ ] 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*
) ### Issue # (if applicable) Closes #31320 ### Reason for this change Presigned url is still logged despite a previous PR to fix it. #29406 ### Description of changes Verified that the `events:` no longer display the response url. ### Description of how you validated changes Re-run all failed integration tests ### Checklist - [ ] 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*
Issue # (if applicable)
Reason for this change
Current log statement will log too much content, including response URL which may not be ideal to be logged according to AWS Security Guideline. Removing the
input event
from the log statement.Description of changes
Remove the log statement.
Description of how you validated changes
N/A
Checklist
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license