-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy path.gosec.json
More file actions
47 lines (47 loc) · 742 Bytes
/
.gosec.json
File metadata and controls
47 lines (47 loc) · 742 Bytes
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
{
"global": {
"nosec": false,
"audit": false
},
"excludes": [
"G301",
"G302",
"G304",
"G306"
],
"severity": "medium",
"rules": {
"G101": {
"pattern": "(?i)passwd|pass|password|pwd|secret|token|key",
"ignore_entropy": false,
"entropy_threshold": "80.0",
"per_char_threshold": "3.0",
"truncate": "32"
},
"G104": {
"audit": false
},
"G301": {
"audit": false
},
"G302": {
"audit": false
},
"G304": {
"audit": false
},
"G306": {
"audit": false
},
"G404": {
"audit": false
}
},
"exclude": {
"paths": [
"**/testutil/**",
"**/*_test.go",
"**/test_*/**"
]
}
}