doc/user/application_security/remediate/auto_remediation.md
{{< details >}}
{{< /details >}}
{{< history >}}
dependency_management_auto_remediation. Disabled by default.{{< /history >}}
Auto remediation automatically opens a merge request to bump a vulnerable dependency to a non-vulnerable version when one is available. A service account creates the merge request without any human input, which then goes through the standard review and approval process.
For the beta roadmap and planned improvements, see epic 18236.
Prerequisites:
dependency_management_auto_remediation
feature flag must be
enabled.To trigger vulnerability detection and auto remediation, run a pipeline. Auto remediation triggers automatically when vulnerabilities with available fixes are detected.
After each pipeline, GitLab checks dependency scan results for vulnerabilities with known fix versions. For each eligible vulnerability:
During the experiment phase, GitLab processes three vulnerabilities at a time, starting with the highest severity finding.
Auto remediation supports the following package managers:
| Language | Package Manager | Files |
|---|---|---|
| Ruby | Bundler | Gemfile, Gemfile.lock |
Support for additional ecosystems is planned. For details, see epic 21643.
During the experiment phase: