-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
57 lines (53 loc) · 1.59 KB
/
config.py
File metadata and controls
57 lines (53 loc) · 1.59 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
config = {
'github_projects': {
'ClickHouse/ClickHouse': {'business_criticality': 13, 'tags': ['security']},
'authelia/authelia': {'business_criticality': 9, 'tags': ['security']},
'gravitational/teleport': {'business_criticality': 17, 'tags': ['security']},
'rust-lang/rust': {'business_criticality': 5, 'tags': ['A-security']},
'openshift/origin': {'business_criticality': 7, 'tags': ['area/security']},
'kubernetes/kubernetes': {'business_criticality': 7, 'tags': ['area/security']},
'ansible/ansible': {'business_criticality': 14, 'tags': ['security']},
'dotnet/runtime': {'business_criticality': 12, 'tags': ['Security']},
'nodejs/node': {'business_criticality': 16, 'tags': ['security']}
},
'github_severity_list': (
#(comments_count, Severity)
(11, 'Critical'),
(8, 'High'),
(3, 'Medium'),
(0, 'Low')
),
'defect_criticality_dict': {
#{Severity, criticality rate}
'Critical': 5,
'High': 2.5,
'Highest': 2.5,
'Medium': 1,
'Low': 0.5,
'Lowest': 0.5
},
'fix_time': {
'Critical': 1,
'High': 2,
'Medium': 60,
'Low': 120
},
'mongodb': {
'host':'127.0.0.1',
'port': 27017,
},
'services': {
'github': {
'enabled': True,
'upload_db': 'github',
},
'jira': {
'enabled': True,
'upload_db': 'wrt',
},
'metrics': {
'wrt': True,
'drw': True
}
}
}