mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-12-01 05:24:22 +01:00
Fix tests with existing AWS secret keys
This commit is contained in:
1 parent
714c0bef1e
commit
eec6c5a391
3 files changed
+51
No files matched your search
Vendored
+17
@@ -32,5 +32,22 @@
|
|||||||
"file": "secrets.py",
|
"file": "secrets.py",
|
||||||
"date": "2021-09-07T20:29:10-05:00",
|
"date": "2021-09-07T20:29:10-05:00",
|
||||||
"tags": "key, AWS"
|
"tags": "key, AWS"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"line": "aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'",
|
||||||
|
"lineNumber": 10,
|
||||||
|
"offender": "aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
|
"commit": "e7c0aff3e8a60b50a85432fdf933f8beff013743",
|
||||||
|
"repo": "basic",
|
||||||
|
"repoURL": "",
|
||||||
|
"leakURL": "",
|
||||||
|
"rule": "AWS Secret Key",
|
||||||
|
"commitMessage": "adding yelp secrets file\n",
|
||||||
|
"author": "Zach Rice",
|
||||||
|
"email": "zricer@protonmail.com",
|
||||||
|
"file": "secrets.py",
|
||||||
|
"date": "2021-09-07T20:29:10-05:00",
|
||||||
|
"tags": "key, AWS"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -16,6 +16,23 @@
|
|||||||
"date": "2021-09-07T21:11:39-05:00",
|
"date": "2021-09-07T21:11:39-05:00",
|
||||||
"tags": "key, AWS"
|
"tags": "key, AWS"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"line": "aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'",
|
||||||
|
"lineNumber": 10,
|
||||||
|
"offender": "aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
|
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||||
|
"repo": "basic",
|
||||||
|
"repoURL": "",
|
||||||
|
"leakURL": "",
|
||||||
|
"rule": "AWS Secret Key",
|
||||||
|
"commitMessage": "adding another aws secrets\n",
|
||||||
|
"author": "Zach Rice",
|
||||||
|
"email": "zricer@protonmail.com",
|
||||||
|
"file": "secrets.py",
|
||||||
|
"date": "2021-09-07T21:11:39-05:00",
|
||||||
|
"tags": "key, AWS"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||||
"lineNumber": 13,
|
"lineNumber": 13,
|
||||||
|
|||||||
+17
@@ -16,6 +16,23 @@
|
|||||||
"date": "0001-01-01T00:00:00Z",
|
"date": "0001-01-01T00:00:00Z",
|
||||||
"tags": "key, AWS"
|
"tags": "key, AWS"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"line": "aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY'",
|
||||||
|
"lineNumber": 10,
|
||||||
|
"offender": "aws_secret_access_key = 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKE",
|
||||||
|
"offenderEntropy": -1,
|
||||||
|
"commit": "",
|
||||||
|
"repo": "",
|
||||||
|
"repoURL": "",
|
||||||
|
"leakURL": "",
|
||||||
|
"rule": "AWS Secret Key",
|
||||||
|
"commitMessage": "",
|
||||||
|
"author": "",
|
||||||
|
"email": "",
|
||||||
|
"file": "secrets.py",
|
||||||
|
"date": "0001-01-01T00:00:00Z",
|
||||||
|
"tags": "key, AWS"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||||
"lineNumber": 13,
|
"lineNumber": 13,
|
||||||
|
|||||||
Reference in new issue
Block a user