# Log a breach or a suspected breach; the clock starts at the moment of awareness

`POST /compliance/center/breaches` · Rivier · compliance

Log a breach or a suspected breach; the clock starts at the moment of awareness.

- Scope: compliance:write
- Mcp: rivier_compliance_breach_log
- Graphql: Mutation.complianceBreachLog
- Sdk: compliance.breach.log
- Cli: compliance breach log

## Request body

`application/json`

```json
{
  "type": "object",
  "properties": {
    "title": {
      "type": "string",
      "minLength": 3,
      "maxLength": 200
    },
    "description": {
      "type": "string",
      "minLength": 3,
      "maxLength": 4000
    },
    "awareAt": {
      "type": "string",
      "format": "date-time"
    },
    "occurredAt": {
      "type": "string",
      "format": "date-time"
    },
    "dataCategories": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 120
      },
      "maxItems": 30,
      "default": []
    },
    "peopleAffected": {
      "type": "integer",
      "minimum": 0,
      "maximum": 1000000000
    },
    "jurisdictions": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "eu",
          "gb",
          "us",
          "us-ca",
          "ca",
          "qc",
          "br",
          "au"
        ]
      },
      "maxItems": 12
    }
  },
  "required": [
    "title",
    "description"
  ],
  "additionalProperties": false
}
```

## Responses

- `200`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/compliance/center/breaches' \
  -H 'Authorization: Bearer $KEY' \
  -H 'Content-Type: application/json' \
  -d '{
  "title": "string",
  "description": "string"
}'
```
