mirror of
https://github.com/konstruktoid/hardening.git
synced 2026-04-27 01:35:55 +03:00
[PR #348] [MERGED] [StepSecurity] Apply security best practices #361
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/konstruktoid/hardening/pull/348
Author: @step-security-bot
Created: 12/21/2023
Status: ✅ Merged
Merged: 12/21/2023
Merged by: @konstruktoid
Base:
master← Head:stepsecurity_remediation_1703158185📝 Commits (1)
ac390cd[StepSecurity] Apply security best practices📊 Changes
8 files changed (+78 additions, -1 deletions)
View changed files
➕
.github/dependabot.yml(+11 -0)➕
.github/workflows/dependency-review.yml(+27 -0)📝
.github/workflows/issues.yml(+5 -0)📝
.github/workflows/scorecards.yml(+5 -0)📝
.github/workflows/shellcheck.yml(+5 -0)📝
.github/workflows/slsa.yml(+10 -0)➕
.pre-commit-config.yaml(+14 -0)📝
action-shellcheck/Dockerfile(+1 -1)📄 Description
Summary
This pull request is created by StepSecurity at the request of @konstruktoid. Please merge the Pull Request to incorporate the requested changes. Please tag @konstruktoid on your message if you have any questions related to the PR.
Security Fixes
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
sudoaccess.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.
Keeping your actions up to date with Dependabot
With Dependabot version updates, when Dependabot identifies an outdated dependency, it raises a pull request to update the manifest to the latest version of the dependency. This is recommended by GitHub as well as The Open Source Security Foundation (OpenSSF).
Secure Dockerfiles
Pin image tags to digests in Dockerfiles. With the Docker v2 API release, it became possible to use digests in place of tags when pulling images or to use them in FROM lines in Dockerfiles.
Add Dependency Review Workflow
The Dependency Review Workflow enforces dependency reviews on your pull requests. The action scans for vulnerable versions of dependencies introduced by package version changes in pull requests, and warns you about the associated security vulnerabilities. This gives you better visibility of what's changing in a pull request, and helps prevent vulnerabilities being added to your repository.
Maintain Code Quality with Pre-Commit
Pre-commit is a framework for managing and maintaining multi-language pre-commit hooks. Hooks can be any scripts, code, or binaries that run at any stage of the git workflow. Pre-commit hooks are useful for enforcing code quality, code formatting, and detecting security vulnerabilities.
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
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.