Overview
When you open a PR that fixes a known vulnerability, you can reference the issue in your PR description. ZeroPath will automatically verify whether your changes would resolve the vulnerability and report the results on the PR. When the PR is merged, ZeroPath re-verifies and updates the issue status in the dashboard.Referencing Vulnerabilities
Add references to ZeroPath issues anywhere in your PR description using either of these formats:- ZP-ID Format
- Dashboard URL
Reference one or more issues by their UUID:Comma-separated for multiple issues:
Where to Find the Issue UUID
Navigate to the issue detail page in the ZeroPath dashboard. The UUID appears in the URL:How It Works
1
Open a PR with References
Include one or more
ZP-ID references or dashboard URLs in your PR description.2
Pre-Merge Verification
ZeroPath checks whether each referenced vulnerability would be resolved by your PR’s changes and posts a comment with the results. This is informational only — issue status is not changed yet.
3
Iterate if Needed
If the check reports “still present”, push additional commits and reply
@ZeroPath retriage to re-run the verification against the latest code.4
Merge the PR
Once the verification confirms “would fix”, merge the PR as normal.
5
Post-Merge Verification
After the PR is merged, ZeroPath automatically re-runs the verification against the merged code on the target branch. If the fix is confirmed, the issue is marked as resolved in the dashboard.
Results
ZeroPath posts a comment on your PR and updates a check status at two points — before and after merge.PR Comment
Pre-Merge (Informational)
Post-Merge (Status Update)
Check Status
A dedicated Fix Verification check status is posted on the PR commit alongside the comment. You can use this check in branch protection rules to require fix verification to pass before merging.Re-Investigation
If the initial check reports “still present” but you believe your fix is correct, push your updated code and reply with:Automatic Fix Verification During PR Refresh
When a completed PR scan refresh no longer detects an open, confirmed SAST finding from the same PR, ZeroPath can check whether a code change fixed it. It verifies up to five eligible findings per refresh, within the available scan time. A confirmed fix is recorded as Verified Fixed without aZP-ID reference.
Findings stay open until a fix is verified. The automatic pass applies to findings from the same
PR. For an issue from another scan, add a
reference in the PR description.
Important Notes
- For issues referenced in the PR description, pre-merge results are informational. The issue status updates when verification confirms the fix after merge.
- Eligible findings. Reference an open finding from a code scan or dependency scan for the same repository.
- Reopened issues. A subsequent scan that re-detects a previously resolved vulnerability can reopen it.
- Code hosts. GitHub, GitLab, and Bitbucket support reference-based checks before and after merge. Azure DevOps Services runs post-merge verification when the merge event includes the merged commit and the previous target commit.