trufflesecurity / trufflehog

Find and verify secrets
https://trufflesecurity.com
GNU Affero General Public License v3.0
14.39k stars 1.57k forks source link

Return targeted scan errors #2995

Closed rosecodym closed 2 weeks ago

rosecodym commented 2 weeks ago

Description:

Targeted scans should return their errors so that consumers can process them. By creating a type that combines an error with a targeted secret ID, we can return these errors without having to modify the Source interface.

Checklist: