When something breaks
GitHub repositories
Many attacks start in a repository, not on a server: a force push that swaps code in, a workflow changed to send secrets away, protection quietly switched off. Connect GitHub and Kiyesi tells you when any of these happens.
What raises an alert
Section titled “What raises an alert”| What happened | How serious |
|---|---|
| A force push to the default branch | Critical |
| Branch protection removed, or weakened (fewer approvals, admins no longer bound, force pushes allowed, a required check dropped) | Critical |
| A ruleset removed, switched off, or with rules taken out | Critical |
| A repository made public | Critical |
| A workflow file changed, on any branch | Warning |
| A new admin on a repository | Warning |
| A new outside collaborator (not a member of the organisation) | Warning |
| A new deploy key, saying whether it can write | Warning |
| A new owner of the organisation | Warning |
Each alert says the repository, the branch, who did it and when, and what to do if it was not planned. A force push comes with the command that puts the branch back.
The change has already happened, so the alert is sent once and closed, with nothing to acknowledge.
Other changes go into History without an alert: protection added or made stricter, a repository renamed, moved, archived or deleted.
Connect GitHub
Section titled “Connect GitHub”- Open Settings, GitHub, and choose Connect GitHub.
- On GitHub, pick the organisation or account, and all repositories or the ones you choose.
- Back in Kiyesi, the repositories are listed and Repositories appears in the menu.
Only an owner of the organisation (or the account itself, for a personal account) can connect it. If you are not an owner, GitHub sends your request to the owners, and the organisation connects once one approves it.
Two Kiyesi teams can watch the same organisation; neither sees the other’s alerts.
What Kiyesi reads, and what it never does
Section titled “What Kiyesi reads, and what it never does”All the app’s permissions are read-only apart from one:
| GitHub permission | Why |
|---|---|
| Metadata (read) | The repositories’ names, and whether they are public |
| Contents (read) | GitHub sends pushes, force pushes and changed workflows only to an app with this permission. Pull-request checks read changed files with it |
| Administration (read) | Branch protection and rulesets |
| Deployments (read) | New deploy keys |
| Members (read) | Whether a new collaborator belongs to the organisation, and new owners |
| Pull requests (read) | Which files a pull request changes, and who opened it |
| Checks (read and write) | Kiyesi’s own check on a pull request: the only thing it can write |
Kiyesi keeps what changed, who changed it, and when. It never copies or keeps your code, and cannot change anything on GitHub except its own check.
Free and with credit
Section titled “Free and with credit”- The first 5 repositories raise alerts on the free plan. Others are shown as waiting for credit. With credit, every repository raises alerts.
- Email alerts need credit; Telegram, Slack, Teams, webhooks and PagerDuty work on every plan.
- History keeps these changes for 90 days with credit, 7 days without.
The Repositories screen
Section titled “The Repositories screen”- At the top: critical changes in the last 24 hours, all changes in the last 7 days, and how many repositories raise alerts.
- Recent changes, by day: what happened, who, the commits, and a link to GitHub. Pick a repository to see only its changes.
- Watched repositories: one card each, with its last change and critical changes this week.
While Kiyesi is open, a critical change shows a notice within 10 seconds. Turn on its sound with Sound on on the Repositories screen (three low notes, kept in that browser). Browsers stay silent until you click the page once. Quiet hours in Settings, Your alerts keep it off at night.
Remove GitHub
Section titled “Remove GitHub”Settings, GitHub, Remove deletes everything Kiyesi kept about that account: its repositories, History lines and alerts. If no other Kiyesi team uses it, Kiyesi uninstalls its app too. Uninstalling the app on GitHub does the same.
When GitHub could not reach Kiyesi
Section titled “When GitHub could not reach Kiyesi”GitHub keeps undelivered changes for three days, and every three hours Kiyesi asks for any it missed. A change is stored once, however many times it arrives.
GitLab, Bitbucket and Azure Repos are not connected yet. If you need one, write to hello@kiyesi.dev.