Version Control

Connect GitHub

Audix reads your GitHub organization's settings, members, repositories, branch protection and workflow runs with a read-only token, and matches each account to a person on Version control.

Category
Version Control
Connects with
Read-only token
Access
Read-only

5 steps

Set it up

  1. GitHub → Settings → Developer settings → Personal access tokens.
  2. Fine-grained token (resource owner: the organization), all read-only. Repository permissions: Actions, Administration, Contents and Metadata. Organization permissions: Administration and Members.
  3. Or a classic token with repo and admin:org. read:org alone covers members, SSO and the new-repository security defaults, but GitHub shows the full organization settings and the Actions settings only with admin:org. Only a classic token can read whether SAML is configured. Audix only reads.
  4. Use a token from an organization owner. Owners are the only ones GitHub shows every member, their two-factor status and their SSO identities to, which is how Governance > Version control matches each account to a person.
  5. Copy the token and paste it above; it is encrypted at rest and never shown again.

GitHub documentation for this step.

3 fields

What you fill in

  • Connection name: defaults to GitHub.
  • GitHub organization: Your org login. Paste the name, an @handle or the org URL.
  • Personal access token: ghp_... or github_pat_...

3 kinds of data

What Audix reads

  • Organization: Org settings and 2FA enforcement.
  • Repositories: Repos in scope for testing.
  • Branch protection: Reviews, signing and protection rules.

Read-only

What Audix changes in GitHub

Nothing. The connection only reads from GitHub.

43 tests

Tests this connection feeds

  • Default branches require code-owner review
  • Default branch requires conversation resolution
  • Stale approvals are dismissed on new commits
  • Branch protection applies to admins
  • Default branch requires linear history
  • Default branches require ≥ 2 approvals
  • Default branch cannot be deleted
  • Default branch denies force pushes
  • Default branch has no pull-request bypass allowances
  • Default branches are protected
  • Default branch requires approval of the most recent push
  • Changes require pull-request review
  • Default branch restricts who can push
  • Status checks must pass before merge
  • Default branch requires branches up to date
  • Repository has Dependabot alerts enabled
  • Repository enables Dependabot security updates
  • Repository is actively maintained
  • Repositories are private
  • Private repositories disable forking
  • Repository has secret scanning + push protection
  • Repository publishes a security policy
  • Commits must be signed
  • Infrastructure code is scanned on the default branch
  • Infrastructure code scans find no critical or high issues
  • Default-branch build is not failing across many consecutive runs
  • Default branch build is not chronically failing
  • CI pipelines are predominantly succeeding
  • Required CI workflows are not disabled
  • Every GitHub account uses two-factor authentication
  • Every GitHub account belongs to a person
  • Leavers no longer have access to your code
  • Actions GITHUB_TOKEN defaults to read-only
  • Actions GITHUB_TOKEN cannot approve pull requests
  • GitHub org requires two-factor auth
  • Org enables Advanced Security for new repos
  • Org base permission is least-privilege
  • Org enables Dependabot alerts for new repos
  • Org forbids members creating public repos
  • Org enables secret scanning for new repos
  • Org enables secret-scanning push protection for new repos
  • Org has SAML single sign-on configured
  • Org requires sign-off on web commits