Jimmy Zelinskie
2453d67c36
Merge pull request #413 from transcedentalia/master
...
Fixing the always database revision 0 for Ubuntu
7 years ago
Jimmy Zelinskie
f2f213470b
Merge pull request #395 from knqyf263/handle_tilde
...
versionfmt/rpm: handle a tilde correctly
7 years ago
knqyf263
db8a133d21
versionfmt/rpm: handle a tilde correctly
7 years ago
Jimmy Zelinskie
0891bbac00
ext/vulnsrc/alpine: use HTTPS
7 years ago
Sida Chen
9306e99368
converted to structured logging by using logrus
...
changed from capnslog to logrus for logging JSON structured message.
finished issue #383
7 years ago
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.
7 years ago
Jimmy Zelinskie
34bc722794
ext/featurens: add empty filesmap tests for all
7 years ago
Jimmy Zelinskie
bcf47f53ee
ext/vulnsrc/oracle: fix ELSA version comparison
...
Previously we naively compared integers. However, not all versions have
the same length.
7 years ago
Jimmy Zelinskie
b2f2b2c854
ext/featurefmt/apk: handle malformed packages
7 years ago
Jimmy Zelinskie
590e7e2602
ext/featurefmt/dpkg: handle malformed packages
7 years ago
Jimmy Zelinskie
300fe980ef
ext/vulnsrc/ubuntu: add missing version format
7 years ago
supereagle
3f51191d23
configurable for TLS server's certificate chain and hostname verification when pulling layers
7 years ago
Quentin Machu
d606d85afe
ext/vulnsrc/rhel: fix logging namespace
7 years ago
Jimmy Zelinskie
1e9f14ae33
versionfmt/dpkg: remove leading digit requirement
...
This is not strictly a requirement and affects some tracked Alpine Linux
packages.
7 years ago
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.
7 years ago
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.
7 years ago
Jimmy Zelinskie
9c63a63944
clair: mv updater clair and mv severity to db
7 years ago
Jimmy Zelinskie
c2f4a44068
utils: rm exec.go
...
This change also adds a dependency check at startup, rather than
runtime.
7 years ago
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.
7 years ago
Jimmy Zelinskie
03b8cd9a45
ext/featurens: add missing lock
7 years ago
Jimmy Zelinskie
cda3d4819c
ext: feature detector -> featurefmt
7 years ago
Jimmy Zelinskie
71a8b542f9
ext: misc doc comment fixes
7 years ago
Jimmy Zelinskie
fb193e1fde
ext: namespace detector -> featurens
7 years ago
Jimmy Zelinskie
d9be34c3c4
ext: data detector -> imagefmt
7 years ago
Jimmy Zelinskie
f9b319089d
ext: lock all drivers
7 years ago
Jimmy Zelinskie
78cef02fda
pkg: cerrors -> commonerr
7 years ago
Jimmy Zelinskie
4a990372ff
refactor: move updaters and notifier into ext
7 years ago
Jimmy Zelinskie
8d29bf860d
versionfmt: convert to using constant over literal
8 years ago
Jimmy Zelinskie
6864a8efea
versionfmt: init rpm versionfmt
8 years ago
Jimmy Zelinskie
033709eaea
add registerable version formats
...
Since we only ever used dpkg, this change shims everything into using
dpkg.
8 years ago