# GraphWidget

- [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#SCHEMA_REPRESENTATION)
- [Investigator](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#Investigator)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#Investigator.SCHEMA_REPRESENTATION)
- [GraphNodeGroup](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNodeGroup)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNodeGroup.SCHEMA_REPRESENTATION)
- [GraphNode](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNode)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNode.SCHEMA_REPRESENTATION)
- [GraphRelationGroup](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationGroup)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationGroup.SCHEMA_REPRESENTATION)
- [GraphRelation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelation)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelation.SCHEMA_REPRESENTATION)
- [GraphRelationPropertyValue](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationPropertyValue)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationPropertyValue.SCHEMA_REPRESENTATION)
- [ApiSecurityAlertDetails](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityAlertDetails)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityAlertDetails.SCHEMA_REPRESENTATION)
- [ApiSecurityEventDetails](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEventDetails)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEventDetails.SCHEMA_REPRESENTATION)
- [ApiSecurityEntityCard](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEntityCard)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEntityCard.SCHEMA_REPRESENTATION)
- [SecurityEntityDirection](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#SecurityEntityDirection)

Graph widget.

| JSON representation |
|---|
| ``` { "investigator": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#Investigator`) }, "title": string, "order": integer, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetTemplateType`), "gridColumns": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetTemplateGridColumns`), "description": string, "identifier": string, "jsonData": string, "errorJsonData": string, "resultStatus": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetResultStatus`) } ``` |

| Fields ||
|---|---|
| `investigator` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#Investigator`)`` Output only. The investigator to display. |
| `title` | `string` Output only. The widget title. |
| `order` | `integer` Output only. The widget order. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetTemplateType`)`` Output only. The widget template type. |
| `gridColumns` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetTemplateGridColumns`)`` Output only. The widget template grid columns. |
| `description` | `string` Output only. The widget description. |
| `identifier` | `string` Output only. The widget identifier. |
| `jsonData` | `string` Output only. The widget json data. |
| `errorJsonData` | `string` Output only. The widget error json data. |
| `resultStatus` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetResultStatus`)`` Output only. The widget result status. |

## Investigator

Investigator.

| JSON representation |
|---|
| ``` { "nodes": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNodeGroup`) } ], "relations": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationGroup`) } ], "alerts": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityAlertDetails`) } ], "caseId": integer, "caseTitle": string, "lastModifed": string, "assignedUser": string, "tags": [ string ], "priority": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#LegacyCasePriority`), "environment": string, "status": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases#CaseStatus`) } ``` |

| Fields ||
|---|---|
| `nodes[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNodeGroup`)`` Output only. The nodes to display. |
| `relations[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationGroup`)`` Output only. The relations to display. |
| `alerts[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityAlertDetails`)`` Output only. The alerts to display. |
| `caseId` | `integer` Output only. The case id. |
| `caseTitle` | `string` Output only. The case title. |
| `lastModifed` | `string` Output only. The last modified time of the case. |
| `assignedUser` | `string` Output only. The assigned user. |
| `tags[]` | `string` Output only. The tags of the case. |
| `priority` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#LegacyCasePriority`)`` Output only. The case priority. |
| `environment` | `string` Output only. The environment of the case. |
| `status` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases#CaseStatus`)`` Output only. The case status. |

## GraphNodeGroup

Graph node group.

| JSON representation |
|---|
| ``` { "primaryNode": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNode`) }, "nodes": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNode`) } ] } ``` |

| Fields ||
|---|---|
| `primaryNode` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNode`)`` Output only. The primary node. |
| `nodes[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphNode`)`` Output only. The nodes to display. |

## GraphNode

Graph node.

| JSON representation |
|---|
| ``` { "isInternal": boolean, "isSuspicious": boolean, "isArtifact": boolean, "isVulnerable": boolean, "isPivot": boolean, "identifier": string, "alertIdentifier": string, "type": string, "sourceUrl": string, "fields": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetContextGroup`) } ] } ``` |

| Fields ||
|---|---|
| `isInternal` | `boolean` Output only. Flag that indicates whether the node is internal or not. |
| `isSuspicious` | `boolean` Output only. Flag that indicates whether the node is suspicious or not. |
| `isArtifact` | `boolean` Output only. Flag that indicates whether the node is an artifact or not. |
| `isVulnerable` | `boolean` Output only. Flag that indicates whether the node is vulnerable or not. |
| `isPivot` | `boolean` Output only. Flag that indicates whether the node is a pivot or not. |
| `identifier` | `string` Output only. The node identifier. |
| `alertIdentifier` | `string` Output only. The alert identifier. This is a unique identifier for the alert. Format: {alertName}_{ticketId} |
| `type` | `string` Output only. The type of the node. |
| `sourceUrl` | `string` Output only. The source URL. |
| `fields[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetContextGroup`)`` Output only. The context groups. |

## GraphRelationGroup

Graph relation group.

| JSON representation |
|---|
| ``` { "fromType": string, "toType": string, "identifier": string, "fromIdentifier": string, "toIdentifier": string, "primaryRelation": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelation`) }, "relations": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelation`) } ] } ``` |

| Fields ||
|---|---|
| `fromType` | `string` Output only. The from type of the relation. |
| `toType` | `string` Output only. The to type of the relation. |
| `identifier` | `string` Output only. The relation identifier. |
| `fromIdentifier` | `string` Output only. The from identifier. |
| `toIdentifier` | `string` Output only. The to identifier. |
| `primaryRelation` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelation`)`` Output only. The primary relation. |
| `relations[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelation`)`` Output only. The relations to display. |

## GraphRelation

Graph relation.

| JSON representation |
|---|
| ``` { "eventId": string, "fromIdentifier": string, "toIdentifier": string, "identifier": string, "type": string, "fields": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationPropertyValue`) } ] } ``` |

| Fields ||
|---|---|
| `eventId` | `string` Output only. The event identifier. |
| `fromIdentifier` | `string` Output only. The from identifier. |
| `toIdentifier` | `string` Output only. The to identifier. |
| `identifier` | `string` Output only. The graph relation identifier. |
| `type` | `string` Output only. The type of the relation. |
| `fields[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#GraphRelationPropertyValue`)`` Output only. The graph relation property fields. |

## GraphRelationPropertyValue

The graph relation property value.

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

| Fields ||
|---|---|
| `key` | `string` Output only. The property key. |
| `value` | `string` Output only. The property value. |

## ApiSecurityAlertDetails

Security alert details.

| JSON representation |
|---|
| ``` { "ticketId": string, "status": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#AlertStatus`), "identifier": string, "hasWorkflows": boolean, "workflowsStatus": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#WorkflowStatus`), "sourceSystemName": string, "securityEventCards": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEventDetails`) } ], "entityCards": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEntityCard`) } ], "productFamilies": [ string ], "fields": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetContextGroup`) } ], "name": string, "product": string, "startTimeUnixTimeInMs": string, "apiSlaExpiration": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/AlertCardSla`) }, "isManualAlert": boolean, "priority": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#LegacyCasePriority`) } ``` |

| Fields ||
|---|---|
| `ticketId` | `string` Output only. The ticket id. |
| `status` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#AlertStatus`)`` Output only. The alert status. |
| `identifier` | `string` Output only. The alert identifier. This is a unique identifier for the alert. Format: {alertName}_{ticketId} |
| `hasWorkflows` | `boolean` Output only. Flag that indicates whether the alert has workflows or not. |
| `workflowsStatus` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#WorkflowStatus`)`` Output only. The workflow status. |
| `sourceSystemName` | `string` Output only. The source system name. |
| `securityEventCards[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEventDetails`)`` Output only. The security event cards. |
| `entityCards[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEntityCard`)`` Output only. The entity cards of the alert. |
| `productFamilies[]` | `string` Output only. The product families of the alert. |
| `fields[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetContextGroup`)`` Output only. The fields of the alert. |
| `name` | `string` Output only. The alert name. |
| `product` | `string` Output only. The product of the alert. |
| `startTimeUnixTimeInMs` | `string (https://developers.google.com/discovery/v1/type-format format)` Output only. The start time of the alert. |
| `apiSlaExpiration` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/AlertCardSla`)`` Output only. The alert SLA. |
| `isManualAlert` | `boolean` Output only. Flag that indicates whether the alert is manual or not. |
| `priority` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#LegacyCasePriority`)`` Output only. The alert priority. |

## ApiSecurityEventDetails

Security event details.

| JSON representation |
|---|
| ``` { "caseId": integer, "eventId": string, "alertIdentifier": string, "eventName": string, "product": string, "sources": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#EntityKey`) } ], "destinations": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#EntityKey`) } ], "artifactes": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#EntityKey`) } ], "port": string, "outcome": string, "deviceEventClassId": string, "fields": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetContextGroup`) } ], "timestamp": string } ``` |

| Fields ||
|---|---|
| `caseId` | `integer` Output only. The case id. |
| `eventId` | `string` Output only. The event id. |
| `alertIdentifier` | `string` Output only. The alert identifier. This is a unique identifier for the alert. Format: {alertName}_{ticketId} |
| `eventName` | `string` Output only. The event name. |
| `product` | `string` Output only. The product name. |
| `sources[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#EntityKey`)`` Output only. The sources of the event. |
| `destinations[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#EntityKey`)`` Output only. The destinations of the event. |
| `artifactes[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/projects.locations.instances.cases.caseAlerts#EntityKey`)`` Output only. The entities of the event. |
| `port` | `string` Output only. The port of the event. |
| `outcome` | `string` Output only. The outcome of the event. |
| `deviceEventClassId` | `string` Output only. The event class id of the event. |
| `fields[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/WidgetContextGroup`)`` Output only. The fields of the event. |
| `timestamp` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. The timestamp of the event. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: `"2014-10-02T15:01:23Z"`, `"2014-10-02T15:01:23.045123456Z"` or `"2014-10-02T15:01:23+05:30"`. |

## ApiSecurityEntityCard

Security entity card.

| JSON representation |
|---|
| ``` { "identifier": string, "entityType": string, "isSuspicious": boolean, "linkedEntities": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEntityCard`) } ], "direction": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#SecurityEntityDirection`) } ``` |

| Fields ||
|---|---|
| `identifier` | `string` Output only. The entity identifier. |
| `entityType` | `string` Output only. The entity type. |
| `isSuspicious` | `boolean` Output only. Flag that indicates whether the entity is suspicious or not. |
| `linkedEntities[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#ApiSecurityEntityCard`)`` Output only. The linked entities of the alert. |
| `direction` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1/GraphWidget#SecurityEntityDirection`)`` Output only. The entity direction of the alert. |

## SecurityEntityDirection

The security entity direction.

| Enums ||
|---|---|
| `SECURITY_ENTITY_DIRECTION_UNSPECIFIED` | Unspecified entity direction. |
| `NONE` | Entity direction is none. |
| `INBOUND` | Entity direction is inbound. |
| `OUTBOUND` | Entity direction is outbound. |
| `BOTH` | Entity direction is both. |