PR Reviews work with both GitHub and Azure DevOps repositories. Connect the relevant integration, then enable PR Reviews for the repositories you want covered from the Mjolnir Configuration page.
How it works
When a pull request is opened (or pushed to, depending on your trigger mode), Mjolnir:- Receives the PR diff and metadata from GitHub
- Reviews the changed code against the rest of your repository
- Surfaces any new security issues introduced by the change
- Posts the results back to GitHub as a Check run
- Optionally fails the check if findings meet your blocking severity threshold
Configuration
PR review settings are per repository, not global. The Mjolnir Configuration page lists every repository your GitHub App or Azure DevOps connection can reach, each with its own Enable PR review toggle. Turning a repository on expands its own set of controls:- Trigger mode: review on PR open only, or on every push
- Blocking severity threshold: fail the check on Critical only, High and above, Medium and above, or never
- Auto-suppression: when the same finding pattern is dismissed across multiple PRs on that repository, automatically create a suppression rule so it stops being raised
- Auto-suppression threshold: how many distinct PRs must dismiss a pattern before auto-suppression kicks in
The PR Reviews list
The list view shows every PR review across your repositories.- Filter by repository or status (Queued, Running, Completed, Failed)
- Sort by date or by number of open suggestions
- Click any review to open its detail page
Review detail
The detail view shows everything Mjolnir found:- PR summary: title, author, repository, head SHA, links back to GitHub and the check run
- Diff stats: files changed, lines added/removed
- Suggestions: each issue Mjolnir raised, with its file, line range, and severity, plus a suggested code fix when Mjolnir is confident enough to propose one
- Status filters: counts of open, accepted, and ignored suggestions, plus resolved and failed counts when either applies
- Mjolnir summary: a high-level write-up of what Mjolnir saw in this PR
Accepting or ignoring a suggestion
For each open suggestion, your team can:- Accept the suggested fix. Mjolnir commits it directly to the PR branch and marks the suggestion Accepted.
- Ignore the suggestion if it doesn’t apply (the equivalent of “won’t fix”), optionally with a reason.
Correlated findings
Mjolnir cross-references every PR review against the findings already tracked for your organisation. When a change touches a known finding, that result leaves the general Suggestions list and moves into one of two dedicated sections:- Addressed Findings: known findings this PR remediates. A quick way to confirm a fix landed where you expected.
- Regression Risk: known findings this PR may make more exploitable. Worth a closer look before you merge.
Triggering a review manually
If you want to ask Mjolnir to review a specific PR that wasn’t auto-reviewed (or to re-review a PR after changes), there are two ways to do it:- From GitHub: when the Mjolnir GitHub App is installed, a “Run Mjolnir Review” button is available on the PR
- Direct link: visit
/pentest/mjolnir/pr-reviews/trigger?repo=owner/repo&pr=123in Odin (this is the URL the GitHub button calls)
Trigger modes
Suppression Rules
Manage patterns Mjolnir should not raise in PRs