Closed johnoliv closed 1 year ago
Thanks for raising this issue, we'll look into it
@johnoliv : I tried d-[0-9a-fA-F]{32}
on regex101.com with language set to golang. This should help your case.
Hey @svishwanath-tw. Thanks for trying. Although it's a valid regex, it didn't resolve, the talisman report still shows as a high severity error.
allowed_patterns:
Hmm, thats odd. I tried with the regex as well, and even though the regex is valid, talisman still seems to be flagging it as an error. I can take a look at it and see what's happening.
Hmm, thats odd. I tried with the regex as well, and even though the regex is valid, talisman still seems to be flagging it as an error. I can take a look at it and see what's happening.
Thank you @tinamthomas. Appreciate your help.
I need to ignore a known hex-encoded text inside some files using an allowed_patterns regex, but I don't want to skip the whole content.
Example of error: Expected file to not to contain hex-encoded texts such as: "d-b776a0bdace0449c81ca4284683XXXXX",
Expected file to not to contain hex-encoded texts such as: "d-baeb9610e69043be9d315d7e351XXXXX",
The text pattern is: Initial d- with 32 characters.
I tried to use the following regex without success: .talismanrc allowed_patterns:
More info: OS: macOS 12.5.1 Talisman v1.28.1