Commit graph

295 commits

Author SHA1 Message Date
Jess Frazelle
de12adabef
add x/sys
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 18:00:36 -04:00
Jess Frazelle
83ba4b225a
add versions and binaries
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 17:46:12 -04:00
Jess Frazelle
2648f96229
update screenshot
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 17:09:16 -04:00
Jess Frazelle
e00bf73cdf Add files via upload 2017-06-05 17:08:41 -04:00
Jess Frazelle
0dbc9338a6
auth service fix for token
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 15:08:35 -04:00
Jess Frazelle
bd56ba0eff
actually return errors
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 14:20:42 -04:00
Jess Frazelle
882e590595
fix
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 14:07:30 -04:00
Jess Frazelle
e9dc83b69c
add back in last updated
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-06-05 13:26:51 -04:00
Stefan Majer
e98fd4918c Fix repo with slashes, no vulnerability scan on tags page (#25)
* Fix for slashes in repo names

* Make routing work with repos which have slashes

* Do not calculate vulnerabilities on tags
2017-04-25 09:45:02 -04:00
Jess Frazelle
e1d409fefd
fix javascript
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 15:03:03 -04:00
Jess Frazelle
1d006c17ef
fix static;
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:49:48 -04:00
Jess Frazelle
113b145d26
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:40:21 -04:00
Jess Frazelle
abc0d51801
index with interval
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:39:00 -04:00
Jess Frazelle
183c0d5ba3
remove unused
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:23:28 -04:00
Jess Frazelle
e7825db8a0
fix static
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:14:22 -04:00
Jess Frazelle
f11b64bf0e
remove unneeded vars
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:09:56 -04:00
Jess Frazelle
32fc8ddc1c
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 14:08:43 -04:00
Jess Frazelle
f7a5450e24
remove unused deps
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 13:54:13 -04:00
Jess Frazelle
a6ba091b4a
cleanup and remove echo dependency
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 13:52:31 -04:00
Jess Frazelle
9fdbf69688
update vendor
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-24 12:42:11 -04:00
Jess Frazelle
510b24edff
Merge branch 'majst01-dynamic-frontend'
* majst01-dynamic-frontend:
  Remove code duplicates
  Add git to be able to do go get
  Make tests work again
  Make sample shell script more robust
  load BadVulns count with AJAX calls
  Satisfy golint
  Vendor all dependencies
  Always point to the vulnerabilities
  cleanup and reusage of error messages
  Remove now unneeded templates
  Show vulnerabilities
  Fix searching for new dynamic frontend
  Refactor NewClairLayer to a single place
  First draft of a dynamic frontend, display of vulnerabilities is still not implemented.
2017-04-24 12:30:36 -04:00
Stefan Majer
b8cc50b46a Remove code duplicates 2017-04-24 18:20:58 +02:00
Stefan Majer
3d0dd20f9c Add git to be able to do go get 2017-04-24 17:05:46 +02:00
Stefan Majer
c56cc83e2a Make tests work again 2017-04-24 16:25:32 +02:00
Stefan Majer
51f221a4d5 Merge branch 'master' of https://github.com/jessfraz/reg into dynamic-frontend 2017-04-24 16:16:12 +02:00
Stefan Majer
df8b759dc8 Make sample shell script more robust 2017-04-24 16:14:55 +02:00
Stefan Majer
4a8066c14d Merge pull request #1 from mwindower/dynamic-frontend
Load BadVulns count with AJAX calls
2017-04-24 16:05:34 +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
Markus Fensterer
02503f91d9 load BadVulns count with AJAX calls 2017-04-19 15:17:33 +02:00
Hynek Schlawack
11a291f744 Fix http basic auth if protocol is missing (#22)
Basic auth only worked if a full url was supplied.  The reason is that
BasicTransport.RoundTrip checked if the resulting request URL has a the
transport's URL as a prefix.

This is fixed by setting the transport's URL to the canonical URL that is
computed a few lines earlier.
2017-04-18 13:32:28 -04:00
Jess Frazelle
f87e406a2e update .travis.yml
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-10 14:37:57 +00:00
Jess Frazelle
aeff5763cc update readme and dockerfile
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-04-10 14:37:33 +00:00
Jess Frazelle
57e5dcd240 inital testing
Signed-off-by: Jess Frazelle <me@jessfraz.com>
2017-04-10 14:20:23 +00:00
Stefan Majer
616d466f64 Satisfy golint 2017-04-07 19:26:53 +02:00
Stefan Majer
4e340ff25e Vendor all dependencies 2017-04-07 19:19:05 +02:00
Stefan Majer
860b60c624 Always point to the vulnerabilities 2017-04-07 11:00:56 +02:00
Stefan Majer
c0bb9b026c cleanup and reusage of error messages 2017-04-06 14:45:04 +02:00
Stefan Majer
156d266736 Remove now unneeded templates 2017-04-06 13:34:37 +02:00
Stefan Majer
eae3f5ee67 Show vulnerabilities 2017-04-06 13:33:06 +02:00
Stefan Majer
5c7c3f1ed7 Fix searching for new dynamic frontend 2017-04-06 13:32:33 +02:00
Stefan Majer
369b50e95c Refactor NewClairLayer to a single place 2017-04-06 12:57:22 +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
24db1556d7 Update README.md 2017-04-04 10:14:30 -04:00
Chris Murphy
a02ddc8cd4 Allow for non-SSL access (#15)
* Allow for non-SSL access

* Reuqire --insecure option to use http protocol

* Fixed lint error

* Added --force-non-ssl option. Also moved check to allow handling of docker config
2017-04-04 10:12:36 -04:00
Stefan Majer
827d869f0c RFC: some enhancements for registries with lots of images (#17)
* Add flag to trust ssl certificates signed by unknown authority

* Use registry http client instead of pure http client

* Add Bearer token only if required

* Create clair client instance with configurable debug option

* Limit number of parallel vuln scann´s to 20 to reduce load

* No need to throttle anymore because parallism is limited

* Make number of workers configurable

* During first run do not create clair vulns report details
2017-04-04 10:11:24 -04:00
Stefan Majer
d91bf05217 Add flag to trust ssl certificates signed by unknown authority (#16) 2017-03-31 03:11:18 -06:00
Yves Brissaud
e8a0e8958a Do not panic if vulns/layout not found (#14) 2017-03-24 16:04:51 -07:00
Jess Frazelle
e4c5813dff
new page theme for vulnerability reports
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-22 11:34:50 -07:00
Jess Frazelle
6d8d8821dd
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-21 17:01:10 -07:00
Jess Frazelle
4d4e79fde5
cleanup
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-21 16:51:56 -07:00