-
Notifications
You must be signed in to change notification settings - Fork 504
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Scorecard badges #271
Comments
@inferno-chromium What are your thoughts on this? |
Is there going to be a single badge/score, or one for each check? |
I would think of a single badge with different levels like CII https://bestpractices.coreinfrastructure.org/en/projects/569 |
sounds like a good idea. SLSA levels would be great, but I'm not 100% sure they directly map to the scorecard checks. |
That is even better IMO. We have to just agree on what check constitutes to the levels. |
SLSA is wip, and only a set of checks will apply to SLSA not all. So, this needs more thought. |
I like the idea of a single badge with different levels expressed by the number of checks passed. We'll need to list the applicable checks, some of which could come from SLSA requirements but maybe not the levels themselves. |
I disagree with having checks passed as a number in the badge. It could be sending a wrong message to the consumer of any of the repositories/packages. Also, it would discourage from repositories adopting the badge. For example, https://deps.dev/go/k8s.io%2Fkubernetes has But in reality, some of the checks aren't applicable to Having a tiered approach to badges would be helpful similar to CII/SLSA. Thoughts? |
I also prefer qualitative information. In addition to what Naveen said, it empowers consumers of the dependency to make informed decisions about the risks they are comfortable taking. Some users may weight different checks differently so it's hard for us (scorecard) to make that decision on behalf of everyone. Let's discuss this more in an upcoming meeting. |
Agree that this needs more discussion. We'll need to find a balance across badge adoption, check applicability, and giving package users easily-digestible information to make a risk-based decision. Note that I wasn't proposing a percentage as not all checks will be applicable to all packages, so the denominator could vary from package to package. |
This is now on our roadmap. @laurentsimon @asraa could one of you update this issue with a high-level overview of the design? |
@rohankh532 fyi. |
ossf/scorecard-action#133 fixes this. Closing the issue. |
Is your feature request related to a problem? Please describe.
Scorecard should provide a badge for repositories to include in their README to display their compliance.
Scorecard badges
The scorecard should provide badges similar to other https://github.com/badges/shields OSS badges for compliance.
Goals
Implementaion
latest.json
In this example
latest.json
results from the cron jobThe text was updated successfully, but these errors were encountered: