Commit Graph

697 Commits

Author SHA1 Message Date
Jimmy Zelinskie
0305dde964 database/models: MetadataMap decodes from string
github.com/lib/pq began decoding text-like fields as strings to
Scanners.

See lib/pq@e2402a7cd1
2017-05-06 17:01:41 -04:00
Jimmy Zelinskie
35df9d5846 vendor: regenerate vendor directory with glide 2017-05-05 11:46:41 -04:00
Jimmy Zelinskie
d846c508c3 glide: refresh dependencies
The previous configuration had dependencies from contrib projects that
are now removed.
2017-05-05 11:46:40 -04:00
Jimmy Zelinskie
50d07ccf59 vendor: rm everything to prep for regeneration 2017-05-05 11:46:24 -04:00
Jimmy Zelinskie
257bb325a1 Merge pull request #387 from jzelinskie/rm-analyze-local-images
contrib: delete unsupported tools
2017-05-04 19:31:26 -04:00
Jimmy Zelinskie
821a608bb1 docs: add links to contrib tools 2017-05-04 17:22:29 -04:00
Jimmy Zelinskie
5540d02bc2 contrib: delete unsupported tools
These tools are either unsupported or should be supported outside of the
Clair repository.
2017-05-04 17:11:36 -04:00
Jimmy Zelinskie
ee1702b176 Merge pull request #385 from KeyboardNerd/logrus
convert to structured logging using logrus #383
2017-05-04 14:09:59 -04:00
Sida Chen
aa6a81c60c updated glide and vendor folder 2017-05-04 13:59:57 -04:00
Sida Chen
9306e99368 converted to structured logging by using logrus
changed from capnslog to logrus for logging JSON structured message.

finished issue #383
2017-05-04 13:59:57 -04:00
Jimmy Zelinskie
ac24a8703d Merge pull request #381 from KeyboardNerd/bill-of-materials
*: added bill-of-materials
2017-05-01 17:18:05 -04:00
Sida Chen
d0ca4d1fe6 *: added bill-of-materials 2017-05-01 17:15:40 -04:00
Jimmy Zelinskie
99a859fe67 Merge pull request #373 from josuesdiaz/fix_analyze_local
contrib: Fix analyze_local_images when image has missing layers
2017-04-28 13:00:25 -04:00
Josue Diaz
f3840f30b9
contrib: Revert "Merge pull request #367 from jzelinskie/analyze-layers-v2"
This reverts commit e639367a30, reversing
changes made to f3848d9726. Issue involved
the docker history command providing missing fs layers that were not in
the saved image. Revert commit to using the manifest file again.
2017-04-28 10:52:31 -04:00
Jimmy Zelinskie
b02714c1ae Merge pull request #378 from jzelinskie/oracle-update-fix
ext/vulnsrc/oracle: ensure flag is largest elsa
2017-04-27 19:10:59 -04:00
Jimmy Zelinskie
09cbfe325b ext/vulnsrc/oracle: ensure flag is largest elsa
If the Oracle Linux directory is ever in the wrong order, this should
ensure that the updaterFlag is always set the latest ELSA value.
2017-04-27 18:57:19 -04:00
Jimmy Zelinskie
0160ef6d53 Merge pull request #374 from tianon/new-ubuntu-releases
Add Ubuntu Zesty and Artful to UbuntuReleasesMapping
2017-04-26 22:06:59 -04:00
Tianon Gravi
b6ab5d8168 Add Ubuntu Zesty and Artful to UbuntuReleasesMapping
See also https://wiki.ubuntu.com/Releases
2017-04-26 14:45:32 -07:00
Jimmy Zelinskie
ce4f8327ec Merge pull request #371 from caipre/add-logging
Add logging
2017-04-25 15:48:59 -04:00
Nick Platt
ce6eba9fcb worker: Rewrite unknown namespace warning 2017-04-25 15:51:39 +00:00
Nick Platt
edfadc2f87 updater: Log fetch completion 2017-04-25 15:50:51 +00:00
Jimmy Zelinskie
558661e44b Merge pull request #370 from jzelinskie/featurens
ext/featurens: add empty filesmap tests for all
2017-04-21 16:35:54 -04:00
Jimmy Zelinskie
34bc722794 ext/featurens: add empty filesmap tests for all 2017-04-21 15:08:47 -04:00
Jimmy Zelinskie
ae78bdc586 Merge pull request #369 from jzelinskie/fix-ali
contrib: add missing :=
2017-04-20 14:00:34 -04:00
Jimmy Zelinskie
d76c549dfb contrib: add missing :=
I accidentally didn't push this commit to #367.
Fixes #368.
2017-04-20 13:39:08 -04:00
Jimmy Zelinskie
e639367a30 Merge pull request #367 from jzelinskie/analyze-layers-v2
contrib: only extract layers from history
2017-04-19 16:27:23 -04:00
Jimmy Zelinskie
e772be5f6f contrib: only extract layers from history
This tool was written before v2 existed and deduplicated and listed
layers out of order in their manifests.
2017-04-19 16:23:23 -04:00
Jimmy Zelinskie
f3848d9726 Merge pull request #366 from jzelinskie/fixoracle
ext/vulnsrc/oracle: fix ELSA version comparison
2017-04-19 15:15:53 -04:00
Jimmy Zelinskie
bcf47f53ee ext/vulnsrc/oracle: fix ELSA version comparison
Previously we naively compared integers. However, not all versions have
the same length.
2017-04-19 15:15:41 -04:00
Jimmy Zelinskie
8dbd4f3947 Merge pull request #361 from jzelinskie/ROADMAP.md
ROADMAP: refresh with current priorities
2017-04-12 15:03:04 -04:00
Jimmy Zelinskie
e9eb761db6 ROADMAP: refresh with current priorities 2017-04-12 12:57:13 -04:00
Jimmy Zelinskie
d2c397b2b3 Merge pull request #363 from davidxia/patch-1
Fix typo in API V1 docs
2017-04-12 10:18:38 -04:00
David Xia
9a5341724a Fix typo in API V1 docs 2017-04-12 10:13:41 -04:00
Jimmy Zelinskie
b5f4e0f3a3 Merge pull request #362 from jzelinskie/malformedpkg
Handle Parsing of Malformed Packages
2017-04-11 22:31:40 -04:00
Jimmy Zelinskie
b2f2b2c854 ext/featurefmt/apk: handle malformed packages 2017-04-11 15:48:27 -04:00
Jimmy Zelinskie
590e7e2602 ext/featurefmt/dpkg: handle malformed packages 2017-04-11 15:48:27 -04:00
Jimmy Zelinskie
8227165a78 Merge pull request #360 from jzelinskie/cleanup
README: clean up after README refactor
2017-04-11 15:23:20 -04:00
Jimmy Zelinskie
f36aa12024 README: clean up after README refactor 2017-04-11 15:01:29 -04:00
Jimmy Zelinskie
de75bf6180 Merge pull request #359 from matslina/patch-1
minor correction s/maybe/may/
2017-04-11 14:12:32 -04:00
Mats Linander
41f77f495a minor correction s/maybe/may/ 2017-04-11 11:39:33 -04:00
Jimmy Zelinskie
5201536f37 Merge pull request #357 from jzelinskie/readme-reboot
README: improve readability
2017-04-10 16:34:36 -04:00
Jimmy Zelinskie
3b2c4e5e92 README: improve readability
This change takes into consideration the points from @kevinburke's
talk on readability.
2017-04-10 16:30:25 -04:00
Jimmy Zelinskie
76a6b24fd7 Merge pull request #352 from kevinburke/fix-404
api: fix 404 error logging
2017-04-04 01:46:42 -04:00
Jimmy Zelinskie
762d924b6d Merge pull request #354 from kevinburke/change-readme-text
Update heading in the README
2017-04-04 01:43:45 -04:00
Kevin Burke
b398a221a4
Update heading in the README
I was trying to audit some images I use locally at the command line.
I missed the relevant instructions until the third time I read the
README. Hopefully this new heading and text make it easier to catch
the reader's eye.

For more on README readability, please see
https://www.youtube.com/watch?v=sQP_hUNCrcE.
2017-04-03 16:24:41 -07:00
Kevin Burke
6a50bbb8b8
api: fix 404 error logging
The first value is an integer and the second value is a string and the
format string has these backwards, leading to %!s(int=404) appearing
in the logs instead of "404".
2017-04-03 16:08:18 -07:00
Jimmy Zelinskie
59ee75c502 Merge pull request #347 from jzelinskie/composeup
*: move all references in README to HEAD
2017-03-16 14:45:08 -04:00
Jimmy Zelinskie
801fbef6b4 Merge pull request #348 from supereagle/update-image-spec-url
update docker image spec url
2017-03-16 11:33:39 -04:00
supereagle
257e84212d update docker image spec url 2017-03-16 10:18:18 +08:00
Jimmy Zelinskie
324ad5f243 *: move all references in README to HEAD
This change also points the Docker Compose file use HEAD.
2017-03-15 16:05:31 -04:00