0
Fork 0
mirror of https://github.com/project-zot/zot.git synced 2024-12-16 21:56:37 -05:00
zot/pkg
Andrei Aaron 92afd86cbb
feat(cve): better distinguish max severity on an image (#918)
Values returned now by GetCVESummaryForImage
// not scannable / error during scan  - max severity ""            - cve count 0   - Errors
// scannable no issues found          - max severity "NONE"        - cve count 0   - no Errors
// scannable issues found             - max severity from Scanner  - cve count >0  - no Errors

Before this change the max severity in case #1 and #2 was "UNKNOWN" which is also possible value
for case #3. To better distinguish them return different max severities.

This feature would be consumed by the UI.

Signed-off-by: Andrei Aaron <andaaron@cisco.com>
2022-10-24 12:27:26 -07:00
..
api refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00
cli fix(cli): do not show signatures and fix tls verification client side (#904) 2022-10-22 23:44:20 -07:00
common chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
compliance chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
debug chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
exporter chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
extensions feat(cve): better distinguish max severity on an image (#918) 2022-10-24 12:27:26 -07:00
log chore(lint): gci to separate zot from other imports (#870) 2022-10-20 09:39:20 -07:00
requestcontext Update go version to 1.19 (#829) 2022-10-05 13:21:14 +03:00
scheduler fix(coverage): scheduler coverage (#893) 2022-10-21 18:33:22 +03:00
storage refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00
test refactor(digests): standardise representation of digests to digest.Digest (#898) 2022-10-22 13:46:13 -07:00