Skip to content

Commit f352dbf

Browse files
jasnowpostmodern
authored andcommitted
Change min_year from 2015 to 2000 to support all past GHSA rubygem advisories
1 parent 319e1fb commit f352dbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/github_advisory_sync.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class GitHubAdvisorySync
1616
# The min_year argument specifies the earliest year CVE to sync.
1717
# It is more important to sync the newer ones, so this allows the user to
1818
# control how old of CVEs the sync should pull over
19-
def self.sync(min_year: 2015, gem_name: nil)
19+
def self.sync(min_year: 2000, gem_name: nil)
2020
gh_advisories = GraphQLAPIClient.new.all_rubygem_advisories(gem_name: gem_name)
2121

2222
# Filter out advisories with a CVE year that is before the min_year

0 commit comments

Comments
 (0)