Open eleftherias opened 1 week ago
Trusty API v1 removed score
from its payload, and depending on where it appears it's either null
or 0
.
$ curl https://api.trustypkg.dev/v1/report\?package_name\=requests\&package_type\=pypi | jq .summary
{
"score": null,
"description": {
"trust-summary": 8.5,
"from": "provenance",
"activity_user": 9.4,
"activity_repo": 9.4,
"activity": 9.4,
"typosquatting": 10.0,
"provenance_type": "historical_provenance_match"
},
"updated_at": "2024-11-20T07:24:35.479848"
}
So this is not a bug in Minder, but we do have to revisit pr_trusty_check
rule.
Describe the issue
When I have a profile that includes the Trusty ruletype And I create a PR that adds a dependency Then Minder comments on the PR stating that the Trusty score is 0
This can be seen in this PR comment https://github.com/eleftherias/demo-repo-python/pull/25#pullrequestreview-2429173373
Note: This happens in both production and staging
Additional information This is the YAML output when I run
minder profile get
:To Reproduce
No response
What version are you using?
No response