zricethezav
67a7069bb8
trying again
2021-11-22 12:15:31 -06:00
zricethezav
fd5d786538
override version in goreleaser
2021-11-22 12:11:02 -06:00
zricethezav
c017b763f3
actually we gonna use git describe for docker build
2021-11-22 11:46:24 -06:00
zricethezav
e796458763
remove sorting tags
2021-11-22 11:29:31 -06:00
zricethezav
2a9fbbc64d
remove git fetch tag from docker build process, already available
2021-11-22 11:21:55 -06:00
zricethezav
d6081d0cc4
actually use github.actor
2021-11-22 11:09:08 -06:00
zricethezav
e6c3a495ce
hardcode username to avoid redaction in action
2021-11-22 11:07:40 -06:00
Zachary Rice
93f292c3df
Introducing v8.0.0 changes ( #701 )
...
* Introducing v8.0.0 changes
2021-11-22 10:43:51 -06:00
Zachary Rice
6adc045580
Simplify tests and continue on object not found errors ( #633 )
...
* adding files
* init better tests
* add basic .git
* more tests and test data
* nogit, unstaged tests
* removing unused testdata
* adding empty testdata
* rm gitmodules
* fixing tests
* remove with config
* adding with_config
* removing old test_data, updating config tests
* removing hooks in testdata repos
2021-09-09 11:46:31 -05:00
Zachary Rice
8b9092a248
Create README.md
2021-09-07 15:29:56 -05:00
Zachary Rice
541e26b067
Update FUNDING.yml
2021-09-06 16:51:38 -05:00
Zachary Rice
ca987b3842
Update README.md
2021-09-04 19:27:44 -05:00
Zachary Rice
6ddf27c5c3
Fix premature exit for nogit scans, limit goroutines ( #619 )
...
* fix premature exit on nogit scan, actually limit concurreny for nogit
* removing files scanned log
2021-09-03 19:32:33 -05:00
Zachary Rice
aadd9387b2
Create maintenance.md
2021-09-03 11:01:05 -05:00
Zachary Rice
0fd68c901d
GitHub test ( #617 )
...
* drop travis
* remove travis
* rename, use example
* typo
* different syntax
* rename to test
* split test and build into two jobs
* add gosec job
* drop gosec for now
2021-09-03 08:41:17 -05:00
zricethezav
17a3943afe
bump golang docker version
2021-09-02 14:44:58 -05:00
Zachary Rice
abc73e2443
use embed pkg for default config, update deps ( #616 )
2021-09-02 14:42:14 -05:00
Zachary Rice
3c1751e5c4
Update alpine, use gitleaks user instead of root ( #615 )
...
* Updating alpine, use gitleaks user instead of root
* remove comments
2021-09-02 10:21:22 -05:00
Zachary Rice
9324184c24
Update README.md
2021-08-13 08:29:42 -05:00
Zachary Rice
a80ce0d251
Update README.md
2021-07-29 17:40:34 -05:00
Zachary Rice
9ab424172d
Update README.md
2021-05-05 09:22:56 -04:00
zricethezav
28fd47e170
Bump version for pre-commit
2021-05-05 09:10:47 -04:00
Zachary Rice
12d276acd7
Bug 553 global allowlist ( #554 )
...
* add global file check
* rm whitespace
2021-04-22 18:07:07 -04:00
Zachary Rice
6f5ad9dc0b
Update README.md
2021-04-12 11:07:28 -04:00
Zachary Rice
a2019a4782
Update README.md
2021-04-09 14:21:15 -04:00
zricethezav
5d7b7718ec
splitting out github rules and retabbing
2021-04-09 14:07:23 -04:00
Zachary Rice
190877a24b
Pypi GitHub rules ( #546 )
...
* adding pypi and basic azure rules
* Adding new github format
2021-04-08 16:34:08 -04:00
Zachary Rice
d353ac5108
Update README.md
2021-04-06 14:42:44 -04:00
Zachary Rice
a27a08904a
Update README.md
2021-03-05 16:40:07 -05:00
Zachary Rice
5ef4e336ce
Update README.md
2021-03-05 16:39:23 -05:00
zricethezav
78f2c46517
Consistency in options
2021-03-05 16:19:24 -05:00
Zachary Rice
6e4e9df55f
stricter regex for github token ( #535 )
2021-03-05 16:10:04 -05:00
Zachary Rice
b3bed5658d
adding recover for patch generation ( #534 )
2021-03-05 16:00:41 -05:00
Zachary Rice
a8dbc7f107
Update README.md
2021-02-25 16:33:24 -05:00
Zachary Rice
3932ed6baf
--no-git should report relative path to --path ( #519 )
2021-02-03 13:48:59 -05:00
Zachary Rice
981b636920
gitter chat
2021-02-02 17:27:24 -05:00
Zachary Rice
901f932a89
Add file type checking for unstaged commits ( #512 )
2021-01-22 11:49:21 -05:00
Zachary Rice
1c6f2252b8
Update README.md
2020-12-11 20:55:32 -05:00
Zachary Rice and Zach Rice
58d130c5f3
Quiet flag ( #491 )
...
* Adding a quiet option
* better description
Co-authored-by: Zach Rice <zrice@gitlab.com >
2020-12-11 09:56:09 -05:00
Zachary Rice
091ea81e68
nosec gosec ( #490 )
2020-12-10 22:32:32 -05:00
Zachary Rice
f036dce6ab
Dotgit bug ( #488 )
...
* fix allowlist bug
* Adding new repo for testing allowlisting
* adding additional constraints on the dotgit regex
2020-12-10 17:41:26 -05:00
Zachary Rice
2d58f1f94e
Files at commit allow list bug ( #485 )
...
* fix allowlist bug
* Adding new repo for testing allowlisting
* Adding missing allowlist checks for commits and files/paths
2020-12-09 15:55:01 -05:00
Zachary Rice
86cfe0848b
Allow list bugs ( #484 )
...
* fix allowlist bug
2020-12-09 13:21:15 -05:00
Zachary Rice
973d74e592
Update README.md
2020-12-08 20:55:53 -05:00
Zachary Rice
3909ebe03b
Exit code update, introduce leaks-exit-code flag ( #481 )
2020-12-08 17:41:02 -05:00
Zachary Rice
65f42020af
Go repo scan ( #480 )
...
* Real fast
* Addressing some golint stuff
2020-12-08 17:22:28 -05:00
Zachary Rice
65a91ae976
Removing base scanner ( #477 )
2020-12-08 09:24:38 -05:00
Zachary Rice
7db08bfd90
Bugs v7 ( #475 )
...
* fixing some v7 bugs
2020-12-05 11:57:43 -05:00
Zachary Rice
d5e431e7d4
Update README.md
2020-12-03 17:20:46 -05:00
Zachary Rice
54ba3ec377
Update README.md
2020-12-03 17:09:59 -05:00
Zachary Rice
656ef1c9a7
Update README.md
2020-12-03 16:56:16 -05:00
zricethezav
b8accd7273
rm unimplemented cleanpath option
2020-12-03 15:43:06 -05:00
zricethezav
238c31beaa
Merge branch 'master' of github.com:zricethezav/gitleaks into master
2020-12-03 10:08:41 -05:00
Zachary Rice
eb31190f31
Removing limiting line/offender length ( #470 )
2020-12-03 09:32:57 -05:00
zricethezav
389d45e380
Removing limiting line/offender length
2020-12-03 09:28:30 -05:00
zricethezav
81b3a6e279
Update readme
2020-12-02 17:11:47 -05:00
Zachary Rice
c50906373c
update to V7 ( #469 )
2020-12-02 17:07:31 -05:00
Zachary Rice
40545fb680
Need to include offender in line extraction memoization ( #466 )
2020-11-21 15:49:59 -05:00
zricethezav
ede68fd95d
fix off by one
2020-09-02 08:36:19 -04:00
Zachary Rice
6c60c3dde3
Adding some logic to fix line number extractor when there are multipl… ( #436 )
...
* Adding some logic to fix line number extractor when there are multiple secrets of the same offender within the same patch
* formatting some consts
2020-09-01 20:48:43 -04:00
Zachary Rice
ad505754fc
Add commits and commits-file option ( #433 )
2020-08-31 10:29:04 -04:00
Zachary Rice
21d81879e2
Update README.md
2020-08-27 14:11:11 -04:00
Zachary Rice
ef4655fcf1
Sarif ( #421 )
...
* init
* more work
* more sarif work
* mergin
2020-08-12 18:07:24 -04:00
Zachary Rice
01b553a75d
Update Makefile
2020-08-12 17:51:56 -04:00
Zachary Rice
fae366a404
Global allowlist regex ( #422 )
...
* work in progress
* Update test configs
* adding test
* golint and change to allowlist
* fix race condition, this mistakenly got committed
* Updating tests and examples
* bump to v6 as this is a breaking change to the config
* More consistent variables
2020-08-12 17:18:25 -04:00
Zachary Rice
eabc7b5c12
Fixing merge commit scans and large patch rule checking ( #414 )
...
* Fixing merge commit scans and large patch rule checking
* Adding tests for merge request scans
2020-07-25 14:55:59 -04:00
zricethezav
1dc7569f95
removing extra log import...
2020-07-24 14:42:54 -04:00
zricethezav
1797e9c966
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-07-24 14:07:25 -04:00
zricethezav
e2eaceb4cd
rm bad example config
2020-07-24 14:07:00 -04:00
Zachary Rice
c637b129ec
Validate config ( #412 )
...
* validate config
* fix import fmt
* cleaning
2020-07-24 14:02:48 -04:00
zricethezav
8470e43d7f
validate config
2020-07-24 13:54:01 -04:00
Zachary Rice
94f5950d68
Use allowlist ( #411 )
2020-07-24 11:58:43 -04:00
Zachary Rice
fe69a17c9c
Change remaining audits to scan ( #410 )
2020-07-24 11:30:33 -04:00
Zachary Rice
6ca7a11d88
Add line number to report plus some other things ( #409 )
...
* Init refactor
* think i got it working
* we got em
* Updating tests
* fixing tests
* Better comments, more test fixing
* Bumping to v5
* Fixing golint messages
* Replacing usage of audit with scan in comments
* bumping go-git
* Updating to v5 in some other spots
2020-07-24 10:49:03 -04:00
Zachary Rice
cfbb600fcb
Fixing patch direction and making additions the default ( #408 )
...
* Fixing patch direction and making additions the default
* adding test
2020-07-22 13:32:46 -04:00
Zachary Rice
e36b550851
adding go mod/sum to ignore, adding quotes to aws secret rule ( #397 )
...
* adding go mod/sum to ignore, adding quotes to aws secret rule
* lil nicer formatting
2020-06-14 15:41:04 -04:00
zricethezav
2232dc191c
removing bad options guard
2020-06-03 08:51:11 -04:00
Zachary Rice
bdc688dd53
fix whitelist commits, added test ( #390 )
2020-05-31 10:25:58 -04:00
Zachary Rice
3e88ac6726
Update README.md
2020-05-20 15:48:53 -04:00
zricethezav
0d7c18cb39
fixing whitelist repo tests
2020-05-09 11:37:08 -04:00
zricethezav
d0e98416b9
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-05-09 11:24:06 -04:00
Zachary Rice
b7438011b4
Rm generic from default ( #379 )
...
* fixing commit latest bug
* remove generic rule from default to reduce false positives
2020-05-09 11:21:17 -04:00
zricethezav
4e59d3bf19
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-05-09 10:54:35 -04:00
Zachary Rice
473d0d55a7
Whitelist repo ( #378 )
...
* fixing commit latest bug
* bumping go-git and adding repo whitelist
* adding tests
2020-05-09 10:38:02 -04:00
Zachary Rice
8bd4649b01
Update leaky-repo.toml
2020-05-09 08:53:43 -04:00
zricethezav
a69df84325
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-05-09 08:51:58 -04:00
Zachary Rice
a728e3abf3
Documentation upgrade ( #374 )
...
* fixing commit latest bug
* updating readme
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
2020-04-28 17:43:01 -04:00
zricethezav
e87c62fe72
Merge branch 'master' of github.com:zricethezav/gitleaks
2020-04-23 11:23:46 -04:00
Zachary Rice
4801818e3d
fixing commit latest bug ( #365 )
2020-04-05 11:36:37 -04:00
zricethezav
b4a0577786
fixing commit latest bug
2020-04-05 11:31:22 -04:00
Zachary Rice
212232f80a
Empty repo audit ( #364 )
...
* bump to go 1.14 and alpine to 3.11
* audit before commit
* adding test
* rm hooks in test repo
2020-04-05 11:18:33 -04:00
Zachary Rice
11dcb44e41
bump to go 1.14 and alpine to 3.11 ( #363 )
2020-04-05 09:38:27 -04:00
Zachary Rice
9db91442b3
ignoring config when using custom config ( #362 )
2020-04-04 14:49:54 -04:00
Zachary Rice
9d76070806
Update README.md
2020-03-25 11:22:32 -04:00
Zachary Rice
2fa580f1bb
fix the empty repo org scan error ( #358 )
2020-03-20 22:44:17 -04:00
Zachary Rice
779937ca87
Update README.md
2020-03-06 18:59:03 -05:00
Zachary Rice
731856e974
Update README.md
2020-03-06 18:55:24 -05:00
Zachary Rice
baf54631c7
Update README.md
2020-03-06 18:43:40 -05:00
zricethezav
3e760d7fed
updating help message
2020-03-02 20:24:22 -05:00
Zachary Rice
dae5c142d7
Fix host clone auth ( #350 )
...
* trying auth fix
* fixing github private user auth and donate msg
* formatting
* go fmt...
2020-02-29 13:30:08 -05:00