sandworm-hq / sandworm-audit

Security & License Compliance For Your App's Dependencies 🪱
https://sandworm.dev
MIT License
471 stars 5 forks source link

Generate ids for Sandworm issues #55

Closed gabidobo closed 1 year ago

gabidobo commented 1 year ago

This PR adds generating unique ids to all issues that Sandworm detects.

For most issues, the id is a combination of issue code + package name + package version:

SWRM-102-spdx-license-ids-3.0.12

Some issues might be generated more than once for a single version, so they also append a specifier:

I've explored hashing the ids, but I think the explicit form is easier to read and use.

Fixes #54