The goal of this script is to be used to programmatically set a default rate limit to all project keys in a Sentry.io organization
- Create an
.env
file with the following variables:
AUTH_TOKEN
-> Token withproject:admin
andorg:admin
permissionsORG_SLUG
RATELIMIT_WINDOW
-> Time window which is used by rate limit (in seconds - e.g 1 day has 86400 seconds)RATELIMIT_COUNT
- Run
bash run.sh