Commit Graph

91 Commits (release-2.0)

Author SHA1 Message Date
Sida Chen 9306e99368 converted to structured logging by using logrus
7 years ago
Kevin Burke 6a50bbb8b8
api: fix 404 error logging
7 years ago
Jimmy Zelinskie 6a569fd945 move config to main / decentralize config
7 years ago
Jimmy Zelinskie 889615276a clair: move worker to top level package
7 years ago
Jimmy Zelinskie 9c63a63944 clair: mv updater clair and mv severity to db
7 years ago
Jimmy Zelinskie 00e4f70972 pkg/stopper: init from utils.Stopper
7 years ago
Jimmy Zelinskie e7f72ef5ad utils: rm prometheus.go
7 years ago
Jimmy Zelinskie 343e24eb7e clair: remove `types` 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 ebd0170f5b api/v1: fix JSON struct tag misnomer
8 years ago
Jimmy Zelinskie 033709eaea add registerable version formats
8 years ago
Jimmy Zelinskie d4522e9c6e api/v1: indexed layers for notifications
8 years ago
Jimmy Zelinskie eb6117c372 Merge pull request #235 from jzelinskie/doc-move
8 years ago
Jimmy Zelinskie b45b625fc8 improve v1 api docs header legibility
8 years ago
Tobias Sarnowski ad11393a28 Updated API documentation to reflect changes to authentication scheme. (#180)
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 7aa88690af api: WriteHeader on health endpoint
8 years ago
Jimmy Zelinskie 68250f392b api/v1: create namespace type
8 years ago
Quentin Machu f14e4de4d8 api: fix anchor link in docs
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
liangchenye d47616a339 readme: make API description consistence
8 years ago
Jimmy Zelinskie af0ddceaa2 readme: s/notification/notifications
8 years ago
Jimmy Zelinskie 2140995a54 readme: clarify "marked as read" notifications
8 years ago
Jimmy Zelinskie 1557a27a8c Revert "v1: pagination now deterministic"
8 years ago
Quentin Machu 3563cf9061 api: fix pagination token that's returned to match what has been passed
8 years ago
Jimmy Zelinskie 4fd4049fee v1: update documented error codes
8 years ago
Quentin Machu e78d076d02 api/worker: adjust error codes in postLayer
8 years ago
Jimmy Zelinskie 452c32d7d7 v1: pagination now deterministic
8 years ago
Jimmy Zelinskie dc431c22f3 v1: add readme
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 8d76700506 api: add call duration in logs
8 years ago
Quentin Machu 418ab08c4b api: adjust postLayer error codes
8 years ago
Quentin Machu f40f6a5ab6 api: add missing link field in vulnerability in getLayer
8 years ago
Quentin Machu 6d2eedf121 api/database: add the layer name that add each feature in getLayer
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 c2061dc69e api: fix negative timestamps in notifications
8 years ago