-
Notifications
You must be signed in to change notification settings - Fork 0
/
RateLimiters.yaml
65 lines (63 loc) · 1.56 KB
/
RateLimiters.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#loggingOption: AllCallsWithDetails
#loggingOption: AllCalls
#loggingOption: OnlyLimited
# OnlyLimited is the default
credentialID: 'JWTjsonField:Claims:email'
limiterMappings:
- name: Info
withCallerRemoteAddressID: 1r/s
withoutCallerID: 1r/2s
global: 50r/s
pathSelectors:
- "equals:/info"
- name: Authenticate
withCallerRemoteAddressID: 5r/s
withoutCallerID: 10r/s
global: 50r/s
pathSelectors:
- "equals:/authenticate"
- name: AuthToken
withCallerRemoteAddressID: 2r/s
withoutCallerID: 4r/s
global: 50r/s
pathSelectors:
- "equals:/oauth/token"
- name: AuthAuthorize
withCallerRemoteAddressID: 1r/s
withoutCallerID: 2r/s
global: 25r/s
pathSelectors:
- "equals:/oauth/authorize"
- name: LoginPage
withCallerRemoteAddressID: 3r/3s
withoutCallerID: 2r/s
global: 25r/s
pathSelectors:
- "equals:/login"
- name: LoginResource
withCallerRemoteAddressID: 12r/3s
withoutCallerID: 6r/s
global: 150r/s
pathSelectors:
- "startsWith:/resources/"
- "startsWith:/vendor/"
- name: LoginDo
withCallerRemoteAddressID: 2r/s
withoutCallerID: 1r/s
global: 25r/s
pathSelectors:
- "equals:/login.do"
- name: EverythingElse
withCallerCredentialsID: 50r/s
withCallerRemoteAddressID: 50r/s
withoutCallerID: 25r/s
global: 250r/s
pathSelectors:
- "other"
- name: ALL
withCallerCredentialsID: 80r/s
withCallerRemoteAddressID: 80r/s
withoutCallerID: 35r/s
global: 1000r/s
pathSelectors:
- "all"