Write a SQL query to track weekly security incidents by region and severity, showing trends over time at Cloud Security Services.
Use the provided security incident, region, and severity data. Include only incidents with a valid timestamp, region, and severity.
week_start, region, severity, and incident_count.| Column | Type | Description |
|---|---|---|
| incident_idPK | INT | Unique incident identifier |
| occurred_at | TIMESTAMP | Timestamp when the incident occurred |
| region_id | INT | Region associated with the incident |
| severity_id | INT | Severity classification of the incident |
| Column | Type | Description |
|---|---|---|
| region_idPK | INT | Unique region identifier |
| region_name | VARCHAR(100) | Cloud Security Services operating region |
| Column | Type | Description |
|---|---|---|
| severity_idPK | INT | Unique severity identifier |
| severity_name | VARCHAR(50) | Severity label |
| priority_order | INT | Sort order from most severe to least severe |