Commit Graph

46 Commits (73bc2bc36b5468397ab148fd9416e7f890b2315e)

Author SHA1 Message Date
Sida Chen 79af05e67d pgsql: Fix postgres queries for feature_type
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 ff9303905b database: changed Notification interface name
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 57a4f97780 pgSQL: fixed invalidating vulnerability cache query.
7 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
Jimmy Zelinskie ca9f340a91 pgsql: only select distinct layers
7 years ago
Jimmy Zelinskie ea73aa153d pgsql: searchNotificationLayerIntroducingVulnerability order by layer ID
7 years ago
Jimmy Zelinskie 033709eaea add registerable version formats
7 years ago
Jimmy Zelinskie d4522e9c6e api/v1: indexed layers for notifications
8 years ago
Quentin Machu dc8f71024f pgsql: Reduce cost of GetNotification by 2.5
8 years ago
Quentin Machu ec0aad9b7a pgsql: Use booleans instead of varchar to return creation status
8 years ago
Quentin Machu cd23262e41 pgsql: Do not insert entry in Vulnerability_FixedIn_Feature if existing
8 years ago
Jimmy Zelinskie 5d8336acb3 pgsql: use subquery to plan GetNotification query (#182)
8 years ago
Jimmy Zelinskie 51f9c5dcb4 pgsql: remove unnecessary join used in GetNotification (#179)
8 years ago
liangchenye 1a863a06cf remove the useless pointer of NextPage field; check namespace notfound error
8 years ago
liangchenye 48ffb2687a use encrypt page in listVuln api
8 years ago
liangchenye a541e964e0 New API: list vulnerabilities by namespace
8 years ago
Quentin Machu 9b191fb598 database: Find the FeatureVersion we try to insert before doing any lock
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 18f2d7e672 database: modify join table in FindLayer to reduce cost by 3.5x
8 years ago
Quentin Machu 6d2eedf121 api/database: add the layer name that add each feature in getLayer
8 years ago
Quentin Machu ccaaff000e database: add created_at field for layers and vulnerabilities
8 years ago
Quentin Machu 94ece7bf2b database: fix notification design and add vulnerability history
8 years ago
Jimmy Zelinskie 99f3552470 database: add Insert/DeleteVulnerabilityFix
8 years ago
Quentin Machu 5fdd9d1a07 *: add metadata support along with NVD CVSS
8 years ago
Quentin Machu 1e4ded6f2b database: add ability to list namespaces
8 years ago
Quentin Machu 8be18a0a01 database: write more of the notification system
8 years ago
Quentin Machu ad0531acc7 notifier/database: refactor notification system and add initial Prometheus support
8 years ago
Quentin Machu 63ebddfd36 database: add vulnerability deletion support
8 years ago
Quentin Machu c60d0054fa notifier/database: draft new notification system
8 years ago
Quentin Machu 5759af5bcf database: test and fix layer updates
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 bd17dfb5e1 database: ensure that concurrent vulnerability/feature versions insertions work fine
8 years ago
Quentin Machu 1b53142e38 database: allow removing fixed packages in vulnerabilities
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 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