-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi @domanchi @KevinHock @OiCMudkips
in a file, if multiple secrets are detected which are same, then only the last one is alerted.
for ex in a file as below
def some_fun:
password = "kjckjdc"
hello = asdjashd
def some_fun2:
password = "kjckjdc"
secret = "ruidj"
def some_fun3:
password = "kjckjdc"
In the above scenario, only 2 secrets are alerted one for keyword "secret" and one for "password"
even though the password keyword occurs multiple time.
Actual scenario is there are many files when number of functions have same secrets copied again and again, in that file, the scan is detecting only the last function, secret and line number and ignoring all other which are occurring before.
Could you please suggest.
Metadata
Metadata
Assignees
Labels
No labels