Bitbucket Features

Published
Length
3 min read

Luis Felipe Dias

All posts

You set up bitbucket features by creating workspaces, assigning repo roles, and turning on pipelines. These tools manage source code, check pull requests, and run automated build steps. Many teams start by giving broad write roles to every developer in the workspace. Broad roles let anyone push code, change build scripts, or read shared pipeline secrets. How bitbucket features work for code and builds Bitbucket organizes your code inside a main workspace and smaller project folders. Admins cr

Linkerd Security Features + Bitbucket Pipelines Security: the complete guide

Architecture patterns, implementation strategies, and security best practices. Delivered to your inbox.

Free white paper. No spam. Unsubscribe anytime.

You set up bitbucket features by creating workspaces, assigning repo roles, and turning on pipelines. These tools manage source code, check pull requests, and run automated build steps. Many teams start by giving broad write roles to every developer in the workspace. Broad roles let anyone push code, change build scripts, or read shared pipeline secrets.

How bitbucket features work for code and builds

Bitbucket organizes your code inside a main workspace and smaller project folders. Admins create git repos inside these projects and invite team members. You can set role rules at the workspace, project, or single repo level. Basic roles include read, write, and admin access for users and groups.

Branch rules add a strong layer of safety to your main code lines. Admins can block direct pushes to the main branch for all users. Instead, developers must open a pull request to merge their new changes. You can require two team members to approve the pull request first. You can also require passing build checks before the merge button works.

Built-in pipelines run your test and deploy steps inside isolated containers. A text file in the repo tells the runner what commands to run. Teams store API keys and database passwords as hidden variables in the repo settings. When a pipeline runs, the runner loads those variables into the build container.

How native deployment rules and review checks work

Deployment rules let teams split their build targets into test, staging, and production tiers. You can lock production deploys so only lead engineers can trigger them. The platform also tracks which commit is live in each tier right now. Issue trackers link straight to commits so managers can trace every code change.

Code review tools let peers leave comments on single lines of code. Reviewers can suggest quick fixes right inside the browser view. Teams can create tasks on a pull request to track required changes. All tasks must be marked done before the code can merge.

Linkerd Security Features + Bitbucket Pipelines Security: architecture patterns and best practices

Continue reading? Get the full guide.

Free. No spam. Unsubscribe anytime.

What native repo controls solve and what they miss

Native repo settings do a great job of guarding your git history. They decide who can log in, read code, and merge pull requests. Branch rules stop bad code from hitting your main branch without a peer review. Workspace logs also record when users create repos or change group permissions.

Still, repo permissions stop at the edge of the git platform. Once a pipeline starts or a developer runs a script, the platform loses sight. A build job uses static database keys to run migrations against live data. Bitbucket cannot see the actual SQL queries or shell commands running in flight.

The same gap exists when engineers debug live systems outside the repo. Repo roles do not check what commands an engineer runs on a server. They also cannot rewrite sensitive fields like emails, phone numbers, or card numbers in query results. Teams need runtime controls to inspect commands and mask data like national IDs.

Check database and API queries on the wire

Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.

Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.

Frequently asked questions

How do branch permissions protect the main branch?

Branch permissions block direct code pushes and force developers to use pull requests. Admins can require peer approvals and green build checks before any code merges.

Where does Bitbucket store secrets for automated builds?

Admins store secrets as encrypted variables at the workspace, repo, or deployment tier level. The build runner loads these values into the container when a job starts.

Can repo permissions control what a build script does to a database?

No, repo permissions only control who can edit code or trigger a build job. They do not inspect or block live database queries after the script connects.

Save the open-source gateway.

hoop is MIT-licensed infrastructure for controlling how AI agents reach production data. Star hoophq/hoop so you can inspect it, deploy it, or share it when your team starts governing agent access.