# Protected resources

#### Bitbucket DC protected resources define which parts of your environment GitProtect can access, secure, and restore.

***

## Protected data <a href="#bitbucket" id="bitbucket"></a>

| ACCESS KEYS                                                                                                                  | BRANCHING MODEL                                                                                                                                                                                                                                                                                                                            | BRANCH RESTRICTIONS |
| ---------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------- |
| <ul class="contains-task-list"><li><input type="checkbox" checked>Label</li><li><input type="checkbox" checked>Key</li></ul> | <ul class="contains-task-list"><li><input type="checkbox" checked>Bugfix Branch Prefix</li><li><input type="checkbox" checked>Development Branch</li><li><input type="checkbox" checked>Enable Inherited Settings</li><li><input type="checkbox" checked>Feature Branch Prefix</li><li><input type="checkbox" checked>Hotfix Branch Prefix |                     |

</li><li><input type="checkbox" checked>Production Branch</li><li><input type="checkbox" checked>Release Branch Prefix</li></ul> | <ul class="contains-task-list"><li><input type="checkbox" checked>Branch Name</li><li><input type="checkbox" checked>Branch Pattern</li><li><input type="checkbox" checked>Branch Type</li><li><input type="checkbox" checked>Merge Access via Pull Request<strong>*</strong></li><li><input type="checkbox" checked>Merge Settings<strong>**</strong></li><li><input type="checkbox" checked>Write Access<strong>***</strong></li></ul> |

| DOWNLOADS                                                                                                                                 | ISSUES | PIIPELINES |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------ | ---------- |
| <ul class="contains-task-list"><li><input type="checkbox" checked>File Content</li><li><input type="checkbox" checked>File Name</li></ul> | <p>    |            |

</p><ul class="contains-task-list"><li><input type="checkbox" checked>Assignee</li><li><input type="checkbox" checked>Attachments</li><li><input type="checkbox" checked>Closed</li><li><input type="checkbox" checked>Comments</li><li><input type="checkbox" checked>Description</li><li><input type="checkbox" checked>Kind</li><li><input type="checkbox" checked>Open</li><li><input type="checkbox" checked>Priority</li><li><input type="checkbox" checked>Status</li><li><input type="checkbox" checked>Title</li></ul> | <ul class="contains-task-list"><li><input type="checkbox" checked>Enable Pipelines</li><li><input type="checkbox" checked>Known Hosts</li><li><input type="checkbox" checked>Pipeline Configuration File</li><li><input type="checkbox" checked>Repository Variables<br></li></ul> |

| PULL REQUESTS                                                              | SCHEDULES | WEBHOOKS | WEBHOOKS CONT. |
| -------------------------------------------------------------------------- | --------- | -------- | -------------- |
| <ul class="contains-task-list"><li><input type="checkbox" checked>Comments |           |          |                |

</li><li><input type="checkbox" checked>Commits</li><li><input type="checkbox" checked>Creation Date</li><li><input type="checkbox" checked>Creator</li><li><input type="checkbox" checked>Description</li><li><input type="checkbox" checked>Reviewers</li><li><input type="checkbox" checked>Title</li></ul> | <ul class="contains-task-list"><li><input type="checkbox" checked>Schedule</li><li><input type="checkbox" checked>Selected Branch</li><li><input type="checkbox" checked>Selected Pipeline</li></ul> | <ul class="contains-task-list"><li><input type="checkbox" checked><p>Issue Trigger</p><ul class="contains-task-list"><li><input type="checkbox" checked>Comment Created</li><li><input type="checkbox" checked>Created</li><li><input type="checkbox" checked>Updated</li></ul></li><li><input type="checkbox" checked><p>Pull Request Trigger</p><ul class="contains-task-list"><li><input type="checkbox" checked>Approval Removed</li><li><input type="checkbox" checked>Approved</li><li><input type="checkbox" checked>Changes Request Created</li><li><input type="checkbox" checked>Changes Request Removed</li><li><input type="checkbox" checked>Comment Created</li><li><input type="checkbox" checked>Comment Deleted</li><li><input type="checkbox" checked>Comment Reopened</li><li><input type="checkbox" checked>Comment Resolved</li><li><input type="checkbox" checked>Comment Updated</li><li><input type="checkbox" checked>Created</li><li><input type="checkbox" checked>Declined</li><li><input type="checkbox" checked>Merged</li><li><input type="checkbox" checked>Updated</li></ul></li></ul> | <ul class="contains-task-list"><li><input type="checkbox" checked><p>Repository Trigger</p><ul class="contains-task-list"><li><input type="checkbox" checked>Build Status Created</li><li><input type="checkbox" checked>Build Status Updated</li><li><input type="checkbox" checked>Commit Comment Created</li><li><input type="checkbox" checked>Fork</li><li><input type="checkbox" checked>Push</li><li><input type="checkbox" checked>Updated</li></ul></li><li><input type="checkbox" checked>Secret</li><li><input type="checkbox" checked>Skip Certificate Verification</li><li><input type="checkbox" checked>Status</li><li><input type="checkbox" checked>Title</li><li><input type="checkbox" checked>URL</li></ul> |

<details>

<summary><strong>*</strong>MERGE ACCESS VIA PULL REQUEST</summary>

* [x] Choosen people or groups for merge access
* [x] Everyone with access to the repository has merge access

</details>

<details>

<summary><strong>**</strong>MERGE SETTINGS</summary>

* [x] Allow automatic merge when builds pass
* [x] Keep approvals if there is no change to the diff in the pull request
* [x] Maximum number of commits behind destination branch
* [x] Minimum number of approvals
* [x] Minimum number of approvals from default reviewers
* [x] Minimum number of successful builds for the last commit with no failed builds and no in progress builds
* [x] No changes are requested
* [x] No unresolved pull request tasks
* [x] Prevent a merge with unresolved merge checks
* [x] Reset approvals when the source branch is modified
* [x] Reset requested changes when source branch is modified

</details>

<details>

<summary><strong>***</strong>WRITE ACCESS</summary>

* [x] Allow deleting this branch
* [x] Allow rewriting branch history
* [x] Chosen people or groups for write access
* [x] Everyone with access to the repository has write access

</details>
