Skip to content

Add pre-commit hook gitleaks to detect and prevent hardcoded secrets#6379

Merged
matz merged 2 commits intomruby:masterfrom
jbampton:add-pre-commit-hook-gitleaks
Oct 17, 2024
Merged

Add pre-commit hook gitleaks to detect and prevent hardcoded secrets#6379
matz merged 2 commits intomruby:masterfrom
jbampton:add-pre-commit-hook-gitleaks

Conversation

@jbampton
Copy link
Contributor

https://github.com/gitleaks/gitleaks

Adding another check/test to our pre-commit framework.

gitleaks is a popular tool that helps with security.

Removes the gitleaks check from the Super-Linter.

So now we can run gitleaks with pre-commit on git commit

https://pre-commit.com/#golang

"new in 3.0.0: pre-commit will bootstrap go if it is not present. "

refs #6374

minimum_pre_commit_version: "3.2.0"

https://github.com/gitleaks/gitleaks

Adding another check/test to our pre-commit framework.

gitleaks is a popular tool that helps with security.

Removes the gitleaks check from the Super-Linter.

So now we can run gitleaks with pre-commit on `git commit`
@matz matz merged commit 63f3ff4 into mruby:master Oct 17, 2024
@jbampton jbampton deleted the add-pre-commit-hook-gitleaks branch October 17, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants