aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-02-26add dbstore/testdata/readonly.dbPaul Duncan1-0/+0
2022-02-26dbstore/dbstore_test.go: add TestTx(), TestQuery(), and TestQueryRow()Paul Duncan1-0/+254
2022-02-26dbstore: add dbstore/sql/test/query{,row}Paul Duncan6-0/+46
2022-02-26dbstore/dbstore.go: fix QueryRow documentationPaul Duncan1-1/+1
2022-02-26dbstore: add dbstore/sqlfs_test.goPaul Duncan2-44/+49
2022-02-26dbstore/dbstore.go: move addCpeDictionaryQueryIdsPaul Duncan1-6/+7
2022-02-26dbstore: add dbstore/util.go w/ testsPaul Duncan3-27/+73
2022-02-26cpe/v23binding_test.go: fix TestV23BindingUnmarshalJSON()Paul Duncan1-1/+8
2022-02-25nvdmirror: add getFileSize() test for empty filePaul Duncan2-0/+25
2022-02-24add nvdmirror/syncconfig_test.goPaul Duncan1-0/+158
2022-02-24nvdmirror/sync.go: compact source, improve documentationPaul Duncan1-16/+20
2022-02-24nvdmirror: break Sync() into logical chunks, move into syncContextPaul Duncan3-119/+156
2022-02-23add nvdmirror/synccontext.goPaul Duncan2-246/+249
2022-02-23nvdmirror: rename nvdmirror.go to sync.go and nvdmirror_test.go to sync_test.goPaul Duncan2-0/+0
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 ↵Paul Duncan4-108/+90
IDs except cve_id, concatenating reference tags, and removing severities
2022-02-20dbstore/sql/init.sql: remove per-table cve fts triggers, add size notes and ↵Paul Duncan1-486/+12
TODO to cve fts refresh table
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
cve_fts_refresh with triggers
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
31M to 320M)
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 ↵Paul Duncan3-8/+44
table
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
ID constraints
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