Skip to content

Commit 47d744e

Browse files
jasnowpostmodern
authored andcommitted
Added Use GHSA- filename if gsha: value in OSVDB- filename/2ndtry
1 parent bdbb54b commit 47d744e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/advisory_example.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
it "should CVE-XXX if cve field has a value" do
4545
if advisory['cve']
4646
expect(filename).to start_with('CVE-')
47+
elsif advisory['ghsa']
48+
expect(filename).to start_with('GHSA-')
4749
end
4850
end
4951

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy