File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -178,8 +178,6 @@ def check_ref_identifiers
178
178
case identifier
179
179
when 'CVE'
180
180
warn ( "Invalid CVE format: '#{ value } '" ) if value !~ /^\d {4}\- \d {4,}$/
181
- when 'OSVDB'
182
- warn ( "Invalid OSVDB format: '#{ value } '" ) if value !~ /^\d +$/
183
181
when 'BID'
184
182
warn ( "Invalid BID format: '#{ value } '" ) if value !~ /^\d +$/
185
183
when 'MSB'
@@ -197,9 +195,7 @@ def check_ref_identifiers
197
195
when 'PACKETSTORM'
198
196
warn ( "Invalid PACKETSTORM reference" ) if value !~ /^\d +$/
199
197
when 'URL'
200
- if value =~ /^http:\/ \/ www\. osvdb\. org/
201
- warn ( "Please use 'OSVDB' for '#{ value } '" )
202
- elsif value =~ /^http:\/ \/ cvedetails\. com\/ cve/
198
+ if value =~ /^http:\/ \/ cvedetails\. com\/ cve/
203
199
warn ( "Please use 'CVE' for '#{ value } '" )
204
200
elsif value =~ /^http:\/ \/ www\. securityfocus\. com\/ bid\/ /
205
201
warn ( "Please use 'BID' for '#{ value } '" )
Original file line number Diff line number Diff line change 24
24
def types
25
25
{
26
26
'ALL' => '' ,
27
- 'OSVDB' => 'http://www.osvdb.org/#{in_ctx_val}' ,
28
27
'CVE' => 'http://cvedetails.com/cve/#{in_ctx_val}/' ,
29
28
'CWE' => 'http://cwe.mitre.org/data/definitions/#{in_ctx_val}.html' ,
30
29
'BID' => 'http://www.securityfocus.com/bid/#{in_ctx_val}' ,
You can’t perform that action at this time.
0 commit comments