MaineK00n / vuls-data-update

Apache License 2.0
1 stars 2 forks source link

add gen command #252

Open MaineK00n opened 1 month ago

MaineK00n commented 1 month ago
$ vuls-data-update gen datasource ...
{
    "id": "id",
    "name": "name",
...

$ vuls-data-update gen data ...
{
    "id": "id",
    "advisories": [
...
MaineK00n commented 1 month ago

inspired by

$ vexctl create --product="pkg:apk/wolfi/git@2.38.1-r0?arch=x86_64" \
               --vuln="CVE-2014-123456" \
               --status="not_affected" \
               --justification="inline_mitigations_already_exist"

https://github.com/openvex/vexctl