trufflesecurity / trufflehog

Find, verify, and analyze leaked credentials
https://trufflesecurity.com
GNU Affero General Public License v3.0
17.34k stars 1.72k forks source link

Feature Request: Filesystem scanning should support line numbers #1272

Closed mimaslanka closed 1 year ago

mimaslanka commented 1 year ago

Description

Using git scanning it will show the line number on a given file. This feature should also be present in filesystem as well so the user has more context to find an issue quickly.

nyanshak commented 1 year ago

I would like to add support for line numbers in all sources, but I'm less familiar with this aspect of trufflehog, so I stuck to implementing just the filesystem source line numbers in my PR. :100: