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?
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.