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

Add logic to ensure that if someone de-activates the webhook we get notified with a critical alert #2

Open
MarshallOfSound opened this issue Apr 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@MarshallOfSound
Copy link
Member

Currently, GitHub exposes an event for someone deleting the webhook (meta.deleted). But users can also de-activate the webhook an no events are fired. If we get a token with the correct permissions we can poll https://api.github.com/orgs/electron/hooks and ensure that we are still present in the hooks list and active === true. If not we can fire a critical alert.

@MarshallOfSound MarshallOfSound added the enhancement New feature or request label Apr 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant