Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

how to identify project and branches with username

velu June 3, 2024

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

1 answer

0 votes
Ben
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 4, 2024

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)

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events