gitleaks icon indicating copy to clipboard operation
gitleaks copied to clipboard

Prevent false positives for .net development

Open JoostVoskuil opened this issue 1 year ago • 0 comments

Description:

This PR reduces false positives when it comes to .net development

  • Allow .ruleset files (created by SonarQube). This file contains a key= parameter that refers to a SonarQube project Key
  • Allow PublicKeyToken regex. The public key token is a unique 16-character key that is given to the assembly when it is built and signed in Microsoft Visual Studio and is not a secret
  • Allow InstrumentationKey regex. This is a key used for Azure Application Insights. Is not a secret

Checklist:

  • [X] Does your PR pass tests?
  • [ ] Have you written new tests for your changes?
  • [X] Have you lint your code locally prior to submission?

JoostVoskuil avatar Oct 24 '23 12:10 JoostVoskuil