grype/internal
Jonas Xavier d6fa674edc
add db staleness check (#785)
* add db staleness check

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* less config fields

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* fix import order

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* warn even when set to not error on staleness

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* nits

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* nits

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* feedback changes

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* lint fix

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* fix test

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* consistent log message

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* consistent new version message

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* feedback changes

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* human friendly time durations

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* fix typo

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* feedback changes

Signed-off-by: Jonas Xavier <jonasx@anchore.com>

* cleaner tests and default db value

Signed-off-by: Jonas Xavier <jonasx@anchore.com>
2022-06-15 12:48:10 -04:00
..
bus Add ETUI (#77) 2020-07-30 19:06:27 -04:00
config add db staleness check (#785) 2022-06-15 12:48:10 -04:00
file Detect when a user specifies an empty SBOM (#695) 2022-03-24 10:12:11 -04:00
format initial project structure 2020-05-26 10:41:23 -04:00
log add warn log level 2020-11-12 10:02:40 -05:00
logger refactor: move from io/ioutil to io and os packages (#543) 2021-12-15 09:35:04 -05:00
ui add db staleness check (#785) 2022-06-15 12:48:10 -04:00
version Normalize release assets and refactor install.sh (#630) 2022-02-11 19:24:25 +00:00
constants.go Ignore prerelease versions on release + add DB update URL (#76) 2020-07-30 12:37:49 -04:00
input.go Fix hang when running as a subprocess (#484) 2021-10-29 14:51:58 +00:00
parse.go refactor constraint expression parser to allow for quoted versions 2021-02-16 09:15:17 -05:00
string_helpers.go Support for private certificate authorities during DB curation (#494) 2021-11-22 16:59:38 +00:00
string_helpers_test.go Support for private certificate authorities during DB curation (#494) 2021-11-22 16:59:38 +00:00
stringset.go Port grype-db to grype (#587) 2022-01-12 10:03:22 -05:00