Closed pombredanne closed 1 month ago
Completed in:
The simple way to test this is to follow the below steps after installing PurlDB (https://github.com/nexB/purldb?tab=readme-ov-file#installation):
/api/collect/
add PURL for indexing. ex: /api/collect/?purl=pkg:gnu/libiconv@1.17&addon_pipelines=scan_for_virus
/api/resources/
and filter out resource based on PURL to see the virus_report
for malicious resource in extra_data
field. ex: /api/resources/?purl=pkg:gnu/libiconv@1.17
Given a PURL, this is about scanning code for virus with clamav. This will be exposed in the purldb