-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.codeguardrc.json
More file actions
62 lines (62 loc) · 1.38 KB
/
Copy path.codeguardrc.json
File metadata and controls
62 lines (62 loc) · 1.38 KB
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
{
"$schema": "https://json.schemastore.org/codeguardrc.json",
"enabled": true,
"debounceMs": 500,
"maxAnalysisTimeMs": 5000,
"analyzers": {
"security": {
"enabled": true,
"severity": {
"sql-injection": "error",
"xss": "error",
"command-injection": "error",
"path-traversal": "error",
"unsafe-deserialization": "warning"
}
},
"performance": {
"enabled": true,
"severity": {
"nested-loops": "warning",
"blocking-operation": "warning",
"memory-leak": "error",
"inefficient-string": "info"
}
},
"secrets": {
"enabled": true,
"severity": {
"aws-access-key": "error",
"generic-api-key": "warning",
"password-assignment": "error",
"jwt-token": "warning",
"private-key": "error"
}
},
"codeSmells": {
"enabled": true,
"severity": {
"long-function": "info",
"high-complexity": "warning",
"duplicate-code": "info",
"too-many-params": "info",
"deep-nesting": "warning"
}
}
},
"ai": {
"enabled": false,
"provider": "none",
"maxTokens": 1000
},
"cache": {
"enabled": true,
"maxMemoryMB": 50,
"maxDiskMB": 500,
"ttlSeconds": 3600
},
"privacy": {
"disableNetworkFeatures": false,
"disableTelemetry": true
}
}