aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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 ↵Paul Duncan1-1/+77
disabled cve count check
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
2022-02-19feed/time.go: add MarshalText()Paul Duncan1-0/+4
2022-02-18dbstore: rename Tx to Begin, add Tx which accepts callback and handles ↵Paul Duncan2-91/+109
commit/rollback
2022-02-18dbstore: refactor sqlfs and tx, add tx testsPaul Duncan6-150/+793
2022-02-18dbstore: add enableForeignKeys()Paul Duncan1-2/+8
2022-02-17dbstore: add DbStore#CpeMatchSearch() and backing queryPaul Duncan2-5/+71
2022-02-17dbstore/dbstore.go: add AddCpeMatches()Paul Duncan1-0/+100
2022-02-17dbstore/dbstore.go: update cpe queries, move queryIds outside of funcPaul Duncan1-5/+11
2022-02-17dbstore/cpesearch*: refactor search queriesPaul Duncan3-7/+7
2022-02-17dbstore/sql: add cpe and cpe-match subdirsPaul Duncan11-0/+20
2022-02-17dbstore/sql/init.sql: add cpe_match* tablesPaul Duncan1-4/+99
2022-02-17cvss: add TestV30VectorScores()Paul Duncan1-0/+278
2022-02-17cvss/vector.go: add Score() to Vector ifacePaul Duncan1-0/+3
2022-02-17cvss/v30vector.go: add v30Vector#Score()Paul Duncan1-0/+162
2022-02-17cvss: move v31 utility functions to work with all 3.x vectorsPaul Duncan2-202/+207
2022-02-16cvss: 100% v31vector test coveragePaul Duncan5-256/+408
2022-02-07cvss/v31vector.go: fix temporal score, add temporal score testsPaul Duncan2-6/+127
2022-02-07cvss: add v31Vector.Scores() and initial testsPaul Duncan2-2/+347
2022-02-07cvss: s/MMRNotDefined/MPRNotDefined/Paul Duncan3-7/+7
2022-02-07cvss: mv newScoresFromV2Vector() to v2Vector.Scores(), update testsPaul Duncan4-443/+435
2022-02-07cvss: mv v2scores scoresPaul Duncan2-0/+0
2022-02-07s/v2Scores/Scores/Paul Duncan3-22/+22
2022-02-07cvss: add score severity and testsPaul Duncan2-0/+78
2022-02-07cvss: add unknown severityPaul Duncan3-2/+5
2022-02-07cvss: rename v2Score to Score, update deps and testsPaul Duncan3-23/+23
2022-02-07cvss: add severity and testsPaul Duncan3-0/+69
2022-02-07cvss/v2scores.go: remove unneeded rounding so env scores are consistent w/ ↵Paul Duncan1-1/+2
nvd cvss v2 calculator
2022-02-07cvss: add tests for all metricsPaul Duncan1-0/+132
2022-02-07cvss/v2scores_test.go: add TestNewV2SCoresFromFloats, add TestNewV2Scores ↵Paul Duncan1-35/+64
test vectors
2022-02-07cvss/v2scores.go: add newV2ScoresFromFloats(), fix temporal score and env ↵Paul Duncan1-34/+46
score equations
2022-02-06cvss: add v2scores and tests (busted atm)Paul Duncan2-0/+333
2022-02-06cvss: add v2scores and tests (busted atm)Paul Duncan1-0/+5
2022-02-06add cvss/v2score and testsPaul Duncan2-0/+124
2022-02-05dbscore: add openFull and testPaul Duncan2-7/+19
2022-02-05dbstore: add CpeSearch() fail testsPaul Duncan1-2/+20
2022-02-05dbstore/dbstore.go: add comment about weird result set error handlingPaul Duncan1-0/+4
2022-02-05dbstore: refactor, separate cpesearchrow and cpesearchtype, add ↵Paul Duncan6-117/+156
cpesearchtype_test
2022-02-05dbstore: add unmarshalcpesearchrow and testsPaul Duncan2-36/+270