Skip to content
3.0 preview2.3.0 stable

These docs describe the preview. Pick the version you run and every page marks what it doesn't have yet. Get the preview →
Maester 2.x docs (archived) →

Sponsor

Drift folders should match their baseline

MT.1060MediumMicrosoft 365Configuration driftPreview 3.0

Part of Maester · Microsoft 365 · Configuration drift · All checks

Run this check
Invoke-Maester -TestId MT.1060

Checks JSON files that you supply for drift from a baseline.

Create a drift folder (or pass -DriftRoot to Invoke-Maester) with one subfolder per drift check. Each subfolder holds a baseline.json (the expected configuration), a current.json (the actual configuration) and an optional settings.json whose ExcludeProperties lists properties to skip.

Four results are created per folder, with the folder name made safe for a test ID:

  • MT.1060.<folder>.1: the baseline file exists and is valid JSON.
  • MT.1060.<folder>.2: the current file exists and is valid JSON.
  • MT.1060.<folder>.3: the current file has no properties missing from the baseline.
  • MT.1060.<folder>.4: every value in the current file matches the baseline.

In Maester 2.x these results were named MT1060.<folder>.<n>. The MT1060, MT1060.<n>, MT1060.<folder> and MT1060.<folder>.<n> tags are kept.

Update the configuration, or the baseline, so that the two files match.

Every attribute of this check
FieldValue
Test IDMT.1060
SeverityMedium
SuiteMaester
ProductMicrosoft 365
FeatureConfiguration drift
AreaInfrastructure hardening
Resource typeTenant
User impactLow
Implementation costLow
MITRE ATT&CKNone
PowerShell testTest-MtDriftFolder
Runs per instanceYes, one result per instance from Get-MtDriftFolderInstance