|
|
Patch Scheduling Agent
Author: Venkata Sudhakar
Applying security patches quickly is essential, but patching the payment gateway at 2 PM on a Friday during peak shopping hours is reckless. ShopMax India needs a patch scheduling agent that balances patch urgency against system criticality and business traffic patterns to produce a safe, prioritised deployment schedule.
This tutorial builds a Gemini ADK agent that takes a list of pending patches with severity ratings, checks each system's maintenance window availability, and generates a week-ahead patch deployment schedule with team assignments.
The below example shows a patch scheduling agent for ShopMax India in a business context.
It gives the following output,
Patch Deployment Schedule - ShopMax India | Week of Apr 8, 2026
Total: 4 patches | 1 Critical
[CRITICAL] PATCH-001 - Payment Gateway
Desc : OpenSSL vulnerability fix
Window : ASAP - within 24 hours
Team : Security + Platform Engineering (on-call)
Downtime: Not required (rolling patch)
[HIGH] PATCH-002 - WMS Server
Desc : Linux kernel security update
Window : Saturday 22:00-02:00
Team : Platform Engineering
Downtime: Required - schedule warehouse ops pause
[MEDIUM] PATCH-003 - Employee Portal
Desc : Apache web server update
Window : Within 14 days - Saturday 22:00-02:00
Team : IT Operations
Downtime: Required
[LOW] PATCH-004 - Marketing Website
Desc : CMS plugin update
Window : Within 30 days - Any weeknight 23:00-01:00
Team : IT Operations
Downtime: Not required
ShopMax India can run this agent every Monday to generate the week's patch deployment schedule, automatically creating calendar invites for the assigned teams and Jira sub-tasks for each patch. Critical patches trigger an immediate Slack notification to the security team lead with the 24-hour deadline clearly stated.
|
|