Skip to content

fix(security): Set Twilio webhooks to protected #297

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

Merged

Conversation

jmulcahey-twilio
Copy link
Contributor

Description

Wherever an app has TWILIO_*_WEBHOOK_URL defined in its .env, and the Function that handles the webhook is not used from a browser context, this PR sets the visibility for that Function to protected.

Checklist

  • I ran npm test locally and it passed without errors.
  • I acknowledge that all my contributions will be made under the project's license.

Related issues

Copy link
Contributor

@philnash philnash left a comment

Choose a reason for hiding this comment

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

Seems to be a good idea to me 👍

@jmulcahey-twilio jmulcahey-twilio merged commit 9c204ca into twilio-labs:main Nov 5, 2021
@jmulcahey-twilio jmulcahey-twilio deleted the fix-webhook-visibility branch November 5, 2021 00:42
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