About Sensei | DefectDojo Documentation

About Sensei (Pro)

Note: Sensei is a DefectDojo Pro-only feature and is currently in BETA.

Sensei is DefectDojo’s AI-powered scan-and-fix capability for source code repositories. Connect a repository (through a GitHub App, GitLab, Bitbucket, or Azure DevOps) and Sensei scans it, imports the results as DefectDojo findings, and then uses a large language model to remediate those findings by opening pull/merge requests, all without leaving DefectDojo.

🔀 Multiple providers: Sensei supports GitHub (github.com and GitHub Enterprise Server), GitLab (gitlab.com and self-managed), Bitbucket (Cloud and Server/Data Center), and Azure DevOps, all with the same scan-and-fix flow. Where this guide says pull request, GitLab uses a merge request; the PR status check is posted as a GitLab/Azure commit status or a Bitbucket build status. Connection differs by provider (see Set up Sensei); everything after onboarding is identical.

🔎 BETA: Sensei is under active development and is labeled BETA throughout the UI. Behavior and screens may change between releases.

📍 Where to find it: open Sensei from the left-hand navigation.

How DefectDojo-hosted scanning works

DefectDojo-hosted scanning is the recommended way to run Sensei. Scans run inside DefectDojo, and nothing is added to your repository:

  1. Connect a GitHub App and install it on the organization (or account) that owns your repositories.
  2. Onboard a repository for hosted scanning and choose how findings are reported and (optionally) auto-fixed.
  3. Sensei scans the repository (on demand, or automatically when a pull request is opened) and imports the results into an engagement named after the branch.
  4. Sensei remediates findings by generating a fix and opening a pull request against the repository’s default branch.

Each onboarded repository is linked to a DefectDojo asset (product), so its findings, engagements, and fixes live alongside the rest of your data.

The three ways a fix gets started

Sensei can remediate a finding in three ways:

Requirements

Quotas

Sensei is metered against your license. The Sensei hub shows two usage meters at the top of the page:

When a quota is reached, Sensei blocks further fixes (or onboarding) until it is raised. See Reference for details.