Skip to content
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

Calculate risk based on score of the check #1321

Open
varunsh-coder opened this issue Nov 20, 2021 · 2 comments
Open

Calculate risk based on score of the check #1321

varunsh-coder opened this issue Nov 20, 2021 · 2 comments
Labels
kind/enhancement New feature or request Stale

Comments

@varunsh-coder
Copy link
Contributor

Is your feature request related to a problem? Please describe.
In the future the Token-Permissions check will give different scores depending on how well the best practices has been followed. But even if one gets a score of 9, they will still get a High risk issue in the SARIF file. This score then gets shown in the Code scanning alerts dashboard when the Scorecards GitHub action is used in a repository.

Describe the solution you'd like
The risk of the issue that is emitted in the SARIF file should be based on the score of the check. If the score is high, the risk should be lower.

Describe alternatives you've considered
An alternative could be for each repository owner to have a policy file to set threshold of risk.

Additional context
This is related to discussion at #1128

@varunsh-coder varunsh-coder added the kind/enhancement New feature or request label Nov 20, 2021
@laurentsimon
Copy link
Contributor

This is also relevant for the GitHub workflow dependency pinning: we give 10 points if all actions are pinned by hash, and 8 if the GitHub-owned actions are not.

Copy link

github-actions bot commented Nov 4, 2023

This issue is stale because it has been open for 60 days with no activity.

@github-actions github-actions bot added the Stale label Nov 4, 2023
@spencerschrock spencerschrock removed this from the v5 milestone Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request Stale
Projects
Status: Todo
Development

No branches or pull requests

3 participants