File tree 2 files changed +11
-11
lines changed
lib/cc/engine/bundler_audit
spec/fixtures/unpatched_versions
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ def remediation_points
67
67
end
68
68
69
69
def severity
70
- SEVERITIES [ advisory . criticality ]
70
+ SEVERITIES . fetch ( advisory . criticality , "normal" )
71
71
end
72
72
73
73
def solution
Original file line number Diff line number Diff line change 16
16
"path" : " Gemfile.lock"
17
17
},
18
18
"remediation_points" : 50000 ,
19
- "severity" : null ,
19
+ "severity" : " normal " ,
20
20
"type" : " Issue"
21
21
},
22
22
{
36
36
"path" : " Gemfile.lock"
37
37
},
38
38
"remediation_points" : 50000 ,
39
- "severity" : null ,
39
+ "severity" : " normal " ,
40
40
"type" : " Issue"
41
41
},
42
42
{
56
56
"path" : " Gemfile.lock"
57
57
},
58
58
"remediation_points" : 50000 ,
59
- "severity" : null ,
59
+ "severity" : " normal " ,
60
60
"type" : " Issue"
61
61
},
62
62
{
76
76
"path" : " Gemfile.lock"
77
77
},
78
78
"remediation_points" : 50000 ,
79
- "severity" : null ,
79
+ "severity" : " normal " ,
80
80
"type" : " Issue"
81
81
},
82
82
{
96
96
"path" : " Gemfile.lock"
97
97
},
98
98
"remediation_points" : 50000 ,
99
- "severity" : null ,
99
+ "severity" : " normal " ,
100
100
"type" : " Issue"
101
101
},
102
102
{
116
116
"path" : " Gemfile.lock"
117
117
},
118
118
"remediation_points" : 50000 ,
119
- "severity" : null ,
119
+ "severity" : " normal " ,
120
120
"type" : " Issue"
121
121
},
122
122
{
136
136
"path" : " Gemfile.lock"
137
137
},
138
138
"remediation_points" : 5000000 ,
139
- "severity" : null ,
139
+ "severity" : " normal " ,
140
140
"type" : " Issue"
141
141
},
142
142
{
196
196
"path" : " Gemfile.lock"
197
197
},
198
198
"remediation_points" : 500000 ,
199
- "severity" : null ,
199
+ "severity" : " normal " ,
200
200
"type" : " Issue"
201
201
},
202
202
{
216
216
"path" : " Gemfile.lock"
217
217
},
218
218
"remediation_points" : 500000 ,
219
- "severity" : null ,
219
+ "severity" : " normal " ,
220
220
"type" : " Issue"
221
221
},
222
222
{
236
236
"path" : " Gemfile.lock"
237
237
},
238
238
"remediation_points" : 5000000 ,
239
- "severity" : null ,
239
+ "severity" : " normal " ,
240
240
"type" : " Issue"
241
241
}
242
242
]
You can’t perform that action at this time.
0 commit comments