Skip to content
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: adds SigningCertURL validation for SNS messages #1637

Merged
merged 2 commits into from
Feb 15, 2022

Conversation

aweis89
Copy link
Contributor

@aweis89 aweis89 commented Feb 15, 2022

Given the SigningCertURL is part of the HTTP request body, I don't see where we're validating that the cert URL is indeed valid and from AWS before retrieving the cert here. Here's an example of this being done in the .net SDK but I don't see that happening in the Golang SDK anywhere.

This PR adds that validation check explicitly.

Checklist:

@aweis89 aweis89 changed the title Adds SigningCertURL validation for SNS messages fix: adds SigningCertURL validation for SNS messages Feb 15, 2022
@aweis89 aweis89 force-pushed the master branch 2 times, most recently from 0ef864a to dcd6a1c Compare February 15, 2022 20:43
Signed-off-by: Aaron Weisberg <[email protected]>
Copy link
Member

@whynowy whynowy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for adding this!

@whynowy whynowy merged commit 176caab into argoproj:master Feb 15, 2022
whynowy pushed a commit that referenced this pull request Feb 16, 2022
* fix: adds regex & schema checks to SigningCertURL

Signed-off-by: Aaron Weisberg <[email protected]>
BulkBeing pushed a commit to BulkBeing/argo-events that referenced this pull request Mar 7, 2022
* fix: adds regex & schema checks to SigningCertURL

Signed-off-by: Aaron Weisberg <[email protected]>
juliev0 pushed a commit to juliev0/argo-events that referenced this pull request Mar 29, 2022
* fix: adds regex & schema checks to SigningCertURL

Signed-off-by: Aaron Weisberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants