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

feat: Allow unauthenticated access for webhooks to /events endpoint if needed #226

Conversation

gozer
Copy link
Contributor

@gozer gozer commented Sep 24, 2021

exception for the webhook endpoint

Fixes #223

Description

Motivation and Context

Breaking Changes

How Has This Been Tested?

  • I have tested and validated these changes using one or more of the provided examples/* projects

@gozer gozer changed the title When unauthenticated access is enabled along with webhooks, make an feat: When unauthenticated access is enabled along with webhooks, make an Sep 24, 2021
@antonbabenko antonbabenko changed the title feat: When unauthenticated access is enabled along with webhooks, make an feat: Allow unauthenticated access for webhooks to /events endpoint if needed Sep 24, 2021
@antonbabenko antonbabenko merged commit 874fa08 into terraform-aws-modules:master Sep 24, 2021
@antonbabenko
Copy link
Member

Thank you @gozer !

v3.3.0 has been just released.

@xiao-pp
Copy link

xiao-pp commented Sep 25, 2021

But if IP CIDRs are provided, isn't this unnecessary? Or even worse, this weakens the security and make the CIDR based rule almost pointless? Should this only be added when there is no CIDRs present?
@gozer @antonbabenko

snovikov added a commit to Flaconi/terraform-aws-atlantis that referenced this pull request Oct 7, 2021
* feat: Add sensitive flag for webhook secret outputs (terraform-aws-modules#222)

* Updated CHANGELOG

* fix: Add missing netblock (143.55.64.0/20) to GitHub webhook IP ranges (terraform-aws-modules#225)

* feat: Allow unauthenticated access for webhooks to /events endpoint if needed (terraform-aws-modules#226)

* Updated CHANGELOG

Co-authored-by: Anton Babenko <anton@antonbabenko.com>
Co-authored-by: Philippe M. Chiasson <gozer@ectoplasm.org>
@github-actions
Copy link

github-actions bot commented Nov 9, 2022

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When allowing webhook access and unauthenticated access, make sure to let /events pass thru
3 participants