You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we've evaluated osv.dev (#2), we can start designing an abstract interface that individual vulnerability services can satisfy.
From discussion on Slack: we probably want something like this:
classVulnerabilityService(ABC):
defquery(spec: Dependency) ->List[VulnerabilityResult]:
...
defquery_all(specs: List[Dependency]) ->Dict[Dependency, List[VulnerabilityResult]]:
# naive implementation that can be overridden if# a particular service supports bulk queriesforspecinspecs:
...
The text was updated successfully, but these errors were encountered:
Now that we've evaluated osv.dev (#2), we can start designing an abstract interface that individual vulnerability services can satisfy.
From discussion on Slack: we probably want something like this:
The text was updated successfully, but these errors were encountered: