SEDATED icon indicating copy to clipboard operation
SEDATED copied to clipboard

Regex Improvement: False Positive while using a series of asterisks

Open ambernormand opened this issue 3 years ago • 1 comments

Here are some false positive examples:

  • ssl.truststore.password=*********
  • password=*********
  • password:*********
  • pass=********
  • secret=*********
  • secret:*********

For now of course we've just recommended utilizing an all text fake password but it'd be nice if these weren't flagged.

Somehow these could be baked into the regexes but we haven't done work for that yet. If they were able to be included and no longer blocked it'd be important the * is still recognized as a special character.

It seems like this would be another good candidate for some type of regex acceptlist as mentioned here in order to not introduce more complexity into the regexes as well as handle false positives in the future.

ambernormand avatar May 24 '21 16:05 ambernormand

/assign

CaduRoriz avatar Nov 22 '23 20:11 CaduRoriz