I have 100 projects with 100 branches in bitbucket, in all my branches I have hard-coded my username and password, is there any solution which would help me in identifying the branches exposed with username and password automatically
G'day!
If you need to find branch names that expose your username/password, you can combine the git branch/grep commands:
git branch --all | grep -i insertusernamehere
If you need to search your code for exposure of your username/password, we have an article for this below:
Hope this helps.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.