Drift happens when the live platform no longer matches what was intended. Someone fixes something in the console at 2am. A script changes a setting. A provider changes a default in a newer version. None of it is recorded, and the next change either undoes it or trips over it.
What a good drift check does
- Compares against what was agreed. Comparing the cloud with the last deployment only tells you the code and the cloud differ. Comparing it with the platform’s requirements tells you whether it still does what the business asked for.
- Confirms before it corrects. Not every difference is someone’s change; a provider can change a default. Each finding is checked before anything is put back.
- Decides each change on purpose. Put it back, or keep it and record it as the new intent. Both are valid; doing neither is how platforms decay.
- Runs on a schedule someone owns, with results that reach a person.
How Pathway does it
- Measured against the requirements. Every platform Pathway builds keeps the requirements it was built to, so a change is measured against what was agreed, not only against the code.
- More than settings. Pathway’s checks look for changes made outside it, and alongside them read what the provider’s own security service reports (Microsoft Defender for Cloud, AWS Security Hub with Amazon Inspector, Google Security Command Center) and provider notices such as retirements and end of support.
- Read-only, on a schedule. Checks only read the cloud, and run on the schedule your team sets for each platform.
- Your decision. For each change you choose to put it back or keep it. Either way the fix is set out as a plan before it’s applied, with approval where you want it.
Each provider also has checks of its own: Azure’s what-if, which previews what a deployment would change; drift detection on AWS stacks, which compares a stack’s resources with what its template defines; and previews in Google’s Infrastructure Manager, which show resource drift. They compare the cloud with the code. Pathway compares the platform with what was agreed.
Sources
Further reading