MCPcopy Index your code
hub / github.com/aboutcode-org/vulnerablecode / vulnerable

Method vulnerable

vulnerabilities/models.py:829–833  ·  view source on GitHub ↗

Return only packages that are vulnerable.

(self)

Source from the content-addressed store, hash-verified

827 return self.with_is_vulnerable().filter(is_vulnerable=vulnerable)
828
829 def vulnerable(self):
830 """
831 Return only packages that are vulnerable.
832 """
833 return self.filter(affected_by_vulnerabilities__isnull=False)
834
835
836def get_purl_query_lookups(purl):

Callers 7

bulk_searchMethod · 0.80
allMethod · 0.80
bulk_searchMethod · 0.80
allMethod · 0.80
allMethod · 0.80

Calls

no outgoing calls

Tested by 2