# SOC 2 Automatic Patching: Do Unattended Security Updates Need a Change Ticket?

Source: https://truvocyber.com/blog/soc-2-automatic-patching-change-management
Published: 2026-10-18
Topic cluster: SOC 2

> SOC 2 automatic patching: how to treat unattended-upgrades, dnf-automatic and WSUS auto-approval as a pre-approved standard change under CC8.1, with the logs auditors sample.

A bare-metal SaaS company preparing for its first SOC 2 Type 2 asked us whether each nightly security update from unattended-upgrades needs its own change ticket. One approval can cover all of them: SOC 2 automatic patching fits CC8.1 when the company documents it as a pre-approved standard change, limits its scope, keeps the package logs, alerts on failures and reviews the results monthly.

At a glance

- **Criterion**: CC8.1 change management, including the point of focus *Manages Patch Changes*.
- **The approval**: One documented, risk-assessed approval of the automatic patching procedure, recorded in the change management policy as a standard change.
- **Scope limits**: Security repositories only; kernel, major-version and OS upgrades go through a normal change ticket.
- **Evidence per run**: `/var/log/unattended-upgrades/`, `/var/log/apt/history.log`, `dnf history`, or WSUS reports.
- **Common audit exceptions**: Automatic upgrades of everything, auto-approved OS upgrades, and logs rotated away before the auditor asks.

## Does SOC 2 CC8.1 Require a Change Ticket for Every Automatic Security Update?

SOC 2 CC8.1 requires changes to be authorized, tested, approved and implemented, and leaves open whether one approval covers a single change or a whole procedure. The criterion reads: *The entity authorizes, designs, develops or acquires, configures, documents, tests, approves, and implements changes to infrastructure, data, software, and procedures to meet its objectives.* Its point of focus *Manages Patch Changes* asks for *a process ... to identify, evaluate, test, approve, and implement patches in a timely manner on infrastructure and software.*

Automatic patching meets both when the approval covers the procedure. ITIL 4 calls this a standard change: a low-risk, pre-authorized change that follows a documented procedure. The company assesses and approves the procedure once; each run inside that scope needs no new approval.

Key insight

**SOC 2 automatic patching passes when the approval covers the procedure and the logs cover each run.**

Auditors test the approved scope and the record of what each run installed.

The [SOC 2 CC8.1 change management guide](https://truvocyber.com/blog/soc-2-cc8-1-change-management) covers the full criterion; the [SOC 2 patch management guide for on-prem](https://truvocyber.com/blog/soc2-patch-management-on-prem) covers tiers, SLAs and maintenance windows for ticketed patches.

## Why Automatic Patching and SOC 2 Change Management Pull in Opposite Directions

Automatic patching removes the human step; SOC 2 change management asks for evidence of a human decision. In our experience, companies end up in one of three places:

- **Automatic updates on, policy silent.** Ubuntu Server enables automatic security updates by default, often outside the written policy. The auditor then finds production changes with no ticket.
- **Automatic updates off to satisfy the policy.** Patches wait for the monthly change window, and the vulnerability scanner reports findings older than the patch SLA.
- **Automatic updates on and documented as a standard change.** The policy names the procedure, scope and evidence, which satisfies both security and the auditor.

## How to Write Automatic Patching Into the Change Management Policy as a Standard Change

Add automatic patching to the change management policy, or to a standard change catalogue it points to, as an entry covering these elements:
Policy elementExample wording or settingChange typeStandard change, pre-approved by the change owner on a dated recordSystems in scopeProduction and staging Linux hosts in the asset inventory, by groupWhat may installPackages from the distribution security repository onlyWhat may not installKernel packages, database engines, major-version upgrades, OS release upgrades, packages on the exclusion listTestingStaging hosts receive updates first; production updates on a later scheduleRebootAutomatic reboots only inside a named window, or none, with reboots scheduled through a normal changeMonitoringFailure alerts to the on-call channel; daily summary reportEvidencePackage logs retained for the audit period plus a marginReviewMonthly review of applied updates and failures, signed off by the ownerRe-approvalAny change to scope, repositories or exclusions goes through a normal change ticket, because it changes the risk the original approval covered

## How to Configure Unattended-Upgrades, DNF Automatic and WSUS to Match the Policy

Each tool has settings that map to the policy table. Keep the configuration under version control as evidence that hosts match the documented scope.

### Ubuntu and Debian: unattended-upgrades

unattended-upgrades reads `/etc/apt/apt.conf.d/50unattended-upgrades` for behaviour and `/etc/apt/apt.conf.d/20auto-upgrades` for whether and how often it runs (daily by default on Ubuntu). Ubuntu's default allowed origins are the release, `-security` and ESM security pockets; `-updates`, `-proposed` and `-backports` are commented out.

- **Scope:** keep the allowed origins at the security pockets. Add packages the policy excludes to `Unattended-Upgrade::Package-Blacklist`, for example `"linux-"` for kernel packages.
- **Reboots:** `Unattended-Upgrade::Automatic-Reboot` is `false` by default. If the policy allows reboots, set `Automatic-Reboot-Time` to the approved window.
- **Monitoring:** set `Unattended-Upgrade::Mail`; `MailReport` accepts `on-change` (the default), `always` or `only-on-error`.
- **Logs:** each run writes to `/var/log/unattended-upgrades/unattended-upgrades.log`, with dpkg output in `unattended-upgrades-dpkg.log`. APT also records every install, upgrade and removal, with package versions and a timestamp, in `/var/log/apt/history.log`.

### RHEL, Rocky, Alma and Fedora: DNF Automatic

Both DNF versions read `/etc/dnf/automatic.conf`. With DNF 4, the `dnf-automatic` package provides `dnf-automatic-install.timer`, plus notify-only and download-only timers that let staging and production use different modes. With DNF5, the plugin is `dnf5 automatic`, and a single `dnf5-automatic.timer` follows the configuration file.

- **Scope:** `upgrade_type = security` installs only updates with a security advisory. `upgrade_type = default` installs all available updates.
- **Install:** `apply_updates = yes` installs the downloaded updates; the default is no.
- **Reboots:** `reboot` accepts `never` (the default), `when-changed` or `when-needed` in both versions. Keep `never` unless the timer fires inside the approved window.
- **Monitoring and logs:** `emit_via` sends results by email, command or motd. `dnf history list` and `dnf history info` show each transaction.

### Windows Server: WSUS automatic approval rules

WSUS Automatic Approvals approve updates for chosen computer groups by classification and product, with an optional deadline.

- **Scope:** create rules for the Security Updates and Critical Updates classifications only, approved first for a test group.
- **Upgrades classification:** leave it out. Microsoft warns that Windows feature updates are classified as Upgrades, and auto-approving them can upgrade devices to a new OS version.
- **Evidence:** the WSUS Update Status Summary report shows the installation status of each update across computers.

Record these settings in the hardening standard; the [SOC 2 configuration baselines guide for bare metal](https://truvocyber.com/blog/soc2-configuration-baselines-bare-metal) covers drift checks.

## What SOC 2 Auditors Sample for Automatic Patching

SOC 2 auditors read the design, then sample dates or hosts from the observation period and ask for evidence such as:

1. **The policy entry** approving automatic patching as a standard change, with date and approver.
2. **The configuration** on sampled hosts, matching the policy's repositories, exclusions and reboot settings.
3. **Run logs for sampled dates**, such as `/var/log/apt/history.log` entries or `dnf history info` output.
4. **Failure handling**: an alert from a failed run and the ticket or note that resolved it.
5. **Periodic reviews**: the monthly sign-offs on what was applied and what failed.
6. **Normal change tickets** for anything outside scope, such as the last kernel or database version upgrade.

Scan results showing fixes within the patch SLA back this up, as the [SOC 2 vulnerability scanning guide for on-prem](https://truvocyber.com/blog/soc2-vulnerability-scanning-on-prem) explains. Many GRC platforms connect only to cloud and SaaS sources, so plan how server package logs reach the evidence store; the [guide to SOC 2 evidence collection on-prem](https://truvocyber.com/blog/soc-2-evidence-collection-on-prem) covers this.

## SOC 2 Automatic Patching Gaps That Become Audit Exceptions

An automatic patching standard change becomes an audit exception when the configuration exceeds the approval or evidence is missing:
Common audit exceptionsWhy the auditor flags itFixAll updates enabled (`-updates` origin, `upgrade_type = default`)Feature and version changes installed under a security-only approvalLimit to security repositories; move other updates to normal changesWSUS auto-approves Upgrades or all classificationsOS upgrades with no assessment, testing or approvalRestrict rules to Security and Critical UpdatesKernel and major versions in scope with automatic rebootsUnplanned reboots and version jumps, outside any windowExclude them, or allow reboots only inside a named windowLogs not retainedNo evidence of what changed on sampled datesShip logs to central logging or archive them monthly, before logrotate deletes themSilent failuresHosts stop patching with no alertFailure alerts plus scan results compared against the SLAPolicy and configuration disagreeThe written control and the system differVersion-control the config; review it with the policy each yearNo periodic reviewNo evidence of oversight of the automated changeMonthly sign-off on applied updates and failures

The [guide to SOC 2 change management with tickets](https://truvocyber.com/blog/soc2-change-management-tickets) covers the normal and emergency change paths for everything outside the standard change.

## How to Set Up SOC 2 Automatic Patching Before the Observation Period

Set up automatic patching, typically a few days of work, before the observation period starts so every sampled date has evidence:

1. **Find what is already running.** Record each host's current unattended-upgrades, DNF Automatic or WSUS approval settings.
2. **Write the standard change entry** in the change management policy, using the table above, and record a dated approval.
3. **Align the configuration** to the policy: security repositories, exclusions, reboot window, notifications.
4. **Stage first.** Put staging hosts on an earlier schedule than production.
5. **Set log retention** to cover the full observation period, or send package logs to central logging.
6. **Add failure alerts** and schedule the monthly review with a named owner and backup.
7. **Do one dry run.** `unattended-upgrade --dry-run` simulates the run without changing any packages.

## SOC 2 Automatic Patching Comes Down to One Approval and Continuous Evidence

Scope limits, logs and a monthly review take far less work than ticketing every nightly update, and they keep security fixes reaching servers within hours. The [SOC 2 for bare metal and on-prem infrastructure](https://truvocyber.com/services/soc-2-bare-metal) page lists the other controls that change when a company operates its own servers.

## Related Guides

- [SOC 2 Vulnerability Risk Acceptance: What to Do When There Is No Vendor Fix](https://truvocyber.com/blog/soc-2-vulnerability-risk-acceptance)
- [Datadog for SOC 2 Vulnerability Scanning: Datadog vs Wazuh vs Nessus On-Prem](https://truvocyber.com/blog/soc-2-vulnerability-scanner-datadog-wazuh-nessus)

### Patching that passes the audit

Truvo writes the change policy, sets up the patch evidence, and collects it on your on-prem and bare metal servers.[Book Your Strategy Call](/contact-us)

## Frequently Asked Questions

### Do automatic security updates need a change ticket for SOC 2?

Automatic security updates need one approval of the procedure when the change management policy documents them as a pre-approved standard change. The approval covers security repositories only, named exclusions, a reboot window and monitoring. Package logs such as `/var/log/apt/history.log` or `dnf history` evidence each run.

### Is unattended-upgrades acceptable for SOC 2?

Yes, when its scope matches a documented standard change: security origins only, policy exclusions blacklisted, reboots inside the approved window, mail reports on, and logs in `/var/log/unattended-upgrades/` retained for the full observation period.

### Should kernel updates be applied automatically under SOC 2?

The company's policy decides. Many companies exclude kernel packages because they need a reboot, and patch them through a normal change in a maintenance window. If kernel updates stay in scope, the policy limits automatic reboots to a defined window.

### What evidence do SOC 2 auditors want for automatic patching?

Auditors want the standard change approval, the configuration on sampled hosts, package logs for sampled dates, resolved failure alerts and monthly review sign-offs, supported by scans showing fixes within the patch SLA.

### Does SOC 2 set a deadline for applying security patches?

SOC 2 leaves the deadline to the company. The CC8.1 point of focus asks for patches in a timely manner, and the company defines timely in its policy, usually as SLAs by severity, which the auditor tests against.

## Sources

- [AICPA, 2017 Trust Services Criteria (With Revised Points of Focus, 2022)](https://www.aicpa-cima.com/resources/download/2017-trust-services-criteria-with-revised-points-of-focus-2022)
- [ITSM.tools, ITIL 4 change enablement](https://itsm.tools/change-enablement/)
- [ServiceNow, Change types (standard change definition)](https://www.servicenow.com/docs/r/it-service-management/change-management/change-types.html)
- [Ubuntu Server documentation, Automatic updates](https://ubuntu.com/server/docs/how-to/software/automatic-updates/)
- [Ubuntu manpages, unattended-upgrade(8)](https://manpages.ubuntu.com/manpages/resolute/man8/unattended-upgrade.8.html)
- [Debian APT source, history log writer (dpkgpm.cc)](https://salsa.debian.org/apt-team/apt/-/blob/main/apt-pkg/deb/dpkgpm.cc)
- [DNF documentation, DNF Automatic](https://dnf.readthedocs.io/en/latest/automatic.html)
- [DNF5 documentation, Automatic command](https://dnf5.readthedocs.io/en/latest/dnf5_plugins/automatic.8.html)
- [DNF5 documentation, history command](https://dnf5.readthedocs.io/en/latest/commands/history.8.html)
- [Microsoft Learn, Approve and deploy updates in WSUS](https://learn.microsoft.com/en-us/windows-server/administration/windows-server-update-services/deploy/3-approve-and-deploy-updates-in-wsus)

{
  "@context": "https://schema.org",
  "@type": "FAQPage",
  "mainEntity": [
    {
      "@type": "Question",
      "name": "Do automatic security updates need a change ticket for SOC 2?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Automatic security updates need one approval of the procedure when the change management policy documents them as a pre-approved standard change. The approval covers security repositories only, named exclusions, a reboot window and monitoring. Package logs such as /var/log/apt/history.log or dnf history evidence each run."
      }
    },
    {
      "@type": "Question",
      "name": "Is unattended-upgrades acceptable for SOC 2?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Yes, when its scope matches a documented standard change: security origins only, policy exclusions blacklisted, reboots inside the approved window, mail reports on, and logs in /var/log/unattended-upgrades/ retained for the full observation period."
      }
    },
    {
      "@type": "Question",
      "name": "Should kernel updates be applied automatically under SOC 2?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "The company's policy decides. Many companies exclude kernel packages because they need a reboot, and patch them through a normal change in a maintenance window. If kernel updates stay in scope, the policy limits automatic reboots to a defined window."
      }
    },
    {
      "@type": "Question",
      "name": "What evidence do SOC 2 auditors want for automatic patching?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "Auditors want the standard change approval, the configuration on sampled hosts, package logs for sampled dates, resolved failure alerts and monthly review sign-offs, supported by scans showing fixes within the patch SLA."
      }
    },
    {
      "@type": "Question",
      "name": "Does SOC 2 set a deadline for applying security patches?",
      "acceptedAnswer": {
        "@type": "Answer",
        "text": "SOC 2 leaves the deadline to the company. The CC8.1 point of focus asks for patches in a timely manner, and the company defines timely in its policy, usually as SLAs by severity, which the auditor tests against."
      }
    }
  ]
}
