# AbuseDetected

- [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#SCHEMA_REPRESENTATION)
- [EntityList](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#EntityList)
  - [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#EntityList.SCHEMA_REPRESENTATION)
- [Entity](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#Entity)
  - [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#Entity.SCHEMA_REPRESENTATION)

A generic alert for abusive user activity occurring with a customer.

| JSON representation |
|---|
| ``` { "subAlertId": string, "product": string, "additionalDetails": { object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#EntityList`) }, "variationType": enum (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetectedVariationType`) } ``` |

| Fields ||
|---|---|
| `subAlertId` | `string` Unique identifier of each sub alert that is onboarded. |
| `product` | `string` Product that the abuse is originating from. |
| `additionalDetails` | ``object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#EntityList`)`` List of abusive users/entities to be displayed in a table in the alert. |
| `variationType` | ``enum (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetectedVariationType`)`` Variation of AbuseDetected alerts. The variationType determines the texts displayed the alert details. This differs from subAlertId because each sub alert can have multiple variation_types, representing different stages of the alert. |

## EntityList

EntityList stores entities in a format that can be translated to a table in the Alert Center UI.

| JSON representation |
|---|
| ``` { "name": string, "headers": [ string ], "entities": [ { object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#Entity`) } ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Name of the key detail used to display this entity list. |
| `headers[]` | `string` Headers of the values in entities. If no value is defined in Entity, this field should be empty. |
| `entities[]` | ``object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/AbuseDetected#Entity`)`` List of entities affected by the alert. |

## Entity

Individual entity affected by, or related to, an alert.

| JSON representation |
|---|
| ``` { "name": string, "link": string, "values": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Human-readable name of this entity, such as an email address, file ID, or device name. |
| `link` | `string` Link to a Security Investigation Tool search based on this entity, if available. |
| `values[]` | `string` Extra values beyond name. The order of values should align with headers in EntityList. |