# Connect GitHub to Polara

URL: https://www.polaralabs.com/integrations/github

> Read-only GitHub App install. Collects 7 evidence types: organization members, organization two-factor enforcement, organization teams, repository collaborators, branch protection, CODEOWNERS and organization audit log.

Read-only GitHub App install. Collects 7 evidence types: organization members, organization two-factor enforcement, organization teams, repository collaborators, branch protection, CODEOWNERS and organization audit log.

Go to dashboard to connect

## What Polara collects

7 evidence items

Each item lists the System and Organization Controls 2 (SOC 2) criteria it carries and the control it supports.

| Evidence | What it shows | Control it supports |
| --- | --- | --- |
| Organization members | All members of the organization with their access type. | Control it supports: CC6.2, CC6.3, CC1.5 Documented user access reviews |
| Organization two-factor enforcement | Whether two-factor authentication is required for every organization member. | Control it supports: CC6.1, CC6.6 Multi-factor authentication (MFA) on cloud consoles |
| Organization teams | Teams in the organization and their permissions. | Control it supports: CC6.1, CC6.2, CC6.3 Role-based access to production |
| Repository collaborators | Per-repository collaborator access, including outside collaborators. | Control it supports: CC6.2, CC6.3, CC1.5 Documented user access reviews |
| Branch protection | Default-branch protection rules, including required reviews and status checks. | Control it supports: CC8.1 Peer review before deploy |
| CODEOWNERS | Whether a CODEOWNERS file assigns review ownership per path. | Control it supports: CC8.1 Peer review before deploy |
| Organization audit log | Audit log entries for organization admin actions, on Team and Enterprise plans. | Control it supports: CC4.1, CC7.2 Admin activity logged and reviewed |

## Permissions we request

All permissions are read-only.

Polara never writes to your repositories, members, or organization settings. No commits, no merges, no admin actions. Contents read access is used only to read the CODEOWNERS file.

| Permission | Why we need it |
| --- | --- |
| Repository: Contents (Read) | Read CODEOWNERS file content to verify per-path review ownership. |
| Repository: Metadata (Read) | List repositories accessible to the install. |
| Repository: Administration (Read) | Read branch-protection rules on each repo’s default branch. |
| Organization: Members (Read) | List org members and check the org-wide 2FA enforcement setting. |
| Organization: Administration (Read) | Read audit-log entries (Team / Enterprise plans only). |

Subscribed webhook events: installation and installation_repositories. These let Polara know when you install, uninstall, or change the repository selection.

## How to connect

Three steps.

- 1

### Click Connect in Polara

On your Integrations tab, click Connect on the GitHub card. A disclosure modal lists exactly what Polara will read.

Step 1

- 2

### Install on your organization

GitHub opens a new tab showing the install consent screen. Pick the organization you want to connect.

Step 2

- 3

### Choose repositories

Select All repositories (recommended for SOC 2 completeness) or a specific subset. Confirm and GitHub redirects you back to Polara.

Step 3

## Choosing repositories

Recommendation: choose All repositories.

SOC 2 covers your entire production environment. Selecting only some repos means branch-protection and CODEOWNERS evidence for the omitted repos is not captured.

Use Selected only when: you have a separate non-production org (test, archived, or sandbox repos) that should be excluded from the SOC 2 boundary. Document the exclusion in your scope statement.

v1 captures branch protection and CODEOWNERS for the first 500 repos. Larger orgs: email help@polaralabs.com to raise the cap.

## Free tier limitations

GitHub’s audit-log REST API is available only on Team and Enterprise plans. On the Free plan, Polara cannot collect the org audit log from GitHub.

Two workarounds:

- Upgrade to a GitHub plan that includes the audit log API.
- Manual audit-log CSV export. In GitHub, visit github.com/organizations/{org}/settings/audit-log, export the CSV, then upload it through Polara’s evidence upload page. Repeat each quarter (or each audit cycle for Type 2).

Either path gives your auditor the audit log. The other 6 evidence types collect normally on Free plans.

## How to disconnect

Disconnecting in Polara removes the connection record on our side. To fully revoke GitHub’s access tokens, you must also uninstall the GitHub App from your organization settings.

- In Polara: dashboard → Integrations tab → GitHub card → Disconnect.
- On GitHub: visit github.com/organizations/{your-org}/settings/installations.
- Click Configure next to Polara Evidence Collector, scroll to the Danger Zone, then click Uninstall.

Disconnect step: uninstall from GitHub’s org settings

Note: previously collected evidence stays attached to your assessment for audit reproducibility. Future syncs simply stop running once the install is removed.

## Troubleshooting

Polara shows "pending" for more than 2 minutes after I clicked Install.
GitHub’s webhook delivery to Polara is usually instant but occasionally lags by up to a minute under load. Refresh the page first. If the card still does not flip to "Connected," click Connect again. The install URL is idempotent. GitHub will not re-install or duplicate anything if the install already exists.

I got a 500-repo cap warning. What does that mean?
Polara collects branch-protection and CODEOWNERS data for the first 500 repos in v1 to keep sync time predictable. If your org has more, email help@polaralabs.com to raise the cap for your account. Branch protection and CODEOWNERS are still collected for the first 500 repos.

A gap did not close after I connected GitHub.

GitHub closes one gap on its own: multi-factor authentication, once your org requires two-factor authentication for every member.

Branch protection, CODEOWNERS and the org audit log are collected for your auditor but close no gap by themselves. Answer or upload those gaps directly. On GitHub Free the audit log is not collected; see Free tier limitations.

## Ready to connect?

Connect from your dashboard.

Go to your dashboard
