Skip to content

Commit

Permalink
Update benchmark/scanner/scanner.py
Browse files Browse the repository at this point in the history
  • Loading branch information
babenek authored Feb 28, 2024
1 parent f550089 commit 540e4b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def check_line_from_meta(self,
file_id = row["FileID"]
# by default the cred is false positive
approximate = f"{self.next_id},{file_id},GitHub,{project_id},{path}" \
f",{line_num}:{line_num},F,F,{value_start},{value_end},F,F,,,,,0,0,F,F,F,{rule}"
f",{line_num}:{line_num},F,F,{value_start},{value_end},F,F,,,Info,,0,0,F,F,F,{rule}"
if self._check_line_num(row["LineStart:LineEnd"], line_num):
code = str(project_id) + str(file_id) + str(row["LineStart:LineEnd"])
if code in self.line_checker:
Expand Down

0 comments on commit 540e4b5

Please sign in to comment.