-
Notifications
You must be signed in to change notification settings - Fork 84
docs: add patch deferral revalidation gates #1402
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
catcherintheroad-hub
wants to merge
1
commit into
UnitOneAI:main
Choose a base branch
from
catcherintheroad-hub:improve/patch-deferral-revalidation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+171
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
121 changes: 121 additions & 0 deletions
121
.../vuln-management/patch-prioritization/tests/deferred-revalidation-edge-cases.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,121 @@ | ||
| # Deferred Vulnerability Revalidation Edge Cases | ||
|
|
||
| Use these cases to validate that `patch-prioritization` revalidates deferred vulnerabilities and risk exceptions when the original assumptions change. | ||
|
|
||
| ## Case 1: Vendor patch released after "patch unavailable" exception | ||
|
|
||
| **Input** | ||
|
|
||
| ```yaml | ||
| exception: | ||
| id: EXC-2026-0042 | ||
| cve: CVE-2026-12345 | ||
| status: approved | ||
| reason: vendor patch unavailable | ||
| original_sla: P2 | ||
| review_date: 2026-09-01 | ||
| current_state: | ||
| vendor_patch: released | ||
| vendor_advisory_date: 2026-06-15 | ||
| epss: 0.18 | ||
| cisa_kev: false | ||
| asset_exposure: internal | ||
| ``` | ||
|
|
||
| **Expected result** | ||
|
|
||
| The exception must be revalidated immediately. "Patch unavailable" is no longer a valid basis, and the report must set a new remediation deadline and patch window instead of leaving the exception unchanged until September. | ||
|
|
||
| ## Case 2: KEV listing and EPSS surge during approved exception | ||
|
|
||
| **Input** | ||
|
|
||
| ```yaml | ||
| exception: | ||
| id: EXC-2026-0051 | ||
| cve: CVE-2026-23456 | ||
| status: approved | ||
| original_sla: P3 | ||
| compensating_control: waf_rule | ||
| review_date: 2026-08-30 | ||
| current_state: | ||
| cisa_kev: true | ||
| epss_current: 0.73 | ||
| epss_30_day_prior: 0.08 | ||
| public_exploit: reliable_poc | ||
| asset_exposure: internet_facing | ||
| ``` | ||
|
|
||
| **Expected result** | ||
|
|
||
| Escalate immediately. KEV listing, EPSS surge, reliable public exploit, and internet exposure invalidate routine review cadence and require SSVC/SLA re-evaluation with P0/P1 leadership visibility. | ||
|
|
||
| ## Case 3: Asset exposure drift invalidates risk acceptance | ||
|
|
||
| **Input** | ||
|
|
||
| ```yaml | ||
| exception: | ||
| id: EXC-2026-0060 | ||
| cve: CVE-2026-34567 | ||
| status: approved | ||
| reason: asset internal only | ||
| original_sla: P3 | ||
| current_state: | ||
| asset_exposure_previous: internal | ||
| asset_exposure_current: internet_facing | ||
| business_criticality_current: critical | ||
| cmdb_change_date: 2026-06-20 | ||
| compensating_control_validation: stale | ||
| ``` | ||
|
|
||
| **Expected result** | ||
|
|
||
| Re-score the vulnerability using the current exposure and criticality. The previous risk acceptance must not remain valid because it depended on obsolete asset assumptions. | ||
|
|
||
| ## Case 4: Compensating control fails after exploit details change | ||
|
|
||
| **Input** | ||
|
|
||
| ```yaml | ||
| exception: | ||
| id: EXC-2026-0077 | ||
| cve: CVE-2026-45678 | ||
| status: approved | ||
| original_sla: P2 | ||
| compensating_control: waf_virtual_patch | ||
| current_state: | ||
| new_exploit_path: bypasses_original_waf_signature | ||
| control_retest: failed | ||
| affected_assets_covered: 12_of_20 | ||
| residual_risk: undocumented | ||
| ``` | ||
|
|
||
| **Expected result** | ||
|
|
||
| Remove the SLA extension or mark it invalid. The report must require updated control testing, residual risk documentation, and a new remediation deadline for uncovered or bypassable assets. | ||
|
|
||
| ## Case 5: No material change with documented revalidation | ||
|
|
||
| **Input** | ||
|
|
||
| ```yaml | ||
| exception: | ||
| id: EXC-2026-0088 | ||
| cve: CVE-2026-56789 | ||
| status: approved | ||
| original_sla: P3 | ||
| review_date: 2026-07-30 | ||
| current_state: | ||
| vendor_patch: unavailable | ||
| cisa_kev: false | ||
| epss_current: 0.012 | ||
| epss_30_day_prior: 0.011 | ||
| public_exploit: none | ||
| asset_exposure: internal | ||
| compensating_control_validation: passed | ||
| ``` | ||
|
|
||
| **Expected result** | ||
|
|
||
| Maintain the exception only if the report records the last revalidation date, trigger checks, current finding, owner, and next revalidation date. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When a deferred item has no material change, the new validation fixture requires the report to record the owner, and the trigger list also calls out owner accountability at 50% duration, but this exact output table has no
Ownercolumn. Agents following the required format can satisfy the table while omitting who owns the next revalidation, undermining the accountability gate this change adds.Useful? React with 👍 / 👎.