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.
8 years ago
Jimmy Zelinskie
02e2c58236
utils/http: remove unused pkg
8 years ago
Jimmy Zelinskie
78cef02fda
pkg: cerrors -> commonerr
8 years ago
Jimmy Zelinskie
8dea744236
delete unused types.Version
8 years ago
Jimmy Zelinskie
03bac0f1b6
pkg: utils/tar.go -> pkg/tarutil
8 years ago
Jimmy Zelinskie
740262c055
Revert "Merge pull request #199 from openSUSE/feature/opensuse"
...
This reverts commit 97347ec44d
, reversing
changes made to 051564facd
.
8 years ago
Quentin Machu
1faf27ba18
utils: Fix OVAL's log statements
8 years ago
Jordi Massaguer Pla
b8ceb0c461
Integrated a fetcher for openSUSE and for SUSE Linux Enterprise
...
We extracted oval parser from rhel and used that for opensuse and
SUSE Linux Enterpise
Signed-off-by: Thomas Boerger <tboerger@suse.de>
Signed-off-by: Jordi Massaguer Pla <jmassaguerpla@suse.de>
8 years ago
Quentin Machu
836d37b275
*: use `path/filepath` instead of `path`
8 years ago
Harsha Yalamanchili
ed1a2b6ffd
fix typo in errors.go
9 years ago
Quentin Machu
5fdd9d1a07
*: add metadata support along with NVD CVSS
9 years ago
Quentin Machu
8be18a0a01
database: write more of the notification system
9 years ago
Quentin Machu
baed60e19b
prometheus: add initial Prometheus support
9 years ago
Quentin Machu
82175dcfe9
*: add missing copyright headers
9 years ago
Quentin Machu
77387af2ac
updater: port updater and its fetchers
9 years ago
Quentin Machu
7c70fc1c20
database: add initial vulnerability support
9 years ago
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
9 years ago
Quentin Machu
e8b16175ef
api: return 400 if we can't extract a layer
9 years ago
Quentin Machu
e834301941
Merge pull request #49 from liangchenye/master
...
Add DataDetector to support ACI and other layout format
9 years ago
Jimmy Zelinskie
34870a2a2b
move LoadTLSClientConfigForServer into API package
...
This isn't reused any where just yet, so we're best off leaving it local
to the place that needs it.
9 years ago
Jimmy Zelinskie
b3828c9c4c
notifier: add ServerName configuration for TLS
9 years ago
liangchenye
8b649af666
detect bzip2/xz; add test data
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
liangchenye
354c4b3672
always trim './'
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
liangchenye
b1775ed3dc
add data detector to support ACI and other format in the future
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
9 years ago
Quentin Machu
9946382223
api: Extracted client cert & HTTP JSON Render to utils.
9 years ago
Quentin Machu
20a126c84a
notifier: Refactor and add client certificate authentification support.
...
Fixes #23
9 years ago
Quentin Machu
3ec262dd51
Initial commit
9 years ago