scorecard: Scorecard fails to detect frozen dependencies in Ruby applications (including Rails apps)
Describe the bug
One of scorecard requirements is “frozen dependencies”. In Ruby applications, including Rails, frozen dependencies are implemented via a Gemfile.lock
file. However, such Ruby applications (such as the CII Best Practices badge project) are incorrectly marked as not having frozen dependencies.
Reproduction steps Steps to reproduce the behavior:
- View the OpenSSF metrics dashboard for the CII Best Practices badge web application
- Under Scorecard, Frozen deps, it shows “?”
- Yet the CII Best Practices badge application repo clearly shows a
Gemfile.lock
file (not just aGemfile
).
Expected behavior I expected full credit for having frozen dependencies.
Additional context This is part of a larger effort to get other OpenSSF projects to adopt the scorecard work. We’re starting by looking at the CII Best Practices badge & seeing what’s there, what isn’t, and what could be changed.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (18 by maintainers)
FYI: This PR pins dependencies noted: https://github.com/coreinfrastructure/best-practices-badge/pull/1647
It revealed that scorecard doesn’t check .circleci configuration files for pinned dependencies. That probably should be added (if you care about pinning), but that should be a different issue.