-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.security-audit.json
More file actions
71 lines (65 loc) · 1.38 KB
/
.security-audit.json
File metadata and controls
71 lines (65 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
63
64
65
66
67
68
69
70
71
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "Security Audit Configuration",
"description": "Configuration for Archifiltre security audit script",
"severity": "medium",
"ci": false,
"quiet": false,
"tools": {
"trivy": {
"enabled": true,
"timeout": 300,
"config": {
"skipFiles": [
"test/**",
"**/*.test.ts",
"**/*.spec.ts"
],
"skipDirectories": [
"node_modules",
".git",
"dist",
"build"
]
}
},
"semgrep": {
"enabled": true,
"timeout": 300,
"config": "p/security-audit",
"skipRules": []
}
},
"allowlist": {
"vulnerabilities": [
{
"id": "EXAMPLE-CVE-2023-1234",
"reason": "False positive - not using vulnerable functionality",
"expires": "2024-12-31"
}
],
"semgrepRules": [
{
"ruleId": "example.rule.id",
"reason": "Accepted risk - documented exception",
"expires": "2024-12-31"
}
]
},
"reporting": {
"formats": ["console"],
"includeFixAdvice": true,
"maxIssuesPerTool": 10,
"showPassedChecks": false
},
"thresholds": {
"maxCritical": 0,
"maxHigh": 5,
"maxMedium": 20,
"maxLow": 50
},
"notifications": {
"onNewVulnerabilities": false,
"onHighSeverity": true
}
}