Skip to content

Commit 4ba0eb6

Browse files
🐛 fix Noseyparker description (#11726)
1 parent 435b5fe commit 4ba0eb6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

dojo/tools/noseyparker/parser.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ def version_0_22_0(self, line, test):
112112
if json_path.get("first_commit"):
113113
title = f"Secret(s) Found in Repository with Commit ID {json_path['first_commit']['commit_metadata']['commit_id']}"
114114
filepath = json_path["first_commit"]["blob_path"]
115-
description = f"Secret found of type: {rule_name} \n" \
116-
f"SECRET starts with: '{rule_text_id[:3]}' \n" \
115+
description = f"Secret found of type: {rule_name} \n" \
116+
f"Rule Text ID: '{rule_text_id}' \n" \
117117
f"Committer Name: {json_path['first_commit']['commit_metadata']['committer_name']} \n" \
118118
f"Committer Email: {json_path['first_commit']['commit_metadata']['committer_email']} \n" \
119119
f"Commit ID: {json_path['first_commit']['commit_metadata']['commit_id']} \n" \
@@ -123,8 +123,8 @@ def version_0_22_0(self, line, test):
123123
else:
124124
title = "Secret(s) Found in Repository"
125125
filepath = json_path["path"]
126-
description = f"Secret found of type: {rule_name} \n" \
127-
f"SECRET starts with: '{rule_text_id[:3]}' \n" \
126+
description = f"Secret found of type: {rule_name} \n" \
127+
f"Rule Text ID: '{rule_text_id}' \n" \
128128
f"Location: {filepath} line #{line_num} \n" \
129129
f"Line #{line_num} \n"
130130

0 commit comments

Comments
 (0)