-
Notifications
You must be signed in to change notification settings - Fork 640
/
Copy pathConstants.js
37 lines (37 loc) · 1.04 KB
/
Constants.js
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
(function() {
'use strict';
angular.module('theHiveServices')
.value('duScrollOffset', 30)
.value('CaseResolutionStatus', {
Indeterminate: 'Indeterminate',
FalsePositive: 'False Positive',
TruePositive: 'True Positive',
Duplicated: 'Duplicate',
Other: 'Other'
})
.value('CaseImpactStatus', {
NoImpact: 'No Impact',
WithImpact: 'With impact',
NotApplicable: 'Not Applicable'
})
.value('Severity', {
keys: {
High: 3,
Medium: 2,
Low: 1
},
values: ['Unknown', 'Low', 'Medium', 'High']
})
.value('AlertStatus', {
values: ['New', 'Updated', 'Ignored', 'Imported']
})
.value('Tlp', {
keys: {
Red: 3,
Amber: 2,
Green: 1,
White: 0
},
values: ['White', 'Green', 'Amber', 'Red']
});
})();