Overview
Patching lets you generate a pull request that addresses a finding, directly from MindFort. The platform analyzes the finding, writes a fix, and opens a PR against the repository and branch you select.Prerequisites
- A GitHub integration must be connected. Go to Settings > Integrations to set up the connection.
Create a Patch
- Open a finding from the Findings view.
- Click the Create Patch button in the finding actions bar.
- Select the repository that corresponds to the target.
- Select the base branch the PR should target.
- Click Create PR.
Review and Merge
After the PR is created:- Review the proposed changes on GitHub.
- Run your CI/CD checks as usual.
- Merge when satisfied.
Recommended Process
- Start with high- and critical-severity findings.
- Always review the generated PR before merging — treat it as a starting point.
- Re-run an assessment or retest after merging to confirm the finding is resolved.