zricethezav
d85c8d8abd
support for running gitleaks w no args
2018-03-01 19:14:20 -06:00
zricethezav
39c9cb617c
cleaning up path logic for clones and reports, local repos are supported now
2018-03-01 19:08:58 -06:00
zricethezav
648ae701bf
Merge branch 'feature/usability' of https://github.com/zricethezav/gitleaks into feature/usability
2018-03-01 15:15:05 -06:00
zricethezav
9dd624affa
options and repo testing
2018-03-01 00:01:13 -06:00
Zachary Rice
17efe94f95
Merge pull request #51 from petermbenjamin/update-dockerfile
...
Update Dockerfile
2018-02-28 23:36:33 -06:00
zricethezav
25736d115f
some barebones tests
2018-02-28 23:25:04 -06:00
zricethezav
0d75136c1c
structured logs
2018-02-28 22:02:03 -06:00
zricethezav
7919e15a65
my, things have changed...
2018-02-28 19:36:21 -06:00
zricethezav
faca0e14d9
refactoring after actually learning some go patterns
2018-02-27 21:56:46 -06:00
Peter Benjamin
59f1f02480
Update Dockerfile
...
Simplified Dockerfile.
Here's what changed and why:
- No need for `RUN mkdir -p $PROJECT` because `WORKDIR` automatically creates directories if they don't exist.
- No need to `RUN git clone https://github.com/zricethezav/gitleaks.git . ` since we're building the container image locally and we have the project files available locally. Therefore, no need to reach out to the internet to re-download it.
- just `COPY` all local files into the current working directory (which is `/go/src/.../.../gitleaks`) in the container.
- No need to `RUN apk update && apk upgrade && apk add --no-cache bash git openssh`, because `apk update` and `apk upgrade` cache files locally in the container, thus leading to bloated image size.
- Just simply do `apk add --no-cache ...` to install dependencies without writing any cache locally. This is equivalent to `apk update && apk upgrade && apk add ... && rm -rf /var/logs/apk/cache/*`
- Removed `WORKDIR /app` as there is no need for it. The compiled binary is placed in `/usr/bin/`.
2018-02-27 11:54:09 -08:00
zricethezav
c8880ed911
rm extra newline
2018-02-26 22:29:26 -06:00
zricethezav
095279d60c
no leaks no report
2018-02-26 22:26:40 -06:00
Zachary Rice
91c39935e4
Update README.md
2018-02-25 22:01:13 -06:00
Zachary Rice
d972792aa1
s/o to the gf for the grammar
2018-02-25 20:47:50 -06:00
Zachary Rice
9d544f474a
format
2018-02-25 20:18:35 -06:00
Zachary Rice
01c54e55e7
readme update
2018-02-25 20:15:03 -06:00
Zachary Rice
4b21bbef2e
Merge pull request #47 from Shawn-Smith/Stopwords-lowercase
...
Make stopwords lowercase
2018-02-25 17:15:02 -06:00
Zachary Rice
9e87d94ce7
Merge pull request #40 from equinox/unknown-typo-fix
...
fix typo of "unknown"
2018-02-25 16:38:01 -06:00
Zachary Rice
27ab66827d
Merge pull request #48 from zricethezav/develop
...
Develop
v0.2.0
2018-02-25 16:22:42 -06:00
zricethezav
87ee13fb3d
deps
2018-02-25 16:18:26 -06:00
zricethezav
4b4fa00b69
Merge branch 'master' of https://github.com/zricethezav/gitleaks into develop
2018-02-25 16:13:42 -06:00
zricethezav
1cecd5e090
updated readme, better logging
2018-02-25 16:10:44 -06:00
Shawn Smith
93380ad86a
Do lowercase checks in stopwords
...
This reduces the number of loops we need to do when checking.
2018-02-25 14:15:19 -05:00
zricethezav
c104ff9157
file, author, repourl, time, commitmsg to leakElem
2018-02-25 11:49:15 -06:00
Zachary Rice
73387cbc53
Merge pull request #45 from plutov/feat/add_gcp_regexp
...
#35 Add GCP service account key check: PKCS8
2018-02-25 09:19:27 -06:00
Alex Pliutau
bc0dab1c56
#35 Add GCP service account key check: PKCS8
2018-02-25 20:10:57 +07:00
Zachary Rice
7554b51ad5
Merge pull request #42 from Shawn-Smith/Regex-Fix
...
Case insensitive regex matching
2018-02-24 22:10:50 -06:00
Shawn Smith
224ba41968
Case insensitive regex matching
...
This changes the current regexs to ones that aren't case sensitive.
2018-02-24 17:02:59 -05:00
zricethezav
1b06f1a0dc
init 0.2.0 work
2018-02-24 15:46:24 -06:00
Equinox
a63f5059f2
fix typo of "unknown"
2018-02-24 22:50:47 +13:00
Zachary Rice
9393f06d19
Merge pull request #39 from zricethezav/since_commit
...
Since commit
2018-02-23 18:10:08 -06:00
zricethezav
c11171f47d
the damned README
2018-02-23 18:06:19 -06:00
zricethezav
801254f97e
messages go back in, will add reporting support s00n
2018-02-23 18:02:29 -06:00
zricethezav
7a0ce07f99
--since sh-sh-sha
2018-02-23 17:58:02 -06:00
Zachary Rice
d16d584efa
Merge pull request #34 from zcong1993/master
...
reduce docker image size
2018-02-23 10:22:14 -06:00
zcong1993
780123c5be
add docker WORKDIR
2018-02-23 12:08:52 +08:00
zcong1993
c4738ef26f
reduce docker image size
2018-02-23 11:52:41 +08:00
zricethezav
2186f22999
more info on output and in jsonish format
2018-02-22 20:37:57 -06:00
zricethezav
aa15ded5c4
rm config
2018-02-22 19:53:38 -06:00
zricethezav
9f694531b2
just kidding on the yaml
2018-02-22 19:52:46 -06:00
Zachary Rice
1669939147
Merge pull request #33 from zricethezav/conf_yaml
...
Conf yaml
2018-02-22 19:35:38 -06:00
zricethezav
e3c7b3a9eb
yml dep
2018-02-22 19:07:47 -06:00
zricethezav
1e250f1a14
sprucing up the joint
2018-02-22 19:06:04 -06:00
zricethezav
6f5079c193
yamlizing
2018-02-22 17:36:36 -06:00
Zachary Rice
0fa6a79a25
Merge pull request #26 from devnixs/master
...
Added support for docker
2018-02-22 15:56:43 -06:00
Zachary Rice
970bbca757
Merge pull request #31 from zricethezav/private_scan
...
supporting private repos... again, removing go-git and deps
2018-02-22 15:38:55 -06:00
zricethezav
b9657155b2
supporting private repos... again, removing go-git and deps
2018-02-22 15:26:29 -06:00
Zachary Rice
f58caef16d
Merge pull request #29 from loicbourgois/patch-1
...
Update README.md
2018-02-22 13:48:57 -06:00
Loïc Bourgois
c0797d115a
Update README.md
2018-02-22 20:35:23 +01:00
zricethezav
744ff2f876
deps
2018-02-22 11:36:23 -06:00