16 Commits
Author SHA1 Message Date
bplaxco d29ee55171 Reduce aws-access-token false positives (#1876)
* Adjust aws-access-token regex

AWS Access Key IDs are [base32 encoded][1] so the numerical values here
will [only be 2-7][2]

[1]: https://medium.com/@TalBeerySec/a-short-note-on-aws-key-id-f88cc4317489
[2]: https://en.wikipedia.org/wiki/Base32#Base_32_Encoding_with_Extended_Hex_Alphabet_per_%C2%A77:~:text=It%20uses%20an%20alphabet%20of%20A%E2%80%93Z%2C%20followed%20by%202%E2%80%937

* Update config/gitleaks.toml during build and test

Summary:

- Add `config/gitleaks.toml` make target
- Make it a dep of `build` and `test`
- Update CONTRIBUTING.md to reference the new target

Reason: Makes dev easier because you can just tweak the code and run
`make test` without an extra step.

* Resolve lint issues in cmd/diagnostics.go

```
$ golangci-lint run cmd/
cmd/diagnostics.go:128:10: Error return value of `f.Close` is not checked (errcheck)
                f.Close()
                       ^
cmd/diagnostics.go:191:10: Error return value of `f.Close` is not checked (errcheck)
                f.Close()
                       ^
2 issues:
* errcheck: 2
```
2025-05-27 09:37:52 -05:00
Richard Gomez 973c794cf0 chore(rules): include fps in reference (#1471) 2025-01-13 08:40:20 -06:00
Roger Meier f6e549901c Feat/nuget config password rule (#1540)
* feat: add new rule nuget-config-password

* docs: correct function names within CONTRIBUTING.md
2024-10-04 08:19:15 -05:00
Oleksandr Redko 01e60c81e6 chore(config): refactor to go generate; simplify configRules init (#1295) 2023-11-21 19:52:50 -06:00
Zachary Rice e63b657bcf remove secretgroup from default config (#1288)
* remove secretgroup from default config

* update test data and AWS

* leave secretgroup
2023-11-10 12:53:07 -06:00
Richard Gomez 18283bb48e feat(rules): make case insensitivity optional (#1215) 2023-08-24 10:41:52 -05:00
Oleksandr Redko 6705461b33 Fix typos in *.md, comments and logs (#1185) 2023-05-30 07:08:42 -05:00
Sandeep Bhat 0060ab636a Fix typos in README.md and CONTRIBUTING.md (#1090) 2023-02-25 08:38:41 -06:00
Zachary Rice d196b83ca6 contributing guidelines first draft (#895)
* contributing guidelines first draft

* update links, add readme note
2022-06-23 17:17:39 -05:00
zach rice b55d88dc15 v3 work... lots of things 2019-11-10 13:30:43 -05:00
zach rice 9122aa6cf4 updating changelog 2019-03-29 18:09:34 -05:00
zach rice 2b995fda44 init 2019-03-26 13:57:55 -05:00
Ziyaddin Sadigov 4b350987a1 Fix typos in contributing.md 2018-10-24 21:11:29 +04:00
Zachary Rice d299b5aa7f Exitcode (#100)
* additional exit code, some more cleaning

* bump version
2018-10-02 09:52:18 -05:00
Zachary Rice 0a209b60a5 typo 2018-10-02 07:59:11 -05:00
zach rice 42fb085684 pls contribute 2018-10-01 21:54:31 -05:00