-
Notifications
You must be signed in to change notification settings - Fork 498
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
Parts of security scorecard doesn't allow excluding issues from scoring when they have no affect on an end-user #4036
Comments
Being able to declare testdata directories (along with other annotations) is something we're currently working on with maintainer annotations (Duplicate of #1907), so stay tuned. You can see part of this in an open PR (#3905) scorecard/config/annotations.go Lines 20 to 23 in a36843e
|
@spencerschrock thank yoy for sharing! I've subscribed to the PR. What's your forecast on the timeline of having this feature available for us? |
It is one of our items currently being worked on, but I don't have a great timeline, especially when seeing the results in our API. Note: we currently exclude |
It would be nice to exclude ad-hoc folders. We are being dinged for not having pinned dependencies in a script which sets up our ci environment. These scripts are not part of the shipped product. Specifically, in my case, if I look at the details of what the pinned dependency check is flagging ( among others) is every line containing kubectl which is pinned to the specific version we pull down, rather than latest. https://github.com/intel/userspace-cni-network-plugin/blob/364834664f9c0434ac524a829f40905ac64592fc/ci/ci.sh#L31 |
Describe the bug
We have a low security score at https://securityscorecards.dev/viewer/?uri=github.com/JetBrains/intellij-community for Binary-Artifacts and Pinned-Dependencies categories although most of the listed paths are from
../testData/..
directories thus can't influence .Reproduction steps
Steps to reproduce the behavior:
testData
folders which doesn't affect a distribution or an end-user.testData
folders which doesn't affect a distribution or an end-user.testData
folders which affects neither a distribution nor an end-user. Also most of them are related to Python dependencies although the product itself is predominantly written in Java and Python code is used there for tests.Expected behavior
There is a way either to exclude paths not affecting an end-user or a product's distribution from the analysis, or to exclude them from scoring so a reader could see issues with a vendor's comment but in a muted form, to have a score reflecting security of an end-user product. Currently, it indicates security of files included in a repo which may have lax connection to security of a final artifact.
The text was updated successfully, but these errors were encountered: