jgsqware / clairctl

Tracking container vulnerabilities with Clair Control for CoreOS Clair
Apache License 2.0
229 stars 82 forks source link

fix AllVulnerabilities method: avoid double counting of the same vul… #107

Closed xiaonancc77 closed 6 years ago

xiaonancc77 commented 6 years ago

Now clair/report.go AllVulnerabilities method :Did not consider different layers contain the same vulnerability. Therefore, statistics on the number of different severity levels of vulnerabilities, duplicate statistics appear..