Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git plugin - support pre-commit hooks #173

Open
jossef opened this issue Sep 10, 2023 · 0 comments
Open

git plugin - support pre-commit hooks #173

jossef opened this issue Sep 10, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@jossef
Copy link
Member

jossef commented Sep 10, 2023

currently git plugin mechanism does not scan staging files, and allow committing them.

To add this support, we need to add a flag to the git plugin. I still don't know if the flag will be --staged or --include-staged, it depends on the implementation.

We implemented the git plugin based on the gitleaks implementation of reading the git log output. Need to see how they implemented their protect command and add it here.

@jossef jossef added the bug Something isn't working label Sep 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants