dawnscanner 2.1.0 → 2.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Changelog.md +12 -1
- data/Rakefile +6 -6
- data/VERSION +1 -1
- data/checksum/dawnscanner-2.1.0.gem.sha1 +1 -0
- data/checksum/dawnscanner-2.1.1.gem.sha1 +1 -0
- data/features/step_definition/dawn_steps.rb +4 -5
- data/lib/dawn/kb/dependency_check.rb +4 -0
- data/lib/dawn/kb/unsafe_depedency_check.rb +16 -0
- data/lib/dawn/knowledge_base.rb +4 -4
- data/lib/dawn/version.rb +4 -4
- data/spec/lib/kb/codesake_ruby_version_check_spec.rb +12 -13
- data/spec/lib/kb/codesake_unsafe_dependency_check_normal_spec.rb +39 -0
- data/spec/lib/kb/codesake_unsafe_dependency_check_version_end_excluding_spec.rb +43 -0
- data/spec/lib/kb/codesake_unsafe_dependency_check_version_end_including_spec.rb +44 -0
- data/spec/lib/kb/dependency_check_with_version_end_excluding.yml +23 -0
- data/spec/lib/kb/dependency_check_with_version_end_including.yml +23 -0
- metadata +14 -12
- data/spec/lib/dawn/codesake_knowledgebase_spec.rb +0 -1202
- data/spec/lib/kb/codesake_cve_2013_0175_spec.rb +0 -35
- data/spec/lib/kb/codesake_cve_2013_4457_spec.rb +0 -41
- data/spec/lib/kb/codesake_dependency_version_check_spec.rb +0 -79
- data/spec/lib/kb/codesake_unsafe_dependency_check_spec.rb +0 -29
@@ -1,1202 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe "The Codesake Dawn knowledge base" do
|
4
|
-
let (:kb) {Dawn::KnowledgeBase.new}
|
5
|
-
it "must not be empty" do
|
6
|
-
expect(kb.all.size).not_to eq(0)
|
7
|
-
|
8
|
-
end
|
9
|
-
it "must have a find method" do
|
10
|
-
expect(kb).to respond_to(:find)
|
11
|
-
end
|
12
|
-
|
13
|
-
it "must have an all_by_mvc method" do
|
14
|
-
expect(kb).to respond_to(:all_by_mvc)
|
15
|
-
end
|
16
|
-
|
17
|
-
|
18
|
-
it "will return a nil object if it doesn't find a particular security check" do
|
19
|
-
expect(kb.find("A non existant security check name")).to be_nil
|
20
|
-
end
|
21
|
-
|
22
|
-
it "must have at least a test for sinatra" do
|
23
|
-
expect(kb.all_by_mvc("sinatra").size).to be > 0
|
24
|
-
end
|
25
|
-
|
26
|
-
# KB Content
|
27
|
-
it "must have test for CVE_2013_1855" do
|
28
|
-
sc = kb.find("CVE-2013-1855")
|
29
|
-
expect(sc).not_to be_nil
|
30
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1855)
|
31
|
-
end
|
32
|
-
|
33
|
-
it "must have test for CVE_2013_0333" do
|
34
|
-
sc = kb.find("CVE-2013-0333")
|
35
|
-
expect(sc).not_to be_nil
|
36
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0333)
|
37
|
-
end
|
38
|
-
|
39
|
-
it "must have test for CVE_2013_0334" do
|
40
|
-
sc = kb.find("CVE-2013-0334")
|
41
|
-
expect(sc).not_to be_nil
|
42
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0334)
|
43
|
-
end
|
44
|
-
|
45
|
-
it "must have test for CVE_2013_1857" do
|
46
|
-
sc = kb.find("CVE-2013-1857")
|
47
|
-
expect(sc).not_to be_nil
|
48
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1857)
|
49
|
-
end
|
50
|
-
|
51
|
-
it "must have test for CVE_2012_2660" do
|
52
|
-
sc = kb.find("CVE-2012-2660")
|
53
|
-
expect(sc).not_to be_nil
|
54
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2660)
|
55
|
-
end
|
56
|
-
it "must have test for CVE_2012_2661" do
|
57
|
-
sc = kb.find("CVE-2012-2661")
|
58
|
-
expect(sc).not_to be_nil
|
59
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2661)
|
60
|
-
end
|
61
|
-
it "must have test for CVE_2012_2694" do
|
62
|
-
sc = kb.find("CVE-2012-2694")
|
63
|
-
expect(sc).not_to be_nil
|
64
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2694)
|
65
|
-
end
|
66
|
-
it "must have test for CVE_2012_2695" do
|
67
|
-
sc = kb.find("CVE-2012-2695")
|
68
|
-
expect(sc).not_to be_nil
|
69
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2695)
|
70
|
-
end
|
71
|
-
it "must have test for CVE_2012_6496" do
|
72
|
-
sc = kb.find("CVE-2012-6496")
|
73
|
-
expect(sc).not_to be_nil
|
74
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6496)
|
75
|
-
end
|
76
|
-
it "must have test for CVE_2012_6497" do
|
77
|
-
sc = kb.find("CVE-2012-6496")
|
78
|
-
expect(sc).not_to be_nil
|
79
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6496)
|
80
|
-
end
|
81
|
-
|
82
|
-
it "must have test for CVE_2013_0269" do
|
83
|
-
sc = kb.find("CVE-2013-0269")
|
84
|
-
expect(sc).not_to be_nil
|
85
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0269)
|
86
|
-
end
|
87
|
-
|
88
|
-
it "must have test for CVE_2013_0155" do
|
89
|
-
sc = kb.find("CVE-2013-0155")
|
90
|
-
expect(sc).not_to be_nil
|
91
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0155)
|
92
|
-
end
|
93
|
-
it "must have test for CVE_2011_2931" do
|
94
|
-
sc = kb.find("CVE-2011-2931")
|
95
|
-
expect(sc).not_to be_nil
|
96
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2931)
|
97
|
-
end
|
98
|
-
it "must have test for CVE_2012_3465" do
|
99
|
-
sc = kb.find("CVE-2012-3465")
|
100
|
-
expect(sc).not_to be_nil
|
101
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_3465)
|
102
|
-
end
|
103
|
-
|
104
|
-
it "must have test for CVE_2013_1854" do
|
105
|
-
sc = kb.find("CVE-2013-1854")
|
106
|
-
expect(sc).not_to be_nil
|
107
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1854)
|
108
|
-
end
|
109
|
-
|
110
|
-
it "must have test for CVE_2013_1856" do
|
111
|
-
sc = kb.find("CVE-2013-1856")
|
112
|
-
expect(sc).not_to be_nil
|
113
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1856)
|
114
|
-
end
|
115
|
-
|
116
|
-
it "must have test for CVE_2013_0276" do
|
117
|
-
sc = kb.find("CVE-2013-0276")
|
118
|
-
expect(sc).not_to be_nil
|
119
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0276)
|
120
|
-
end
|
121
|
-
|
122
|
-
it "must have test for CVE_2013_0277" do
|
123
|
-
sc = kb.find("CVE-2013-0277")
|
124
|
-
expect(sc).not_to be_nil
|
125
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0277)
|
126
|
-
end
|
127
|
-
|
128
|
-
it "must have test for CVE_2013_0156" do
|
129
|
-
sc = kb.find("CVE-2013-0156")
|
130
|
-
expect(sc).not_to be_nil
|
131
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0156)
|
132
|
-
end
|
133
|
-
|
134
|
-
it "must have test for CVE-2013-2615" do
|
135
|
-
sc = kb.find("CVE-2013-2615")
|
136
|
-
expect(sc).not_to be_nil
|
137
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2615)
|
138
|
-
end
|
139
|
-
|
140
|
-
it "must have test for CVE-2013-1875" do
|
141
|
-
sc = kb.find("CVE-2013-1875")
|
142
|
-
expect(sc).not_to be_nil
|
143
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1875)
|
144
|
-
end
|
145
|
-
|
146
|
-
it "must have test for CVE-2013-1655" do
|
147
|
-
sc = kb.find("CVE-2013-1655")
|
148
|
-
expect(sc).not_to be_nil
|
149
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1655)
|
150
|
-
end
|
151
|
-
it "must have test for CVE-2013-1656" do
|
152
|
-
sc = kb.find("CVE-2013-1656")
|
153
|
-
expect(sc).not_to be_nil
|
154
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1656)
|
155
|
-
end
|
156
|
-
|
157
|
-
it "must have test for CVE-2013-0175" do
|
158
|
-
sc = kb.find("CVE-2013-0175")
|
159
|
-
expect(sc).not_to be_nil
|
160
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0175)
|
161
|
-
end
|
162
|
-
it "must have test for CVE-2013-0233" do
|
163
|
-
sc = kb.find("CVE-2013-0233")
|
164
|
-
expect(sc).not_to be_nil
|
165
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0233)
|
166
|
-
end
|
167
|
-
it "must have test for CVE-2013-0284" do
|
168
|
-
sc = kb.find("CVE-2013-0284")
|
169
|
-
expect(sc).not_to be_nil
|
170
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0284)
|
171
|
-
end
|
172
|
-
it "must have test for CVE-2013-0285" do
|
173
|
-
sc = kb.find("CVE-2013-0285")
|
174
|
-
expect(sc).not_to be_nil
|
175
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0285)
|
176
|
-
end
|
177
|
-
it "must have test for CVE-2013-1801" do
|
178
|
-
sc = kb.find("CVE-2013-1801")
|
179
|
-
expect(sc).not_to be_nil
|
180
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1801)
|
181
|
-
end
|
182
|
-
it "must have test for CVE-2013-1802" do
|
183
|
-
sc = kb.find("CVE-2013-1802")
|
184
|
-
expect(sc).not_to be_nil
|
185
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1802)
|
186
|
-
end
|
187
|
-
it "must have test for CVE-2013-1821" do
|
188
|
-
sc = kb.find("CVE-2013-1821")
|
189
|
-
expect(sc).not_to be_nil
|
190
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1821)
|
191
|
-
end
|
192
|
-
it "must have test for CVE-2013-1898" do
|
193
|
-
sc = kb.find("CVE-2013-1898")
|
194
|
-
expect(sc).not_to be_nil
|
195
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1898)
|
196
|
-
end
|
197
|
-
it "must have test for CVE-2013-1911" do
|
198
|
-
sc = kb.find("CVE-2013-1911")
|
199
|
-
expect(sc).not_to be_nil
|
200
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1911)
|
201
|
-
end
|
202
|
-
it "must have test for CVE-2013-1933" do
|
203
|
-
sc = kb.find("CVE-2013-1933")
|
204
|
-
expect(sc).not_to be_nil
|
205
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1933)
|
206
|
-
end
|
207
|
-
it "must have test for CVE-2013-1947" do
|
208
|
-
sc = kb.find("CVE-2013-1947")
|
209
|
-
expect(sc).not_to be_nil
|
210
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1947)
|
211
|
-
end
|
212
|
-
it "must have test for CVE-2013-1948" do
|
213
|
-
sc = kb.find("CVE-2013-1948")
|
214
|
-
expect(sc).not_to be_nil
|
215
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1948)
|
216
|
-
end
|
217
|
-
it "must have test for CVE-2013-2616" do
|
218
|
-
sc = kb.find("CVE-2013-2616")
|
219
|
-
expect(sc).not_to be_nil
|
220
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2616)
|
221
|
-
end
|
222
|
-
it "must have test for CVE-2013-2617" do
|
223
|
-
sc = kb.find("CVE-2013-2617")
|
224
|
-
expect(sc).not_to be_nil
|
225
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2617)
|
226
|
-
end
|
227
|
-
it "must have test for CVE-2013-3221" do
|
228
|
-
sc = kb.find("CVE-2013-3221")
|
229
|
-
expect(sc).not_to be_nil
|
230
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_3221)
|
231
|
-
end
|
232
|
-
|
233
|
-
it "must have test for CVE-2011-0447" do
|
234
|
-
sc = kb.find("CVE-2011-0447")
|
235
|
-
expect(sc).not_to be_nil
|
236
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_0447)
|
237
|
-
end
|
238
|
-
|
239
|
-
it "must have test for CVE-2011-3186" do
|
240
|
-
sc = kb.find("CVE-2011-3186")
|
241
|
-
expect(sc).not_to be_nil
|
242
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_3186)
|
243
|
-
end
|
244
|
-
it "must have test for CVE-2012-1099" do
|
245
|
-
sc = kb.find("CVE-2012-1099")
|
246
|
-
expect(sc).not_to be_nil
|
247
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_1099)
|
248
|
-
end
|
249
|
-
it "must have test for CVE-2012-1241" do
|
250
|
-
sc = kb.find("CVE-2012-1241")
|
251
|
-
expect(sc).not_to be_nil
|
252
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_1241)
|
253
|
-
end
|
254
|
-
it "must have test for CVE-2012-2140" do
|
255
|
-
sc = kb.find("CVE-2012-2140")
|
256
|
-
expect(sc).not_to be_nil
|
257
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2140)
|
258
|
-
end
|
259
|
-
it "must have test for CVE-2012-5370" do
|
260
|
-
sc = kb.find("CVE-2012-5370")
|
261
|
-
expect(sc).not_to be_nil
|
262
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_5370)
|
263
|
-
end
|
264
|
-
it "must have test for CVE-2012-5371" do
|
265
|
-
sc = kb.find("CVE-2012-5371")
|
266
|
-
expect(sc).not_to be_nil
|
267
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_5371)
|
268
|
-
end
|
269
|
-
it "must have test for CVE-2011-2197" do
|
270
|
-
sc = kb.find("CVE-2011-2197")
|
271
|
-
expect(sc).not_to be_nil
|
272
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2197)
|
273
|
-
end
|
274
|
-
it "must have test for CVE-2011-2932" do
|
275
|
-
sc = kb.find("CVE-2011-2932")
|
276
|
-
expect(sc).not_to be_nil
|
277
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2932)
|
278
|
-
end
|
279
|
-
it "must have test for CVE-2012-3463" do
|
280
|
-
sc = kb.find("CVE-2012-3463")
|
281
|
-
expect(sc).not_to be_nil
|
282
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_3463)
|
283
|
-
end
|
284
|
-
it "must have test for CVE-2012-3464" do
|
285
|
-
sc = kb.find("CVE-2012-3464")
|
286
|
-
expect(sc).not_to be_nil
|
287
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_3464)
|
288
|
-
end
|
289
|
-
it "must have test for CVE-2012-4464" do
|
290
|
-
sc = kb.find("CVE-2012-4464")
|
291
|
-
expect(sc).not_to be_nil
|
292
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_4464)
|
293
|
-
end
|
294
|
-
it "must have test for CVE-2012-4466" do
|
295
|
-
sc = kb.find("CVE-2012-4466")
|
296
|
-
expect(sc).not_to be_nil
|
297
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_4466)
|
298
|
-
end
|
299
|
-
it "must have test for CVE-2012-4481" do
|
300
|
-
sc = kb.find("CVE-2012-4481")
|
301
|
-
expect(sc).not_to be_nil
|
302
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_4481)
|
303
|
-
end
|
304
|
-
it "must have test for CVE-2012-6134" do
|
305
|
-
sc = kb.find("CVE-2012-6134")
|
306
|
-
expect(sc).not_to be_nil
|
307
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6134)
|
308
|
-
end
|
309
|
-
it "must have test for CVE-2012-6496" do
|
310
|
-
sc = kb.find("CVE-2012-6496")
|
311
|
-
expect(sc).not_to be_nil
|
312
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6496)
|
313
|
-
end
|
314
|
-
|
315
|
-
it "must have test for CVE-2012-6497" do
|
316
|
-
sc = kb.find("CVE-2012-6497")
|
317
|
-
expect(sc).not_to be_nil
|
318
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6497)
|
319
|
-
end
|
320
|
-
|
321
|
-
it "must have test for CVE-2010-1330" do
|
322
|
-
sc = kb.find("CVE-2010-1330")
|
323
|
-
expect(sc).not_to be_nil
|
324
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2010_1330)
|
325
|
-
end
|
326
|
-
|
327
|
-
it "must have test for CVE-2011-0446" do
|
328
|
-
sc = kb.find("CVE-2011-0446")
|
329
|
-
expect(sc).not_to be_nil
|
330
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_0446)
|
331
|
-
end
|
332
|
-
|
333
|
-
it "must have test for CVE-2011-0995" do
|
334
|
-
sc = kb.find("CVE-2011-0995")
|
335
|
-
expect(sc).not_to be_nil
|
336
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_0995)
|
337
|
-
end
|
338
|
-
|
339
|
-
it "must have test for CVE-2011-2929" do
|
340
|
-
sc = kb.find("CVE-2011-2929")
|
341
|
-
expect(sc).not_to be_nil
|
342
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2929)
|
343
|
-
end
|
344
|
-
|
345
|
-
it "must have test for CVE-2011-4815" do
|
346
|
-
sc = kb.find("CVE-2011-4815")
|
347
|
-
expect(sc).not_to be_nil
|
348
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_4815)
|
349
|
-
end
|
350
|
-
|
351
|
-
it "must have test for CVE-2012-3424" do
|
352
|
-
sc = kb.find("CVE-2012-3424")
|
353
|
-
expect(sc).not_to be_nil
|
354
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_3424)
|
355
|
-
end
|
356
|
-
|
357
|
-
it "must have test for CVE-2012-5380" do
|
358
|
-
sc = kb.find("CVE-2012-5380")
|
359
|
-
expect(sc).not_to be_nil
|
360
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_5380)
|
361
|
-
end
|
362
|
-
|
363
|
-
it "must have test for CVE-2012-4522" do
|
364
|
-
sc = kb.find("CVE-2012-4522")
|
365
|
-
expect(sc).not_to be_nil
|
366
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_4522)
|
367
|
-
end
|
368
|
-
it "must have test for CVE-2013-2065" do
|
369
|
-
sc = kb.find("CVE-2013-2065")
|
370
|
-
expect(sc).not_to be_nil
|
371
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2065)
|
372
|
-
end
|
373
|
-
it "must have test for CVE-2013-4389" do
|
374
|
-
sc = kb.find("CVE-2013-4389")
|
375
|
-
expect(sc).not_to be_nil
|
376
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4389)
|
377
|
-
end
|
378
|
-
|
379
|
-
it "must have test for CVE-2013-4164" do
|
380
|
-
sc = kb.find("CVE-2013-4164")
|
381
|
-
expect(sc).not_to be_nil
|
382
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4164)
|
383
|
-
end
|
384
|
-
|
385
|
-
it "must have test for CVE-2013-4562" do
|
386
|
-
sc = kb.find("CVE-2013-4562")
|
387
|
-
expect(sc).not_to be_nil
|
388
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4562)
|
389
|
-
end
|
390
|
-
it "must have test for CVE-2013-4457" do
|
391
|
-
sc = kb.find("CVE-2013-4457")
|
392
|
-
expect(sc).not_to be_nil
|
393
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4457)
|
394
|
-
end
|
395
|
-
|
396
|
-
it "must have test for 20131129-SimpleForm-Xss" do
|
397
|
-
sc = kb.find("Simple Form XSS - 20131129")
|
398
|
-
expect(sc).not_to be_nil
|
399
|
-
expect(sc.class).to eq(Dawn::Kb::SimpleForm_Xss_20131129)
|
400
|
-
end
|
401
|
-
|
402
|
-
it "must have test for CVE-2013-4491" do
|
403
|
-
sc = kb.find("CVE-2013-4491")
|
404
|
-
expect(sc).not_to be_nil
|
405
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4491)
|
406
|
-
end
|
407
|
-
|
408
|
-
it "must have test for CVE-2013-4492" do
|
409
|
-
sc = kb.find("CVE-2013-4492")
|
410
|
-
expect(sc).not_to be_nil
|
411
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4492)
|
412
|
-
end
|
413
|
-
it "must have test for CVE-2013-6414" do
|
414
|
-
sc = kb.find("CVE-2013-6414")
|
415
|
-
expect(sc).not_to be_nil
|
416
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6414)
|
417
|
-
end
|
418
|
-
it "must have test for CVE-2013-6415" do
|
419
|
-
sc = kb.find("CVE-2013-6415")
|
420
|
-
expect(sc).not_to be_nil
|
421
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6415)
|
422
|
-
end
|
423
|
-
it "must have test for CVE-2013-6416" do
|
424
|
-
sc = kb.find("CVE-2013-6416")
|
425
|
-
expect(sc).not_to be_nil
|
426
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6416)
|
427
|
-
end
|
428
|
-
|
429
|
-
it "must have test for CVE-2013-6417" do
|
430
|
-
sc = kb.find("CVE-2013-6417")
|
431
|
-
expect(sc).not_to be_nil
|
432
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6417)
|
433
|
-
end
|
434
|
-
|
435
|
-
it "must have test for CVE-2013-6460" do
|
436
|
-
sc = kb.find("CVE-2013-6460")
|
437
|
-
expect(sc).not_to be_nil
|
438
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6460)
|
439
|
-
end
|
440
|
-
it "must have test for CVE-2013-6461" do
|
441
|
-
sc = kb.find("CVE-2013-6461")
|
442
|
-
expect(sc).not_to be_nil
|
443
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6461)
|
444
|
-
end
|
445
|
-
it "must have test for CVE-2013-4478" do
|
446
|
-
sc = kb.find("CVE-2013-4478")
|
447
|
-
expect(sc).not_to be_nil
|
448
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4478)
|
449
|
-
end
|
450
|
-
it "must have test for CVE-2013-4479" do
|
451
|
-
sc = kb.find("CVE-2013-4479")
|
452
|
-
expect(sc).not_to be_nil
|
453
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4479)
|
454
|
-
end
|
455
|
-
it "must have test for CVE-2013-1812" do
|
456
|
-
sc = kb.find("CVE-2013-1812")
|
457
|
-
expect(sc).not_to be_nil
|
458
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1812)
|
459
|
-
end
|
460
|
-
it "must have test for CVE-2013-6421" do
|
461
|
-
sc = kb.find("CVE-2013-6421")
|
462
|
-
expect(sc).not_to be_nil
|
463
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6421)
|
464
|
-
end
|
465
|
-
|
466
|
-
it "must have test for CVE-2004-0755" do
|
467
|
-
sc = kb.find("CVE-2004-0755")
|
468
|
-
expect(sc).not_to be_nil
|
469
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2004_0755)
|
470
|
-
end
|
471
|
-
it "must have test for CVE-2004-0983" do
|
472
|
-
sc = kb.find("CVE-2004-0983")
|
473
|
-
expect(sc).not_to be_nil
|
474
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2004_0983)
|
475
|
-
end
|
476
|
-
it "must have test for CVE-2005-1992" do
|
477
|
-
sc = kb.find("CVE-2005-1992")
|
478
|
-
expect(sc).not_to be_nil
|
479
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2005_1992)
|
480
|
-
end
|
481
|
-
it "must have test for CVE-2005-2337" do
|
482
|
-
sc = kb.find("CVE-2005-2337")
|
483
|
-
expect(sc).not_to be_nil
|
484
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2005_2337)
|
485
|
-
end
|
486
|
-
it "must have test for CVE-2006-1931" do
|
487
|
-
sc = kb.find("CVE-2006-1931")
|
488
|
-
expect(sc).not_to be_nil
|
489
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_1931)
|
490
|
-
end
|
491
|
-
it "must have test for CVE-2006-2582" do
|
492
|
-
sc = kb.find("CVE-2006-2582")
|
493
|
-
expect(sc).not_to be_nil
|
494
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_2582)
|
495
|
-
end
|
496
|
-
it "must have test for CVE-2006-3694" do
|
497
|
-
sc = kb.find("CVE-2006-3694")
|
498
|
-
expect(sc).not_to be_nil
|
499
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_3694)
|
500
|
-
end
|
501
|
-
|
502
|
-
it "must have test for CVE-2006-4112" do
|
503
|
-
sc = kb.find("CVE-2006-4112")
|
504
|
-
expect(sc).not_to be_nil
|
505
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_4112)
|
506
|
-
end
|
507
|
-
|
508
|
-
it "must have test for CVE-2006-5467" do
|
509
|
-
sc = kb.find("CVE-2006-5467")
|
510
|
-
expect(sc).not_to be_nil
|
511
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_5467)
|
512
|
-
end
|
513
|
-
|
514
|
-
it "must have test for CVE-2006-6303" do
|
515
|
-
sc = kb.find("CVE-2006-6303")
|
516
|
-
expect(sc).not_to be_nil
|
517
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_6303)
|
518
|
-
end
|
519
|
-
it "must have test for CVE-2006-6852" do
|
520
|
-
sc = kb.find("CVE-2006-6852")
|
521
|
-
expect(sc).not_to be_nil
|
522
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_6852)
|
523
|
-
end
|
524
|
-
it "must have test for CVE-2006-6979" do
|
525
|
-
sc = kb.find("CVE-2006-6979")
|
526
|
-
expect(sc).not_to be_nil
|
527
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2006_6979)
|
528
|
-
end
|
529
|
-
it "must have test for CVE-2007-0469" do
|
530
|
-
sc = kb.find("CVE-2007-0469")
|
531
|
-
expect(sc).not_to be_nil
|
532
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_0469)
|
533
|
-
end
|
534
|
-
it "must have test for CVE-2013-2090" do
|
535
|
-
sc = kb.find("CVE-2013-2090")
|
536
|
-
expect(sc).not_to be_nil
|
537
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2090)
|
538
|
-
end
|
539
|
-
it "must have test for CVE-2011-4319" do
|
540
|
-
sc = kb.find("CVE-2011-4319")
|
541
|
-
expect(sc).not_to be_nil
|
542
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_4319)
|
543
|
-
end
|
544
|
-
it "must have test for CVE-2011-3187" do
|
545
|
-
sc = kb.find("CVE-2011-3187")
|
546
|
-
expect(sc).not_to be_nil
|
547
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_3187)
|
548
|
-
end
|
549
|
-
it "must have test for CVE-2011-3009" do
|
550
|
-
sc = kb.find("CVE-2011-3009")
|
551
|
-
expect(sc).not_to be_nil
|
552
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_3009)
|
553
|
-
end
|
554
|
-
|
555
|
-
it "must have test for CVE-2011-2930" do
|
556
|
-
sc = kb.find("CVE-2011-2930")
|
557
|
-
expect(sc).not_to be_nil
|
558
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2930)
|
559
|
-
end
|
560
|
-
|
561
|
-
it "must have test for CVE-2011-2705" do
|
562
|
-
sc = kb.find("CVE-2011-2705")
|
563
|
-
expect(sc).not_to be_nil
|
564
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2705)
|
565
|
-
end
|
566
|
-
it "must have test for CVE-2011-2686" do
|
567
|
-
sc = kb.find("CVE-2011-2686")
|
568
|
-
expect(sc).not_to be_nil
|
569
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_2686)
|
570
|
-
end
|
571
|
-
it "must have test for CVE-2011-1005" do
|
572
|
-
sc = kb.find("CVE-2011-1005")
|
573
|
-
expect(sc).not_to be_nil
|
574
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_1005)
|
575
|
-
end
|
576
|
-
it "must have test for CVE-2011-1004" do
|
577
|
-
sc = kb.find("CVE-2011-1004")
|
578
|
-
expect(sc).not_to be_nil
|
579
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_1004)
|
580
|
-
end
|
581
|
-
it "must have test for CVE-2011-0739" do
|
582
|
-
sc = kb.find("CVE-2011-0739")
|
583
|
-
expect(sc).not_to be_nil
|
584
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_0739)
|
585
|
-
end
|
586
|
-
it "must have test for CVE-2011-0188" do
|
587
|
-
sc = kb.find("CVE-2011-0188")
|
588
|
-
expect(sc).not_to be_nil
|
589
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_0188)
|
590
|
-
end
|
591
|
-
it "must have test for CVE-2010-3933" do
|
592
|
-
sc = kb.find("CVE-2010-3933")
|
593
|
-
expect(sc).not_to be_nil
|
594
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2010_3933)
|
595
|
-
end
|
596
|
-
it "must have test for CVE-2010-2489" do
|
597
|
-
sc = kb.find("CVE-2010-2489")
|
598
|
-
expect(sc).not_to be_nil
|
599
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2010_2489)
|
600
|
-
end
|
601
|
-
it "must have test for CVE-2009-4214" do
|
602
|
-
sc = kb.find("CVE-2009-4214")
|
603
|
-
expect(sc).not_to be_nil
|
604
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2009_4214)
|
605
|
-
end
|
606
|
-
it "must have test for CVE-2009-4124" do
|
607
|
-
sc = kb.find("CVE-2009-4124")
|
608
|
-
expect(sc).not_to be_nil
|
609
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2009_4124)
|
610
|
-
end
|
611
|
-
it "must have test for CVE-2009-4078" do
|
612
|
-
sc = kb.find("CVE-2009-4078")
|
613
|
-
expect(sc).not_to be_nil
|
614
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2009_4078)
|
615
|
-
end
|
616
|
-
it "must have test for CVE-2008-7248" do
|
617
|
-
sc = kb.find("CVE-2008-7248")
|
618
|
-
expect(sc).not_to be_nil
|
619
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_7248)
|
620
|
-
end
|
621
|
-
it "must have test for CVE-2008-5189" do
|
622
|
-
sc = kb.find("CVE-2008-5189")
|
623
|
-
expect(sc).not_to be_nil
|
624
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_5189)
|
625
|
-
end
|
626
|
-
it "must have test for CVE-2008-4310" do
|
627
|
-
sc = kb.find("CVE-2008-4310")
|
628
|
-
expect(sc).not_to be_nil
|
629
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_4310)
|
630
|
-
end
|
631
|
-
it "must have test for CVE-2008-4094" do
|
632
|
-
sc = kb.find("CVE-2008-4094")
|
633
|
-
expect(sc).not_to be_nil
|
634
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_4094)
|
635
|
-
end
|
636
|
-
it "must have test for CVE-2008-3905" do
|
637
|
-
sc = kb.find("CVE-2008-3905")
|
638
|
-
expect(sc).not_to be_nil
|
639
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_3905)
|
640
|
-
end
|
641
|
-
it "must have test for CVE-2008-3790" do
|
642
|
-
sc = kb.find("CVE-2008-3790")
|
643
|
-
expect(sc).not_to be_nil
|
644
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_3790)
|
645
|
-
end
|
646
|
-
it "must have test for CVE-2008-3657" do
|
647
|
-
sc = kb.find("CVE-2008-3657")
|
648
|
-
expect(sc).not_to be_nil
|
649
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_3657)
|
650
|
-
end
|
651
|
-
it "must have test for CVE-2008-3655" do
|
652
|
-
sc = kb.find("CVE-2008-3655")
|
653
|
-
expect(sc).not_to be_nil
|
654
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_3655)
|
655
|
-
end
|
656
|
-
it "must have test for CVE-2008-2725" do
|
657
|
-
sc = kb.find("CVE-2008-2725")
|
658
|
-
expect(sc).not_to be_nil
|
659
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_2725)
|
660
|
-
end
|
661
|
-
it "must have test for CVE-2008-2663" do
|
662
|
-
sc = kb.find("CVE-2008-2663")
|
663
|
-
expect(sc).not_to be_nil
|
664
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_2663)
|
665
|
-
end
|
666
|
-
it "must have test for CVE-2008-2664" do
|
667
|
-
sc = kb.find("CVE-2008-2664")
|
668
|
-
expect(sc).not_to be_nil
|
669
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_2664)
|
670
|
-
end
|
671
|
-
it "must have test for CVE-2008-2662" do
|
672
|
-
sc = kb.find("CVE-2008-2662")
|
673
|
-
expect(sc).not_to be_nil
|
674
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_2662)
|
675
|
-
end
|
676
|
-
it "must have test for CVE-2008-2376" do
|
677
|
-
sc = kb.find("CVE-2008-2376")
|
678
|
-
expect(sc).not_to be_nil
|
679
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_2376)
|
680
|
-
end
|
681
|
-
it "must have test for CVE-2008-1891" do
|
682
|
-
sc = kb.find("CVE-2008-1891")
|
683
|
-
expect(sc).not_to be_nil
|
684
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_1891)
|
685
|
-
end
|
686
|
-
it "must have test for CVE-2008-1145" do
|
687
|
-
sc = kb.find("CVE-2008-1145")
|
688
|
-
expect(sc).not_to be_nil
|
689
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2008_1145)
|
690
|
-
end
|
691
|
-
it "must have test for CVE-2007-6612" do
|
692
|
-
sc = kb.find("CVE-2007-6612")
|
693
|
-
expect(sc).not_to be_nil
|
694
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_6612)
|
695
|
-
end
|
696
|
-
it "must have test for CVE-2007-6077" do
|
697
|
-
sc = kb.find("CVE-2007-6077")
|
698
|
-
expect(sc).not_to be_nil
|
699
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_6077)
|
700
|
-
end
|
701
|
-
it "must have test for CVE-2007-5770" do
|
702
|
-
sc = kb.find("CVE-2007-5770")
|
703
|
-
expect(sc).not_to be_nil
|
704
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_5770)
|
705
|
-
end
|
706
|
-
it "must have test for CVE-2007-5380" do
|
707
|
-
sc = kb.find("CVE-2007-5380")
|
708
|
-
expect(sc).not_to be_nil
|
709
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_5380)
|
710
|
-
end
|
711
|
-
it "must have test for CVE-2007-5379" do
|
712
|
-
sc = kb.find("CVE-2007-5379")
|
713
|
-
expect(sc).not_to be_nil
|
714
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_5379)
|
715
|
-
end
|
716
|
-
it "must have test for CVE-2007-5162" do
|
717
|
-
sc = kb.find("CVE-2007-5162")
|
718
|
-
expect(sc).not_to be_nil
|
719
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2007_5162)
|
720
|
-
end
|
721
|
-
it "must have test for CVE-2013-2119" do
|
722
|
-
sc = kb.find("CVE-2013-2119")
|
723
|
-
expect(sc).not_to be_nil
|
724
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2119)
|
725
|
-
end
|
726
|
-
it "must have test for CVE-2013-7086" do
|
727
|
-
sc = kb.find("CVE-2013-7086")
|
728
|
-
expect(sc).not_to be_nil
|
729
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_7086)
|
730
|
-
end
|
731
|
-
it "must have test for CVE-2013-6459" do
|
732
|
-
sc = kb.find("CVE-2013-6459")
|
733
|
-
expect(sc).not_to be_nil
|
734
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_6459)
|
735
|
-
end
|
736
|
-
it "must have test for CVE-2013-5647" do
|
737
|
-
sc = kb.find("CVE-2013-5647")
|
738
|
-
expect(sc).not_to be_nil
|
739
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_5647)
|
740
|
-
end
|
741
|
-
it "must have test for CVE-2013-0263" do
|
742
|
-
sc = kb.find("CVE-2013-0263")
|
743
|
-
expect(sc).not_to be_nil
|
744
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0263)
|
745
|
-
end
|
746
|
-
it "must have test for CVE-2013-0256" do
|
747
|
-
sc = kb.find("CVE-2013-0256")
|
748
|
-
expect(sc).not_to be_nil
|
749
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0256)
|
750
|
-
end
|
751
|
-
it "must have test for CVE-2013-0162" do
|
752
|
-
sc = kb.find("CVE-2013-0162")
|
753
|
-
expect(sc).not_to be_nil
|
754
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0162)
|
755
|
-
end
|
756
|
-
it "must have test for CVE-2012-2671" do
|
757
|
-
sc = kb.find("CVE-2012-2671")
|
758
|
-
expect(sc).not_to be_nil
|
759
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2671)
|
760
|
-
end
|
761
|
-
it "must have test for CVE-2012-2139" do
|
762
|
-
sc = kb.find("CVE-2012-2139")
|
763
|
-
expect(sc).not_to be_nil
|
764
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_2139)
|
765
|
-
end
|
766
|
-
it "must have test for CVE-2012-1098" do
|
767
|
-
sc = kb.find("CVE-2012-1098")
|
768
|
-
expect(sc).not_to be_nil
|
769
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_1098)
|
770
|
-
end
|
771
|
-
it "must have test for CVE-2013-1756" do
|
772
|
-
sc = kb.find("CVE-2013-1756")
|
773
|
-
expect(sc).not_to be_nil
|
774
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1756)
|
775
|
-
end
|
776
|
-
it "must have test for CVE-2014-1233" do
|
777
|
-
sc = kb.find("CVE-2014-1233")
|
778
|
-
expect(sc).not_to be_nil
|
779
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_1233)
|
780
|
-
end
|
781
|
-
it "must have test for CVE-2014-1234" do
|
782
|
-
sc = kb.find("CVE-2014-1234")
|
783
|
-
expect(sc).not_to be_nil
|
784
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_1234)
|
785
|
-
end
|
786
|
-
it "must have test for CVE-2013-4413" do
|
787
|
-
sc = kb.find("CVE-2013-4413")
|
788
|
-
expect(sc).not_to be_nil
|
789
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4413)
|
790
|
-
end
|
791
|
-
|
792
|
-
it "must have test for CVE-2013-4489" do
|
793
|
-
sc = kb.find("CVE-2013-4489")
|
794
|
-
expect(sc).not_to be_nil
|
795
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4489)
|
796
|
-
end
|
797
|
-
it "must have test for CVE-2013-5671" do
|
798
|
-
sc = kb.find("CVE-2013-5671")
|
799
|
-
expect(sc).not_to be_nil
|
800
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_5671)
|
801
|
-
end
|
802
|
-
it "must have test for CVE-2013-4593" do
|
803
|
-
sc = kb.find("CVE-2013-4593")
|
804
|
-
expect(sc).not_to be_nil
|
805
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4593)
|
806
|
-
end
|
807
|
-
it "must have test for CVE-2013-0262" do
|
808
|
-
sc = kb.find("CVE-2013-0262")
|
809
|
-
expect(sc).not_to be_nil
|
810
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0262)
|
811
|
-
end
|
812
|
-
it "must have test for CVE-2013-0184" do
|
813
|
-
sc = kb.find("CVE-2013-0184")
|
814
|
-
expect(sc).not_to be_nil
|
815
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0184)
|
816
|
-
end
|
817
|
-
it "must have test for CVE-2013-0183" do
|
818
|
-
sc = kb.find("CVE-2013-0183")
|
819
|
-
expect(sc).not_to be_nil
|
820
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_0183)
|
821
|
-
end
|
822
|
-
it "must have test for CVE-2012-6109" do
|
823
|
-
sc = kb.find("CVE-2012-6109")
|
824
|
-
expect(sc).not_to be_nil
|
825
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6109)
|
826
|
-
end
|
827
|
-
it "must have test for CVE-2011-5036" do
|
828
|
-
sc = kb.find("CVE-2011-5036")
|
829
|
-
expect(sc).not_to be_nil
|
830
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2011_5036)
|
831
|
-
end
|
832
|
-
it "must have test for CVE-2013-2516" do
|
833
|
-
sc = kb.find("CVE-2013-2516")
|
834
|
-
expect(sc).not_to be_nil
|
835
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2516)
|
836
|
-
end
|
837
|
-
it "must have test for CVE-2013-2513" do
|
838
|
-
sc = kb.find("CVE-2013-2513")
|
839
|
-
expect(sc).not_to be_nil
|
840
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2513)
|
841
|
-
end
|
842
|
-
it "must have test for CVE-2013-2512" do
|
843
|
-
sc = kb.find("CVE-2013-2512")
|
844
|
-
expect(sc).not_to be_nil
|
845
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2512)
|
846
|
-
end
|
847
|
-
it "must have test for CVE-2013-1607" do
|
848
|
-
sc = kb.find("CVE-2013-1607")
|
849
|
-
expect(sc).not_to be_nil
|
850
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_1607)
|
851
|
-
end
|
852
|
-
it "must have test for CVE-2014-0080" do
|
853
|
-
sc = kb.find("CVE-2014-0080")
|
854
|
-
expect(sc).not_to be_nil
|
855
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_0080)
|
856
|
-
|
857
|
-
end
|
858
|
-
|
859
|
-
it "must have test for CVE-2014-0081" do
|
860
|
-
sc = kb.find("CVE-2014-0081")
|
861
|
-
expect(sc).not_to be_nil
|
862
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_0081)
|
863
|
-
end
|
864
|
-
it "must have test for CVE-2014-0082" do
|
865
|
-
sc = kb.find("CVE-2014-0082")
|
866
|
-
expect(sc).not_to be_nil
|
867
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_0082)
|
868
|
-
end
|
869
|
-
it "must have test for CVE-2014-2322" do
|
870
|
-
sc = kb.find("CVE-2014-2322")
|
871
|
-
expect(sc).not_to be_nil
|
872
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_2322)
|
873
|
-
end
|
874
|
-
|
875
|
-
it "must have test for CVE-2014-0036" do
|
876
|
-
sc = kb.find("CVE-2014-0036")
|
877
|
-
expect(sc).not_to be_nil
|
878
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_0036)
|
879
|
-
end
|
880
|
-
it "must have test for CVE-2014-2538" do
|
881
|
-
sc = kb.find("CVE-2014-2538")
|
882
|
-
expect(sc).not_to be_nil
|
883
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_2538)
|
884
|
-
end
|
885
|
-
it "must have test for CVE-2013-4203" do
|
886
|
-
sc = kb.find("CVE-2013-4203")
|
887
|
-
expect(sc).not_to be_nil
|
888
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_4203)
|
889
|
-
end
|
890
|
-
it "must have test for CVE-2014-2525" do
|
891
|
-
sc = kb.find("CVE-2014-2525")
|
892
|
-
expect(sc).not_to be_nil
|
893
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_2525)
|
894
|
-
end
|
895
|
-
it "must have test for OSVDB_105971" do
|
896
|
-
sc = kb.find("OSVDB-105971")
|
897
|
-
expect(sc).not_to be_nil
|
898
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_105971)
|
899
|
-
end
|
900
|
-
|
901
|
-
it "must have test for CVE-2014-0130" do
|
902
|
-
sc = kb.find("CVE-2014-0130")
|
903
|
-
expect(sc).not_to be_nil
|
904
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_0130)
|
905
|
-
end
|
906
|
-
it "must have test for CVE-2013-2105" do
|
907
|
-
sc = kb.find("CVE-2013-2105")
|
908
|
-
expect(sc).not_to be_nil
|
909
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2013_2105)
|
910
|
-
end
|
911
|
-
it "must have test for OSVDB-108569" do
|
912
|
-
sc = kb.find("OSVDB-108569")
|
913
|
-
expect(sc).not_to be_nil
|
914
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_108569)
|
915
|
-
end
|
916
|
-
|
917
|
-
it "must have test for OSVDB-108570" do
|
918
|
-
sc = kb.find("OSVDB-108570")
|
919
|
-
expect(sc).not_to be_nil
|
920
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_108570)
|
921
|
-
end
|
922
|
-
|
923
|
-
it "must have test for OSVDB-108530" do
|
924
|
-
sc = kb.find("OSVDB-108530")
|
925
|
-
expect(sc).not_to be_nil
|
926
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_108530)
|
927
|
-
end
|
928
|
-
it "must have test for OSVDB-108563" do
|
929
|
-
sc = kb.find("OSVDB-108563")
|
930
|
-
expect(sc).not_to be_nil
|
931
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_108563)
|
932
|
-
end
|
933
|
-
|
934
|
-
it "must have test for CVE-2014-3482" do
|
935
|
-
sc = kb.find("CVE-2014-3482")
|
936
|
-
expect(sc).not_to be_nil
|
937
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_3482)
|
938
|
-
end
|
939
|
-
|
940
|
-
it "must have test for CVE-2014-3483" do
|
941
|
-
sc = kb.find("CVE-2014-3483")
|
942
|
-
expect(sc).not_to be_nil
|
943
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_3483)
|
944
|
-
end
|
945
|
-
it "must have test for OSVDB_119927" do
|
946
|
-
sc = kb.find("OSVDB_119927")
|
947
|
-
expect(sc).not_to be_nil
|
948
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_119927)
|
949
|
-
end
|
950
|
-
it "must have test for OSVDB_119878" do
|
951
|
-
sc = kb.find("OSVDB_119878")
|
952
|
-
expect(sc).not_to be_nil
|
953
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_119878)
|
954
|
-
end
|
955
|
-
it "must have test for OSVDB_118954" do
|
956
|
-
sc = kb.find("OSVDB_118954")
|
957
|
-
expect(sc).not_to be_nil
|
958
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_118954)
|
959
|
-
end
|
960
|
-
it "must have test for OSVDB_118579" do
|
961
|
-
sc = kb.find("OSVDB_118579")
|
962
|
-
expect(sc).not_to be_nil
|
963
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_118579)
|
964
|
-
end
|
965
|
-
it "must have test for OSVDB_118830" do
|
966
|
-
sc = kb.find("OSVDB_118830")
|
967
|
-
expect(sc).not_to be_nil
|
968
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_118830)
|
969
|
-
end
|
970
|
-
it "must have test for CVE-2015-3224" do
|
971
|
-
sc = kb.find("CVE-2015-3224")
|
972
|
-
expect(sc).not_to be_nil
|
973
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_3224)
|
974
|
-
end
|
975
|
-
it "must have test for CVE-2015-3225" do
|
976
|
-
sc = kb.find("CVE-2015-3225")
|
977
|
-
expect(sc).not_to be_nil
|
978
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_3225)
|
979
|
-
end
|
980
|
-
it "must have test for CVE-2015-3227" do
|
981
|
-
sc = kb.find("CVE-2015-3227")
|
982
|
-
expect(sc).not_to be_nil
|
983
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_3227)
|
984
|
-
end
|
985
|
-
it "must have test for CVE-2015-3226" do
|
986
|
-
sc = kb.find("CVE-2015-3226")
|
987
|
-
expect(sc).not_to be_nil
|
988
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_3226)
|
989
|
-
end
|
990
|
-
it "must have test for CVE-2015-2963" do
|
991
|
-
sc = kb.find("CVE-2015-2963")
|
992
|
-
expect(sc).not_to be_nil
|
993
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_2963)
|
994
|
-
end
|
995
|
-
it "CVE-2015-1840 can't be tested. Trust me. It works"
|
996
|
-
it "must have test for CVE-2015-3448" do
|
997
|
-
sc = kb.find("CVE-2015-3448")
|
998
|
-
expect(sc).not_to be_nil
|
999
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_3448)
|
1000
|
-
end
|
1001
|
-
it "must have test for CVE-2014-9490" do
|
1002
|
-
sc = kb.find("CVE-2014-9490")
|
1003
|
-
expect(sc).not_to be_nil
|
1004
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_9490)
|
1005
|
-
end
|
1006
|
-
it "must have test for CVE-2012-6684" do
|
1007
|
-
sc = kb.find("CVE-2012-6684")
|
1008
|
-
expect(sc).not_to be_nil
|
1009
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2012_6684)
|
1010
|
-
end
|
1011
|
-
it "must have test for CVE-2014-8090" do
|
1012
|
-
sc = kb.find("CVE-2014-8090")
|
1013
|
-
expect(sc).not_to be_nil
|
1014
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_8090)
|
1015
|
-
end
|
1016
|
-
it "must have test for CVE-2014-7829" do
|
1017
|
-
sc = kb.find("CVE-2014-7829")
|
1018
|
-
expect(sc).not_to be_nil
|
1019
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_7829)
|
1020
|
-
end
|
1021
|
-
it "must have test for CVE-2014-3916" do
|
1022
|
-
sc = kb.find("CVE-2014-3916")
|
1023
|
-
expect(sc).not_to be_nil
|
1024
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_3916)
|
1025
|
-
end
|
1026
|
-
it "not sure if it must have check for CVE-2014-3248. Too much gem involved in a single CVE only with ruby 1.9.1 and with social engineering required"
|
1027
|
-
it "must have test for CVE-2014-4975" do
|
1028
|
-
sc = kb.find("CVE-2014-4975")
|
1029
|
-
expect(sc).not_to be_nil
|
1030
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_4975)
|
1031
|
-
end
|
1032
|
-
it "must have test for CVE-2014-7819" do
|
1033
|
-
sc = kb.find("CVE-2014-7819")
|
1034
|
-
expect(sc).not_to be_nil
|
1035
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_7819)
|
1036
|
-
end
|
1037
|
-
it "must have test for CVE-2014-7818" do
|
1038
|
-
sc = kb.find("CVE-2014-7818")
|
1039
|
-
expect(sc).not_to be_nil
|
1040
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2014_7818)
|
1041
|
-
end
|
1042
|
-
it "must have test for OSVDB_120415" do
|
1043
|
-
sc = kb.find("OSVDB_120415")
|
1044
|
-
expect(sc).not_to be_nil
|
1045
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_120415)
|
1046
|
-
end
|
1047
|
-
it "must have test for OSVDB_120857" do
|
1048
|
-
sc = kb.find("OSVDB_120857")
|
1049
|
-
expect(sc).not_to be_nil
|
1050
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_120857)
|
1051
|
-
end
|
1052
|
-
it "must have test for OSVDB_121701" do
|
1053
|
-
sc = kb.find("OSVDB_121701")
|
1054
|
-
expect(sc).not_to be_nil
|
1055
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_121701)
|
1056
|
-
end
|
1057
|
-
it "must have test for CVE-2015-4020" do
|
1058
|
-
sc = kb.find("CVE-2015-4020")
|
1059
|
-
expect(sc).not_to be_nil
|
1060
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_4020)
|
1061
|
-
end
|
1062
|
-
it "must have test for OSVDB_117903" do
|
1063
|
-
sc = kb.find("OSVDB_117903")
|
1064
|
-
expect(sc).not_to be_nil
|
1065
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_117903)
|
1066
|
-
end
|
1067
|
-
it "must have test for OSVDB_115654" do
|
1068
|
-
sc = kb.find("OSVDB_115654")
|
1069
|
-
expect(sc).not_to be_nil
|
1070
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_115654)
|
1071
|
-
end
|
1072
|
-
it "must have test for OSVDB_116010" do
|
1073
|
-
sc = kb.find("OSVDB_116010")
|
1074
|
-
expect(sc).not_to be_nil
|
1075
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_116010)
|
1076
|
-
end
|
1077
|
-
it "must have test for CVE-2015-1819" do
|
1078
|
-
sc = kb.find("CVE-2015-1819")
|
1079
|
-
expect(sc).not_to be_nil
|
1080
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_1819)
|
1081
|
-
end
|
1082
|
-
it "must have test for CVE-2015-7576" do
|
1083
|
-
sc = kb.find("CVE-2015-7576")
|
1084
|
-
expect(sc).not_to be_nil
|
1085
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7576)
|
1086
|
-
end
|
1087
|
-
it "must have test for CVE-2016-0751" do
|
1088
|
-
sc = kb.find("CVE-2016-0751")
|
1089
|
-
expect(sc).not_to be_nil
|
1090
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_0751)
|
1091
|
-
end
|
1092
|
-
it "must have test for CVE-2015-7577" do
|
1093
|
-
sc = kb.find("CVE-2015-7577")
|
1094
|
-
expect(sc).not_to be_nil
|
1095
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7577)
|
1096
|
-
end
|
1097
|
-
it "must have test for CVE-2015-7579" do
|
1098
|
-
sc = kb.find("CVE-2015-7579")
|
1099
|
-
expect(sc).not_to be_nil
|
1100
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7579)
|
1101
|
-
end
|
1102
|
-
it "must have test for CVE-2016-0752" do
|
1103
|
-
sc = kb.find("CVE-2016-0752")
|
1104
|
-
expect(sc).not_to be_nil
|
1105
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_0752)
|
1106
|
-
end
|
1107
|
-
it "must have test for CVE-2016-0753" do
|
1108
|
-
sc = kb.find("CVE-2016-0753")
|
1109
|
-
expect(sc).not_to be_nil
|
1110
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_0753)
|
1111
|
-
end
|
1112
|
-
it "must have test for CVE-2015-7578" do
|
1113
|
-
sc = kb.find("CVE-2015-7578")
|
1114
|
-
expect(sc).not_to be_nil
|
1115
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7578)
|
1116
|
-
end
|
1117
|
-
it "must have test for CVE-2015-7581" do
|
1118
|
-
sc = kb.find("CVE-2015-7581")
|
1119
|
-
expect(sc).not_to be_nil
|
1120
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7581)
|
1121
|
-
end
|
1122
|
-
it "must have test for CVE-2015-5312" do
|
1123
|
-
sc = kb.find("CVE-2015-5312")
|
1124
|
-
expect(sc).not_to be_nil
|
1125
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_5312)
|
1126
|
-
end
|
1127
|
-
it "must have test for CVE-2015-7497" do
|
1128
|
-
sc = kb.find("CVE-2015-7497")
|
1129
|
-
expect(sc).not_to be_nil
|
1130
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7497)
|
1131
|
-
end
|
1132
|
-
it "must have test for CVE-2015-7498" do
|
1133
|
-
sc = kb.find("CVE-2015-7498")
|
1134
|
-
expect(sc).not_to be_nil
|
1135
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7498)
|
1136
|
-
end
|
1137
|
-
it "must have test for CVE-2015-7499" do
|
1138
|
-
sc = kb.find("CVE-2015-7499")
|
1139
|
-
expect(sc).not_to be_nil
|
1140
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7499)
|
1141
|
-
end
|
1142
|
-
it "must have test for CVE-2015-7500" do
|
1143
|
-
sc = kb.find("CVE-2015-7500")
|
1144
|
-
expect(sc).not_to be_nil
|
1145
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7500)
|
1146
|
-
end
|
1147
|
-
it "must have test for CVE-2015-8241" do
|
1148
|
-
sc = kb.find("CVE-2015-8241")
|
1149
|
-
expect(sc).not_to be_nil
|
1150
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_8241)
|
1151
|
-
end
|
1152
|
-
it "must have test for CVE-2015-8242" do
|
1153
|
-
sc = kb.find("CVE-2015-8242")
|
1154
|
-
expect(sc).not_to be_nil
|
1155
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_8242)
|
1156
|
-
end
|
1157
|
-
it "must have test for CVE-2015-8317" do
|
1158
|
-
sc = kb.find("CVE-2015-8317")
|
1159
|
-
expect(sc).not_to be_nil
|
1160
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_8317)
|
1161
|
-
end
|
1162
|
-
it "must have test for CVE-2015-7541" do
|
1163
|
-
sc = kb.find("CVE-2015-7541")
|
1164
|
-
expect(sc).not_to be_nil
|
1165
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7541)
|
1166
|
-
end
|
1167
|
-
it "must have test for CVE-2015-7519" do
|
1168
|
-
sc = kb.find("CVE-2015-7519")
|
1169
|
-
expect(sc).not_to be_nil
|
1170
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2015_7519)
|
1171
|
-
end
|
1172
|
-
it "must have test for CVE-2016-2098" do
|
1173
|
-
sc = kb.find("CVE-2016-2098")
|
1174
|
-
expect(sc).not_to be_nil
|
1175
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_2098)
|
1176
|
-
end
|
1177
|
-
it "must have test for CVE-2016-2097" do
|
1178
|
-
sc = kb.find("CVE-2016-2097")
|
1179
|
-
expect(sc).not_to be_nil
|
1180
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_2097)
|
1181
|
-
end
|
1182
|
-
it "must have test for OSVDB_132234" do
|
1183
|
-
sc = kb.find("OSVDB_132234")
|
1184
|
-
expect(sc).not_to be_nil
|
1185
|
-
expect(sc.class).to eq(Dawn::Kb::OSVDB_132234)
|
1186
|
-
end
|
1187
|
-
it "must have test for CVE-2016-6317" do
|
1188
|
-
sc = kb.find("CVE-2016-6317")
|
1189
|
-
expect(sc).not_to be_nil
|
1190
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_6317)
|
1191
|
-
end
|
1192
|
-
it "must have test for CVE-2016-6316" do
|
1193
|
-
sc = kb.find("CVE-2016-6316")
|
1194
|
-
expect(sc).not_to be_nil
|
1195
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_6316)
|
1196
|
-
end
|
1197
|
-
it "must have test for CVE-2016-5697" do
|
1198
|
-
sc = kb.find("CVE-2016-5697")
|
1199
|
-
expect(sc).not_to be_nil
|
1200
|
-
expect(sc.class).to eq(Dawn::Kb::CVE_2016_5697)
|
1201
|
-
end
|
1202
|
-
end
|