aboutcode-org / aboutcode-org/vulnerablecode
Single purl lookup on `packages` endpoint can take up to 20 seconds
Ouverte
bug
- Langage dominant
- Python
- Étoiles
- 702
- Forks
- 328
- Merge moyen
- 3 j 8 h
- PR mergées (30 j)
- 3
Description
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
```
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.