> For the complete documentation index, see [llms.txt](https://resmocom.gitbook.io/product/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://resmocom.gitbook.io/product/integrations/bitbucket-integration.md).

# Bitbucket Integration

## Resmo + Bitbucket Integration Fundamentals

![](/files/2tyXrfQEGjMs8YmLGR16)

Resmo seamlessly integrates with Bitbucket to secure your resources and mitigate asset vulnerabilities.&#x20;

### What does Resmo offer to Bitbucket users?

* Consolidate all Bitbucket assets in one place and track resource changes
* Automate security and compliance checks with rules
* Get alerted when there is a rule violation
* Query your entire Bitbucket asset inventory using SQL
* Visualize your cyber assets with dashboards and accelerate security controls

### How does the integration work?

Resmo has a Bitbucket application that you can install once you sign up for a Resmo account. Our application uses API to make the initial polling and receive existing resources. Then, we receive resource changes and updates in real-time by regular polling.

{% embed url="<https://resources.resmo.com/bitbucket>" %}

### Common queries and rules

* Identify publicly accessible projects
* Detect active repository webhooks
* List repositories that deny forking
* See public Bitbucket workspaces
* Identify pull requests that don't close the source branch
* List repositories that override the branching model

### Integration Walkthrough

#### How to Install

1. Login to your Resmo account and go to the Integrations page.
2. Find and select Bitbucket. Then, hit the Add Integration button at the bottom right corner of the opening modal.
3. Click Create, and you'll be redirected to Bitbucket; accept permissions.

![](/files/wtSYIy3LEgRFhb00nqt2)

4. Your Bitbucket integration is ready! Now you can start querying your resources!

#### How to Uninstall

1. Go to Integrations>Bitbucket.
2. Click the Connected Integrations tab on the opening modal and select the Bitbucket account you want to remove.&#x20;
3. You have two options. To temporarily pause the integration, click the Disable button. Or you can permanently remove the integration using the Delete button.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://resmocom.gitbook.io/product/integrations/bitbucket-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
