{
  "id": "unit3-m365-smtp-auth-switch",
  "version": "0.1.0",
  "stage": null,
  "title_en": "Microsoft 365 Password Sending Switch (SMTP AUTH), per tenant up to 10 devices",
  "titles_json": {
    "en": "Microsoft 365 Password Sending Switch (SMTP AUTH), per tenant up to 10 devices"
  },
  "inputs_schema": {
    "tenant_domain": "string",
    "origin": "own_property | test_domain | stranger",
    "read_window_days": "integer",
    "known_devices": [
      "string"
    ]
  },
  "steps": [
    "scoped read only tenant admin consent granted by the client",
    "read the tenant sign in and sending logs over the agreed read window",
    "list every device and app that authenticates with SMTP AUTH basic authentication",
    "write a per device runbook moving each to OAuth, a relay connector or a mail API",
    "the managed service provider applies each device on site and confirms it",
    "reread the logs over the agreed window",
    "consent removed",
    "signed record"
  ],
  "acceptance_tests_json": [
    {
      "test_id": "gate_runbook_covers_every_logged_sender",
      "test_version": "1",
      "outside_observable": false,
      "evidence_source": "tenant_logs",
      "definition": "Bench gate test: every sender that used SMTP AUTH basic authentication in the Bench tenant logs has a runbook entry, and each entry names a route (OAuth, relay connector or mail API) that fits that sender type."
    },
    {
      "test_id": "sender_inventory_complete",
      "test_version": "1",
      "outside_observable": false,
      "evidence_source": "tenant_logs",
      "definition": "Every device and app that signed in with SMTP AUTH basic authentication in the tenant sign in and sending logs over the agreed read window is listed."
    },
    {
      "test_id": "runbook_per_sender",
      "test_version": "1",
      "outside_observable": false,
      "evidence_source": "firm_record",
      "definition": "Each listed sender has a runbook entry naming its new route and the settings to apply."
    },
    {
      "test_id": "no_basic_auth_after_change",
      "test_version": "1",
      "outside_observable": false,
      "evidence_source": "tenant_logs",
      "definition": "After the provider confirms the runbooks applied, the logs over the agreed read window show no SMTP AUTH basic authentication sign in from any listed sender, or each remaining sender carries a written hold reason."
    },
    {
      "test_id": "consent_removed",
      "test_version": "1",
      "outside_observable": false,
      "evidence_source": "tenant_audit_log",
      "definition": "The read only consent granted to the firm is removed at delivery, and the tenant audit log shows the removal."
    }
  ],
  "risk_class": "read_only",
  "signer_type": "accountable_reviewer",
  "turnaround_hours": null,
  "price_direct_usd": "290.00",
  "price_wholesale_usd": "190.00",
  "tier_rule": {
    "tier_share": {
      "1": "1.00",
      "2": "0.85",
      "3": "0.55",
      "4": "0.35"
    },
    "runbook_mode_discount": "0.00",
    "runbook_price_direct_usd": "290.00",
    "runbook_price_wholesale_usd": "190.00"
  },
  "warranty_terms_hash": null,
  "allowed_tools": [
    "m365_signin_log_read",
    "m365_message_trace_read"
  ],
  "approval_rules": {
    "mode": "runbook",
    "client_applies_every_change": true,
    "write_tools": []
  },
  "review_level": "full",
  "bench_min_cases": 30,
  "bench_pass_rate": null,
  "bench_passed_at": null,
  "status": "draft"
}
