GitGuardian / ggshield

Find and fix 360+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
https://gitguardian.com
MIT License
1.57k stars 138 forks source link

refactor: remove the scannable from the result class #903

Closed fnareoh closed 1 month ago

fnareoh commented 1 month ago

This the last commit of the work on refactoring Result, ExtendedMatch and output handlers to avoid saving the scannable. We remove the scannable from the Result class but to still preserve the same policy break sha, I have added content_match to the Extended match which still has patch symbols.

Context

What has been done

Validation

PR check list