optiopay / klar

Integration of Clair and Docker Registry
MIT License
506 stars 140 forks source link

Feature: Show all vulnerabilities regardless of CLAIR_OUTPUT value with only selected level and higher are count towards the CLAIR_THRESHOLD #186

Open vmicrodev opened 2 years ago

vmicrodev commented 2 years ago

Hello everyone,

Currently when the CLAIR_OUTPUT value is selected for a specific vulnerability level along with a specific CLAIR_THRESHOLD, this is what happens:

  1. All the selected and higher vulnerability levels are shown.
  2. All the lower level vulnerabilities are not shown, However only their count is shown.
  3. Only selected level and higher are count vulnerabilities towards the CLAIR_THRESHOLD.

Feature change required:

  1. All the selected and higher vulnerability levels are shown (as before).
  2. All the lower level vulnerabilities should also be shown for more informative output not only their count (Feature Change).
  3. Only selected level and higher are count vulnerabilities towards the CLAIR_THRESHOLD (as before).

So is there a way or a possibility to implement this feature change?

Thank you so much for your support.