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
Jimmy Zelinskie
ebd0170f5b
api/v1: fix JSON struct tag misnomer
2017-01-03 15:59:51 -05:00
Jimmy Zelinskie
8df8170ba5
db/pgsql/migration: convert to pure SQL
2017-01-03 15:59:22 -05:00
Jimmy Zelinskie
a1bbd7dbf0
README: add git dependency
2017-01-03 13:25:15 -05:00
Jimmy Zelinskie
8bedd0a367
worker: ns detectors now support VersionFormat
...
This also filters unknown namespaces from the generic lsb-release and
osrelease detectors.
2017-01-03 13:15:46 -05:00
Jimmy Zelinskie
9e39a26f26
backfill version_format column
2017-01-03 13:15:14 -05:00
Jimmy Zelinskie
722ab3c6de
Merge pull request #300 from miketheman/patch-1
...
docs: Correct docker-compose command
2017-01-03 11:59:19 -05:00
Mike Fiedler
107582c96e
docs: Correct docker-compose command
...
[ci skip]
2017-01-02 15:21:36 +02:00
Jimmy Zelinskie
6864a8efea
versionfmt: init rpm versionfmt
2016-12-30 12:51:25 -05:00