mitre / hipcheck

Automatically assess and score software repositories for supply chain risk.
https://mitre.github.io/hipcheck/
Apache License 2.0
62 stars 3 forks source link

feat: added types for new target repo spec and resolution #210

Closed j-lanson closed 1 month ago

j-lanson commented 1 month ago

Adds new types, including Target which is designed to replace Source going forward. Future work will integrate this type into the Hipcheck analysis, and derive Target from CheckArgs

Additionally adds the optional ref_ arg to CheckRepoArgs and fixes trailing_args to also consume flag arguments. Without this, --ref can't be passed when not using deprecated hc check repo/maven/etc <TARGET> format.