Patch Status (sec-updates)

Checks for pending security updates and warns about operating systems that have reached or are approaching end-of-life.

Configuration

ParameterTypeDefaultDescription
enabledbooltrueEnable/disable module
security_updates_warningint1Number of pending updates to trigger a warning
security_updates_errorint10Number of pending updates to trigger an error
eol_warn_daysint90Days before EOL to issue a warning
eol_overridesdict{}Override EOL dates (e.g., {"Ubuntu 22.04": "2027-04-01"})

YAML Example

sec_updates:
  enabled: true
  security_updates_warning: 1
  security_updates_error: 5
  eol_warn_days: 180

Diagnostic Codes

CodeSeverityMeaningRecommendation
20010–2System patch statusInstall updates promptly (apt upgrade / Windows Update)
20021–2Operating system approaching EOL or is EOLPlan upgrade to a supported version
20901No package manager detectedCheck distribution

Platform Support

  • Linux: Uses apt, dnf, or yum for update checks. EOL dates from internal database.
  • Windows: Checks via Windows Update API.