Overview
Patching turns a finding into a proposed pull request against the repository and branch you select, giving engineers a concrete change to review and validate.Patching Use Cases
Use patching when you want MindFort to turn finding context into a proposed code change.
Patching is best for platform-generated pull requests. If your team wants to use a local AI copilot inside its own checkout, connect the copilot through MCP so it can read MindFort finding evidence and remediation advice from the platform.
Prerequisites
- Connect GitHub under Settings → Integrations.
- Link at least one enabled repository to the target.
Create a Patch
- Open a finding from the Findings view.
- Select Patch in the finding actions.
- Select a linked repository.
- 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.