mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-29 12:44:22 +01:00
* Add GCP, fix Mailgun format, and loosen format for other keys (don't require quotes) * Add more match cases to generic credential pattern * Fix quotation for valid toml * Update tests
42 lines
1.3 KiB
JSON
42 lines
1.3 KiB
JSON
[
|
|
{
|
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
|
"repo": "test_repo_1",
|
|
"rule": "AWS Manager ID",
|
|
"commitMessage": "commit 1 with secrets\n",
|
|
"author": "zach rice",
|
|
"email": "zricer@protonmail.com",
|
|
"file": "server.test.py",
|
|
"date": "2019-10-24T09:29:27-04:00",
|
|
"tags": "key, AWS"
|
|
},
|
|
{
|
|
"line": " aws_access_key_id='AKIAIO5FODNN7EXAMPLE',",
|
|
"offender": "key_id='AKIAIO5FODNN7EXAMPLE",
|
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
|
"repo": "test_repo_1",
|
|
"rule": "Generic Credential",
|
|
"commitMessage": "commit 1 with secrets\n",
|
|
"author": "zach rice",
|
|
"email": "zricer@protonmail.com",
|
|
"file": "server.test.py",
|
|
"date": "2019-10-24T09:29:27-04:00",
|
|
"tags": "key, API, generic"
|
|
},
|
|
{
|
|
"line": " aws_secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE'",
|
|
"offender": "secret_access_key='ABCDEF+c2L7yXeGvUyrPgYsDnWRRC1AYEXAMPLE",
|
|
"commit": "6557c92612d3b35979bd426d429255b3bf9fab74",
|
|
"repo": "test_repo_1",
|
|
"rule": "Generic Credential",
|
|
"commitMessage": "commit 1 with secrets\n",
|
|
"author": "zach rice",
|
|
"email": "zricer@protonmail.com",
|
|
"file": "server.test.py",
|
|
"date": "2019-10-24T09:29:27-04:00",
|
|
"tags": "key, API, generic"
|
|
}
|
|
]
|