Jimmy Zelinskie
18f47cd736
clair: use v3 API falling back to v2 ( #127 )
2018-08-09 15:59:24 -04:00
Jess Frazelle
843aebf2c1
update deps
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-07-14 11:48:41 -04:00
Jess Frazelle
1b865ea795
update layer order
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-11 14:49:39 -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
67bc3ef6c3
add v3 api
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-11 12:48:47 -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
Jess Frazelle
6dbec6401b
clean up client opt
...
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-06-06 13:00:42 -04:00
Jess Frazelle
3198679b1e
Merge branch 'pr-46'
...
* pr-46:
Add configurable timout for HTTP requests
2018-06-06 12:52:47 -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
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
2802ba9eb9
Add configurable timout for HTTP requests
...
So that requests taking more than one minute does not timeout.
2017-10-20 15:26:54 +02: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
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