From f78f2710be3697f6e56b02f780004559cc12be34 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sun, 20 Jan 2019 22:13:43 -0500 Subject: [PATCH] rate limiting org invite emails further --- src/Api/appsettings.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Api/appsettings.json b/src/Api/appsettings.json index 799dac66e..ef5f3433b 100644 --- a/src/Api/appsettings.json +++ b/src/Api/appsettings.json @@ -183,6 +183,26 @@ "Endpoint": "post:/installations", "Period": "2m", "Limit": 2 + }, + { + "Endpoint": "post:/organizations/*/users/invite", + "Period": "1m", + "Limit": 4 + }, + { + "Endpoint": "post:/organizations/*/users/invite", + "Period": "1d", + "Limit": 300 + }, + { + "Endpoint": "post:/organizations/*/users/*/reinvite", + "Period": "1m", + "Limit": 4 + }, + { + "Endpoint": "post:/organizations/*/users/*/reinvite", + "Period": "1d", + "Limit": 300 } ] },