-
Notifications
You must be signed in to change notification settings - Fork 508
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: add line number to Pinned-Dependencies detail reporting #725
Comments
I'll take this issue since I have some time now to work on scorecard now that I've settled in from my move. I'd like to have an easier issue to get back into the swing of things. |
Thank you! FYI I'm working on adding SARIF support for scorecard, and for this I need to make some code update to support more structured data in details (line, filename, etc). |
@chrismcgehee assigned issue to you, thanks again for taking this issue! |
@chrismcgehee this issue is important for the v4 (~EOY) release. Do you have cycles this quarter? |
@chrismcgehee what's left to be done for this? Sorry, I've not kept up with all the commits :-) |
I'm just about ready to submit a PR that will add numbers for more places. The line numbers for anything in shell code is going to be tricky because of the way we pass shell code throughout the program. I'd be open to having help for that part.
I believe Pinned Dependencies and Token Permissions are all that need updating. Asra already added proper line numbering for Dangerous Workflow. |
sg. Let us know how we should help. I think you can start by adding the line numbers to entry functions and try to propagate them to callees? Then ask for help when things get tricky? Or would you like to proceed differently?
cc @asraa |
LGTM. Nice work, Laurent! |
add a line number to the
Pinned-Dependencies
,Token-Permissions
checks.Today the details contain the line content only, e.g.:
Warn: insecure (unpinned) download detected in .github/workflows/pylint-presubmit.yml: 'python -m pip install --upgrade pip'
We may want to add a line number as well.
The text was updated successfully, but these errors were encountered: