aboutcode-org / aboutcode-org/vulnerablecode

Single purl lookup on `packages` endpoint can take up to 20 seconds

オープン
#1,218 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
702
フォーク
328
平均マージ
3日 8時間
マージ済み PR(30日)
3

説明

For example a call on `https://public.vulnerablecode.io/api/packages/` with the following payload: `{'purl': 'pkg:alpine/libxml2@2.9.8-r1'}`

```
from scanpipe.pipes import vulnerablecode
from timeit import default_timer as timer

start_time = timer()
vulnerabilities = vulnerablecode.get_vulnerabilities_by_purl("pkg:alpine/libxml2@2.9.8-r4")
print(timer() - start_time)
# -> 19.21
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。