Commit Graph

34 Commits (73bc2bc36b5468397ab148fd9416e7f890b2315e)

Author SHA1 Message Date
Sida Chen 79af05e67d pgsql: Fix postgres queries for feature_type
5 years ago
Ales Raszka 015a79fd5a Layer: replace arrays with slices
5 years ago
Sida Chen 0c1b80b2ed pgsql: Implement database queries for detector relationship
6 years ago
Sida Chen 9c49d9dc55 pgsql: Move queries to corresponding files
6 years ago
Sida Chen e160616723 database: Use LayerWithContent as Layer
6 years ago
Sida Chen 5d725e67b0 Replace Ancestry with AncestryWithContent struct in database models
6 years ago
Sida Chen 2827b9342b Update Database and Worker implementation for layer-wise feature
6 years ago
Sida Chen a5c6400065 database: postgres implementation with tests.
7 years ago
Sida Chen bffa6499b7 added support for detect multiple namespaces in a layer
7 years ago
Sida Chen 9306e99368 converted to structured logging by using logrus
7 years ago
Jimmy Zelinskie 3e4dc3834f utils: remove string.go
7 years ago
Jimmy Zelinskie 78cef02fda pkg: cerrors -> commonerr
7 years ago
Jimmy Zelinskie 033709eaea add registerable version formats
7 years ago
Quentin Machu a38fbf6cfe worker/database: Move upgrade detection logic out of database to worker
8 years ago
Quentin Machu e7b960c05b database: Allow specifying datastore driver by config
8 years ago
Jimmy Zelinskie 363cde29f4 psql: add debug message for duplicate layers
8 years ago
Jimmy Zelinskie 500fc4e407 various: gofmt -s
8 years ago
Jimmy Zelinskie 8fd0aa162b various: spelling corrections
8 years ago
Quentin Machu 84319507df database: use constants to store queries
8 years ago
Quentin Machu 06531e01c5 database: disable hash/merge joins in FindLayer
8 years ago
Quentin Machu 6d2eedf121 api/database: add the layer name that add each feature in getLayer
8 years ago
Quentin Machu f0816d2c4d database: add docs about the interface
8 years ago
Quentin Machu d3b14106a9 database: ignore insertLayer collisions to make it truly idempotent
8 years ago
Quentin Machu 5fdd9d1a07 *: add metadata support along with NVD CVSS
8 years ago
Quentin Machu baed60e19b prometheus: add initial Prometheus support
8 years ago
Quentin Machu 563b3825d8 database: let handleErrors deal with the not found case
8 years ago
Quentin Machu 726bd3c0c6 database/api: add layer deletion support
8 years ago
Quentin Machu 82175dcfe9 *: add missing copyright headers
8 years ago
Quentin Machu 92b734d0a4 database: remove an useless query in FindLayer
8 years ago
Quentin Machu 7c70fc1c20 database: add initial vulnerability support
8 years ago
Quentin Machu 3a786ae020 database: add lock support
8 years ago
Quentin Machu 6a9cf21fd4 database: log and mask SQL errors
8 years ago
Quentin Machu 970756cd5a database: do insert/find layers (with their features and vulnerabilities)
8 years ago
Quentin Machu 2c150b015e *: refactor & do initial work towards PostgreSQL implementation
8 years ago