API Key not detected - what am I doing wrong? #1016
TomHuesler
started this conversation in
General
Replies: 2 comments 3 replies
-
The rule "Generic API Key" does not detect the password, as it contains a Amending the regex, as shown below, for that rule would catch it
|
Beta Was this translation helpful? Give feedback.
3 replies
-
@TomHuesler Maybe it's because your Windows path has a typo in it. Remove the trailing slash. instead
try
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dear all
I'm just evaluating GitLeaks and testing with some API keys as they're used by Confluent Cloud.
I have a ".properties" file that contains an API Key & Secret as a config parameter but it's not detected (sanitized example):
sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="KL5HGO52LEPNUUQU" password="MIqPFf/LKig6qs1zL21N2RL9wTGv7NHKsKTmYBkUyweqtm3Gg9czF0qfdJxBqpnL";
I can't figure out if the file is not scanned or if the pattern is not recognized... Adding the log-level option seems to have no effect also:
docker run -v c:\javasource\my-project:/path zricethezav/gitleaks:latest detect --source="/path" --no-git -v --log-level debug
Any help would be greatly appreciated
Kind Regards,
tom
Beta Was this translation helpful? Give feedback.
All reactions