Quentin Machu
|
2126259c99
|
updater: use a better link for Ubuntu vulnerabilities and rename some constants
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
6f02119c56
|
api: add bad requests to insert layer
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
ca2b0ccfcb
|
api: support gzip responses
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
c7aa7c4db4
|
api: reorder constants and add comments
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
98ed041956
|
worker: remove double error
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
4516d6fd73
|
api: make postLayer returns a Layer
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
4f0f8136c0
|
prometheus: fix grafana's updater notes graph
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
d3b14106a9
|
database: ignore insertLayer collisions to make it truly idempotent
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
d19a4348df
|
api: implement fernet encryption of pagination tokens
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
b8c534cd0d
|
api: fix putVulnerability (fill missing Namespace.Name and Name fields)
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
c2061dc69e
|
api: fix negative timestamps in notifications
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
e3a25e5368
|
database: ignore min versions during new vulnerability insertions
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
cf3573cf67
|
prometheus: correct notifier latency metric in grafana
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
f68012de00
|
api: fix 404->500 and NPE issues
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
7c11e4eb5d
|
updater/database: do not create notifications during the initial update
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
c504d2ed0e
|
api: add FeatureFromDatabaseModel
This also handles replacing the DB identifier for a maximum version with
the string "None".
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
883be8769f
|
database: fix Ping() method in PostgreSQL's implementation
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
83b19b6179
|
api/prometheus: add prometheus metrics to API routes
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
f8b4a52f8a
|
database: make notification tests more robust (old/new, update/delete vulnerabilities)
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
ccaaff000e
|
database: add created_at field for layers and vulnerabilities
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
f351d6304e
|
api: add "Content-Type" and "Server" headers
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
2d8d9ca401
|
api: finish initial work on v1 API
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
94ece7bf2b
|
database: fix notification design and add vulnerability history
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
99f3552470
|
database: add Insert/DeleteVulnerabilityFix
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
9b51f7f4fb
|
worker: raise worker version number
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
f6baac3628
|
*: refresh godeps
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
8f7e658574
|
*: remove tests from docker file
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
1e1eb9218d
|
*: add postgres 9.4 to travis
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
03d904c620
|
database: improve PostgreSQL test inits and cleanups
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
3defe6448a
|
prometheus: add quantile to grafana
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
b9a6da4a57
|
api: implement delete notification
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
96e96d948d
|
api: handle last page for notifications
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
3eaae478f9
|
api: implement get notification
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
116ce1a806
|
api: fix log message when stopping the API server
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
5fdd9d1a07
|
*: add metadata support along with NVD CVSS
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
c05848e32d
|
api: implement put vulnerability
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
8209922c0c
|
api: implement delete vulnerability
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
dc99d45f47
|
api: refactor endpoints and implement get vulnerability
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
6ac9b5e645
|
api: fix graceful stop
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
9a8d4aa591
|
api: implement post vulnerability
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
38aeed4f2c
|
api: implement get namespaces route
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
b916fba4c6
|
api: implement delete layer route
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
04c7351911
|
api: use pointers in models to get proper omitempty semantics
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
1a5aa88b18
|
api: use only one layer envelope
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
fa45d516df
|
api: add JSON tags to API models
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
d130d2fab4
|
api: implement getLayer
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
431c0ccb03
|
updater: add a clean function to fetchers
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
6b3f95dc03
|
api: fix /v1 router and some status codes
|
2016-02-24 16:34:54 -05:00 |
|
Jimmy Zelinskie
|
be9423b489
|
api: add request / response types and rename some fields
|
2016-02-24 16:34:54 -05:00 |
|
Jimmy Zelinskie
|
2f57f0d4b1
|
worker: change worker errors to bad request errors
|
2016-02-24 16:34:54 -05:00 |
|