# REST Resource: projects.locations.instances.iocAssociations

- [Resource: IocAssociation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.SCHEMA_REPRESENTATION)
  - [AssociationLocation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationLocation)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationLocation.SCHEMA_REPRESENTATION)
  - [AssociationType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationType)
  - [IocAssociationAlias](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.IocAssociationAlias)
    - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.IocAssociationAlias.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#METHODS_SUMMARY)

## Resource: IocAssociation

Associations represents different metadata about malware and threat actors involved with an IoC.

| JSON representation |
|---|
| ``` { "name": string, "id": string, "countryCode": [ string ], "regionCode": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationLocation`) }, "type": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationType`), "threatDisplayName": string, "description": string, "alias": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.IocAssociationAlias`) } ], "firstReferenceTime": string, "lastReferenceTime": string, "industriesAffected": [ string ], "associatedActors": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation`) } ], "roles": [ string ], "operatingSystems": [ string ], "iocs": [ string ] } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. Identifier. The resource name of this IocAssociation. Format: projects/{project}/locations/{location}/instances/{instance}/ iocAssociations/{iocAssociation} |
| `id` | `string` Output only. Association identifier. This can be used to request details of the IocAssociation from the Google Threat Intelligence API (<https://gtidocs.virustotal.com/reference/get-threat>) |
| `countryCode[] (deprecated)` | `string` > [!WARNING] > This item is deprecated! Output only. Deprecated. Use regionCode instead. Country from which the threat actor originated. |
| `regionCode` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationLocation`)`` Output only. Name of the country the threat is originating from. |
| `type` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.AssociationType`)`` Output only. Signifies the type of association. |
| `threatDisplayName` | `string` Output only. Name of the threat actor/malware. |
| `description` | `string` Output only. Human readable description about the association. |
| `alias[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation.IocAssociationAlias`)`` Output only. Different aliases of the threat actor given by different sources. |
| `firstReferenceTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. First time the threat actor was referenced or seen. 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"`. |
| `lastReferenceTime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` format)`` Output only. Last time the threat actor was referenced or seen. 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"`. |
| `industriesAffected[]` | `string` Output only. List of industries the threat actor affects. |
| `associatedActors[] (deprecated)` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations#IocAssociation`)`` > [!WARNING] > This item is deprecated! Output only. List of associated threat actors for a malware. Not applicable for threat actors. |
| `roles[]` | `string` Output only. List of roles associated with the malware. Not applicable for threat actors. |
| `operatingSystems[]` | `string` Output only. List of operating systems that associated with the malware. Not applicable for threat actors. |
| `iocs[]` | `string` Output only. The resource names of the Iocs that are related to this IocAssociation. Format: projects/{project}/locations/{location}/instances/{instance}/iocs/{ioc} |

### AssociationLocation

Information about a location.

| JSON representation |
|---|
| ``` { "city": string, "state": string, "countryOrRegion": string, "location": string, "desk": string, "floor": string, "regionCoordinates": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Location#LatLng`) } } ``` |

| Fields ||
|---|---|
| `city` | `string` Output only. The city. |
| `state` | `string` The state. |
| `countryOrRegion` | `string` The country or region. |
| `location` | `string` Custom location name (e.g. building or site name like "London Office"). For cloud environments, this is the region (e.g. "us-west2"). |
| `desk` | `string` Desk name or individual location, typically for an employee in an office. (e.g. "IN-BLR-BCPC-11-1121D"). |
| `floor` | `string` Floor name, number or a combination of the two for a building. (e.g. "1-A"). |
| `regionCoordinates` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/Shared.Types/Location#LatLng`)`` Coordinates for the associated region. |

### AssociationType

Represents different possible Association types. Can be threat or malware. Used to represent Mandiant threat intelligence.

| Enums ||
|---|---|
| `ASSOCIATION_TYPE_UNSPECIFIED` | The default Association Type. |
| `THREAT_ACTOR` | Association type Threat actor. |
| `MALWARE` | Association type Malware. |
| `SOFTWARE_TOOLKIT` | Association type Software toolkit. |

### IocAssociationAlias

Association Alias Used to represent Mandiant Threat intel.

| JSON representation |
|---|
| ``` { "associationName": string, "provider": string } ``` |

| Fields ||
|---|---|
| `associationName` | `string` Output only. Name of the alias. |
| `provider` | `string` Output only. Name of the provider who gave the association's name. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations/batchGet` | Gets a batch (list) of IocAssociations given a list of names and a parent. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations/fetchRelated` | List related Associations (Threat Actors or Malware Families) for a given threat resource. |
| ### `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.iocAssociations/get` | Get an Ioc Association by resource name. |