Zachary Rice
Zachary Rice
The `cmd/generate` package effectively does this. You can define false positives and true positives to test rules against
@adamdecaf as a stop-gap I removed the generic rule in https://github.com/zricethezav/gitleaks/releases/tag/v8.0.5. I left it commented in the default config in case folks want to enable it.
I unfortunately do not have a windows machine to test on. If someone could provide a solution that would be great
@avishnyakov This could be interesting. ```toml title = "gitleaks config" verify = true [[rules]] id = "gitlab-pat" description = "GitLab Personal Access Token" regex = '''glpat-[0-9a-zA-Z\-]{20}''' example = '''gitlab_token =...
I will happily accept a PR for this idea
@030 I haven't added anything to snap before, do you have a guide on how I could add it to snap?
@jessehouwing wow thanks for bringing this up! I definitely would like to add more rules to the default gitleaks configuration. Feel free to open a MR. It looks like you...
Source for rules: https://www.powershellgallery.com/packages/AzSK.AzureDevOps/0.9.8/Content/Framework%5CConfigurations%5CSVT%5CAzureDevOps%5CCredentialPatterns.xml
I don't plan on adding this feature since it is possible to test rules using a custom config. This is a bit more work for the end user but has...
@phamdt > I can make the PR if this is acceptable to you. Go for it 😄