File tree Expand file tree Collapse file tree 1 file changed +14
-10
lines changed
Expand file tree Collapse file tree 1 file changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -14,19 +14,23 @@ jobs:
1414 with :
1515 go-version : ' ^1.16.4'
1616 - run : |
17- wget http ://pypa-advisory-db.storage.googleapis.com/triage/pypi_links.json
18- wget http ://pypa-advisory-db.storage.googleapis.com/triage/pypi_versions.json
17+ wget https ://pypa-advisory-db.storage.googleapis.com/triage/pypi_links.json
18+ wget https ://pypa-advisory-db.storage.googleapis.com/triage/pypi_versions.json
1919 - run : |
20- wget https://storage.googleapis.com/cve-osv-conversion/nvd/nvdcve-2.0-2024.json
20+ for year in $(seq 2002 $(date +%Y)); do
21+ wget https://storage.googleapis.com/cve-osv-conversion/nvd/nvdcve-2.0-$year.json;
22+ done
2123 - run : |
2224 go install github.com/google/osv/vulnfeeds/cmd/pypi@master
23- pypi -false_positives triage/false_positives.yaml \
24- -nvd_json nvdcve-2.0-2024.json \
25- -pypi_links pypi_links.json \
26- -pypi_versions pypi_versions.json \
27- -out_dir vulns \
28- -without_notes \
29- -exclude_unbounded
25+ for nvdfile in nvdcve-2.0-*.json; do
26+ pypi -false_positives triage/false_positives.yaml \
27+ -nvd_json $nvdfile \
28+ -pypi_links pypi_links.json \
29+ -pypi_versions pypi_versions.json \
30+ -out_dir vulns \
31+ -without_notes \
32+ -exclude_unbounded;
33+ done
3034 git config user.name github-actions
3135 git config user.email github-actions@github.com
3236 git add vulns
You can’t perform that action at this time.
0 commit comments