Commit graph

22 commits

Author SHA1 Message Date
Jessica Tracy 32589e90be Passing context (#163)
* passing context in layer calls

* more contexting

* clair folder and context in handlers

* fixed token transport to reuse request context

* tests

* taking out context pass in server handlers
2018-12-29 12:09:10 -05:00
Darrian 23cd8e4025 Change the naming of the way Clair V3 reports are stored (#150)
* changed the naming of the way clair reports are stored

* revert changes to clair v2 method
2018-10-22 14:32:15 -07:00
Darrian e13ca36072 Updated Clair and adjusted to fit (#140)
* conform to new clair API spec

* update clair dep

* don't think these flags are required anymore
2018-09-17 09:33:10 -04:00
Darrian 809456d47e Add report name to vuln report fixes #129 (#133) 2018-09-06 05:51:32 -07:00
Jimmy Zelinskie 18f47cd736 clair: use v3 API falling back to v2 (#127) 2018-08-09 15:59:24 -04:00
Jess Frazelle 07cc661cea
keep layer order
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-11 14:34:08 -04:00
Jess Frazelle 5f1abe4779
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-11 13:33:09 -04:00
Jess Frazelle 294bae7b50
fix token
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 15:47:08 -04:00
Jess Frazelle 53b01f037f
cleanup filtered layers
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 13:34:09 -04:00
Jess Frazelle 98a949d93e
Merge branch 'pr-41'
* pr-41:
  Add Support for Registry V2 Manifest Format in Clair module
2018-06-06 13:22:18 -04:00
Knut Ahlers f7bf33b7a6 Re-visit basic auth protected registry (#53)
Using a registry having basic auth enabled the authentication was not
submitted to Clair. This newly introduced error fixes the missing auth
but needs testing with non-basic auth protected registries.

Also maybe the test for the "malformed auth..." string can now be
removed as it does not trigger on registries with basic auth enabled?

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-06-06 12:38:23 -04:00
Jess Frazelle 1c31bc4260
move repo from jessfraz to genuinetools and update paths
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-11 11:48:04 -04:00
Jess Frazelle 0cb8777fb1
lint and cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:19:55 -05:00
Jess Frazelle a3b459b1a5
refactor client
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-03-06 09:12:29 -05:00
Jess Frazelle ac2e616697
fix fmt
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-02-18 11:30:38 -05:00
Paweł Prażak f29941a2ba add more debugging information (#65)
- makes debugging configuration issues easier by adding more context
  instead of misleading "missing signature key" and similar
2018-02-18 11:17:29 -05:00
Paweł Prażak 706e96ba44 clair/vulns: use basic auth whe token is empty (#64)
- solves issue with Clair/AWS ECR combo
2018-02-18 11:16:24 -05:00
Petter Hassberg 2039eea38b Fix auth with clair on 'Basic realm="Registry"' (#45)
If error is malformed auth challenge header: 'Basic realm="Registry"', then also try basic auth.
2017-10-20 07:55:30 -04:00
Eric Muellenbach 4f0355fcf7 Add Support for Registry V2 Manifest Format in Clair module 2017-08-14 12:34:56 +02:00
Jess Frazelle c1412f3d53
fix basic auth with clair
closes #27

Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-19 11:14:59 -04:00
Stefan Majer 616d466f64 Satisfy golint 2017-04-07 19:26:53 +02:00
Stefan Majer fd7fe220e0 First draft of a dynamic frontend, display of vulnerabilities is still not implemented. 2017-04-06 12:41:43 +02:00