goharbor / harbor-scanner-clair

Use Clair as a plug-in vulnerability scanner in the Harbor registry
https://goharbor.io/
Apache License 2.0
34 stars 26 forks source link

feat(metadata): add vulnerability-database-updated-at in metadata #12

Closed heww closed 4 years ago

heww commented 4 years ago

returns harbor.scanner-adapter/vulnerability-database-updated-at in metadata when config clair database url for the scanner

Signed-off-by: He Weiwei hweiwei@vmware.com

codecov-io commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@b2b178f). Click here to learn what that means. The diff coverage is 17.39%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #12   +/-   ##
=========================================
  Coverage          ?   51.75%           
=========================================
  Files             ?       13           
  Lines             ?      541           
  Branches          ?        0           
=========================================
  Hits              ?      280           
  Misses            ?      244           
  Partials          ?       17
Impacted Files Coverage Δ
pkg/etc/config.go 44.44% <0%> (ø)
pkg/clair/client.go 0% <0%> (ø)
pkg/http/api/v1/handler.go 92.59% <72.72%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b2b178f...85ce953. Read the comment docs.

steven-zou commented 4 years ago

as we both approved this PR, let's merge it.