> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cybreeze.io/llms.txt
> Use this file to discover all available pages before exploring further.

# GitHub

> Connect GitHub to inventory your repositories with their branch protection, review rules and code scanning.

GitHub hosts your source code and engineering workflow. Connecting it puts every repository in your
organizations into the asset inventory, with the settings a change-management control asks about —
whether the default branch is protected, how many reviews a merge needs, and what is scanning the
code and its dependencies.

> [!TIP]
>
> **What you get**
>
> A repository register nobody has to maintain by hand, and evidence that changes to your code are
> reviewed before they ship.

## What Cybreeze collects

| Data | What it proves |
| - | - |
| Repositories | What code exists, in which organization, and whether it is still active |
| Visibility | Whether a repository is private, internal or public |
| Branch protection | That the default branch is protected and how many reviews a merge needs |
| Code scanning | Whether secret scanning and dependency alerts are switched on |

## Before you connect

| Requirement | Detail |
| - | - |
| Auth method | **OAuth** |
| You will enter | Nothing to paste — you authorize in the GitHub popup |
| Who can connect | **Org owner (may need to approve)** |
| Paid plan | **Not required** |

## Setup guide

**1. Connect**

In **Integrations**, open **GitHub**, and click **Connect**. A popup redirects you to GitHub to
authorize Cybreeze.

**2. Authorize the organization**

Sign in and grant read access to the organization whose repositories you want as evidence. An
organization owner may need to approve the authorization.

**3. Discover**

Go to **Inventory → Discover**, preview what the sync would do, and apply it. Repositories land
under **Code Repositories**.

> [!NOTE]
>
> **Unanswered is not the same as off**
>
> Some settings are only visible to a token with admin rights on the repository, and branch protection
> is only readable by an admin of that repo. Where Cybreeze could not look, it leaves the field empty
> rather than recording it as disabled — a gap that is not real would bury the ones that are.

## Permissions

Cybreeze requests **read-only** access to your organizations, their repositories, and each default
branch's protection rules. It never reads source code, and never pushes, merges, or changes
configuration.

Only organization repositories are collected. A connection made with a personal account still reads
the organizations that account belongs to — personal side projects are deliberately left out of a
company's compliance register.

## Good to know

> [!WARNING]
>
> **Org approval may be required**
>
> If your organization restricts third-party OAuth apps, an owner must approve Cybreeze before data can
> sync. Until approved, the connection may show as pending.

## Evidence it feeds

Repositories discovered here can be scoped to frameworks and used in access reviews like any other
asset. Branch protection and review requirements are the evidence behind change-management and SDLC
controls — a repository whose default branch is unprotected is a finding an auditor can see without
anyone assembling a screenshot.

## Useful links

* [GitHub organization security settings](https://docs.github.com/organizations/keeping-your-organization-secure)
* [About branch protection rules](https://docs.github.com/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches)
* [About Dependabot alerts](https://docs.github.com/code-security/dependabot/dependabot-alerts/about-dependabot-alerts)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.