aboutsummaryrefslogtreecommitdiff
path: root/dbstore/dbstore.go
AgeCommit message (Collapse)AuthorFilesLines
2022-03-18dbstore/dbstore.go: CisaSearch(): json_group_array() aggregates rows in an ↵Paul Duncan1-0/+4
arbitrary order, so use sort.Sort() to sort the results in ascending order
2022-03-16dbstore/dbstore.go: add AddCisaCatalogs() and CisaSearch()Paul Duncan1-0/+154
2022-03-15dbstore/dbstore.go: fix query IDs variable namePaul Duncan1-2/+2
2022-02-26dbstore/dbstore.go: fix QueryRow documentationPaul Duncan1-1/+1
2022-02-26dbstore/dbstore.go: move addCpeDictionaryQueryIdsPaul Duncan1-6/+7
2022-02-26dbstore: add dbstore/util.go w/ testsPaul Duncan1-27/+2
2022-02-20dbstore: add AddCveFeeds(), fix bugs, fix TestAddCveFeedPaul Duncan1-14/+32
2022-02-19dbstore: add CveSearch() and test (but not test data)Paul Duncan1-1/+48
2022-02-19dbstore: store cve year and number instead of CVE ID, add and use assigners ↵Paul Duncan1-1/+14
table
2022-02-19dbstore/dbstore.go: fix query parameters, make v2 impact and v3 impact optionalPaul Duncan1-11/+21
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/dbstore.go: add AddCveFeed() (incomplete)Paul Duncan1-0/+256
2022-02-18dbstore: rename Tx to Begin, add Tx which accepts callback and handles ↵Paul Duncan1-86/+104
commit/rollback
2022-02-18dbstore: refactor sqlfs and tx, add tx testsPaul Duncan1-150/+87
2022-02-18dbstore: add enableForeignKeys()Paul Duncan1-2/+8
2022-02-17dbstore: add DbStore#CpeMatchSearch() and backing queryPaul Duncan1-5/+60
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-05dbscore: add openFull and testPaul Duncan1-3/+14
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 Duncan1-55/+0
cpesearchtype_test
2022-02-05dbstore: add unmarshalcpesearchrow and testsPaul Duncan1-20/+30
2022-02-05mv internal/dbstore dbstorePaul Duncan1-0/+255