Commit Graph

43 Commits (889615276af2c1d5ac04971a237e09d2e9fa6bda)

Author SHA1 Message Date
Jimmy Zelinskie 889615276a clair: move worker to top level package
7 years ago
Jimmy Zelinskie 78cef02fda pkg: cerrors -> commonerr
7 years ago
Jimmy Zelinskie 03bac0f1b6 pkg: utils/tar.go -> pkg/tarutil
7 years ago
Jimmy Zelinskie 033709eaea add registerable version formats
8 years ago
Jimmy Zelinskie 53e62577bc api/worker: s/Authorization/Headers (#167)
8 years ago
Jimmy Zelinskie 9b5afc79ca api/worker: introduce optional authorization
8 years ago
Jimmy Zelinskie 68250f392b api/v1: create namespace type
8 years ago
liangchenye 1a863a06cf remove the useless pointer of NextPage field; check namespace notfound error
8 years ago
liangchenye 27e5e42340 use tokenMarshal/unmarshal in page encoding
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 3563cf9061 api: fix pagination token that's returned to match what has been passed
8 years ago
Quentin Machu e78d076d02 api/worker: adjust error codes in postLayer
8 years ago
Jimmy Zelinskie 771e35def0 v1: return object on PUT/POST
8 years ago
Jimmy Zelinskie c06df1affd v1: 200 on PUT
8 years ago
Quentin Machu 274a1620a5 api: log instead of panic when a response could not be marshaled
8 years ago
Quentin Machu 418ab08c4b api: adjust postLayer error codes
8 years ago
Quentin Machu 0e9a7e1740 api: close gzip writer to flush it
8 years ago
Quentin Machu db974ae722 api: fix postLayer response headers
8 years ago
Jimmy Zelinskie 6f02119c56 api: add bad requests to insert layer
8 years ago
Jimmy Zelinskie ca2b0ccfcb api: support gzip responses
8 years ago
Jimmy Zelinskie c7aa7c4db4 api: reorder constants and add comments
8 years ago
Jimmy Zelinskie 4516d6fd73 api: make postLayer returns a Layer
8 years ago
Jimmy Zelinskie d19a4348df api: implement fernet encryption of pagination tokens
8 years ago
Quentin Machu b8c534cd0d api: fix putVulnerability (fill missing Namespace.Name and Name fields)
8 years ago
Quentin Machu f68012de00 api: fix 404->500 and NPE issues
8 years ago
Quentin Machu 7c11e4eb5d updater/database: do not create notifications during the initial update
8 years ago
Jimmy Zelinskie 83b19b6179 api/prometheus: add prometheus metrics to API routes
8 years ago
Jimmy Zelinskie f351d6304e api: add "Content-Type" and "Server" headers
8 years ago
Jimmy Zelinskie 2d8d9ca401 api: finish initial work on v1 API
8 years ago
Jimmy Zelinskie b9a6da4a57 api: implement delete notification
8 years ago
Jimmy Zelinskie 3eaae478f9 api: implement get notification
8 years ago
Jimmy Zelinskie c05848e32d api: implement put vulnerability
8 years ago
Jimmy Zelinskie 8209922c0c api: implement delete vulnerability
8 years ago
Jimmy Zelinskie dc99d45f47 api: refactor endpoints and implement get vulnerability
8 years ago
Jimmy Zelinskie 9a8d4aa591 api: implement post vulnerability
8 years ago
Jimmy Zelinskie 38aeed4f2c api: implement get namespaces route
8 years ago
Jimmy Zelinskie b916fba4c6 api: implement delete layer route
8 years ago
Jimmy Zelinskie 04c7351911 api: use pointers in models to get proper `omitempty` semantics
8 years ago
Jimmy Zelinskie 1a5aa88b18 api: use only one layer envelope
8 years ago
Jimmy Zelinskie d130d2fab4 api: implement getLayer
8 years ago
Quentin Machu 6b3f95dc03 api: fix /v1 router and some status codes
8 years ago
Jimmy Zelinskie 822ac7ab4c api: add initial work on the new API
8 years ago