Update README.md

This commit is contained in:
Zachary Rice authored and GitHub committed 2022-10-10 08:22:27 -05:00
1 parent 2678a54290
commit acce01f233
1 file changed
+11 -19
+11 -19
View File
@@ -215,25 +215,17 @@ You can verify a finding found by gitleaks using a `git log` command.
Example output: Example output:
``` ```
{ Finding: aws_secret="AKIAIMNOJVGFDXXXE4OA"
"Description": "AWS", RuleID: aws-access-token
"StartLine": 37, Secret AKIAIMNOJVGFDXXXE4OA
"EndLine": 37, Entropy: 3.65
"StartColumn": 19, File: checks_test.go
"EndColumn": 38, Line: 37
"Match": "\t\t\"aws_secret= \\\"AKIAIMNOJVGFDXXXE4OA\\\"\": true,", Commit: ec2fc9d6cb0954fb3b57201cf6133c48d8ca0d29
"Secret": "AKIAIMNOJVGFDXXXE4OA", Author: Zachary Rice
"File": "checks_test.go", Email: z@email.com
"Commit": "ec2fc9d6cb0954fb3b57201cf6133c48d8ca0d29", Date: 2018-01-28T17:39:00Z
"Entropy": 0, Fingerprint: ec2fc9d6cb0954fb3b57201cf6133c48d8ca0d29:checks_test.go:aws-access-token:37
"Author": "zricethezav",
"Email": "thisispublicanyways@gmail.com",
"Date": "2018-01-28 17:39:00 -0500 -0500",
"Message": "[update] entropy check",
"Tags": [],
"RuleID": "aws-access-token"
}
``` ```
We can use the following format to verify the leak: We can use the following format to verify the leak: