Patch Lifecycle

This topic describes how a device communicates with the Tenable Patch server to determine how and when to apply patches.

Initial Device Status Reporting

When you first install the Tenable Patch Management Client on a device, the following process occurs:

  1. The client reports system details, such as the operating system, device name, and IP address, to the server.

  2. On Windows devices, the client disables the automatic and manual Windows Update triggers.

  3. The server pulls operating system-specific patch metadata from the Tenable Patch Management CDN and sends it to devices.

  4. The client scans the device by using that metadata and reports the installed software, versions, and patch status over the peer-to-peer network.

Autonomous Patch Cycle

After the initial report, the server manages patching autonomously:

  • The object model on the server sets the desired state of each device. The desired state determines whether and when patches deploy, generates approvals, sends notifications, and stages rollouts.

  • The server routes each new applicable patch to every Strategy that manages the affected software. Each Strategy filters the patch and generates a desired state.

Device Processing of Desired State

A device processes its desired state as follows:

  • If no maintenance window exists for the urgency of a patch, the device applies the changes immediately. Otherwise, the device waits for the maintenance window.

  • After each patch, the device runs a partial scan and reports the result.

Acquiring Content

Devices acquire patch content in one of the following ways:

  • If content prestaging is enabled, devices download content before the maintenance window.

  • If content prestaging is not enabled, devices download content when they apply the patch.

Devices optimize bandwidth by using smart logic. For more information, see Content Flow.

Core Concepts

Patch Status

During a scan, the device assigns one of the following statuses to each patch:

  • Applicable: The patch is newer than the installed version, and no newer version exists.

  • Installed: The patch matches the latest installed version.

  • Installation in Progress: The patch is currently installing.

  • Outdated: The patch is newer than the installed version, but a newer version also exists.

  • Not Applicable: A newer version of the product is already installed.

Devices run a full scan daily. Devices also scan when new metadata arrives, when the desired state changes, and when a deployment progresses, succeeds, or fails. The client logs the results in Patching.log.

Desired State

Each applicable patch has one of the following desired states:

  • Mandatory Install: Install the patch at the next opportunity.

  • DoNotInstall: Do not install the patch.

  • Uninstall: Uninstall the product.

  • Rollback: Roll back to a specified patch version.

  • NoChange: Take no action.

The client logs changes to the desired state in PatchingPolicyClient.log.

Compliance

A product is compliant when no newer version is available. If an excluded patch is the only gap, the product is compliant by exclusions.

Consistency

Consistency measures whether a device meets its desired state. The server evaluates consistency for each patch. For example, a patch with a desired state of Mandatory Install that the device reports as Applicable is inconsistent. If the device reports the patch as Installed, the patch is consistent.

Maintenance and Reboot Windows

  • Maintenance window: The period when a device can apply patches, uninstall products, or roll back patches. Reboots wait for the reboot window.

  • Reboot window: The period when a device can restart after a patch change.

You configure windows on the server. Windows can differ by urgency: low, normal, high, or critical.