aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)AuthorFilesLines
2022-02-23nvdmirror: add nvdmirror/util.goPaul Duncan2-23/+29
2022-02-23nvdmirror: add nvdmirror/syncconfig.goPaul Duncan2-106/+111
2022-02-23cmd/update.go: update to reflect new apiPaul Duncan1-6/+4
2022-02-23nvdmirror: full rewrite (still not working correctly)Paul Duncan2-132/+427
2022-02-22cmd/update.go: update for new nvdmirror apiPaul Duncan1-3/+3
2022-02-22nvdmirror: use atomictempPaul Duncan2-34/+26
2022-02-22add atomictempPaul Duncan2-0/+116
2022-02-22nvdmirror: update jsoncache test dataPaul Duncan4-3/+2
2022-02-22nvdmirror: add SyncConfig, add additional testsPaul Duncan2-55/+123
2022-02-22nvdmirror/failsetcache: add Delete()Paul Duncan2-0/+12
2022-02-22nvdmirror: add failsetcachePaul Duncan2-0/+54
2022-02-22cmd: add update cmdPaul Duncan1-0/+46
2022-02-22add nvdmirror, including cache iface, jsoncache impl, Sync() func, and test dataPaul Duncan28-0/+706
2022-02-22Makefile: add testall and testalljson, update test and testjson to use -shortPaul Duncan1-2/+10
2022-02-22dbstore: update tests to exclude excrutiating ones in short test modePaul Duncan1-0/+20
2022-02-21add cvss/calc.go and cmd/cvss.go (cvss calculator)Paul Duncan2-0/+113
2022-02-21add zerologPaul Duncan2-0/+9
2022-02-21add cobra dep, add cmd/Paul Duncan4-7/+816
2022-02-20add cobra dep, add cmd/Paul Duncan2-0/+31
2022-02-20dbstore: shrink CVE FTS index (test index from 120M to 86M) by removing all I...Paul Duncan4-108/+90
2022-02-20dbstore/sql/init.sql: remove per-table cve fts triggers, add size notes and T...Paul Duncan1-486/+12
2022-02-20dbstore/sql/init.sql: fix printf() in cve_nvd_idsPaul Duncan1-1/+1
2022-02-20dbstore/dbstore_test.go: replace TestAddCveFeed() with TestAddCveFeeds()Paul Duncan1-17/+18
2022-02-20dbstore: add AddCveFeeds(), fix bugs, fix TestAddCveFeedPaul Duncan4-25/+75
2022-02-20feed/score.go: add NewScore() (disabled)Paul Duncan1-0/+11
2022-02-20dbstore/sql/init.sql: add cve_nvd_ids, remove existing cve_all triggers, add ...Paul Duncan1-417/+512
2022-02-19dbstore: add CveSearch() and test (but not test data)Paul Duncan2-1/+76
2022-02-19dbstore: add CveSearch() and test (but not test data)Paul Duncan2-0/+47
2022-02-19dbstore/sql/init.sql: add cve_fts_all (note: 10x test db size increase, from ...Paul Duncan1-0/+556
2022-02-19add dbstore/sql/feed/insert-assigner.sqlPaul Duncan1-0/+13
2022-02-19dbstore: store cve year and number instead of CVE ID, add and use assigners t...Paul Duncan3-8/+44
2022-02-19dbstore/dbstore.go: fix query parameters, make v2 impact and v3 impact optionalPaul Duncan1-11/+21
2022-02-19dbstore/sql/init.sql: s/severeties/severities/, tighten cpe23, lang, and cve ...Paul Duncan1-13/+11
2022-02-19feed/v3version_string.go: regeneratePaul Duncan1-3/+4
2022-02-19feed/vector.go: add String()Paul Duncan1-1/+6
2022-02-19feed/cveid_test.go: update testsPaul Duncan1-13/+13
2022-02-19feed/cveid.go: shift start year to 1999 and end year to 2126 to handle CVEs f...Paul Duncan1-3/+3
2022-02-19feed/v3version.go: add 3.0 supportPaul Duncan1-1/+4
2022-02-19feed/feed.go: make basemetrics optionalPaul Duncan1-2/+2
2022-02-19dbstore/sql/feed: fix misc query typosPaul Duncan2-4/+3
2022-02-19dbstore/dbstore_test.go: add TestAddCveFeed()Paul Duncan1-0/+59
2022-02-19dbstore/testdata: add nvdcve-1.1-*.json.gz symlinksPaul Duncan3-0/+3
2022-02-19add dbstore/sql/feedPaul Duncan11-0/+52
2022-02-19dbstore/dbstore.go: add all queries for AddCveFeed()Paul Duncan1-0/+9
2022-02-19dbstore/dbstore.go: s/insert-description/insert-desc, shorten commentPaul Duncan1-2/+2
2022-02-19dbstore/dbstore.go: add impact, add TODO for item configuration, add disabled...Paul Duncan1-1/+77
2022-02-19dbstore/sql/init.sql: clean up indentation, add item v2 and v3 impactsPaul Duncan1-99/+234
2022-02-19feed/score.go: document Score()Paul Duncan1-0/+1
2022-02-19dbstore/dbstore.go: add AddCveFeed() (incomplete)Paul Duncan1-0/+256
2022-02-19dbstore/sql/init.sql: add initial cve tablesPaul Duncan1-3/+182