Clarification on Committer in JSON Lines output: #129
-
When scanning either the entire git history or scanning a specific branch, will the Or is this why there is the distinction between |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@tpat13 good questions. The When Nosey Parker finds a match in a Git repository, it computes the first commit in which the matching content was introduced. So it should be the person who committed the secret, not the person who last touched that file. The distinction between |
Beta Was this translation helpful? Give feedback.
@tpat13 good questions. The
committer_name
andauthor_name
correspond to the commit with IDcommit_id
.When Nosey Parker finds a match in a Git repository, it computes the first commit in which the matching content was introduced. So it should be the person who committed the secret, not the person who last touched that file.
The distinction between
author_name
andcommitter_name
comes from Git, which represents those two things separately: https://stackoverflow.com/questions/6755824/what-is-the-difference-between-author-and-committer-in-git. Theauthor_name
is probably the more relevant field as far as who actually wrote the code. Though if you were thinking of some workflow where Nosey P…