mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 04:34:46 +01:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28fd47e170 | ||
|
|
8250e40a75 | ||
|
|
e7553b0168 | ||
|
|
12d276acd7 | ||
|
|
e6934bf0a5 | ||
|
|
6f5ad9dc0b | ||
|
|
a2019a4782 | ||
|
|
5d7b7718ec | ||
|
|
190877a24b | ||
|
|
144362b972 | ||
|
|
d353ac5108 | ||
|
|
a27a08904a | ||
|
|
5ef4e336ce |
No files matched your search
@@ -6,6 +6,7 @@
|
|||||||
*.dylib
|
*.dylib
|
||||||
*.DS_STORE
|
*.DS_STORE
|
||||||
*.idea
|
*.idea
|
||||||
|
*.got
|
||||||
gitleaks
|
gitleaks
|
||||||
build
|
build
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
- id: gitleaks
|
||||||
|
name: Detect hardcoded secrets
|
||||||
|
description: Detect hardcoded secrets using Gitleaks
|
||||||
|
entry: gitleaks
|
||||||
|
language: golang
|
||||||
+1
-1
@@ -12,6 +12,6 @@ ENTRYPOINT ["gitleaks"]
|
|||||||
# How to use me :
|
# How to use me :
|
||||||
|
|
||||||
# docker build -t gitleaks .
|
# docker build -t gitleaks .
|
||||||
# docker run --rm --name=gitleaks gitleaks --repo=https://github.com/zricethezav/gitleaks
|
# docker run --rm --name=gitleaks gitleaks --repo-url=https://github.com/zricethezav/gitleaks
|
||||||
|
|
||||||
# This will check for secrets in https://github.com/zricethezav/gitleaks
|
# This will check for secrets in https://github.com/zricethezav/gitleaks
|
||||||
@@ -10,15 +10,16 @@ test-cover:
|
|||||||
go test ./... --race $(COVER) $(PKG) -v
|
go test ./... --race $(COVER) $(PKG) -v
|
||||||
go tool cover -html=cover.out
|
go tool cover -html=cover.out
|
||||||
|
|
||||||
test:
|
format:
|
||||||
go get golang.org/x/lint/golint
|
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
|
|
||||||
|
test: format
|
||||||
|
go get golang.org/x/lint/golint
|
||||||
go vet ./...
|
go vet ./...
|
||||||
golint ./...
|
golint ./...
|
||||||
go test ./... --race $(PKG) -v
|
go test ./... --race $(PKG) -v
|
||||||
|
|
||||||
build:
|
build: format
|
||||||
go fmt ./...
|
|
||||||
golint ./...
|
golint ./...
|
||||||
go vet ./...
|
go vet ./...
|
||||||
go mod tidy
|
go mod tidy
|
||||||
@@ -41,9 +42,9 @@ release-builds:
|
|||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
@echo "$(DOCKER_PASSWORD)" | docker login -u "$(DOCKER_USERNAME)" --password-stdin
|
@echo "$(DOCKER_PASSWORD)" | docker login -u "$(DOCKER_USERNAME)" --password-stdin
|
||||||
docker build --build-arg ldflags=$(_LDFLAGS) -f Dockerfile -t zricethezav/gitleaks:latest -t zricethezav/gitleaks:$(VERSION) .
|
docker build --build-arg ldflags=$(_LDFLAGS) -f Dockerfile -t zricethezav/gitleaks:latest -t zricethezav/gitleaks:$(VERSION) .
|
||||||
echo "Pushing zricethezav/gitleaks:$(VERSION) and zricethezav/gitleaks:latest"
|
echo "Pushing zricethezav/gitleaks:$(VERSION) and zricethezav/gitleaks:latest"
|
||||||
docker push zricethezav/gitleaks
|
docker push zricethezav/gitleaks
|
||||||
|
|
||||||
dockerbuild:
|
dockerbuild:
|
||||||
docker build --build-arg ldflags=$(_LDFLAGS) -f Dockerfile -t zricethezav/gitleaks:latest -t zricethezav/gitleaks:$(VERSION) .
|
docker build --build-arg ldflags=$(_LDFLAGS) -f Dockerfile -t zricethezav/gitleaks:latest -t zricethezav/gitleaks:$(VERSION) .
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
<img alt="gitleaks" src="https://raw.githubusercontent.com/zricethezav/gifs/master/gitleakslogo.png" height="70" />
|
<img alt="gitleaks" src="https://raw.githubusercontent.com/zricethezav/gifs/master/gitleakslogo.png" height="70" />
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://travis-ci.org/zricethezav/gitleaks"><img alt="Travis" src="https://img.shields.io/travis/zricethezav/gitleaks/master.svg?style=flat-square"></a>
|
<a href="https://travis-ci.org/zricethezav/gitleaks"><img alt="Travis" src="https://img.shields.io/travis/zricethezav/gitleaks/master.svg?style=flat-square"></a>
|
||||||
<a href="https://gitter.im/gitleaks/gitleaks"><img alt="Travis" src="https://badges.gitter.im/gitleaks/gitleaks.svg?style=flat-square"></a>
|
|
||||||
</p>
|
</p>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -25,7 +24,7 @@ Gitleaks is a SAST tool for detecting hardcoded secrets like passwords, api keys
|
|||||||
|
|
||||||
|
|
||||||
### Installation
|
### Installation
|
||||||
Gitleaks can be installed using Homebrew, Docker, or Go. Gitleaks is also available in binary form for many popular platforms and OS types on the [releases page](https://github.com/zricethezav/gitleaks/releases).
|
Gitleaks can be installed using Homebrew, Docker, or Go. Gitleaks is also available in binary form for many popular platforms and OS types on the [releases page](https://github.com/zricethezav/gitleaks/releases). In addition, Gitleaks can be implemented as a pre-commit hook directly in your repo.
|
||||||
|
|
||||||
##### MacOS
|
##### MacOS
|
||||||
|
|
||||||
@@ -43,6 +42,18 @@ docker pull zricethezav/gitleaks
|
|||||||
```bash
|
```bash
|
||||||
GO111MODULE=on go get github.com/zricethezav/gitleaks/v7
|
GO111MODULE=on go get github.com/zricethezav/gitleaks/v7
|
||||||
```
|
```
|
||||||
|
##### As a pre-commit hook
|
||||||
|
|
||||||
|
See [pre-commit](https://github.com/pre-commit/pre-commit) for instructions.
|
||||||
|
|
||||||
|
Sample `.pre-commit-config.yaml`
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
- repo: https://github.com/zricethezav/gitleaks
|
||||||
|
rev: v7.5.0
|
||||||
|
hooks:
|
||||||
|
- id: gitleaks
|
||||||
|
```
|
||||||
|
|
||||||
### Usage and Options
|
### Usage and Options
|
||||||
```
|
```
|
||||||
@@ -50,42 +61,41 @@ Usage:
|
|||||||
gitleaks [OPTIONS]
|
gitleaks [OPTIONS]
|
||||||
|
|
||||||
Application Options:
|
Application Options:
|
||||||
-v, --verbose Show verbose output from scan
|
-v, --verbose Show verbose output from scan
|
||||||
-q, --quiet Sets log level to error and only output leaks, one json object per line
|
-q, --quiet Sets log level to error and only output leaks, one json object per line
|
||||||
-r, --repo-url= Repository URL
|
-r, --repo-url= Repository URL
|
||||||
-p, --path= Path to directory (repo if contains .git) or file
|
-p, --path= Path to directory (repo if contains .git) or file
|
||||||
-c, --config-path= Path to config
|
-c, --config-path= Path to config
|
||||||
--repo-config-path= Path to gitleaks config relative to repo root
|
--repo-config-path= Path to gitleaks config relative to repo root
|
||||||
--version Version number
|
--clone-path= Path to clone repo to disk
|
||||||
--username= Username for git repo
|
--version Version number
|
||||||
--password= Password for git repo
|
--username= Username for git repo
|
||||||
--access-token= Access token for git repo
|
--password= Password for git repo
|
||||||
--threads= Maximum number of threads gitleaks spawns
|
--access-token= Access token for git repo
|
||||||
--ssh-key= Path to ssh key used for auth
|
--threads= Maximum number of threads gitleaks spawns
|
||||||
--unstaged Run gitleaks on unstaged code
|
--ssh-key= Path to ssh key used for auth
|
||||||
--branch= Branch to scan
|
--unstaged Run gitleaks on unstaged code
|
||||||
--redact Redact secrets from log messages and leaks
|
--branch= Branch to scan
|
||||||
--debug Log debug messages
|
--redact Redact secrets from log messages and leaks
|
||||||
--leaks-exit-code= Exit code when leaks have been encountered (default: 1)
|
--debug Log debug messages
|
||||||
--no-git Treat git repos as plain directories and scan those
|
--no-git Treat git repos as plain directories and scan those files
|
||||||
files
|
--leaks-exit-code= Exit code when leaks have been encountered (default: 1)
|
||||||
-o, --report= Report output path
|
--append-repo-config Append the provided or default config with the repo config.
|
||||||
-f, --format= JSON, CSV, SARIF (default: json)
|
--additional-config= Path to an additional gitleaks config to append with an existing config. Can be used with --append-repo-config to append up to three configurations
|
||||||
--files-at-commit= Sha of commit to scan all files at commit
|
-o, --report= Report output path
|
||||||
--commit= Sha of commit to scan or "latest" to scan the last
|
-f, --format= JSON, CSV, SARIF (default: json)
|
||||||
commit of the repository
|
--files-at-commit= Sha of commit to scan all files at commit
|
||||||
--commits= Comma separated list of a commits to scan
|
--commit= Sha of commit to scan or "latest" to scan the last commit of the repository
|
||||||
--commits-file= Path to file of line separated list of commits to scan
|
--commits= Comma separated list of a commits to scan
|
||||||
--commit-from= Commit to start scan from
|
--commits-file= Path to file of line separated list of commits to scan
|
||||||
--commit-to= Commit to stop scan
|
--commit-from= Commit to start scan from
|
||||||
--commit-since= Scan commits more recent than a specific date. Ex:
|
--commit-to= Commit to stop scan
|
||||||
'2006-01-02' or '2006-01-02T15:04:05-0700' format.
|
--commit-since= Scan commits more recent than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format.
|
||||||
--commit-until= Scan commits older than a specific date. Ex:
|
--commit-until= Scan commits older than a specific date. Ex: '2006-01-02' or '2006-01-02T15:04:05-0700' format.
|
||||||
'2006-01-02' or '2006-01-02T15:04:05-0700' format.
|
--depth= Number of commits to scan
|
||||||
--depth= Number of commits to scan
|
|
||||||
|
|
||||||
Help Options:
|
Help Options:
|
||||||
-h, --help Show this help message
|
-h, --help Show this help message
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
@@ -255,7 +265,7 @@ You can always set the exit code when leaves are encountered with the `--leaks-e
|
|||||||
```
|
```
|
||||||
|
|
||||||
### Sponsors ❤️
|
### Sponsors ❤️
|
||||||
#### Corporate Sponsors
|
#### Organization Sponsors
|
||||||
[](https://gammanet.com/?utm_source=gitleaks&utm_medium=homepage&utm_campaign=gitleaks_promotion)
|
[](https://gammanet.com/?utm_source=gitleaks&utm_medium=homepage&utm_campaign=gitleaks_promotion)
|
||||||
|
|
||||||
Gamma proactively detects and remediates data leaks across cloud apps. Scan your public repos for secret leaks with [Gamma](https://gammanet.com/github-demo?utm_source=gitleaks&utm_medium=homepage&utm_campaign=gitleaks_promotion)
|
Gamma proactively detects and remediates data leaks across cloud apps. Scan your public repos for secret leaks with [Gamma](https://gammanet.com/github-demo?utm_source=gitleaks&utm_medium=homepage&utm_campaign=gitleaks_promotion)
|
||||||
@@ -263,9 +273,8 @@ Gamma proactively detects and remediates data leaks across cloud apps. Scan your
|
|||||||
#### Individual Sponsors
|
#### Individual Sponsors
|
||||||
These users are [sponsors](https://github.com/sponsors/zricethezav) of gitleaks:
|
These users are [sponsors](https://github.com/sponsors/zricethezav) of gitleaks:
|
||||||
|
|
||||||
[](https://github.com/adamdecaf) |
|
- [Adam Shannon](https://github.com/adamdecaf)
|
||||||
---|
|
- [ProjectDiscovery](https://projectdiscovery.io/#/)
|
||||||
----
|
|
||||||
|
|
||||||
|
|
||||||
#### Logo Attribution
|
#### Logo Attribution
|
||||||
|
|||||||
+111
-94
@@ -7,158 +7,175 @@ const DefaultConfig = `
|
|||||||
title = "gitleaks config"
|
title = "gitleaks config"
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "AWS Access Key"
|
description = "AWS Access Key"
|
||||||
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
|
regex = '''(A3T[A-Z0-9]|AKIA|AGPA|AIDA|AROA|AIPA|ANPA|ANVA|ASIA)[A-Z0-9]{16}'''
|
||||||
tags = ["key", "AWS"]
|
tags = ["key", "AWS"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "AWS Secret Key"
|
description = "AWS Secret Key"
|
||||||
regex = '''(?i)aws(.{0,20})?(?-i)['\"][0-9a-zA-Z\/+]{40}['\"]'''
|
regex = '''(?i)aws(.{0,20})?(?-i)['\"][0-9a-zA-Z\/+]{40}['\"]'''
|
||||||
tags = ["key", "AWS"]
|
tags = ["key", "AWS"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "AWS MWS key"
|
description = "AWS MWS key"
|
||||||
regex = '''amzn\.mws\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'''
|
regex = '''amzn\.mws\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'''
|
||||||
tags = ["key", "AWS", "MWS"]
|
tags = ["key", "AWS", "MWS"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Facebook Secret Key"
|
description = "Facebook Secret Key"
|
||||||
regex = '''(?i)(facebook|fb)(.{0,20})?(?-i)['\"][0-9a-f]{32}['\"]'''
|
regex = '''(?i)(facebook|fb)(.{0,20})?(?-i)['\"][0-9a-f]{32}['\"]'''
|
||||||
tags = ["key", "Facebook"]
|
tags = ["key", "Facebook"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Facebook Client ID"
|
description = "Facebook Client ID"
|
||||||
regex = '''(?i)(facebook|fb)(.{0,20})?['\"][0-9]{13,17}['\"]'''
|
regex = '''(?i)(facebook|fb)(.{0,20})?['\"][0-9]{13,17}['\"]'''
|
||||||
tags = ["key", "Facebook"]
|
tags = ["key", "Facebook"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Twitter Secret Key"
|
description = "Twitter Secret Key"
|
||||||
regex = '''(?i)twitter(.{0,20})?[0-9a-z]{35,44}'''
|
regex = '''(?i)twitter(.{0,20})?[0-9a-z]{35,44}'''
|
||||||
tags = ["key", "Twitter"]
|
tags = ["key", "Twitter"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Twitter Client ID"
|
description = "Twitter Client ID"
|
||||||
regex = '''(?i)twitter(.{0,20})?[0-9a-z]{18,25}'''
|
regex = '''(?i)twitter(.{0,20})?[0-9a-z]{18,25}'''
|
||||||
tags = ["client", "Twitter"]
|
tags = ["client", "Twitter"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Github"
|
description = "Github Personal Access Token"
|
||||||
regex = '''(?i)github.{0,3}((?i)token|api|key).{0,10}?(?-i)([0-9a-zA-Z]{35,40})'''
|
regex = '''ghp_[0-9a-zA-Z]{36}'''
|
||||||
tags = ["key", "Github"]
|
tags = ["key", "Github"]
|
||||||
|
[[rules]]
|
||||||
|
description = "Github OAuth Access Token"
|
||||||
|
regex = '''gho_[0-9a-zA-Z]{36}'''
|
||||||
|
tags = ["key", "Github"]
|
||||||
|
[[rules]]
|
||||||
|
description = "Github App Token"
|
||||||
|
regex = '''(ghu|ghs)_[0-9a-zA-Z]{36}'''
|
||||||
|
tags = ["key", "Github"]
|
||||||
|
[[rules]]
|
||||||
|
description = "Github Refresh Token"
|
||||||
|
regex = '''ghr_[0-9a-zA-Z]{76}'''
|
||||||
|
tags = ["key", "Github"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "LinkedIn Client ID"
|
description = "LinkedIn Client ID"
|
||||||
regex = '''(?i)linkedin(.{0,20})?(?-i)[0-9a-z]{12}'''
|
regex = '''(?i)linkedin(.{0,20})?(?-i)[0-9a-z]{12}'''
|
||||||
tags = ["client", "LinkedIn"]
|
tags = ["client", "LinkedIn"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "LinkedIn Secret Key"
|
description = "LinkedIn Secret Key"
|
||||||
regex = '''(?i)linkedin(.{0,20})?[0-9a-z]{16}'''
|
regex = '''(?i)linkedin(.{0,20})?[0-9a-z]{16}'''
|
||||||
tags = ["secret", "LinkedIn"]
|
tags = ["secret", "LinkedIn"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Slack"
|
description = "Slack"
|
||||||
regex = '''xox[baprs]-([0-9a-zA-Z]{10,48})?'''
|
regex = '''xox[baprs]-([0-9a-zA-Z]{10,48})?'''
|
||||||
tags = ["key", "Slack"]
|
tags = ["key", "Slack"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Asymmetric Private Key"
|
description = "Asymmetric Private Key"
|
||||||
regex = '''-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'''
|
regex = '''-----BEGIN ((EC|PGP|DSA|RSA|OPENSSH) )?PRIVATE KEY( BLOCK)?-----'''
|
||||||
tags = ["key", "AsymmetricPrivateKey"]
|
tags = ["key", "AsymmetricPrivateKey"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Google API key"
|
description = "Google API key"
|
||||||
regex = '''AIza[0-9A-Za-z\\-_]{35}'''
|
regex = '''AIza[0-9A-Za-z\\-_]{35}'''
|
||||||
tags = ["key", "Google"]
|
tags = ["key", "Google"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Google (GCP) Service Account"
|
description = "Google (GCP) Service Account"
|
||||||
regex = '''"type": "service_account"'''
|
regex = '''"type": "service_account"'''
|
||||||
tags = ["key", "Google"]
|
tags = ["key", "Google"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Heroku API key"
|
description = "Heroku API key"
|
||||||
regex = '''(?i)heroku(.{0,20})?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'''
|
regex = '''(?i)heroku(.{0,20})?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}'''
|
||||||
tags = ["key", "Heroku"]
|
tags = ["key", "Heroku"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "MailChimp API key"
|
description = "MailChimp API key"
|
||||||
regex = '''(?i)(mailchimp|mc)(.{0,20})?[0-9a-f]{32}-us[0-9]{1,2}'''
|
regex = '''(?i)(mailchimp|mc)(.{0,20})?[0-9a-f]{32}-us[0-9]{1,2}'''
|
||||||
tags = ["key", "Mailchimp"]
|
tags = ["key", "Mailchimp"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Mailgun API key"
|
description = "Mailgun API key"
|
||||||
regex = '''((?i)(mailgun|mg)(.{0,20})?)?key-[0-9a-z]{32}'''
|
regex = '''((?i)(mailgun|mg)(.{0,20})?)?key-[0-9a-z]{32}'''
|
||||||
tags = ["key", "Mailgun"]
|
tags = ["key", "Mailgun"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "PayPal Braintree access token"
|
description = "PayPal Braintree access token"
|
||||||
regex = '''access_token\$production\$[0-9a-z]{16}\$[0-9a-f]{32}'''
|
regex = '''access_token\$production\$[0-9a-z]{16}\$[0-9a-f]{32}'''
|
||||||
tags = ["key", "Paypal"]
|
tags = ["key", "Paypal"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Picatic API key"
|
description = "Picatic API key"
|
||||||
regex = '''sk_live_[0-9a-z]{32}'''
|
regex = '''sk_live_[0-9a-z]{32}'''
|
||||||
tags = ["key", "Picatic"]
|
tags = ["key", "Picatic"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "SendGrid API Key"
|
description = "SendGrid API Key"
|
||||||
regex = '''SG\.[\w_]{16,32}\.[\w_]{16,64}'''
|
regex = '''SG\.[\w_]{16,32}\.[\w_]{16,64}'''
|
||||||
tags = ["key", "SendGrid"]
|
tags = ["key", "SendGrid"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Slack Webhook"
|
description = "Slack Webhook"
|
||||||
regex = '''https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8,12}/[a-zA-Z0-9_]{24}'''
|
regex = '''https://hooks.slack.com/services/T[a-zA-Z0-9_]{8}/B[a-zA-Z0-9_]{8,12}/[a-zA-Z0-9_]{24}'''
|
||||||
tags = ["key", "slack"]
|
tags = ["key", "slack"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Stripe API key"
|
description = "Stripe API key"
|
||||||
regex = '''(?i)stripe(.{0,20})?[sr]k_live_[0-9a-zA-Z]{24}'''
|
regex = '''(?i)stripe(.{0,20})?[sr]k_live_[0-9a-zA-Z]{24}'''
|
||||||
tags = ["key", "Stripe"]
|
tags = ["key", "Stripe"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Square access token"
|
description = "Square access token"
|
||||||
regex = '''sq0atp-[0-9A-Za-z\-_]{22}'''
|
regex = '''sq0atp-[0-9A-Za-z\-_]{22}'''
|
||||||
tags = ["key", "square"]
|
tags = ["key", "square"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Square OAuth secret"
|
description = "Square OAuth secret"
|
||||||
regex = '''sq0csp-[0-9A-Za-z\\-_]{43}'''
|
regex = '''sq0csp-[0-9A-Za-z\\-_]{43}'''
|
||||||
tags = ["key", "square"]
|
tags = ["key", "square"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Twilio API key"
|
description = "Twilio API key"
|
||||||
regex = '''(?i)twilio(.{0,20})?SK[0-9a-f]{32}'''
|
regex = '''(?i)twilio(.{0,20})?SK[0-9a-f]{32}'''
|
||||||
tags = ["key", "twilio"]
|
tags = ["key", "twilio"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Dynatrace ttoken"
|
description = "Dynatrace ttoken"
|
||||||
regex = '''dt0[a-zA-Z]{1}[0-9]{2}\.[A-Z0-9]{24}\.[A-Z0-9]{64}'''
|
regex = '''dt0[a-zA-Z]{1}[0-9]{2}\.[A-Z0-9]{24}\.[A-Z0-9]{64}'''
|
||||||
tags = ["key", "Dynatrace"]
|
tags = ["key", "Dynatrace"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Shopify shared secret"
|
description = "Shopify shared secret"
|
||||||
regex = '''shpss_[a-fA-F0-9]{32}'''
|
regex = '''shpss_[a-fA-F0-9]{32}'''
|
||||||
tags = ["key", "Shopify"]
|
tags = ["key", "Shopify"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Shopify access token"
|
description = "Shopify access token"
|
||||||
regex = '''shpat_[a-fA-F0-9]{32}'''
|
regex = '''shpat_[a-fA-F0-9]{32}'''
|
||||||
tags = ["key", "Shopify"]
|
tags = ["key", "Shopify"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Shopify custom app access token"
|
description = "Shopify custom app access token"
|
||||||
regex = '''shpca_[a-fA-F0-9]{32}'''
|
regex = '''shpca_[a-fA-F0-9]{32}'''
|
||||||
tags = ["key", "Shopify"]
|
tags = ["key", "Shopify"]
|
||||||
|
|
||||||
[[rules]]
|
[[rules]]
|
||||||
description = "Shopify private app access token"
|
description = "Shopify private app access token"
|
||||||
regex = '''shppa_[a-fA-F0-9]{32}'''
|
regex = '''shppa_[a-fA-F0-9]{32}'''
|
||||||
tags = ["key", "Shopify"]
|
tags = ["key", "Shopify"]
|
||||||
|
|
||||||
|
[[rules]]
|
||||||
|
description = "PyPI upload token"
|
||||||
|
regex = '''pypi-AgEIcHlwaS5vcmc[A-Za-z0-9-_]{50,1000}'''
|
||||||
|
tags = ["key", "pypi"]
|
||||||
|
|
||||||
[allowlist]
|
[allowlist]
|
||||||
description = "Allowlisted files"
|
description = "Allowlisted files"
|
||||||
files = ['''^\.?gitleaks.toml$''',
|
files = ['''^\.?gitleaks.toml$''',
|
||||||
'''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''',
|
'''(.*?)(png|jpg|gif|doc|docx|pdf|bin|xls|pyc|zip)$''',
|
||||||
'''(go.mod|go.sum)$''']
|
'''(go.mod|go.sum)$''']
|
||||||
`
|
`
|
||||||
+60
-14
@@ -6,6 +6,23 @@ import (
|
|||||||
"regexp"
|
"regexp"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// Offender is a struct that contains the information matched when searching
|
||||||
|
// content and information on why it matched (i.e. the EntropyLevel)
|
||||||
|
type Offender struct {
|
||||||
|
Match string
|
||||||
|
EntropyLevel float64
|
||||||
|
}
|
||||||
|
|
||||||
|
// IsEmpty checks to see if nothing was found in the match
|
||||||
|
func (o *Offender) IsEmpty() bool {
|
||||||
|
return o.Match == ""
|
||||||
|
}
|
||||||
|
|
||||||
|
// ToString the contents of the match
|
||||||
|
func (o *Offender) ToString() string {
|
||||||
|
return o.Match
|
||||||
|
}
|
||||||
|
|
||||||
// Rule is a struct that contains information that is loaded from a gitleaks config.
|
// Rule is a struct that contains information that is loaded from a gitleaks config.
|
||||||
// This struct is used in the Config struct as an array of Rules and is iterated
|
// This struct is used in the Config struct as an array of Rules and is iterated
|
||||||
// over during an scan. Each rule will be checked. If a regex match is found AND
|
// over during an scan. Each rule will be checked. If a regex match is found AND
|
||||||
@@ -23,28 +40,46 @@ type Rule struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Inspect checks the content of a line for a leak
|
// Inspect checks the content of a line for a leak
|
||||||
func (r *Rule) Inspect(line string) string {
|
func (r *Rule) Inspect(line string) *Offender {
|
||||||
offender := r.Regex.FindString(line)
|
match := r.Regex.FindString(line)
|
||||||
if offender == "" {
|
|
||||||
return ""
|
// EntropyLevel -1 means not checked
|
||||||
|
if match == "" {
|
||||||
|
return &Offender{
|
||||||
|
Match: "",
|
||||||
|
EntropyLevel: -1,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if offender is allowed
|
// check if offender is allowed
|
||||||
|
// EntropyLevel -1 means not checked
|
||||||
if r.RegexAllowed(line) {
|
if r.RegexAllowed(line) {
|
||||||
return ""
|
return &Offender{
|
||||||
|
Match: "",
|
||||||
|
EntropyLevel: -1,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check entropy
|
// check entropy
|
||||||
groups := r.Regex.FindStringSubmatch(offender)
|
groups := r.Regex.FindStringSubmatch(match)
|
||||||
if len(r.Entropies) != 0 && !r.ContainsEntropyLeak(groups) {
|
entropyWithinRange, entropyLevel := r.CheckEntropy(groups)
|
||||||
return ""
|
|
||||||
|
if len(r.Entropies) != 0 && !entropyWithinRange {
|
||||||
|
return &Offender{
|
||||||
|
Match: "",
|
||||||
|
EntropyLevel: entropyLevel,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 0 is a match for the full regex pattern
|
// 0 is a match for the full regex pattern
|
||||||
if 0 < r.ReportGroup && r.ReportGroup < len(groups) {
|
if 0 < r.ReportGroup && r.ReportGroup < len(groups) {
|
||||||
offender = groups[r.ReportGroup]
|
match = groups[r.ReportGroup]
|
||||||
|
}
|
||||||
|
|
||||||
|
return &Offender{
|
||||||
|
Match: match,
|
||||||
|
EntropyLevel: entropyLevel,
|
||||||
}
|
}
|
||||||
return offender
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// RegexAllowed checks if the content is allowlisted
|
// RegexAllowed checks if the content is allowlisted
|
||||||
@@ -57,17 +92,28 @@ func (r *Rule) CommitAllowed(commit string) bool {
|
|||||||
return r.AllowList.CommitAllowed(commit)
|
return r.AllowList.CommitAllowed(commit)
|
||||||
}
|
}
|
||||||
|
|
||||||
// ContainsEntropyLeak checks if there is an entropy leak
|
// CheckEntropy checks if there is an entropy leak
|
||||||
func (r *Rule) ContainsEntropyLeak(groups []string) bool {
|
func (r *Rule) CheckEntropy(groups []string) (bool, float64) {
|
||||||
|
var highestFound float64 = 0
|
||||||
|
|
||||||
for _, e := range r.Entropies {
|
for _, e := range r.Entropies {
|
||||||
if len(groups) > e.Group {
|
if len(groups) > e.Group {
|
||||||
entropy := shannonEntropy(groups[e.Group])
|
entropy := shannonEntropy(groups[e.Group])
|
||||||
if entropy >= e.Min && entropy <= e.Max {
|
if entropy >= e.Min && entropy <= e.Max {
|
||||||
return true
|
return true, entropy
|
||||||
|
} else if entropy > highestFound {
|
||||||
|
highestFound = entropy
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return false
|
|
||||||
|
if len(r.Entropies) == 0 {
|
||||||
|
// entropies not checked
|
||||||
|
return false, -1
|
||||||
|
}
|
||||||
|
|
||||||
|
// entropies checked but not within the range
|
||||||
|
return false, highestFound
|
||||||
}
|
}
|
||||||
|
|
||||||
// HasFileOrPathLeakOnly first checks if there are no entropy/regex rules, then checks if
|
// HasFileOrPathLeakOnly first checks if there are no entropy/regex rules, then checks if
|
||||||
|
|||||||
@@ -0,0 +1,14 @@
|
|||||||
|
# pre-commit configuration example to add docker-based hook that executes gitleaks
|
||||||
|
# This should be added to .pre-commit-config.yaml coniguration file: https://pre-commit.com/#2-add-a-pre-commit-configuration
|
||||||
|
|
||||||
|
repos:
|
||||||
|
- repo: local
|
||||||
|
hooks:
|
||||||
|
- id: gitleaks
|
||||||
|
name: Gitleaks
|
||||||
|
language: docker_image
|
||||||
|
entry: zricethezav/gitleaks:v7.4.0
|
||||||
|
args:
|
||||||
|
- --config-path
|
||||||
|
- .gitleaks.toml
|
||||||
|
- --verbose
|
||||||
+2
-2
@@ -121,7 +121,7 @@ func (cs *CommitScanner) Scan() (Report, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
offender := rule.Inspect(line)
|
offender := rule.Inspect(line)
|
||||||
if offender == "" {
|
if offender.IsEmpty() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@ func (cs *CommitScanner) Scan() (Report, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
leak := NewLeak(line, offender, defaultLineNumber).WithCommit(cs.commit)
|
leak := NewLeak(line, offender.ToString(), defaultLineNumber).WithCommit(cs.commit).WithEntropy(offender.EntropyLevel)
|
||||||
leak.File = to.Path()
|
leak.File = to.Path()
|
||||||
leak.LineNumber = extractLine(patchContent, leak, lineLookup)
|
leak.LineNumber = extractLine(patchContent, leak, lineLookup)
|
||||||
leak.RepoURL = cs.opts.RepoURL
|
leak.RepoURL = cs.opts.RepoURL
|
||||||
|
|||||||
@@ -97,8 +97,7 @@ func (fs *FilesAtCommitScanner) Scan() (Report, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
offender := rule.Inspect(line)
|
offender := rule.Inspect(line)
|
||||||
|
if offender.IsEmpty() {
|
||||||
if offender == "" {
|
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,7 +112,7 @@ func (fs *FilesAtCommitScanner) Scan() (Report, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
leak := NewLeak(line, offender, defaultLineNumber).WithCommit(fs.commit)
|
leak := NewLeak(line, offender.ToString(), defaultLineNumber).WithCommit(fs.commit).WithEntropy(offender.EntropyLevel)
|
||||||
leak.File = f.Name
|
leak.File = f.Name
|
||||||
leak.LineNumber = i + 1
|
leak.LineNumber = i + 1
|
||||||
leak.RepoURL = fs.opts.RepoURL
|
leak.RepoURL = fs.opts.RepoURL
|
||||||
|
|||||||
+26
-17
@@ -3,6 +3,7 @@ package scan
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"math"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -14,20 +15,21 @@ import (
|
|||||||
// Leak is a struct that contains information about some line of code that contains
|
// Leak is a struct that contains information about some line of code that contains
|
||||||
// sensitive information as determined by the rules set in a gitleaks config
|
// sensitive information as determined by the rules set in a gitleaks config
|
||||||
type Leak struct {
|
type Leak struct {
|
||||||
Line string `json:"line"`
|
Line string `json:"line"`
|
||||||
LineNumber int `json:"lineNumber"`
|
LineNumber int `json:"lineNumber"`
|
||||||
Offender string `json:"offender"`
|
Offender string `json:"offender"`
|
||||||
Commit string `json:"commit"`
|
OffenderEntropy float64 `json:"offenderEntropy"`
|
||||||
Repo string `json:"repo"`
|
Commit string `json:"commit"`
|
||||||
RepoURL string `json:"repoURL"`
|
Repo string `json:"repo"`
|
||||||
LeakURL string `json:"leakURL"`
|
RepoURL string `json:"repoURL"`
|
||||||
Rule string `json:"rule"`
|
LeakURL string `json:"leakURL"`
|
||||||
Message string `json:"commitMessage"`
|
Rule string `json:"rule"`
|
||||||
Author string `json:"author"`
|
Message string `json:"commitMessage"`
|
||||||
Email string `json:"email"`
|
Author string `json:"author"`
|
||||||
File string `json:"file"`
|
Email string `json:"email"`
|
||||||
Date time.Time `json:"date"`
|
File string `json:"file"`
|
||||||
Tags string `json:"tags"`
|
Date time.Time `json:"date"`
|
||||||
|
Tags string `json:"tags"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// RedactLeak will replace the offending string with "REDACTED" in both
|
// RedactLeak will replace the offending string with "REDACTED" in both
|
||||||
@@ -41,9 +43,10 @@ func RedactLeak(leak Leak) Leak {
|
|||||||
// NewLeak creates a new leak from common data all leaks must have, line, offender, linenumber
|
// NewLeak creates a new leak from common data all leaks must have, line, offender, linenumber
|
||||||
func NewLeak(line string, offender string, lineNumber int) Leak {
|
func NewLeak(line string, offender string, lineNumber int) Leak {
|
||||||
return Leak{
|
return Leak{
|
||||||
Line: line,
|
Line: line,
|
||||||
Offender: offender,
|
Offender: offender,
|
||||||
LineNumber: lineNumber,
|
LineNumber: lineNumber,
|
||||||
|
OffenderEntropy: -1, // -1 means not checked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -57,6 +60,12 @@ func (leak Leak) WithCommit(commit *object.Commit) Leak {
|
|||||||
return leak
|
return leak
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// WithEntropy adds OffenderEntropy data to the leak
|
||||||
|
func (leak Leak) WithEntropy(entropyLevel float64) Leak {
|
||||||
|
leak.OffenderEntropy = math.Round(entropyLevel*1000) / 1000
|
||||||
|
return leak
|
||||||
|
}
|
||||||
|
|
||||||
// Log logs a leak and redacts if necessary
|
// Log logs a leak and redacts if necessary
|
||||||
func (leak Leak) Log(opts options.Options) {
|
func (leak Leak) Log(opts options.Options) {
|
||||||
if !opts.Quiet && !opts.Verbose {
|
if !opts.Quiet && !opts.Verbose {
|
||||||
|
|||||||
+2
-2
@@ -105,7 +105,7 @@ func (ngs *NoGitScanner) Scan() (Report, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
offender := rule.Inspect(line)
|
offender := rule.Inspect(line)
|
||||||
if offender == "" {
|
if offender.IsEmpty() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if ngs.cfg.Allowlist.RegexAllowed(line) {
|
if ngs.cfg.Allowlist.RegexAllowed(line) {
|
||||||
@@ -119,7 +119,7 @@ func (ngs *NoGitScanner) Scan() (Report, error) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
leak := NewLeak(line, offender, defaultLineNumber)
|
leak := NewLeak(line, offender.ToString(), defaultLineNumber).WithEntropy(offender.EntropyLevel)
|
||||||
relPath, err := filepath.Rel(ngs.opts.Path, p)
|
relPath, err := filepath.Rel(ngs.opts.Path, p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
leak.File = p
|
leak.File = p
|
||||||
|
|||||||
+5
-1
@@ -760,7 +760,7 @@ func fileCheck(wantPath, gotPath string) error {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !found {
|
if !found {
|
||||||
return fmt.Errorf("unable to find %+v in got leaks", wantLeak)
|
return fmt.Errorf("unable to find %+v in %s", wantLeak, gotPath)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -779,6 +779,10 @@ func same(l1, l2 Leak) bool {
|
|||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if l1.OffenderEntropy != l2.OffenderEntropy {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
if l1.Line != l2.Line {
|
if l1.Line != l2.Line {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
+10
-4
@@ -87,7 +87,7 @@ func (us *UnstagedScanner) Scan() (Report, error) {
|
|||||||
lineNumber++
|
lineNumber++
|
||||||
for _, rule := range us.cfg.Rules {
|
for _, rule := range us.cfg.Rules {
|
||||||
offender := rule.Inspect(line)
|
offender := rule.Inspect(line)
|
||||||
if offender == "" {
|
if offender.IsEmpty() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if us.cfg.Allowlist.RegexAllowed(line) ||
|
if us.cfg.Allowlist.RegexAllowed(line) ||
|
||||||
@@ -101,7 +101,7 @@ func (us *UnstagedScanner) Scan() (Report, error) {
|
|||||||
if rule.Path.String() != "" && !rule.HasFilePathLeak(filepath.Base(workTreeFile.Name())) {
|
if rule.Path.String() != "" && !rule.HasFilePathLeak(filepath.Base(workTreeFile.Name())) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
leak := NewLeak(line, offender, defaultLineNumber).WithCommit(emptyCommit())
|
leak := NewLeak(line, offender.ToString(), defaultLineNumber).WithCommit(emptyCommit()).WithEntropy(offender.EntropyLevel)
|
||||||
leak.File = workTreeFile.Name()
|
leak.File = workTreeFile.Name()
|
||||||
leak.LineNumber = lineNumber
|
leak.LineNumber = lineNumber
|
||||||
leak.Repo = us.repoName
|
leak.Repo = us.repoName
|
||||||
@@ -184,6 +184,12 @@ func (us *UnstagedScanner) Scan() (Report, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check if file is allow listed
|
||||||
|
if us.cfg.Allowlist.FileAllowed(filepath.Base(filename)) ||
|
||||||
|
us.cfg.Allowlist.PathAllowed(filename) {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
dmp := diffmatchpatch.New()
|
dmp := diffmatchpatch.New()
|
||||||
diffs := dmp.DiffMain(prevFileContents, currFileContents, false)
|
diffs := dmp.DiffMain(prevFileContents, currFileContents, false)
|
||||||
prettyDiff := diffPrettyText(diffs)
|
prettyDiff := diffPrettyText(diffs)
|
||||||
@@ -200,7 +206,7 @@ func (us *UnstagedScanner) Scan() (Report, error) {
|
|||||||
for _, line := range strings.Split(diffContents, "\n") {
|
for _, line := range strings.Split(diffContents, "\n") {
|
||||||
for _, rule := range us.cfg.Rules {
|
for _, rule := range us.cfg.Rules {
|
||||||
offender := rule.Inspect(line)
|
offender := rule.Inspect(line)
|
||||||
if offender == "" {
|
if offender.IsEmpty() {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
if us.cfg.Allowlist.RegexAllowed(line) ||
|
if us.cfg.Allowlist.RegexAllowed(line) ||
|
||||||
@@ -214,7 +220,7 @@ func (us *UnstagedScanner) Scan() (Report, error) {
|
|||||||
if rule.Path.String() != "" && !rule.HasFilePathLeak(filepath.Base(filename)) {
|
if rule.Path.String() != "" && !rule.HasFilePathLeak(filepath.Base(filename)) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
leak := NewLeak(line, offender, defaultLineNumber).WithCommit(emptyCommit())
|
leak := NewLeak(line, offender.ToString(), defaultLineNumber).WithCommit(emptyCommit()).WithEntropy(offender.EntropyLevel)
|
||||||
leak.File = filename
|
leak.File = filename
|
||||||
leak.LineNumber = extractLine(prettyDiff, leak, lineLookup) + 1
|
leak.LineNumber = extractLine(prettyDiff, leak, lineLookup) + 1
|
||||||
leak.Repo = us.repoName
|
leak.Repo = us.repoName
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: tmp/bad.docx",
|
"offender": "Filename or path offender: tmp/bad.docx",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8",
|
"commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8",
|
||||||
"repo": "test_repo_10",
|
"repo": "test_repo_10",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/.gitignore",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/.gitignore",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/bad.zip",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/bad.zip",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/gitfile.txt",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/gitfile.txt",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -51,6 +54,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/creds.git",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/creds.git",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -67,6 +71,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/somedir.git/secret.key",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/somedir.git/secret.key",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: tmp/bad.docx",
|
"offender": "Filename or path offender: tmp/bad.docx",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8",
|
"commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8",
|
||||||
"repo": "test_repo_10",
|
"repo": "test_repo_10",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/somedir.git/secret.key",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/somedir.git/secret.key",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/tmp/bad.docx",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/tmp/bad.docx",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: tmp/bad.docx",
|
"offender": "Filename or path offender: tmp/bad.docx",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8",
|
"commit": "b0f9b62dfe12e4e10de180359c6b9276472494f8",
|
||||||
"repo": "test_repo_10",
|
"repo": "test_repo_10",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
{
|
{
|
||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"offender": "Entropy range [{P1:4.5 P2:4.7} {P1:5.5 P2:6.3}]",
|
"offender": "Entropy range [{P1:4.5 P2:4.7} {P1:5.5 P2:6.3}]",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_1",
|
"repo": "test_repo_1",
|
||||||
"rule": "entropy",
|
"rule": "entropy",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repos",
|
"repo": "test_repos",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -51,6 +54,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -67,6 +71,7 @@
|
|||||||
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -83,6 +88,7 @@
|
|||||||
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -99,6 +105,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -115,6 +122,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -131,6 +139,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -147,6 +156,7 @@
|
|||||||
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -163,6 +173,7 @@
|
|||||||
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -179,6 +190,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -195,6 +207,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -211,6 +224,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -227,6 +241,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "1f2a4abc47dabf991e6af6f9770867ce0ac1f360",
|
"commit": "1f2a4abc47dabf991e6af6f9770867ce0ac1f360",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -243,6 +258,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPL2",
|
"offender": "AKIAIO5FODNN7EXAMPL2",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27",
|
"commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -259,6 +275,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repos",
|
"repo": "test_repos",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -275,6 +292,7 @@
|
|||||||
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -291,6 +309,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 2,
|
"lineNumber": 2,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
|
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -307,6 +326,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
|
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -323,6 +343,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -339,6 +360,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a",
|
"commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a",
|
||||||
"repo": "test_repo_9",
|
"repo": "test_repo_9",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -355,6 +377,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repos",
|
"repo": "test_repos",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -51,6 +54,7 @@
|
|||||||
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -67,6 +71,7 @@
|
|||||||
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -83,6 +88,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -99,6 +105,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -115,6 +122,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -131,6 +139,7 @@
|
|||||||
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -147,6 +156,7 @@
|
|||||||
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -163,6 +173,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -179,6 +190,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -195,6 +207,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -211,6 +224,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPL2",
|
"offender": "AKIAIO5FODNN7EXAMPL2",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27",
|
"commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -227,6 +241,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "1f2a4abc47dabf991e6af6f9770867ce0ac1f360",
|
"commit": "1f2a4abc47dabf991e6af6f9770867ce0ac1f360",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -243,6 +258,7 @@
|
|||||||
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -259,6 +275,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repos",
|
"repo": "test_repos",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -275,6 +292,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -291,6 +309,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 2,
|
"lineNumber": 2,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
|
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -307,6 +326,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
|
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -323,6 +343,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a",
|
"commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a",
|
||||||
"repo": "test_repo_9",
|
"repo": "test_repo_9",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -339,6 +360,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repos",
|
"repo": "test_repos",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repos",
|
"repo": "test_repos",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
"line": "const AWSKEY = \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -51,6 +54,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPL2",
|
"offender": "AKIAIO5FODNN7EXAMPL2",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27",
|
"commit": "ca71fcdeda15f25f0cc661d90e8785c255925c27",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -67,6 +71,7 @@
|
|||||||
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -83,6 +88,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -99,6 +105,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE', #gitleaks:allow",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a",
|
"commit": "8d1fb60d2d80f0590f191ed5ace1e45ef780909a",
|
||||||
"repo": "test_repo_9",
|
"repo": "test_repo_9",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
"commit": "748f11eaf2c38c3cf0ac6a22e44208777e79fa6f",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 2,
|
"lineNumber": 2,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
|
"commit": "ce7e8177bbf8a172c06b6a1e370a374d5c19f660",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
|
"commit": "9267bc86ec1497471cbc6f3308f3527f7ef34b9d",
|
||||||
"repo": "test_repo_8",
|
"repo": "test_repo_8",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "more_secrets = '99432bfewaf823ec3294e231'",
|
"line": "more_secrets = '99432bfewaf823ec3294e231'",
|
||||||
"lineNumber": 7,
|
"lineNumber": 7,
|
||||||
"offender": "secrets = '99432bfewaf823ec3294e231",
|
"offender": "secrets = '99432bfewaf823ec3294e231",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"rule": "Generic Credential",
|
"rule": "Generic Credential",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "more_secrets = '99432bfewaf823ec3294e231'",
|
"line": "more_secrets = '99432bfewaf823ec3294e231'",
|
||||||
"lineNumber": 7,
|
"lineNumber": 7,
|
||||||
"offender": "secrets = '99432bfewaf823ec3294e231",
|
"offender": "secrets = '99432bfewaf823ec3294e231",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"rule": "Generic Credential",
|
"rule": "Generic Credential",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPL2",
|
"offender": "AKIAIO5FODNN7EXAMPL2",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPLE'",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
"line": "aws_access_key_id='AKIAIO5FODNN7EXAMPL2'",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPL2",
|
"offender": "AKIAIO5FODNN7EXAMPL2",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
"commit": "a4c9fb737d5552fd96fce5cc7eedb23353ba9ed0",
|
||||||
"repo": "test_repo_5",
|
"repo": "test_repo_5",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "const AWSSECRET = \"99432bfewaf823ec3294e231\"",
|
"line": "const AWSSECRET = \"99432bfewaf823ec3294e231\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "\"99432bfewaf823ec3294e231\"",
|
"offender": "\"99432bfewaf823ec3294e231\"",
|
||||||
|
"offenderEntropy": 3.355,
|
||||||
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
"commit": "84ac4e80d4dbf2c968b64e9d4005f5079795bb81",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": " const AWSSECRET = \"99432bfewaf823ec3294e231\"",
|
"line": " const AWSSECRET = \"99432bfewaf823ec3294e231\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "\"99432bfewaf823ec3294e231\"",
|
"offender": "\"99432bfewaf823ec3294e231\"",
|
||||||
|
"offenderEntropy": 3.355,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_4",
|
"repo": "test_repo_4",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_9",
|
"repo": "test_repo_9",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_1",
|
"repo": "test_repo_1",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_1",
|
"repo": "test_repo_1",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_1",
|
"repo": "test_repo_1",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7DXAMPLE'",
|
"line": " aws_access_key_id='AKIAIO5FODNN7DXAMPLE'",
|
||||||
"lineNumber": 10,
|
"lineNumber": 10,
|
||||||
"offender": "AKIAIO5FODNN7DXAMPLE",
|
"offender": "AKIAIO5FODNN7DXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "0000000000000000000000000000000000000000",
|
"commit": "0000000000000000000000000000000000000000",
|
||||||
"repo": "test_repo_1",
|
"repo": "test_repo_1",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "AKIAIO5FODNN7EXAMPLE",
|
"line": "AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "0000000000000000000000000000000000000000",
|
"commit": "0000000000000000000000000000000000000000",
|
||||||
"repo": "test_repo_7",
|
"repo": "test_repo_7",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "api_token: exampleSecretPassword",
|
"line": "api_token: exampleSecretPassword",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "token: exampleSecretPassword",
|
"offender": "token: exampleSecretPassword",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "e7bf376f855ae9bc6e3bb27b5f9d65c57eba799d",
|
"commit": "e7bf376f855ae9bc6e3bb27b5f9d65c57eba799d",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "Generic password",
|
"rule": "Generic password",
|
||||||
@@ -17,6 +18,7 @@
|
|||||||
"line": "db_password_token: exampleSecretPassword",
|
"line": "db_password_token: exampleSecretPassword",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "password_token: exampleSecretPassword",
|
"offender": "password_token: exampleSecretPassword",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "e7bf376f855ae9bc6e3bb27b5f9d65c57eba799d",
|
"commit": "e7bf376f855ae9bc6e3bb27b5f9d65c57eba799d",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "Generic password",
|
"rule": "Generic password",
|
||||||
@@ -31,6 +33,7 @@
|
|||||||
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "95cf0237f8cdfc0686a29df08260d8635f46c9b0",
|
"commit": "95cf0237f8cdfc0686a29df08260d8635f46c9b0",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "api_token: exampleSecretPassword",
|
"line": "api_token: exampleSecretPassword",
|
||||||
"lineNumber": 2,
|
"lineNumber": 2,
|
||||||
"offender": "token: exampleSecretPassword",
|
"offender": "token: exampleSecretPassword",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "Generic password",
|
"rule": "Generic password",
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
"line": "db_password: verySecretProductionPassword",
|
"line": "db_password: verySecretProductionPassword",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "password: verySecretProductionPassword",
|
"offender": "password: verySecretProductionPassword",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "Generic password",
|
"rule": "Generic password",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "apiToken=d41d8cd98f00b204e9800998ecf8427e",
|
"line": "apiToken=d41d8cd98f00b204e9800998ecf8427e",
|
||||||
"lineNumber": 2,
|
"lineNumber": 2,
|
||||||
"offender": "Token=d41d8cd98f00b204e9800998ecf8427e",
|
"offender": "Token=d41d8cd98f00b204e9800998ecf8427e",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "Generic password",
|
"rule": "Generic password",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIAIO5FODNN7EXAMPLE",
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_6",
|
"repo": "test_repo_6",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -51,6 +54,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
"commit": "deea550dd6c7acaf0e59432600593533984a2125",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_3",
|
"repo": "test_repo_3",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 4,
|
"lineNumber": 4,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": -1,
|
"lineNumber": -1,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "f61cd8587b7ac1d75a89a0c9af870a2f24c60263",
|
"commit": "f61cd8587b7ac1d75a89a0c9af870a2f24c60263",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -18,6 +19,7 @@
|
|||||||
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
"line": " const AWSKEY = \"AKIALALEMEL33243OLIBE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIB",
|
"offender": "AKIALALEMEL33243OLIB",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
"commit": "b2eb34a61c988afd9b4aaa9dd58c8dd7d5f14dba",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -33,6 +35,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": -1,
|
"lineNumber": -1,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "996865bb912f3bc45898a370a13aadb315014b55",
|
"commit": "996865bb912f3bc45898a370a13aadb315014b55",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -48,6 +51,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": -1,
|
"lineNumber": -1,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -63,6 +67,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 5,
|
"lineNumber": 5,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
@@ -78,6 +83,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"rule": "AWS Access Key",
|
"rule": "AWS Access Key",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
"line": "Here's an AWS secret: \"AKIALALEMEL33243OLIAE\"",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
"commit": "17471a5fda722a9e423f1a0d3f0d267ea009d41c",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
"line": "Here's an AWS secret: AKIALALEMEL33243OLIAE",
|
||||||
"lineNumber": 3,
|
"lineNumber": 3,
|
||||||
"offender": "AKIALALEMEL33243OLIA",
|
"offender": "AKIALALEMEL33243OLIA",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
"commit": "b10b3e2cb320a8c211fda94c4567299d37de7776",
|
||||||
"repo": "test_repo_2",
|
"repo": "test_repo_2",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/README.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_10/README.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -19,6 +20,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_2/secrets.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_2/secrets.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_2/no_secrets.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_2/no_secrets.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -51,6 +54,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_3/no_secrets.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_3/no_secrets.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -67,6 +71,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_3/secrets.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_3/secrets.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -83,6 +88,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_4/secrets.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_4/secrets.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -99,6 +105,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_4/no_secrets.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_4/no_secrets.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -115,6 +122,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_5/notes.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_5/notes.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
@@ -131,6 +139,7 @@
|
|||||||
"line": "",
|
"line": "",
|
||||||
"lineNumber": 1,
|
"lineNumber": 1,
|
||||||
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_8/README.md",
|
"offender": "Filename or path offender: ../test_data/test_repos/test_repo_8/README.md",
|
||||||
|
"offenderEntropy": -1,
|
||||||
"commit": "",
|
"commit": "",
|
||||||
"repo": "",
|
"repo": "",
|
||||||
"repoURL": "",
|
"repoURL": "",
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
"line": " aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'",
|
"line": " aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'",
|
||||||
"lineNumber": 6,
|
"lineNumber": 6,
|
||||||
"offender": "'ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'",
|
"offender": "'ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'",
|
||||||
|
"offenderEntropy": 4.631,
|
||||||
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
||||||
"repo": "test_repo_1",
|
"repo": "test_repo_1",
|
||||||
"rule": "entropy and regex",
|
"rule": "entropy and regex",
|
||||||
|
|||||||
Reference in new issue
Block a user