# Drift You Can Prove: Configuration Baselines Without Shipping Your Config Files

> Two servers built from the same image don’t stay the same for long. DevOps & SRE Intelligence now fingerprints the configuration that matters on every server, compares it with a baseline someone approved and with comparable servers, and records every change for a person to acknowledge. Drift is fixed only through an approved operation, verified by a fresh scan, and your configuration files never leave the server.

Source: https://www.ticketresolve.ai/blog/drift-you-can-prove · Published 2026-11-18 · TicketResolve AI

During an incident in February, an engineer turns on SSH password authentication on `web-07` "for ten minutes", to let a vendor in while a key problem is sorted out. The incident ends at 3 a.m. Everyone is tired, and the setting stays on.

In September, a penetration test finds that `web-07` accepts password logins, unlike the other eleven web servers. Nobody remembers why. There's no ticket, no change record, nothing in the logs anyone kept. For seven months the most exposed server in the fleet was configured differently from its peers, and nothing noticed.

Two servers built from the same image don't stay the same for long. A sysctl gets bumped on one node, a config file gets hand-edited to test something, a sudoers line gets added for a contractor. Months later, that's the server that behaves differently.

## First, the basics

Here are the ideas behind this post, in everyday terms.

- **Configuration** is the set of settings that tell a server how to behave: who can log in, which network connections are allowed, how its software is tuned. It lives in text files on the server.
- **Drift** is when a server's settings slowly stop matching what they're supposed to be, usually because someone changed something by hand and forgot to undo it. Imagine twelve identical shop branches where one manager quietly changes the opening hours: everything still works, until it causes a problem nobody can explain.
- **SSH** is how engineers log in to a server remotely. **Password authentication** lets anyone with a password try to log in. Most companies turn it off and use keys instead, because passwords can be guessed.
- **Sudoers** is the list of who may act as an administrator on a server. **UID 0** is the administrator account itself; any extra UID 0 account is a red flag.
- **A fingerprint (SHA-256)** is a short code calculated from a file's contents. Change one character in the file and the fingerprint changes completely, but you can't rebuild the file from the fingerprint. That's how TicketResolve can tell a file changed without ever seeing what's in it.
- **A baseline** is the agreed "correct" version of the settings, approved by a second person.

Why does it matter? Unexplained differences between servers are where security holes and mysterious outages hide. Spotting them the day they happen, rather than months later, is cheap. Finding them during a breach is not.

## The problem, in plain terms

1. **Configuration changes are invisible.** Most are made by hand, during incidents, with no record.
2. **"Right" isn't written down.** Without an agreed baseline, nobody can say whether a difference is drift or a legitimate exception.
3. **Comparing configs means shipping them.** Many drift tools copy configuration files to a central store, and those files routinely contain secrets.
4. **Fixes aren't verified.** Someone says "I put it back", and nobody checks.

DevOps & SRE Intelligence now tracks **configuration drift**, without copying your configuration files anywhere.

## Fingerprints, not files

Agent 1.5.0 sends a **SHA-256 fingerprint** of the files that usually matter:

- the SSH daemon configuration;
- sudoers;
- `hosts`, `resolv.conf`, `fstab` and cron;
- sysctl files;
- systemd unit files;
- `passwd` and `group`.

It also sends each file's **permissions and owner**. You can add your own files with one setting, such as your nginx configuration or your application's YAML.

On Linux it also reports a few **effective settings**: SSH options such as root login and password authentication, selected kernel settings, the firewall's state plus a fingerprint of its rules, the enabled services, and which accounts have UID 0.

**The content never leaves the server.** That means we can tell you *that* a file changed and *when*, but not which line changed. We think that's the right trade for files that routinely hold secrets. A file the agent can't read is reported as **unreadable**, never guessed.

## Every change, on the record

After the first scan, every value that changes is recorded with its old and new value and the time it was first seen. Someone **acknowledges** each change with a note, usually the change ticket. An unexplained change to `sshd_config` on a production server stops being invisible.

## Baselines someone signed off

Drift needs a definition of "right". In TicketResolve that's a **baseline**: one trusted server's current values, proposed as the expected values for that server, its group or its whole environment.

As with everything that changes production in this product, **someone other than the proposer approves it**. If the baseline covers production, the approver needs the production permission. **A more specific baseline wins**: a server baseline beats its group's, which beats its environment's. That lets one server legitimately differ without silencing everything else.

When a server no longer matches its approved baseline, that's a **finding**. SSH, sudoers, firewall and privileged-account changes are **high severity**, and they raise an alert.

If the new value is actually correct, **Accept as the new baseline** proposes a new version with that value. It needs approval too.

## Peers: different isn't wrong, but it's worth a look

Without any baseline, a server is still compared with comparable servers: its group when the group is big enough, otherwise its environment. When **more than half** of them agree on a value and this server doesn't, it's flagged as a **peer outlier**. These are kept as low or medium signals, because the odd one out might be the only one that's right. Approving a baseline turns the signal into a decision.

## Fixing it: an approved operation, then a fresh scan

**TicketResolve never edits a configuration file.** *Request a fix* asks for an operation already allowlisted for that server, typically a command you declared that redeploys the file from your configuration management.

That request goes through the same policy engine and the same approver rule as any operation. When it succeeds, the agent runs a **fresh configuration scan**. The fix is marked **verified** only if the value now matches the baseline; otherwise it shows as **still drifting**.

## Four real-world scenarios

### 1. `web-07`'s password login, caught the same night

**How TR handles it.** The web fleet has an approved production baseline with `PasswordAuthentication no`. The moment the engineer turns it on, the next scan records the change (*no → yes*, first seen 02:14) and raises a **high-severity** finding and an alert. The next morning the incident lead acknowledges the change with the incident ticket and requests a fix. The approved redeploy runs, the fresh scan shows `no` again, and the fix is **verified**. Seven months becomes seven hours.

### 2. The legitimate exception

**Situation.** `batch-01` needs a larger `vm.max_map_count` than the other app servers for a search index.

**How TR handles it.** Its value shows as a **peer outlier**. The team proposes a **server-level baseline** for `batch-01` with the larger value, and a colleague approves it. The more specific baseline wins, so `batch-01` stops being flagged, and the group baseline still protects every other server.

### 3. A new UID 0 account

**Situation.** A contractor's install script quietly creates a second account with UID 0 on a database server.

**How TR handles it.** The effective-settings scan reports the new privileged account. It's a privileged-account change, so the finding is high severity and alerts straight away. Security removes the account through the approved operation, and the scan verifies it's gone.

### 4. "I put it back"

**Situation.** An engineer says he restored a hand-edited application config.

**How TR handles it.** The fix shows **still drifting**: the fingerprint doesn't match the baseline. It turns out he restored last month's version. The second redeploy verifies.

## What we tested

Against a real agent:

1. The agent fingerprinted 66 values per server.
2. A production baseline was proposed by one person and approved by another.
3. A hand-edited application config raised drift on both production servers.
4. A restore operation, approved by the lead, put the file back.
5. The fresh scan verified the fix.

## Before and after

**Before.** Hand edits disappear into history. "Right" lives in people's memories, and fixes are a matter of trust.

**After.** Every change is recorded and acknowledged. "Right" is an approved baseline with exceptions where they're justified. Fixes are verified by a fresh scan, and no configuration file ever leaves its server.

## Who it's for

- **SREs and platform teams** who want consistent fleets.
- **Security teams** watching SSH, sudoers, firewall and privileged accounts.
- **Auditors** asking how configuration changes are controlled.

## Mistakes to avoid

- **Running the agent without read access** to the files you care about. They'll show as unreadable.
- **Using environment-wide baselines for everything.** Use server or group baselines for genuine exceptions.
- **Acknowledging changes without a reference.** The note should point at a ticket or incident.

## What it doesn't do yet

- No line-by-line differences, by design.
- Windows isn't covered yet.

## Do it in TicketResolve, step by step

**Where:** DevOps & SRE → Drift (`/dashboard/devops/drift`). **You'll need:** agent 1.5.0 or later on your servers, and an approver other than yourself. **Full guide:** [Catching configuration drift](https://www.ticketresolve.ai/docs/guide/devops-drift).

1. **Update the agent.** Agent 1.5.0 sends fingerprints of key configuration files (never their content) and settings such as sshd options and the firewall state. Add your own files with `TR_DRIFT_FILES`, for example `/etc/nginx/nginx.conf,/opt/app/config.yaml`. Run it with read access to those files.
2. **Approve a baseline.** **Drift → Propose a baseline**: pick a server you trust and whether it defines that server, its group or its environment. Someone else approves it; production needs the production permission.
3. **Review findings.** Values that differ from the baseline are findings, and SSH, sudoers, firewall and privileged-account changes are high severity and raise an alert. Peer outliers (different from most comparable servers) are signals to look at.
4. **Acknowledge every change.** Each change after the first scan is listed with its old and new value. Acknowledge it with a note such as the change or incident ticket.
5. **Fix it, or accept it.** **Request a fix** with an operation allowlisted for that server (typically a redeploy from configuration management). It's approved, run, and **verified by a fresh scan**. Or, if the new value is right, **accept it as a new baseline version**, which also needs approval.
6. **Handle legitimate exceptions with a narrower baseline.** For a server that should differ, propose a server-level baseline; the more specific one wins.

**How to check it worked:** the fix shows **verified** (the fresh scan matches the baseline) rather than "still drifting", and the change's acknowledgement points at a real ticket.

## Frequently asked questions

**Do you upload our configuration files?**
No. Only SHA-256 fingerprints, permissions, owners and a few effective settings leave the server.

**Can TicketResolve change a config file?**
No. Fixes run an operation you allowlisted, approved by someone else, and are verified by a fresh scan.

**Why is a peer outlier only a low or medium signal?**
Because the odd one out might be the one that's right. A baseline turns it into a decision.

**Which changes are high severity?**
SSH, sudoers, firewall and privileged-account changes.
