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)
It looks like you're new here. Sign in or register to get started.