{
  "version": "1.1",
  "type": "sla_monitor_customer_monitoring_request",
  "generatedAt": "2026-05-31T00:00:00+02:00",
  "source": "sla_monitor_onboarding.html",
  "purpose": "Ügyfél monitoring igényének és SLA Monitor setup paramétereinek átadása a backend fejlesztéshez.",
  "customer": {
    "name": "Demo Kritikus IKT Szolgáltató",
    "primaryDomain": "demo.hu",
    "sectorId": "critical_organization",
    "sectorName": "Kritikus szervezet / létfontosságú működés",
    "timezone": "Europe/Budapest",
    "language": "hu",
    "reportingPeriod": "2026. június",
    "contact": {
      "name": "Üzemeltetési kapcsolattartó",
      "email": "ops@demo.hu",
      "phone": "+36 30 xxx xxxx"
    }
  },
  "tenant": {
    "customerId": "demo-critical-ikt",
    "tenantSlug": "demo-kritikus-ikt",
    "dashboardSlug": "demo-kritikus-ikt",
    "dashboardUrlMode": "private_customer_dashboard",
    "dashboardAccessMode": "private",
    "adminUsers": [
      "ops@demo.hu",
      "security@demo.hu"
    ]
  },
  "package": {
    "packageId": "enterprise",
    "packageName": "Enterprise",
    "enabledDashboardModules": [
      "availability",
      "response_time",
      "service_list",
      "incidents",
      "status_page",
      "monthly_sla_report",
      "audit_export",
      "compliance_evidence",
      "executive_report"
    ]
  },
  "services": [
    {
      "id": "ugyfelportal",
      "name": "Ügyfélportál",
      "businessFunction": "Ügyfélkiszolgálás és online ügyintézés",
      "criticality": "high",
      "owner": "Digital Operations",
      "showOnStatusPage": true,
      "includeInReports": true,
      "slaPolicy": {
        "availabilityTargetPercent": 99.9,
        "responseTimeThresholdMs": 800,
        "calculationWindow": "monthly",
        "businessHoursMode": "24x7",
        "plannedMaintenanceExcluded": true
      },
      "endpoints": [
        {
          "id": "ugyfelportal-main",
          "name": "Ügyfélportál főoldal",
          "checkType": "HTTPS",
          "url": "https://portal.demo.hu",
          "method": "GET",
          "expectedStatusCodes": [
            200,
            301,
            302
          ],
          "timeoutMs": 5000,
          "responseTimeThresholdMs": 800,
          "measurementIntervalMinutes": 5,
          "locations": [
            "BUD",
            "FRA",
            "LON"
          ],
          "sslCertificateCheck": true,
          "sslExpiryWarningDays": 30,
          "showOnStatusPage": true,
          "includeInReports": true,
          "authProfileRef": null
        },
        {
          "id": "ugyfelportal-health",
          "name": "Ügyfélportál health endpoint",
          "checkType": "API",
          "url": "https://portal.demo.hu/api/health",
          "method": "GET",
          "expectedStatusCodes": [
            200
          ],
          "timeoutMs": 5000,
          "responseTimeThresholdMs": 500,
          "measurementIntervalMinutes": 1,
          "locations": [
            "BUD",
            "FRA",
            "LON"
          ],
          "showOnStatusPage": false,
          "includeInReports": true,
          "authProfileRef": "secret://demo-critical-ikt/api-health-read"
        }
      ]
    },
    {
      "id": "api-gateway",
      "name": "API Gateway",
      "businessFunction": "Partner és mobil API forgalom kiszolgálása",
      "criticality": "critical",
      "owner": "Platform Team",
      "showOnStatusPage": true,
      "includeInReports": true,
      "slaPolicy": {
        "availabilityTargetPercent": 99.9,
        "responseTimeThresholdMs": 600,
        "calculationWindow": "monthly",
        "businessHoursMode": "24x7",
        "plannedMaintenanceExcluded": true
      },
      "endpoints": [
        {
          "id": "api-gateway-v2-health",
          "name": "API Gateway v2 health",
          "checkType": "API",
          "url": "https://api.demo.hu/v2/health",
          "method": "GET",
          "expectedStatusCodes": [
            200
          ],
          "timeoutMs": 4000,
          "responseTimeThresholdMs": 600,
          "measurementIntervalMinutes": 1,
          "locations": [
            "BUD",
            "FRA",
            "LON"
          ],
          "showOnStatusPage": true,
          "includeInReports": true,
          "authProfileRef": "secret://demo-critical-ikt/api-gateway-monitor"
        }
      ]
    },
    {
      "id": "payment-service",
      "name": "Fizetési tranzakciós szolgáltatás",
      "businessFunction": "Fizetési tranzakciók indítása és visszaigazolása",
      "criticality": "critical",
      "owner": "Payments Team",
      "showOnStatusPage": true,
      "includeInReports": true,
      "slaPolicy": {
        "availabilityTargetPercent": 99.95,
        "responseTimeThresholdMs": 700,
        "calculationWindow": "monthly",
        "businessHoursMode": "24x7",
        "plannedMaintenanceExcluded": true
      },
      "endpoints": [
        {
          "id": "payment-availability",
          "name": "Payment API availability",
          "checkType": "API",
          "url": "https://payment.demo.hu/health",
          "method": "GET",
          "expectedStatusCodes": [
            200
          ],
          "timeoutMs": 4000,
          "responseTimeThresholdMs": 700,
          "measurementIntervalMinutes": 1,
          "locations": [
            "BUD",
            "FRA"
          ],
          "showOnStatusPage": true,
          "includeInReports": true,
          "authProfileRef": "secret://demo-critical-ikt/payment-monitor"
        }
      ]
    }
  ],
  "measurementPolicy": {
    "defaultIntervalMinutes": 5,
    "defaultTimeoutMs": 10000,
    "defaultResponseTimeThresholdMs": 1000,
    "locations": [
      {
        "code": "BUD",
        "name": "Budapest",
        "enabled": true
      },
      {
        "code": "FRA",
        "name": "Frankfurt",
        "enabled": true
      },
      {
        "code": "LON",
        "name": "London",
        "enabled": true
      },
      {
        "code": "AMS",
        "name": "Amsterdam",
        "enabled": false
      }
    ],
    "degradedRule": "response_threshold_or_2_failed_checks",
    "downRule": "2_failed_checks",
    "retryPolicy": {
      "enabled": true,
      "attempts": 2,
      "delaySeconds": 30
    }
  },
  "slaPolicy": {
    "defaultAvailabilityTargetPercent": 99.9,
    "calculationWindow": "monthly",
    "plannedMaintenanceExcluded": true,
    "excludedIncidentTypes": [
      "planned_maintenance",
      "customer_network_issue"
    ],
    "evidenceRetentionDays": 365
  },
  "maintenanceWindows": [
    {
      "id": "monthly-maintenance-window",
      "name": "Havi karbantartási ablak",
      "schedule": "RRULE:FREQ=MONTHLY;BYDAY=SU;BYSETPOS=1;BYHOUR=2;BYMINUTE=0",
      "timezone": "Europe/Budapest",
      "durationMinutes": 60,
      "excludedFromSla": true,
      "visibleOnStatusPage": true
    }
  ],
  "notificationPolicy": {
    "channels": [
      {
        "type": "email",
        "name": "Ops email",
        "target": "ops@demo.hu",
        "enabled": true
      },
      {
        "type": "email",
        "name": "Security email",
        "target": "security@demo.hu",
        "enabled": true
      },
      {
        "type": "teams",
        "name": "Kritikus IKT ügyelet",
        "targetSecretRef": "secret://demo-critical-ikt/teams-webhook",
        "enabled": true
      },
      {
        "type": "slack",
        "name": "sla-alerts",
        "targetSecretRef": "secret://demo-critical-ikt/slack-webhook",
        "enabled": false
      },
      {
        "type": "sms",
        "name": "Ügyeleti SMS",
        "target": "+36 30 xxx xxxx",
        "enabled": false
      }
    ],
    "routingRules": [
      {
        "severity": "warning",
        "channels": [
          "Ops email",
          "Kritikus IKT ügyelet"
        ],
        "afterMinutes": 0
      },
      {
        "severity": "critical",
        "channels": [
          "Ops email",
          "Security email",
          "Kritikus IKT ügyelet",
          "Ügyeleti SMS"
        ],
        "afterMinutes": 5
      }
    ],
    "escalation": {
      "enabled": true,
      "l1AfterMinutes": 5,
      "l2AfterMinutes": 15,
      "managementAfterMinutes": 30
    }
  },
  "statusPage": {
    "enabled": true,
    "mode": "private",
    "url": "status.demo.hu",
    "displayName": "Demo Kritikus IKT Szolgáltató státuszoldal",
    "language": "hu",
    "brandingMode": "sla_monitor",
    "showPlannedMaintenance": true,
    "showIncidentHistoryDays": 90,
    "publicServicesOnly": true
  },
  "reporting": {
    "frequency": "monthly",
    "formats": [
      "PDF",
      "CSV",
      "JSON"
    ],
    "recipients": [
      "management@demo.hu",
      "ops@demo.hu"
    ],
    "scope": "all_services",
    "language": "hu",
    "retentionDays": 365,
    "includeMeasurementLog": true,
    "includeIncidentTimeline": true,
    "includeComplianceEvidence": true
  },
  "compliance": {
    "focus": [
      "Kbtv_7_2024_MK",
      "critical_organizations",
      "ISO27001_NIST80053"
    ],
    "evidenceTypes": [
      "monthly_sla_report",
      "measurement_log",
      "incident_timeline",
      "status_page_archive"
    ],
    "mappingRequired": true
  },
  "security": {
    "storeSecretsInJson": false,
    "secretHandling": "A webhook URL-eket és tokeneket secret referenciaként kell kezelni, nem nyílt JSON mezőként.",
    "piiMinimization": true
  },
  "backendNextStep": {
    "saveEndpoint": "POST /api/customer-configurations",
    "dashboardEndpoint": "GET /api/customers/{customerId}/dashboard-state",
    "measurementEndpoint": "POST /api/measurements",
    "expectedBackendAction": "A backend a monitoring request alapján létrehozza a tenantot, service/endpoints entitásokat, SLA policy-ket, riasztási csatornákat és státuszoldal/riport konfigurációt."
  }
}