Commit Graph

79 Commits (cd23262e41fc51eefe6aad403f777a21df93bb22)

Author SHA1 Message Date
Quentin Machu cd23262e41 pgsql: Do not insert entry in Vulnerability_FixedIn_Feature if existing
8 years ago
Matt Moore 90cc8243ba Add Ubuntu yakkety to the namespace mapping.
8 years ago
Quentin Machu a03459d02e Merge pull request #165 from Quentin-M/db_registration
8 years ago
Jimmy Zelinskie 5d8336acb3 pgsql: use subquery to plan GetNotification query (#182)
8 years ago
Quentin Machu 836d37b275 *: use `path/filepath` instead of `path`
8 years ago
Quentin Machu b99e2b50e2 database: Add some missing copyright headers
8 years ago
Quentin Machu 629d2ce662 database: Mock Datastore interface
8 years ago
Quentin Machu a38fbf6cfe worker/database: Move upgrade detection logic out of database to worker
8 years ago
Jimmy Zelinskie 51f9c5dcb4 pgsql: remove unnecessary join used in GetNotification (#179)
8 years ago
Quentin Machu e7b960c05b database: Allow specifying datastore driver by config
8 years ago
Quentin Machu 79ba99bbea database: Fix invalid error message
9 years ago
Jimmy Zelinskie 363cde29f4 psql: add debug message for duplicate layers
9 years ago
liangchenye 1a863a06cf remove the useless pointer of NextPage field; check namespace notfound error
9 years ago
liangchenye 48ffb2687a use encrypt page in listVuln api
9 years ago
liangchenye a541e964e0 New API: list vulnerabilities by namespace
9 years ago
Quentin Machu 9b191fb598 database: Find the FeatureVersion we try to insert before doing any lock
9 years ago
Jimmy Zelinskie 500fc4e407 various: gofmt -s
9 years ago
Jimmy Zelinskie 8fd0aa162b various: spelling corrections
9 years ago
Quentin Machu 84319507df database: use constants to store queries
9 years ago
Quentin Machu 06531e01c5 database: disable hash/merge joins in FindLayer
9 years ago
Quentin Machu 18f2d7e672 database: modify join table in FindLayer to reduce cost by 3.5x
9 years ago
Quentin Machu 6d2eedf121 api/database: add the layer name that add each feature in getLayer
9 years ago
Quentin Machu b5d8f9952e database: fix notification test (wrong signature)
9 years ago
Quentin Machu f0816d2c4d database: add docs about the interface
9 years ago
Quentin Machu d3b14106a9 database: ignore insertLayer collisions to make it truly idempotent
9 years ago
Quentin Machu e3a25e5368 database: ignore min versions during new vulnerability insertions
9 years ago
Quentin Machu 7c11e4eb5d updater/database: do not create notifications during the initial update
9 years ago
Quentin Machu 883be8769f database: fix Ping() method in PostgreSQL's implementation
9 years ago
Quentin Machu f8b4a52f8a database: make notification tests more robust (old/new, update/delete vulnerabilities)
9 years ago
Quentin Machu ccaaff000e database: add created_at field for layers and vulnerabilities
9 years ago
Quentin Machu 94ece7bf2b database: fix notification design and add vulnerability history
9 years ago
Jimmy Zelinskie 99f3552470 database: add Insert/DeleteVulnerabilityFix
9 years ago
Quentin Machu 03d904c620 database: improve PostgreSQL test inits and cleanups
9 years ago
Quentin Machu 5fdd9d1a07 *: add metadata support along with NVD CVSS
9 years ago
Quentin Machu 8f9779e232 database: cache feature version upon lookup
9 years ago
Quentin Machu 1e4ded6f2b database: add ability to list namespaces
9 years ago
Quentin Machu 35df7ca0eb database: fix feature version cache
9 years ago
Quentin Machu 8be18a0a01 database: write more of the notification system
9 years ago
Quentin Machu 3ecb8b69cb updater: ignore "ubuntu-core" in the Ubuntu fetcher
9 years ago
Quentin Machu d3d689a26a database: don't prune locks when we renew one
9 years ago
Quentin Machu 2690800331 database: create notification during vulnerability insertion
9 years ago
Quentin Machu baed60e19b prometheus: add initial Prometheus support
9 years ago
Quentin Machu ad0531acc7 notifier/database: refactor notification system and add initial Prometheus support
9 years ago
Quentin Machu b8b7be3f81 *: remove health checker
9 years ago
Quentin Machu 63ebddfd36 database: add vulnerability deletion support
9 years ago
Quentin Machu 21f152c03e database: fix keyvalue/notification tests
9 years ago
Quentin Machu 563b3825d8 database: let handleErrors deal with the not found case
9 years ago
Quentin Machu c60d0054fa notifier/database: draft new notification system
9 years ago
Quentin Machu 5759af5bcf database: test and fix layer updates
9 years ago
Quentin Machu 726bd3c0c6 database/api: add layer deletion support
9 years ago