-
Notifications
You must be signed in to change notification settings - Fork 1
/
skeet-cloud.config.json
68 lines (68 loc) · 1.58 KB
/
skeet-cloud.config.json
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
66
67
68
{
"api": {
"appName": "skeet-test",
"projectId": "skeet-test",
"region": "europe-west4",
"hasLoadBalancer": true,
"cloudRun": {
"name": "",
"url": "",
"cpu": 1,
"maxConcurrency": 80,
"maxInstances": 100,
"minInstances": 0,
"memory": "4Gi"
},
"db": {
"databaseVersion": "POSTGRES_14",
"cpu": 1,
"memory": "4Gi",
"maxStorage": 10,
"whiteList": ""
}
},
"workers": [
{
"workerName": "solana-transfer",
"cloudRun": {
"name": "skeet-skeet-test-worker-solana-transfer",
"url": "",
"cpu": 1,
"maxConcurrency": 80,
"maxInstances": 100,
"minInstances": 0,
"memory": "4Gi"
}
}
],
"taskQueues": [],
"cloudArmor": [
{
"securityPolicyName": "skeet-armor",
"rules": [
{
"priority": "1000",
"description": "ban 300sec if exceed 50 access in 60sec",
"options": {
"action": "rate-based-ban",
"src-ip-ranges": "*",
"rate-limit-threshold-count": "50",
"rate-limit-threshold-interval-sec": "60",
"ban-duration-sec": "300",
"conform-action": "allow",
"exceed-action": "deny-404",
"enforce-on-key": "IP"
}
},
{
"priority": "1100",
"description": "Diffence from SQLi attack",
"options": {
"action": "deny-403",
"expression": "evaluatePreconfiguredExpr('sqli-stable')"
}
}
]
}
]
}