mirror of
https://github.com/gitleaks/gitleaks.git
synced 2026-11-28 12:14:22 +01:00
* Modified Entropy to be able to apply it on regex match or specific capture group * Config tests * Small fixes on entropy ranges * Fix toml configs Fix tests * Start adding support for rules with filename regex Changed how config is parsed Created new functions to inspect files and content * File regex working * Fixing tests and configs * Implemented different regex for filename and filepath * Fix comments * Audit tests * Config rename vars * Fix audit tests * Filename offender * Indents and code styles * Indents and code styles * Removing bad test repo * Adding test repo 6 for filename and filepath tests * global whitelist path and fixes * Fixes on tests and new test for global whitelisting paths * Removing unused test * Fix comment
16 lines
436 B
JSON
16 lines
436 B
JSON
[
|
|
{
|
|
"line": "aws_access_key_id=AKIAIO5FODNN7EXAMPLE",
|
|
"offender": "AKIAIO5FODNN7EXAMPLE",
|
|
"commit": "98b6c7cb3fb29a5993c4c95c56a2dc53050b9247",
|
|
"repo": "test_repo_6",
|
|
"rule": "AWS Manager ID",
|
|
"commitMessage": "Adding some secrets in config folder\n\n",
|
|
"author": "Noel Algora",
|
|
"email": "noealgigu@gmail.com",
|
|
"file": "config/application.properties",
|
|
"date": "2020-02-24T14:13:15-05:00",
|
|
"tags": "key, AWS"
|
|
}
|
|
]
|