Commit graph

370 commits

Author SHA1 Message Date
Julien 383e4f7d48 Add force-non-ssl to registry operations (#102) 2018-11-14 10:02:41 -05:00
Jamie 83c621c4a7 support 'access_token' for compatibility with OAuth 2.0 https://docs.docker.com/registry/spec/auth/token/#requesting-a-token (#124) 2018-11-14 10:01:36 -05:00
Darrian 478c4dadc6 confirm the requested schema version matches the returned (#148) 2018-11-14 09:51:57 -05:00
Matt Brown cbabe28c68 handle AuthConfigs with empty ServerAddress (#160)
fixes #159
2018-11-14 09:49:49 -05:00
Darrian 3033420c34 method for closing of gRPC connection (#155) 2018-11-14 09:32:03 -05:00
Darrian 67d1af130d instead of using a bool to check for v2, just test the type of the response interface. fixes #132 (#156) 2018-10-29 08:32:59 -07:00
Mansour Rahimi d6e3a0aa00 list: gracefully fail in case of invalid registry (#158)
If the given domain is not a valid registry and try to get the
repository list, it fails in unmarshalling and show the JSON syntax
error.

This will catch the error and show a better error message.

Fixes: #157
2018-10-29 08:27:22 -07: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
alexander zillion 938012b555 Fix golint import path (#153) 2018-10-22 14:07:55 -07:00
Knut Ahlers eb4e1cc686 Fix vuln scanning on GCR (#152)
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-10-17 00:53:20 -07:00
Jess Frazelle 1ea91e7493
fix vulns.json
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:41:48 -04:00
Jess Frazelle 780a52e149
fix vulns.json
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:41:40 -04:00
Jess Frazelle 7bca357605
fixup template
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:28:38 -04:00
Jess Frazelle 51215f9997
fixup template
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:20:41 -04:00
Jess Frazelle 4f449c580a
fixup template
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-10-04 14:18:28 -04:00
Jess Frazelle b57209439c
cleanup vendor
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 11:35:16 -04:00
Jess Frazelle 7e55384ffa
cleanup vendor
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 11:32:39 -04:00
Jess Frazelle d021aeb0b9
Bump version to v0.15.8
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 10:40:12 -04:00
Jess Frazelle 75eea3d0e8
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 10:15:33 -04:00
Jess Frazelle 729aebcabb
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 10:06:59 -04:00
Jess Frazelle d8fc58386d
update makefile
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-25 09:33:37 -04:00
Jess Frazelle a761fadc9a
Bump version to v0.15.7
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 23:03:24 -04:00
Jess Frazelle 7b1564a6a1
update
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 23:03:13 -04:00
Jess Frazelle 81851b276b
add shell
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 22:25:18 -04:00
Jess Frazelle 4217d621f3
update
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-24 21:26:49 -04:00
Jess Frazelle 691235af75
update static and staticAssetsHandler
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:33:45 -04:00
Jess Frazelle 0301f323b3
update to use generated files for assets
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:23:04 -04:00
Jess Frazelle 695602b303
start of generating assets
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:08:48 -04:00
Jess Frazelle 2e3c2122d7
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 15:06:56 -04:00
Jess Frazelle 37fbf84694
Bump version to v0.15.6
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:40:53 -04:00
Jess Frazelle 89d3a230b9
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:39:45 -04:00
Jess Frazelle 1b3e6ee4b5
cleanup
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:39:12 -04:00
Jess Frazelle 6b207b0cf9
fix v3 when grpcConn is nil
fixes #138

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-17 13:34:58 -04: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
Jess Frazelle 73fdd32040
remove manifest list from Manifest function
fixes #132

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-10 11:19:51 -04:00
Knut Ahlers 6aceb5ae40 Fix digest resolution for GCR (#135)
fixes #134

Signed-off-by: Knut Ahlers <knut@ahlers.me>
2018-09-09 09:32:26 -04:00
Darrian 809456d47e Add report name to vuln report fixes #129 (#133) 2018-09-06 05:51:32 -07:00
Jess Frazelle 1328dc17a0
Bump version to v0.15.5
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-05 15:08:39 -04:00
Adrian Gaciąg dcdae21713 Fix: digest (#123)
* Fix getting digest from Docker-Content-Digest header

* Fix remove_test
2018-09-05 12:04:55 -07:00
Jimmy Zelinskie 5ff93f005b registry: format accept headers (#130)
Multiple calls to request.Header.Add() will overwrite the last value.
This formats the value of the Accept headers correctly so that a
registry can perform content-type negotiation.
2018-09-05 12:03:18 -07:00
Jess Frazelle e641a3626c
add script tag
closes #125

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-09-05 15:02:27 -04:00
Jimmy Zelinskie 18f47cd736 clair: use v3 API falling back to v2 (#127) 2018-08-09 15:59:24 -04:00
Pat Gavlin 65b2c0329d Use a distinguished error value for basic auth. (#120)
Rather than returning an error that requires pattern-matching from
`parseChallenge` when the challenge header requires basic
authentication, return a distinguished error value. This makes checking
for this error a bit easier.

This commit also updates the check in `r.Headers` to use the new error
value and adds a couple of regression tests.
2018-07-26 14:13:58 -07:00
alexander zillion 8e3ba57e3e Fix typo in README (#119) 2018-07-24 08:45:00 -07:00
acrewdson 38c2119f80 Fix typo in README (#117) 2018-07-23 11:52:28 -04:00
Manuel Rüger b3c826e2e4 server: Allow to restrict listen address (#115)
e.g. limit to listen on localhost only
2018-07-18 13:47:12 -04:00
Jess Frazelle c524001541
update readme
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-07-17 11:47:21 -04:00
Jess Frazelle 8c930c5854
Bump version to v0.15.4
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-07-17 11:46:03 -04:00
Jess Frazelle a47f406b5c
fix once behavior
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
2018-07-17 11:44:09 -04:00
Manuel Rüger 69eea86c1f server: Publish update interval (#113)
Let users know when they can expect the next one
2018-07-17 11:38:43 -04:00