# LegacyCaseApiSecurityEntityDataModel

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#SCHEMA_REPRESENTATION)
- [LegacyCaseContextGroupDataModel](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextGroupDataModel)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextGroupDataModel.SCHEMA_REPRESENTATION)
- [LegacyCaseContextStringItemDataModel](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextStringItemDataModel)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextStringItemDataModel.SCHEMA_REPRESENTATION)

ApiSecurityEntityDataModel represents a security entity.

| JSON representation |
|---|
| ``` { "caseId": string, "identifier": string, "entityType": string, "environment": string, "fields": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextGroupDataModel`) } ], "sourceUrl": string, "isInternal": boolean, "isSuspicious": boolean, "isArtifact": boolean, "isEnriched": boolean, "isVulnerable": boolean, "isPivot": boolean, "isManuallyCreated": boolean } ``` |

| Fields ||
|---|---|
| `caseId` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. CaseId is the ID of the case. |
| `identifier` | `string` Optional. Identifier is the identifier of the entity. |
| `entityType` | `string` Optional. EntityType is the type of the entity. |
| `environment` | `string` Optional. Environment is the environment of the entity. |
| `fields[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextGroupDataModel`)`` Optional. Fields is a list of context group data models. |
| `sourceUrl` | `string` Optional. SourceUrl is the source URL of the entity. |
| `isInternal` | `boolean` Optional. IsInternal indicates if the entity is internal. |
| `isSuspicious` | `boolean` Optional. IsSuspicious indicates if the entity is suspicious. |
| `isArtifact` | `boolean` Optional. IsArtifact indicates if the entity is an artifact. |
| `isEnriched` | `boolean` Optional. IsEnriched indicates if the entity is enriched. |
| `isVulnerable` | `boolean` Optional. IsVulnerable indicates if the entity is vulnerable. |
| `isPivot` | `boolean` Optional. IsPivot indicates if the entity is a pivot. |
| `isManuallyCreated` | `boolean` Optional. IsManuallyCreated indicates if the entity was manually created. |

## LegacyCaseContextGroupDataModel

ContextGroupDataModel represents a group of context items.

| JSON representation |
|---|
| ``` { "groupName": string, "items": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextStringItemDataModel`) } ], "isHighlight": boolean, "hideOptions": boolean } ``` |

| Fields ||
|---|---|
| `groupName` | `string` Optional. GroupName is the name of the context group. |
| `items[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/LegacyCaseApiSecurityEntityDataModel#LegacyCaseContextStringItemDataModel`)`` Optional. Items is a list of context string items. |
| `isHighlight` | `boolean` Optional. IsHighlight indicates if the context group is highlighted. |
| `hideOptions` | `boolean` Optional. hideOptions indicates if the options are hidden. |

## LegacyCaseContextStringItemDataModel

ContextStringItemDataModel represents a string item in a context group.

| JSON representation |
|---|
| ``` { "originalName": string, "name": string, "value": string } ``` |

| Fields ||
|---|---|
| `originalName` | `string` Optional. OriginalName is the original name of the context string item. |
| `name` | `string` Optional. Name is the name of the context string item. |
| `value` | `string` Optional. Value is the value of the context string item. |