mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 20:24:22 +01:00
Simplify tests and continue on object not found errors (#633)
* adding files * init better tests * add basic .git * more tests and test data * nogit, unstaged tests * removing unused testdata * adding empty testdata * rm gitmodules * fixing tests * remove with config * adding with_config * removing old test_data, updating config tests * removing hooks in testdata repos
This commit is contained in:
1 parent
95f8bd0daa
commit
6adc045580
500 files changed
+1062
-3525
No files matched your search
Vendored
+36
@@ -0,0 +1,36 @@
|
||||
[
|
||||
{
|
||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 13,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 9,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "e7c0aff3e8a60b50a85432fdf933f8beff013743",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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"
|
||||
}
|
||||
]
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 13,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 13,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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"
|
||||
}
|
||||
]
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 13,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,36 @@
|
||||
[
|
||||
{
|
||||
"line": "aws_access_key = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 9,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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'",
|
||||
"lineNumber": 13,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "208ae4669ade2563fcaf9f12922fa2c0a5b37c63",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access 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"
|
||||
}
|
||||
]
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
[
|
||||
{
|
||||
"line": "aws_access_key = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 9,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "",
|
||||
"repo": "",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access Key",
|
||||
"commitMessage": "",
|
||||
"author": "",
|
||||
"email": "",
|
||||
"file": "secrets.py",
|
||||
"date": "0001-01-01T00:00:00Z",
|
||||
"tags": "key, AWS"
|
||||
},
|
||||
{
|
||||
"line": "aws_access_key_1 = 'AKIAIOSFODNN7EXAMPLE'",
|
||||
"lineNumber": 13,
|
||||
"offender": "AKIAIOSFODNN7EXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "",
|
||||
"repo": "",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access Key",
|
||||
"commitMessage": "",
|
||||
"author": "",
|
||||
"email": "",
|
||||
"file": "secrets.py",
|
||||
"date": "0001-01-01T00:00:00Z",
|
||||
"tags": "key, AWS"
|
||||
}
|
||||
]
|
||||
+19
@@ -0,0 +1,19 @@
|
||||
[
|
||||
{
|
||||
"line": "added_aws_access_key_id='AKIAIO5FODNN7DXAMPLE'",
|
||||
"lineNumber": 2,
|
||||
"offender": "AKIAIO5FODNN7DXAMPLE",
|
||||
"offenderEntropy": -1,
|
||||
"commit": "0000000000000000000000000000000000000000",
|
||||
"repo": "basic",
|
||||
"repoURL": "",
|
||||
"leakURL": "",
|
||||
"rule": "AWS Access Key",
|
||||
"commitMessage": "",
|
||||
"author": "",
|
||||
"email": "",
|
||||
"file": "secrets.py",
|
||||
"date": "1970-01-01T00:00:00Z",
|
||||
"tags": "key, AWS"
|
||||
}
|
||||
]
|
||||
Reference in new issue
Block a user