Closed step-security-bot closed 8 months ago
Kudos, SonarCloud Quality Gate passed!
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
ff1d32c
) 99.67% compared to head (d72d788
) 99.67%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Found this StepSecurity tool by looking at OpenSSF Scorecard report of Annif. Before this PR it gave a score of 6.3.
The permission of GITHUB token was already set "Read repo contents" on organization level, but it does hurt to explicitly set it the workflows (and this should increase the OpenSSF score).
Found this StepSecurity tool by looking at OpenSSF Scorecard report of Annif. Before this PR it gave a score of 6.3.
The permission of GITHUB token was already set "Read repo contents" on organization level, but it does hurt to explicitly set it the workflows (and this should increase the OpenSSF score).
The tool scans repositories weekly: now the score is 7.4.
One way to increase the score would be to add SECURITY.md for vulnerabilities reporting. However, via the Security tab of the repository reporting is already possible.
Summary
This pull request is created by StepSecurity at the request of @juhoinkinen. Please merge the Pull Request to incorporate the requested changes. Please tag @juhoinkinen on your message if you have any questions related to the PR.
Security Fixes
Least Privileged GitHub Actions Token Permissions
The GITHUB_TOKEN is an automatically generated secret to make authenticated calls to the GitHub API. GitHub recommends setting minimum token permissions for the GITHUB_TOKEN.
Pinned Dependencies
GitHub Action tags and Docker tags are mutatble. This poses a security risk. GitHub's Security Hardening guide recommends pinning actions to full length commit.
Feedback
For bug reports, feature requests, and general feedback; please email support@stepsecurity.io. To create such PRs, please visit https://app.stepsecurity.io/securerepo.
Signed-off-by: StepSecurity Bot bot@stepsecurity.io