POST /admin/compliance/breach-notifications
创建一条数据泄露通知记录(用于跟踪和合规报告)
合规管理 - 数据泄露 `bearerAuth` application/json
Request Body
Schema: dto.BreachNotificationRequest
| Field | Type | Required | Example | Constraints | Description |
description |
string |
Yes |
发现未经授权的数据库访问 |
|
|
severity |
string |
Yes |
high |
|
|
title |
string |
Yes |
数据库泄露事件 |
|
|
affected_users |
integer |
No |
1000 |
|
|
Referenced Schemas
dto.BreachNotificationItemResponse
dto.BreachNotificationResponse
| Field | Type | Required | Example | Constraints | Description |
affected_users |
integer |
No |
1000 |
|
|
created_at |
string |
No |
2026-05-01T10:00:00Z |
|
|
description |
string |
No |
Unauthorized database access detected |
|
|
id |
string |
No |
01JQ... |
|
|
reported_at |
string |
No |
2026-05-01T14:00:00Z |
|
|
reported_to_dpa |
boolean |
No |
True |
|
|
severity |
string |
No |
high |
|
|
status |
string |
No |
reported |
|
|
title |
string |
No |
Database Breach Incident |
|
|
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|