Install the Trident GitHub App
1
Open the GitHub integration settings
In the Trident dashboard, navigate to Settings → Integrations → GitHub and click Install App.
2
Authorize the Trident GitHub App
GitHub will redirect you to the App authorization screen. Select whether to grant access to your entire organization or to specific repositories, then click Install & Authorize.
3
Select target repositories
Back in the Trident dashboard, choose which repositories Trident is allowed to open PRs in. You can select one repository per project or multiple repositories for a monorepo setup.
4
Save and confirm
Click Save. A green status indicator on the integration card confirms the connection is active. Trident will now open draft PRs in the selected repositories when remediable findings are detected.
What Trident creates PRs for
Once the GitHub App is installed, Trident automatically opens draft pull requests for the following finding types:Pull request format
Every PR Trident opens follows the same structure:- Draft status — PRs always open as drafts so they do not trigger auto-merge rules or required-review workflows until your team is ready.
- Finding summary — The PR description includes the finding name, severity, affected resource, and the reasoning behind the proposed change.
- Proposed diff — The change is scoped to the minimum edit needed to resolve the finding.
- Dashboard link — A direct link back to the finding in Trident so reviewers have full context before merging.
Required permissions
The Trident GitHub App requests the following permissions:
Trident does not request
push access to your default branch. It cannot force-push, merge pull requests, or modify branch protection rules.