# Command: `staging:sanitize-data`

**Description**: Sanitize staging/local data after a production sync (tokens, secrets, PII)
**Status**: completed
**Started**: 2026-10-05 13:46:51 | **Ended**: 2026-10-05 13:46:51 | **Duration**: 0s
**Jobs**: 0 dispatched / 0 completed / 0 failed

---

## Command Output

13:46:51 [INFO] 🔒 Sanitizing MySQL…

13:46:51 [INFO] ✓ Cleared sessions

13:46:51 [INFO] ✓ Blanked 3 integration credential set(s)

13:46:51 [INFO] ✓ Redacted 0 secret option value(s)

13:46:51 [INFO] ✓ Redacted 0 remote desktop password(s)

13:46:51 [INFO] ✓ Redacted 1 Google Account password(s)

13:46:51 [INFO] 🔒 Sanitizing MongoDB…

13:46:51 [WARNING] ⚠ 1 SSL doc(s) still carried an unredacted secret-shaped field under an unexpected field name or value (\_id=6ac3aa4bba1e4498c20075f2 field=pem; 1 field updates matched before audit; 1 doc(s) auto-nulled — key material neutralized, review the shape change) — manual review required, see docs/STAGING-ENVIRONMENT.md

13:46:51 [ERROR] ❌ Sanitization completed with 1 error(s).

13:46:51 [ERROR] Command staging:sanitize-data failed with exit code 1.

13:46:51 [INFO] 🔒 Sanitizing MySQL…

13:46:51 [INFO] ✓ Cleared sessions

13:46:51 [INFO] ✓ Blanked 3 integration credential set(s)

13:46:51 [INFO] ✓ Redacted 0 secret option value(s)

13:46:51 [INFO] ✓ Redacted 0 remote desktop password(s)

13:46:51 [INFO] ✓ Redacted 1 Google Account password(s)

13:46:51 [INFO] 🔒 Sanitizing MongoDB…

13:46:51 [INFO] ✓ Redacted Runcloud SSL secrets (0 field updates matched)

13:46:51 [INFO] ✅ Staging data sanitized successfully.

---

## Jobs (0)

*No jobs dispatched*

*Exported at 2026-10-05T15:47:52+00:00*
