Skip to content

How to silence drift during a planned change

Schedule a window around planned work so the drift it produces does not page anyone. Findings raised inside the window are auto-silenced and expire on their own when it closes - you do not have to remember to turn anything back on.

For noise you want gone permanently, use an ignore rule instead.

  • An account with the ADMIN or OWNER role.
  • Start and end times for the work.
  1. Open Settings → Maintenance windows.

  2. Name the window after the work, not the date: Q3 network migration.

  3. Set starts_at and ends_at. Both are required and ends_at must be after starts_at.

  1. Set at least one match criterion - the same three fields an ignore rule uses, matched the same way:

    FieldMatches
    resource_typeExact resource type
    namespaceExact namespace
    name_patternGlob against the resource name

    As with rules, criteria combine with AND, and a window with no criteria is rejected rather than treated as “match everything”.

  2. Fill in the reason - it is copied onto every suppression the window creates, so whoever reviews those findings later can see why they were silenced.

  3. Click Add window.

While the window is open, a new finding that matches its criteria is immediately marked suppressed, with an expiry equal to the window’s ends_at. When that time passes, the normal expiry sweep reopens the finding if it is still real - so nothing is lost, it is only deferred.

Two behaviours worth knowing:

  • Only new findings are caught. A finding that already existed before the window opened is not retroactively silenced.
  • Your explicit decisions win. If you un-suppress a finding while the window is still open, later scans will not silently re-suppress it.
Terminal window
curl -s -H "Authorization: Bearer $TOKEN" \
https://<your-d-detective-host>/api/maintenance-windows

The window should be listed with is_active: true. Trigger a scan during the window and confirm matching findings arrive already suppressed rather than open.

Set the window inactive (PATCH with is_active: false, or toggle it in the UI). New findings stop being auto-suppressed immediately.

Suppressions the window already created keep their original expiry - they are an audit record of a decision that was made, so cancelling the window does not retroactively rewrite them. Un-suppress those findings individually if you need them back sooner.

SymptomCauseFix
Findings still arriving openWindow not active yet, or criteria do not matchCheck starts_at has passed and the resource actually matches
Findings reopened too earlyExpiry equals ends_at; the sweep runs periodically after thatExpected - extend by creating a new window
Existing findings not silencedWindows only catch newly-raised findingsSuppress those individually
403 on createViewer roleAsk an admin