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 covers the full criterion; the SOC 2 patch management guide for 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 element | Example wording or setting |
| Change type | Standard change, pre-approved by the change owner on a dated record |
| Systems in scope | Production and staging Linux hosts in the asset inventory, by group |
| What may install | Packages from the distribution security repository only |
| What may not install | Kernel packages, database engines, major-version upgrades, OS release upgrades, packages on the exclusion list |
| Testing | Staging hosts receive updates first; production updates on a later schedule |
| Reboot | Automatic reboots only inside a named window, or none, with reboots scheduled through a normal change |
| Monitoring | Failure alerts to the on-call channel; daily summary report |
| Evidence | Package logs retained for the audit period plus a margin |
| Review | Monthly review of applied updates and failures, signed off by the owner |
| Re-approval | Any 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-Rebootisfalseby default. If the policy allows reboots, setAutomatic-Reboot-Timeto the approved window. - Monitoring: set
Unattended-Upgrade::Mail;MailReportacceptson-change(the default),alwaysoronly-on-error. - Logs: each run writes to
/var/log/unattended-upgrades/unattended-upgrades.log, with dpkg output inunattended-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 = securityinstalls only updates with a security advisory.upgrade_type = defaultinstalls all available updates. - Install:
apply_updates = yesinstalls the downloaded updates; the default is no. - Reboots:
rebootacceptsnever(the default),when-changedorwhen-neededin both versions. Keepneverunless the timer fires inside the approved window. - Monitoring and logs:
emit_viasends results by email, command or motd.dnf history listanddnf history infoshow 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 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:
- The policy entry approving automatic patching as a standard change, with date and approver.
- The configuration on sampled hosts, matching the policy's repositories, exclusions and reboot settings.
- Run logs for sampled dates, such as
/var/log/apt/history.logentries ordnf history infooutput. - Failure handling: an alert from a failed run and the ticket or note that resolved it.
- Periodic reviews: the monthly sign-offs on what was applied and what failed.
- 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 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 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 exceptions | Why the auditor flags it | Fix |
All updates enabled (-updates origin, upgrade_type = default) | Feature and version changes installed under a security-only approval | Limit to security repositories; move other updates to normal changes |
| WSUS auto-approves Upgrades or all classifications | OS upgrades with no assessment, testing or approval | Restrict rules to Security and Critical Updates |
| Kernel and major versions in scope with automatic reboots | Unplanned reboots and version jumps, outside any window | Exclude them, or allow reboots only inside a named window |
| Logs not retained | No evidence of what changed on sampled dates | Ship logs to central logging or archive them monthly, before logrotate deletes them |
| Silent failures | Hosts stop patching with no alert | Failure alerts plus scan results compared against the SLA |
| Policy and configuration disagree | The written control and the system differ | Version-control the config; review it with the policy each year |
| No periodic review | No evidence of oversight of the automated change | Monthly sign-off on applied updates and failures |
The guide to SOC 2 change management with 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:
- Find what is already running. Record each host's current unattended-upgrades, DNF Automatic or WSUS approval settings.
- Write the standard change entry in the change management policy, using the table above, and record a dated approval.
- Align the configuration to the policy: security repositories, exclusions, reboot window, notifications.
- Stage first. Put staging hosts on an earlier schedule than production.
- Set log retention to cover the full observation period, or send package logs to central logging.
- Add failure alerts and schedule the monthly review with a named owner and backup.
- Do one dry run.
unattended-upgrade --dry-runsimulates 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 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
- Datadog for SOC 2 Vulnerability Scanning: Datadog vs Wazuh vs Nessus On-Prem
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.
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)
- ITSM.tools, ITIL 4 change enablement
- ServiceNow, Change types (standard change definition)
- Ubuntu Server documentation, Automatic updates
- Ubuntu manpages, unattended-upgrade(8)
- Debian APT source, history log writer (dpkgpm.cc)
- DNF documentation, DNF Automatic
- DNF5 documentation, Automatic command
- DNF5 documentation, history command
- Microsoft Learn, Approve and deploy updates in WSUS
Ready to Start Your Compliance Journey?
Get a clear, actionable roadmap with our readiness assessment.
Contact Us
Sample SOC 2 Control List
Input your email to download the list.
About the Author
Former security architect for Bank of Canada and Payments Canada. 20+ years building compliance programs for critical infrastructure.