POST /admin/compliance/breach-notifications

创建一条数据泄露通知记录(用于跟踪和合规报告)

合规管理 - 数据泄露 `bearerAuth` application/json

请求体

Schema: service-compliance/internal/handler/dto.BreachNotificationRequest

字段类型必填示例约束描述
description string 是 发现未经授权的数据库访问
severity string 是 high
title string 是 数据库泄露事件
affected_users integer 否 1000

响应

引用的 Schema

service-compliance/internal/handler/dto.BreachNotificationItemResponse

字段类型必填示例约束描述
code integer 否
data service-compliance/internal/handler/dto.BreachNotificationResponse 否
message string 否
timestamp string 否

service-compliance/internal/handler/dto.BreachNotificationResponse

字段类型必填示例约束描述
affected_users integer 否 1000
created_at string 否 2026-05-01T10:00:00Z
description string 否 Unauthorized database access detected
id string 否 01JQ...
reported_at string 否 2026-05-01T14:00:00Z
reported_to_dpa boolean 否 True
severity string 否 high
status string 否 reported
title string 否 Database Breach Incident

service-compliance/internal/handler/dto.ErrorResponse

字段类型必填示例约束描述
code integer 否 400
message string 否 invalid request