implementing-patch-management-workflow

Patch management is the systematic process of identifying, testing, deploying, and verifying software updates to remediate vulnerabilities across an organization's IT infrastructure. An effective patc

Works with

Claude CodeCursorClineWindsurfCodexGooseGitHub CopilotZed

0

total installs

0

this week

8.6K

GitHub stars

0

upvotes

Install Skill

Run in your terminal

$npx skills install mukul975/Anthropic-Cybersecurity-Skills/implementing-patch-management-workflow

0

installs

0

this week

8.6K

stars

Installation Guide

How to use implementing-patch-management-workflow on Cursor

AI-first code editor with Composer

1

Prerequisites

Before installing skills in Cursor, ensure your development environment meets these requirements:

  • Cursor installed and configured on your machine
  • Node.js 16+ with npm — verify with node --version
  • Active project directory where you want to add implementing-patch-management-workflow
2

Run the install command

Execute the skills CLI command in your project's root directory to begin installation:

$npx skills install mukul975/Anthropic-Cybersecurity-Skills/implementing-patch-management-workflow

Fetches implementing-patch-management-workflow from mukul975/Anthropic-Cybersecurity-Skills and configures it for Cursor.

3

Select Cursor when prompted

The CLI shows a list of agents. Use arrow keys and space to select Cursor:

◆ Which agents do you want to install to?
│ ── Universal (.agents/skills) ────────────────
│ · Cline · Codex · Goose · Windsurf
│ ●Cursor(selected)
│ · Cursor · Aider · Continue
4

Verify installation

Confirm successful installation by checking the skill directory location:

.cursor/skills/implementing-patch-management-workflow

Restart Cursor to activate implementing-patch-management-workflow. Access via /implementing-patch-management-workflow in your agent's command palette.

Security Notice

We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.

Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.

Documentation

name
implementing-patch-management-workflow
description
Patch management is the systematic process of identifying, testing, deploying, and verifying software updates to remediate vulnerabilities across an organization's IT infrastructure. An effective patc
domain
cybersecurity
subdomain
vulnerability-management
tags
- vulnerability-management - patch-management - wsus - sccm - ansible - risk
version
'1.0'
author
mahipal
license
Apache-2.0
nist_csf
- ID.RA-01 - ID.RA-02 - ID.IM-02 - ID.RA-06

Implementing Patch Management Workflow

Overview

Patch management is the systematic process of identifying, testing, deploying, and verifying software updates to remediate vulnerabilities across an organization's IT infrastructure. An effective patch management workflow reduces the attack surface while minimizing operational disruption through structured testing, approval gates, and phased rollouts.

When to Use

  • When deploying or configuring implementing patch management workflow capabilities in your environment
  • When establishing security controls aligned to compliance requirements
  • When building or improving security architecture for this domain
  • When conducting security assessments that require this implementation

Prerequisites

  • Vulnerability scan results identifying missing patches
  • Patch management tools (WSUS, SCCM/MECM, Ansible, Intune, Jamf)
  • Test environment mirroring production
  • Change management process (ITIL or equivalent)
  • Asset inventory with OS and application versions

Core Concepts

Patch Lifecycle Phases

  1. Discovery: Identify available patches from vendors and vulnerability scans
  2. Assessment: Evaluate patch applicability and risk
  3. Prioritization: Rank patches by severity, exploitability, and asset criticality
  4. Testing: Validate patches in non-production environment
  5. Approval: Change advisory board (CAB) review and approval
  6. Deployment: Phased rollout to production systems
  7. Verification: Confirm successful installation and no regressions
  8. Reporting: Document compliance metrics and exceptions

Patch Categories

  • Security Patches: Address CVEs and security vulnerabilities
  • Critical Updates: Non-security bug fixes affecting stability
  • Service Packs: Cumulative update collections
  • Feature Updates: New functionality (Windows feature updates, etc.)
  • Firmware Updates: BIOS/UEFI, NIC, storage controller firmware
  • Third-Party Patches: Adobe, Java, Chrome, Firefox, etc.

Deployment Rings (Phased Rollout)

RingEnvironment% of FleetSoak TimePurpose
Ring 0Lab/TestN/A24-48 hrsFunctional validation
Ring 1IT Early Adopters5%48-72 hrsReal-world pilot
Ring 2Business Pilot15%5-7 daysBroader compatibility
Ring 3General Deployment50%7-14 daysMain rollout
Ring 4Mission Critical30%After Ring 3Final deployment

Workflow

Step 1: Configure Patch Sources

# WSUS (Windows Server Update Services)
# Configure WSUS server to sync with Microsoft Update
# Via PowerShell on WSUS server:
Install-WindowsFeature -Name UpdateServices -IncludeManagementTools
& "C:\Program Files\Update Services\Tools\WsusUtil.exe" postinstall CONTENT_DIR=D:\WSUS

# Configure GPO for WSUS clients
# Computer Configuration > Administrative Templates > Windows Components > Windows Update
# Specify intranet Microsoft update service location: http://wsus-server:8530
# Ansible: Configure patch repositories for Linux
# roles/patch-management/tasks/configure_repos.yml
---
- name: Configure RHEL patch repository
  yum_repository:
    name: rhel-patches
    description: RHEL Security Patches
    baseurl: https://satellite.corp.local/pulp/repos/patches
    gpgcheck: yes
    gpgkey: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
    enabled: yes

- name: Configure Ubuntu patch sources
  apt_repository:
    repo: "deb https://apt-mirror.corp.local/ubuntu {{ ansible_distribution_release }}-security main"
    state: present
  when: ansible_os_family == "Debian"

Step 2: Automated Patch Assessment

# patch_assessment.py - Correlate vulnerability scans with available patches
import subprocess
import platform
import json

def get_windows_pending_patches():
    """Query Windows Update for pending patches via PowerShell."""
    ps_cmd = """
    $Session = New-Object -ComObject Microsoft.Update.Session
    $Searcher = $Session.CreateUpdateSearcher()
    $Results = $Searcher.Search("IsInstalled=0 AND Type='Software'")
    $Results.Updates | ForEach-Object {
        [PSCustomObject]@{
            Title = $_.Title
            KB = ($_.KBArticleIDs -join ',')
            Severity = $_.MsrcSeverity
            Size = [math]::Round($_.MaxDownloadSize / 1MB, 2)
            Published = $_.LastDeploymentChangeTime.ToString('yyyy-MM-dd')
            CVE = ($_.CveIDs -join ',')
        }
    } | ConvertTo-Json
    """
    result = subprocess.run(
        ["powershell", "-Command", ps_cmd],
        capture_output=True, text=True, timeout=120
    )
    return json.loads(result.stdout) if result.stdout.strip() else []

def get_linux_pending_patches():
    """Query package manager for available security updates."""
    if platform.system() != "Linux":
        return []

    # Try apt (Debian/Ubuntu)
    try:
        result = subprocess.run(
            ["apt", "list", "--upgradable"],
            capture_output=True, text=True, timeout=60
        )
        packages = []
        for line in result.stdout.strip().split("\n")[1:]:
            if line:
                parts = line.split("/")
                packages.append({
                    "package": parts[0],
                    "available_version": parts[1].split()[0] if len(parts) > 1 else "",
                    "source": "apt"
                })
        return packages
    except FileNotFoundError:
        pass

    # Try yum/dnf (RHEL/CentOS)
    try:
        result = subprocess.run(
            ["dnf", "updateinfo", "list", "security", "--available"],
            capture_output=True, text=True, timeout=60
        )
        packages = []
        for line in result.stdout.strip().split("\n"):
            parts = line.split()
            if len(parts) >= 3:
                packages.append({
                    "advisory": parts[0],
                    "severity": parts[1],
                    "package": parts[2],
                    "source": "dnf"
                })
        return packages
    except FileNotFoundError:
        return []

Step 3: Patch Testing Automation

# Ansible playbook: test_patches.yml
---
- name: Test Patches in Lab Environment
  hosts: test_servers
  become: yes
  vars:
    rollback_snapshot: "pre-patch-{{ ansible_date_time.date }}"

  tasks:
    - name: Create VM snapshot before patching
      community.vmware.vmware_guest_snapshot:
        hostname: "{{ vcenter_host }}"
        username: "{{ vcenter_user }}"
        password: "{{ vcenter_pass }}"
        datacenter: "{{ datacenter }}"
        name: "{{ inventory_hostname }}"
        snapshot_name: "{{ rollback_snapshot }}"
        state: present
      delegate_to: localhost

    - name: Apply security patches (RHEL/CentOS)
      dnf:
        name: "*"
        state: latest
        security: yes
        update_cache: yes
      when: ansible_os_family == "RedHat"
      register: patch_result

    - name: Apply security patches (Ubuntu/Debian)
      apt:
        upgrade: dist
        update_cache: yes
        only_upgrade: yes
      when: ansible_os_family == "Debian"
      register: patch_result

    - name: Reboot if required
      reboot:
        reboot_timeout: 600
        msg: "Rebooting for patch installation"
      when: patch_result.changed

    - name: Run post-patch validation
      include_tasks: validate_services.yml

    - name: Report patch results
      debug:
        msg: "Patching {{ 'succeeded' if patch_result.changed else 'no updates' }} on {{ inventory_hostname }}"

Step 4: Production Deployment

# deploy_patches.yml - Phased production rollout
---
- name: Ring 1 - IT Early Adopters
  hosts: ring1_hosts
  serial: "25%"
  max_fail_percentage: 10
  become: yes
  tasks:
    - import_tasks: apply_patches.yml
    - import_tasks: validate_services.yml
    - name: Wait for soak period
      pause:
        hours: 48
      run_once: true

- name: Ring 2 - Business Pilot
  hosts: ring2_hosts
  serial: "20%"
  max_fail_percentage: 5
  become: yes
  tasks:
    - import_tasks: apply_patches.yml
    - import_tasks: validate_services.yml

- name: Ring 3 - General Deployment
  hosts: ring3_hosts
  serial: "10%"
  max_fail_percentage: 3
  become: yes
  tasks:
    - import_tasks: apply_patches.yml
    - import_tasks: validate_services.yml

Step 5: Verification and Reporting

Run a post-patch vulnerability scan to confirm patch installation:

# Trigger post-patch verification scan
curl -k -X POST "https://nessus:8834/scans/$VERIFY_SCAN_ID/launch" \
  -H "X-Cookie: token=$TOKEN"

# Compare pre-patch and post-patch results
# Expecting reduction in vulnerabilities matching deployed patches

Patch Management SLAs

SeveritySLA (Internet-Facing)SLA (Internal)SLA (Air-Gapped)
Critical (CVSS 9+)48 hours7 days14 days
High (CVSS 7-8.9)7 days14 days30 days
Medium (CVSS 4-6.9)30 days30 days60 days
Low (CVSS 0.1-3.9)90 days90 days90 days

Best Practices

  1. Maintain current asset inventory to ensure complete patch coverage
  2. Test all patches in a non-production environment before deployment
  3. Use phased rollouts with automatic rollback capabilities
  4. Coordinate patch windows with change management process
  5. Track patch compliance metrics and report to leadership
  6. Automate where possible to reduce manual effort and human error
  7. Maintain exception documentation for systems that cannot be patched
  8. Include third-party application patching (not just OS patches)

Common Pitfalls

  • Patching only operating systems and ignoring third-party applications
  • No rollback plan if patches cause service disruption
  • Treating all patches with equal urgency (no risk-based prioritization)
  • Manual patch processes that cannot scale
  • No post-patch verification to confirm successful installation
  • Ignoring firmware and BIOS updates

Related Skills

  • prioritizing-vulnerabilities-with-cvss-scoring
  • implementing-vulnerability-remediation-sla
  • implementing-continuous-vulnerability-monitoring

List & Monetize Your Skill

Submit your Claude Code skill and start earning

Get started →

Use Cases

User Story & Requirements Generation

Create detailed user stories, acceptance criteria, and feature specs

Example

Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios

Reduce spec writing time by 50%, ensure comprehensive coverage

Competitive Analysis

Research competitors, compare features, identify gaps

Example

Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities

Complete competitive research in 2 hours instead of 2 days

Roadmap Prioritization

Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs

Example

Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale

Make data-driven prioritization decisions faster

Stakeholder Communication

Draft PRDs, status updates, and stakeholder presentations

Example

Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement

Save 3-5 hours/week on communication overhead

Implementation Guide

Prerequisites

  • Claude Desktop or compatible AI client
  • Access to product documentation and roadmap tools (Jira, Notion, etc.)
  • Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
  • Stakeholder contact information and communication channels

Time Estimate

30-60 minutes to see productivity improvements

Steps

  1. 1Install product management skill
  2. 2Start with user story generation for known feature
  3. 3Progress to competitive analysis: research 2-3 competitors
  4. 4Use for roadmap prioritization: apply RICE/ICE scoring
  5. 5Draft stakeholder communications and refine based on feedback
  6. 6Build template library for recurring PM tasks
  7. 7Share effective prompts with product team

Common Pitfalls

  • Not validating competitive research—verify facts before sharing
  • Accepting user stories without involving engineering team
  • Over-relying on frameworks without qualitative judgment
  • Not customizing outputs to company culture and communication style
  • Skipping stakeholder validation of generated requirements

Best Practices

✓ Do

  • +Validate research and competitive analysis with real data
  • +Collaborate with engineering when generating technical requirements
  • +Customize frameworks and templates to your company context
  • +Use skill for first drafts, refine with stakeholder input
  • +Document successful prompt patterns for PM tasks
  • +Combine AI efficiency with human judgment and intuition

✗ Don't

  • Don't publish competitive analysis without fact-checking
  • Don't finalize user stories without engineering review
  • Don't make prioritization decisions solely on AI scoring
  • Don't skip customer validation of generated requirements
  • Don't ignore company-specific context and culture

💡 Pro Tips

  • Provide context: company goals, constraints, customer feedback
  • Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
  • Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
  • Use skill for 70% generation + 30% customization to company needs

When to Use This

✓ Use when

Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.

✗ Avoid when

Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.

Learning Path

  1. 1Basic: user stories, feature specs, status updates
  2. 2Intermediate: competitive analysis, prioritization frameworks, PRDs
  3. 3Advanced: product strategy, go-to-market planning, OKR setting
  4. 4Expert: product vision, market positioning, business model innovation

Related Skills

Reviews

4.460 reviews
  • E
    Emma WhiteDec 16, 2024

    Useful defaults in implementing-patch-management-workflow — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

  • C
    Chaitanya PatilDec 8, 2024

    I recommend implementing-patch-management-workflow for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • L
    Layla SanchezDec 8, 2024

    Solid pick for teams standardizing on skills: implementing-patch-management-workflow is focused, and the summary matches what you get after install.

  • A
    Alexander RaoDec 4, 2024

    We added implementing-patch-management-workflow from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.

  • L
    Layla IyerDec 4, 2024

    implementing-patch-management-workflow fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • P
    Piyush GNov 27, 2024

    implementing-patch-management-workflow fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.

  • E
    Emma AgarwalNov 27, 2024

    implementing-patch-management-workflow has been reliable in day-to-day use. Documentation quality is above average for community skills.

  • K
    Kwame RobinsonNov 23, 2024

    implementing-patch-management-workflow reduced setup friction for our internal harness; good balance of opinion and flexibility.

  • A
    Alexander SanchezNov 23, 2024

    I recommend implementing-patch-management-workflow for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.

  • R
    Rahul SantraNov 7, 2024

    Useful defaults in implementing-patch-management-workflow — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.

showing 1-10 of 60

1 / 6

Discussion

Comments — not star reviews
  • No comments yet — start the thread.