CONNECT YOUR TOOLS

Connect GitHub

A read-only GitHub App lets Averil see your repositories, owners, alerts and settings, and read code when an investigation needs it.

What Averil uses it for

  • Finding who owns each repository from CODEOWNERS and team membership.
  • Checking two-factor, branch protection, secret scanning and push protection.
  • Working your Dependabot, secret scanning and code scanning alerts.
  • Scanning the added lines of each push for secrets.
  • Reading a file or recent commits when an investigation asks.
  • Watching for repositories made public, branch protection turned off and new OAuth apps.

Read access

The Averil GitHub App asks only for read permissions. The broker signs short-lived installation tokens, so no long-lived key is shared with you or stored in core.

PermissionAccessUsed for
Metadata (repository)ReadRepositories, visibility, default branch
Contents (repository)ReadCODEOWNERS, reading code for investigations, recent commits, push diffs for the secret scanner
Administration (repository)ReadBranch protection and repository security settings
Dependabot alertsReadOpen Dependabot alerts
Code scanning alertsReadOpen code scanning alerts
Secret scanning alertsReadOpen alerts, always requested without secret values
SecretsReadActions secret names, never values
Administration (organization)ReadTwo-factor requirement, and the audit log on Enterprise Cloud
Members (organization)ReadMembers, members without two-factor, members of teams CODEOWNERS names
Personal access tokens (organization)ReadFine-grained tokens with access to the organization, metadata only

Events it subscribes to: Repository, Branch protection rule, Member, Organization, Secret scanning alert, Code scanning alert, Dependabot alert and Push.

Code is untrustedFile reads are limited to your installed organization, capped at 256 KiB, and binary files are not returned. Push diffs are scanned in memory and never stored; only a fingerprint and the line with the secret redacted are kept.

Write access

Fixes use a second, separate GitHub App that only the executor holds. You install it only if you want Averil to carry out fixes you approve. Each approved step gets its own token, limited to one repository, and the token is revoked when the step ends.

ActionGitHub permissionVerified byReversible
Require pull requests with one approval on the default branchAdministration: writeReading branch protection backYes
Turn on secret scanning and push protectionAdministration: writeReading repository settings backYes

How to connect

  1. 1An organization owner opens the install link we send during onboarding.
  2. 2Choose all repositories or only some. Averil sees only what you install it on.
  3. 3Tell us your organization login. Averil reads only that organization.
  4. 4Optional: install the responder App on the repositories you want Averil to be able to fix.

How to revoke

In your organization's settings, open GitHub Apps, choose Averil (and the responder App, if installed) and uninstall it. Installation tokens stop working right away. Averil marks the integration as access revoked and keeps the evidence it already has.

What's next

Opening pull requests with proven fixes comes with the night shift. It adds Pull requests: read and the Pull request event to the read App, and Contents: write and Pull requests: write to the responder App. Pushes that create a new branch are not scanned for secrets yet.

Stuck? Email averil@averil.ai or ask me in Slack.

Start with a free
security check

Connect GitHub and your cloud, and I'll send you a short list of what to fix, in Slack.

Get a free security checkSee pricing