Commit Graph

631 Commits

Author SHA1 Message Date
Julien Garcia Gonzalez
63283739e6 Move Hyperclair link to Clairctl 2017-02-23 09:36:40 +01:00
Jimmy Zelinskie
8bc9183db3 Merge pull request #327 from jzelinskie/bad-ns-copy
Fix areas only copying namespace names
2017-02-23 02:12:00 -05:00
Jimmy Zelinskie
b792eb61f6 updater: copy whole namespace when deduping vulns 2017-02-23 02:05:52 -05:00
Jimmy Zelinskie
9e875f748d database/pgsql: copy whole namespace 2017-02-23 02:05:33 -05:00
Quentin Machu
bc87d80ee9 Merge pull request #326 from Quentin-M/alpine_dfile
Dockerfile: use alpine linux 3.5 (bis)
2017-02-22 12:25:54 -08:00
Quentin Machu
df4f277d0e
Dockerfile: use alpine linux 3.5 (bis) 2017-02-22 12:21:18 -08:00
Quentin Machu
4790cd3819 Merge pull request #324 from Quentin-M/log_ns
ext/vulnsrc/rhel: fix logging namespace
2017-02-22 12:13:11 -08:00
Quentin Machu
1e4cdf698a Merge pull request #325 from Quentin-M/alpine_dfile
Dockerfile: use alpine linux 3.5
2017-02-22 12:03:01 -08:00
Quentin Machu
4721e92b17
Dockerfile: use alpine linux 3.5 2017-02-22 11:46:44 -08:00
Quentin Machu
d606d85afe
ext/vulnsrc/rhel: fix logging namespace 2017-02-22 10:50:42 -08:00
Jimmy Zelinskie
2c5f1d3034 Merge pull request #316 from jzelinskie/fix-alpine
Alpine v3.5 support
2017-02-07 13:57:56 -08:00
Jimmy Zelinskie
8d10d93b17 example config: add localhost postgres 2017-02-07 13:31:29 -08:00
Jimmy Zelinskie
1e9f14ae33 versionfmt/dpkg: remove leading digit requirement
This is not strictly a requirement and affects some tracked Alpine Linux
packages.
2017-02-07 13:31:28 -08:00
Jimmy Zelinskie
c8622d5f34 vulnsrc/alpine: unify schema and parse v3.5
HEAD of Alpine SecDB now uses one consistent schema for all of their
vulnerabilities, so the logic around parsing different versions can now
be removed. This change also crawls the directory structure to parse all
files due to the addition of community.yaml tracking community Alpine
Linux packages.
2017-02-07 13:31:28 -08:00
Jimmy Zelinskie
eb5be92305 Merge pull request #305 from jzelinskie/ext
Refactor all extendable code into ext/
2017-02-06 15:39:15 -08:00
Jimmy Zelinskie
6a569fd945 move config to main / decentralize config
This puts config in its relevant location and moves functions around
loading config files into the main package.

As a side effect of removing cyclic imports for the API config, the
context library is no longer used.
2017-01-27 00:36:13 -05:00
Jimmy Zelinskie
889615276a clair: move worker to top level package 2017-01-26 18:24:04 -05:00
Jimmy Zelinskie
e5c567f3f9 clair: mv notifier to top level 2017-01-26 18:19:32 -05:00
Jimmy Zelinskie
9c63a63944 clair: mv updater clair and mv severity to db 2017-01-22 23:20:56 -05:00
Jimmy Zelinskie
6e8e6ad26b docs: fix broken link 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
346c22fe28 README: s/Namespace/Feature Namespace 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
00e4f70972 pkg/stopper: init from utils.Stopper 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
3e4dc3834f utils: remove string.go 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
c2f4a44068 utils: rm exec.go
This change also adds a dependency check at startup, rather than
runtime.
2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
e7f72ef5ad utils: rm prometheus.go 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
343e24eb7e clair: remove types package
This removes the `types` package instead moving the contents to the
top-level clair package.
This change also renames the `Priority` type to `Severity` in order to
reduce confusion.
This change also removes the IsValid method and replaces it with a safe
constructor to avoid the creation of invalid values.
Many docstrings were tweaked in the making of this commit.
2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
02e2c58236 utils/http: remove unused pkg 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
03b8cd9a45 ext/featurens: add missing lock 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
cda3d4819c ext: feature detector -> featurefmt 2017-01-22 23:02:51 -05:00
Jimmy Zelinskie
71a8b542f9 ext: misc doc comment fixes 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
fb193e1fde ext: namespace detector -> featurens 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
d9be34c3c4 ext: data detector -> imagefmt 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
f9b319089d ext: lock all drivers 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
78cef02fda pkg: cerrors -> commonerr 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
8dea744236 delete unused types.Version 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
03bac0f1b6 pkg: utils/tar.go -> pkg/tarutil 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
6c90635848 README: update to reflect ext directory 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
4a990372ff refactor: move updaters and notifier into ext 2017-01-22 23:02:50 -05:00
Jimmy Zelinskie
f66103c773 Merge pull request #309 from jzelinskie/fixmigration6
pgsql/migrations: fix dpkg default versionfmt
2017-01-20 14:47:30 -05:00
Jimmy Zelinskie
224ff82543 pgsql/migrations: fix dpkg default versionfmt 2017-01-20 14:42:33 -05:00
Jimmy Zelinskie
84e4873768 Merge pull request #308 from jzelinskie/fixpagination
pgsql: only select distinct layers for LayersIntroducingVulnerability
2017-01-20 13:44:33 -05:00
Jimmy Zelinskie
ca9f340a91 pgsql: only select distinct layers 2017-01-19 17:09:57 -05:00
Jimmy Zelinskie
dbe522fdd5 Merge pull request #307 from jzelinskie/layeridorder
pgsql: searchNotificationLayerIntroducingVulnerability order by layer ID
2017-01-19 13:53:47 -05:00
Jimmy Zelinskie
ea73aa153d pgsql: searchNotificationLayerIntroducingVulnerability order by layer ID
This fixes a bug where the API was returning Notification pages ordered
by LDFV.ID instead of by Layer ID.
2017-01-19 13:45:07 -05:00
Jimmy Zelinskie
1d6ef941a0 Merge pull request #302 from jzelinskie/rmimage
README: rm images from repo
2017-01-04 12:18:07 -05:00
Jimmy Zelinskie
67be72b97e README: rm images from repo 2017-01-03 22:22:41 -05:00
Jimmy Zelinskie
a35757cd99 Merge pull request #301 from jzelinskie/readme-git
README: add git dependency
2017-01-03 17:17:53 -05:00
Jimmy Zelinskie
ab33f8c4bd Merge pull request #298 from jzelinskie/versions
Add registrable version formats
2017-01-03 17:10:49 -05:00
Jimmy Zelinskie
627b98ef31 db/pgsql/feature: fix SQL error reporting 2017-01-03 17:06:08 -05:00
Jimmy Zelinskie
8d29bf860d versionfmt: convert to using constant over literal 2017-01-03 16:00:20 -05:00