Commit graph

15 commits

Author SHA1 Message Date
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
Paweł Prażak 5208643fa8 main/vulns: add fixable group (#67)
- add a new group of "Fixable" vulns
- exit with error on any fixable vulns
- add fixable-threshold parameter
2018-02-21 19:53:27 -05:00
Paweł Prażak 0ba6cefd07 clair: increase HTTP client timeout to 5 minutes (#69)
- allow for big layers (e.g. 500MB) to upload before timing out
2018-02-21 19:53:01 -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
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 51f221a4d5 Merge branch 'master' of https://github.com/jessfraz/reg into dynamic-frontend 2017-04-24 16:16:12 +02:00
Jimmy Zelinskie ba12ae6e91 clair: add the additional legacy empty layer (#24)
This layer was used in docker prior to being able to support truly empty
layers. It is a 1k tarball of 0s.
2017-04-21 15:38:05 -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
Jess Frazelle 3075c58bc1
add vulns command
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 18:45:47 -08:00
Jess Frazelle f0968a951b
add base clair api;
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 16:26:00 -08:00