Quentin Machu
94ece7bf2b
database: fix notification design and add vulnerability history
9 years ago
Jimmy Zelinskie
b9a6da4a57
api: implement delete notification
9 years ago
Jimmy Zelinskie
96e96d948d
api: handle last page for notifications
9 years ago
Jimmy Zelinskie
3eaae478f9
api: implement get notification
9 years ago
Quentin Machu
116ce1a806
api: fix log message when stopping the API server
9 years ago
Quentin Machu
5fdd9d1a07
*: add metadata support along with NVD CVSS
9 years ago
Jimmy Zelinskie
c05848e32d
api: implement put vulnerability
9 years ago
Jimmy Zelinskie
8209922c0c
api: implement delete vulnerability
9 years ago
Jimmy Zelinskie
dc99d45f47
api: refactor endpoints and implement get vulnerability
9 years ago
Jimmy Zelinskie
6ac9b5e645
api: fix graceful stop
9 years ago
Jimmy Zelinskie
9a8d4aa591
api: implement post vulnerability
9 years ago
Jimmy Zelinskie
38aeed4f2c
api: implement get namespaces route
9 years ago
Jimmy Zelinskie
b916fba4c6
api: implement delete layer route
9 years ago
Jimmy Zelinskie
04c7351911
api: use pointers in models to get proper `omitempty` semantics
9 years ago
Jimmy Zelinskie
1a5aa88b18
api: use only one layer envelope
9 years ago
Jimmy Zelinskie
fa45d516df
api: add JSON tags to API models
9 years ago
Jimmy Zelinskie
d130d2fab4
api: implement getLayer
9 years ago
Quentin Machu
6b3f95dc03
api: fix /v1 router and some status codes
9 years ago
Jimmy Zelinskie
be9423b489
api: add request / response types and rename some fields
9 years ago
Jimmy Zelinskie
822ac7ab4c
api: add initial work on the new API
9 years ago
Quentin Machu
b8b7be3f81
*: remove health checker
9 years ago
Quentin Machu
726bd3c0c6
database/api: add layer deletion support
9 years ago
Quentin Machu
6e20993bac
api: simplify getLayer route and JSON output
9 years ago
Quentin Machu
77387af2ac
updater: port updater and its fetchers
9 years ago
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
9 years ago
Quentin Machu
e834301941
Merge pull request #49 from liangchenye/master
...
Add DataDetector to support ACI and other layout format
9 years ago
Quentin Machu
8c1d3c9a86
*: Fix `authentification` typo
9 years ago
Jimmy Zelinskie
34870a2a2b
move LoadTLSClientConfigForServer into API package
...
This isn't reused any where just yet, so we're best off leaving it local
to the place that needs it.
9 years ago
liangchenye
d402ae818e
use imageFormat in params for consistence
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
liangchenye
b1775ed3dc
add data detector to support ACI and other format in the future
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
Quentin Machu
eb7e5d5c74
main: Use configuration file instead of flags and simplify app extension.
...
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.
Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
9 years ago
Quentin Machu
9946382223
api: Extracted client cert & HTTP JSON Render to utils.
9 years ago
Quentin Machu
e444e93c97
api/database: Add the ability to delete layers
9 years ago
Quentin Machu
9db0e63401
api: Specify what packages cause the layer to have vulnerabilities.
9 years ago
Quentin Machu
3ec262dd51
Initial commit
9 years ago