-
Notifications
You must be signed in to change notification settings - Fork 138
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
[bug] Improve Scorecard score #547
Comments
Thank you! You know you can send us some PR and possibly get rewarded at sos.dev, right? |
I thought PRs were mostly meant for doc/code changes?? I know I am unable to make these changes myself since I don't have repo access. So not sure how that would work? |
The permission changes could be changes you propose via a PR. If you identify some critical projects and get them to accept your PR, you can use sos.dev to be rewarded Some config settings like branch protection cannot be changed via PR, you are correct. |
Would adding That's what my reading of the Scorecards documentation on token permissions remediation suggests. If that's a correct interpretation, I'm glad to help out with a PR that adds this line repeatedly. |
I thought we already set the permissions as read-only in all our workflows. If we don't for some, please feel free to send a PR |
Huh, |
Could it be this line? slsa-github-generator/.github/workflows/generator_container_slsa3.yml Lines 88 to 91 in 61d7196
Seems like the keyless signing requires non-read permissions, so I'm not sure there's any way to get around this |
You're right. Scorecard scoring is going to change in the next release to address this. See ossf/scorecard#2338 |
We have a score of 9 now but I think we can close once we've completed the following tasks that were written in the description.
|
It seems that scorecard also dings us hard for using |
This should go away with one of the future releases of Scorecard |
We finished the tasks I mentioned above and now have a overall scorecard score if 9+ so I think we have completed this. |
Describe the bug
Improve repository's OpenSSF Scorecard score (currently at 7.1)
To Reproduce
docker run -e GITHUB_AUTH_TOKEN gcr.io/openssf/scorecard:stable --show-details --repo=https://github.com/slsa-framework/slsa-github-generator --format=json > scorecard_slsa-framework_slsa-github-generator.json
Expected behavior
Screenshots
Additional context
Attempted to upload the JSON file, but github does not allow me to. Related to recommendation of securing our repos: slsa-framework/slsa#424
The text was updated successfully, but these errors were encountered: