Skip to content

[StepSecurity] ci: Harden GitHub Actions#17780

Merged
lukeheath merged 1 commit intomainfrom
add-harden-runner
Mar 22, 2024
Merged

[StepSecurity] ci: Harden GitHub Actions#17780
lukeheath merged 1 commit intomainfrom
add-harden-runner

Conversation

@lukeheath
Copy link
Member

@lukeheath lukeheath commented Mar 21, 2024

Summary

This pull request is created by StepSecurity at the request of @lukeheath. Please merge the Pull Request to incorporate the requested changes. Please tag @lukeheath on your message if you have any questions related to the PR.

Security Fixes

Pinned Dependencies

GitHub Action tags and Docker tags are mutable. This poses a security risk. GitHub's Security Hardening guide recommends pinning actions to full length commit.

Harden Runner

Harden-Runner is an open-source security agent for the GitHub-hosted runner to prevent software supply chain attacks. It prevents exfiltration of credentials, detects tampering of source code during build, and enables running jobs without sudo access.

Harden runner usage

You can find link to view insights and policy recommendation in the build log

Please refer to documentation to find more details.

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

@codecov
Copy link

codecov bot commented Mar 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.62%. Comparing base (38ea8db) to head (5baa7db).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17780      +/-   ##
==========================================
- Coverage   65.69%   65.62%   -0.08%     
==========================================
  Files        1193     1193              
  Lines      108030   108031       +1     
  Branches     2574     2574              
==========================================
- Hits        70972    70891      -81     
- Misses      31693    31761      +68     
- Partials     5365     5379      +14     
Flag Coverage Δ
backend 66.62% <ø> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

fleet-release
fleet-release previously approved these changes Mar 21, 2024
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
@lukeheath
Copy link
Member Author

I should have merged this before setting all the workflow DRIs 😆

Copy link
Member

@getvictor getvictor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lukeheath lukeheath merged commit 6ebc308 into main Mar 22, 2024
@lukeheath lukeheath deleted the add-harden-runner branch March 22, 2024 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants