Skip to content

feature: close SNow incident after CVE remediation with full details#132

Merged
toharris-rh merged 1 commit into
mainfrom
feature/snow-cve-remediation-close-incident
Jun 16, 2026
Merged

feature: close SNow incident after CVE remediation with full details#132
toharris-rh merged 1 commit into
mainfrom
feature/snow-cve-remediation-close-incident

Conversation

@toharris-rh

Copy link
Copy Markdown
Owner

Summary

  • Wires close_incident (success) and update_inc_failure (failure) nodes to the patch_host step in the SNow CVE Remediation workflow — the incident is now resolved (state 6) on success, or updated to In Progress (state 2) with error details on failure.
  • Enriches inc_success_comment and inc_failure_comment in update_incident.yml with CVE ID, synopsis, host FQDN, remediation plan name, and the full Insights-authored remediation playbook content — all flow as set_stats artifacts from the fetch_remediation node so no extra wiring is needed.
  • Mirrors the close pattern already used in the Remediate CVE Workflow.

Closes #131

🤖 Generated with Claude Code

Wire close_incident (success) and update_inc_failure (failure) nodes
to the patch_host step in the SNow CVE Remediation workflow. Enrich
the update_incident.yml close/failure comments with CVE ID, synopsis,
host FQDN, remediation plan name, and the Insights-authored playbook
content (all available as set_stats artifacts from fetch_remediation).

Closes #131

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@toharris-rh toharris-rh requested a review from ericcames as a code owner June 16, 2026 22:18
@toharris-rh toharris-rh merged commit 26d39d5 into main Jun 16, 2026
2 checks passed
@toharris-rh toharris-rh deleted the feature/snow-cve-remediation-close-incident branch June 16, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SNow CVE Remediation workflow doesn't close the ServiceNow incident after patching

1 participant