aboutcode-org / aboutcode-org/vulnerablecode

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

未关闭
#1,218 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
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 摘要。