Commit Graph

559 Commits

Author SHA1 Message Date
Joe Ray
e650d58583
featurens: Ensure RHEL is correctly identified
When trying to identify various RedHat releases, RHEL was not being
picked up as a centos release because the Oracle Linux regex was too
permissive: it would match any release name with '<something> Linux
Server release' in the name. By being more restrictive with the Oracle
regex, RHEL is now properly identified.

I don't know why the Oracle regex used such a permissive matcher for the
name but it still passes all the tests by replacing it with the word
'Oracle'.

Fixes #436
2018-03-16 16:41:28 -04:00
Jimmy Zelinskie
f8a1359a60 Merge pull request #423 from jzelinskie/sleep-updater
updater: sleep before continuing the lock loop
2017-06-29 15:59:51 -04:00
Jimmy Zelinskie
b2519a044a Merge pull request #407 from swestcott/kubernetes-config-fix
Updated Kubernetes config with new db connection string config
2017-06-19 13:12:27 -04:00
Jimmy Zelinskie
2453d67c36 Merge pull request #413 from transcedentalia/master
Fixing the always database revision 0 for Ubuntu
2017-06-19 13:10:36 -04:00
Jimmy Zelinskie
4f8d6bee1e Merge pull request #416 from tianon/debian-buster
Add Debian Buster (10) and update "*stable" aliases
2017-06-19 13:06:01 -04:00
Jimmy Zelinskie
f2f213470b Merge pull request #395 from knqyf263/handle_tilde
versionfmt/rpm: handle a tilde correctly
2017-05-15 14:52:31 -04:00
knqyf263
db8a133d21 versionfmt/rpm: handle a tilde correctly 2017-05-14 19:18:57 +09:00
Jimmy Zelinskie
8816aedb68 Merge pull request #392 from jzelinskie/https-sec-db
ext/vulnsrc/alpine: use HTTPS
2017-05-11 15:31:13 -04:00
Jimmy Zelinskie
0891bbac00 ext/vulnsrc/alpine: use HTTPS 2017-05-11 15:18:37 -04:00
Jimmy Zelinskie
1119fdfea6 Merge pull request #390 from KeyboardNerd/fernet
cmd: make pagination key error clearer
2017-05-09 18:59:10 -04:00
Sida Chen
0342a2a3e5 cmd: make pagination key error clearer 2017-05-09 15:13:42 -04:00
Jimmy Zelinskie
d07183ee74 Merge pull request #389 from jzelinskie/revendor
Regenerate vendor redirectory
2017-05-08 16:26:37 -04:00
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