forked from csutils/csdiff
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
csgrep --limit-msg-len: limit length of event messages
Fixes: csutils#133 Closes: csutils#134 Related: https://issues.redhat.com/browse/OSH-67
- Loading branch information
Showing
7 changed files
with
257 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--mode=json --limit-msg-len=31 |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
{ | ||
"defects": [ | ||
{ | ||
"checker": "GITLEAKS_WARNING", | ||
"tool": "gitleaks", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "./contrib/guide/get_started/00-cleanup.sh", | ||
"line": 6, | ||
"column": 1, | ||
"event": "warning[SC2164]", | ||
"message": "-----BEGIN RSA PRIVATE KEY----- [...]", | ||
"verbosity_level": 0 | ||
}, | ||
{ | ||
"file_name": "./contrib/guide/get_started/00-cleanup.sh", | ||
"line": 6, | ||
"column": 1, | ||
"event": "note", | ||
"message": "trimmed 1 message(s) with length over 31", | ||
"verbosity_level": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"checker": "GITLEAKS_WARNING", | ||
"tool": "gitleaks", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "./contrib/guide/get_started/12-datadir-create.sh", | ||
"line": 4, | ||
"column": 7, | ||
"event": "warning[SC2174]", | ||
"message": "-----BEGIN RSA PRIVATE KEY----- [...]", | ||
"verbosity_level": 0 | ||
}, | ||
{ | ||
"file_name": "./contrib/guide/get_started/12-datadir-create.sh", | ||
"line": 4, | ||
"column": 7, | ||
"event": "note", | ||
"message": "trimmed 1 message(s) with length over 31", | ||
"verbosity_level": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"checker": "GITLEAKS_WARNING", | ||
"tool": "gitleaks", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "./contrib/scripts/resetgnome", | ||
"line": 14, | ||
"column": 13, | ||
"event": "note[SC2006]", | ||
"message": "-----BEGIN RSA PRIVATE KEY----- [...]", | ||
"verbosity_level": 0 | ||
}, | ||
{ | ||
"file_name": "./contrib/scripts/resetgnome", | ||
"line": 14, | ||
"column": 13, | ||
"event": "note", | ||
"message": "trimmed 1 message(s) with length over 31", | ||
"verbosity_level": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"checker": "GITLEAKS_WARNING", | ||
"tool": "gitleaks", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "./contrib/scripts/resetgnome", | ||
"line": 15, | ||
"column": 25, | ||
"event": "note[SC2086]", | ||
"message": "-----BEGIN RSA PRIVATE KEY----- [...]", | ||
"verbosity_level": 0 | ||
}, | ||
{ | ||
"file_name": "./contrib/scripts/resetgnome", | ||
"line": 15, | ||
"column": 25, | ||
"event": "note", | ||
"message": "trimmed 1 message(s) with length over 31", | ||
"verbosity_level": 1 | ||
} | ||
] | ||
}, | ||
{ | ||
"checker": "GITLEAKS_WARNING", | ||
"tool": "gitleaks", | ||
"key_event_idx": 0, | ||
"events": [ | ||
{ | ||
"file_name": "./contrib/scripts/resetgnome", | ||
"line": 17, | ||
"column": 10, | ||
"event": "note[SC2006]", | ||
"message": "-----BEGIN RSA PRIVATE KEY----- [...]", | ||
"verbosity_level": 0 | ||
}, | ||
{ | ||
"file_name": "./contrib/scripts/resetgnome", | ||
"line": 17, | ||
"column": 10, | ||
"event": "note", | ||
"message": "trimmed 1 message(s) with length over 31", | ||
"verbosity_level": 1 | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters