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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,219
Community Members
 
Community Events
184
Community Groups

bitbucket private repo code is exposed !

We have deployed our code from the bitbucket pipeline to aws ec2. 

recently client received an email from AWS support that the bitbucket code was being exposed. 

anyone from the link can see any files like dotfiles and respective files. 

 

the link looks like this : 

https://bitbucket.org/abcTech/%4sfasdfasdfasdfasdfadddsafasdf%7D/raw/master/apps/api/.env

this is not a real link. but when I click the link that I received it will show all the content from the file even if you are not a Bitbucket user!

 

didn't understand what is happening. what could be the issue? 

my guess is the link is generated from the bitbucket pipeline's artifact but how can it be accessible to anyone? 

2 answers

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
Apr 12, 2023

Hi @Naim Bijapure,

The URL you posted here looks like it is from a file that is committed to a Bitbucket Cloud repo. If this can be accessed by anyone, then the repo must have been set to public.

If you are an admin of the repo, you can

  1. Open this repo on Bitbucket Cloud website
  2. Go to its Repository settings from the left sidebar
  3. You will see a checkbox with the text This is a private repository. If that is indeed unchecked, you will need to check it in order to make the repository private.

If you don't have admin access to the repo, you can ask one of the admins to follow the steps I shared.

Please feel free to let me know how it goes and if you need anything further.

Kind regards,
Theodora

can anyone answer please ? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events