- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.LegacySearchIoCInsightsResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#body.aspect_1)
- [InsightGroup](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#InsightGroup)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#InsightGroup.SCHEMA_REPRESENTATION)
- [Insight](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#Insight)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#Insight.SCHEMA_REPRESENTATION)

**Full name**: projects.locations.instances.legacy.legacySearchIoCInsights

Rpc to list IoC insights on given artifacts.

### HTTP request

`GET https://{endpoint}/v1alpha/{instance}/legacy:legacySearchIoCInsights`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/chronicle/docs/reference/rest#rest_endpoints).

### Path parameters

| Parameters ||
|---|---|
| `instance` | `string` Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |

### Query parameters

| Parameters ||
|---|---|
| `domainNames[]` | `string` Optional. The domains we are interested in. |
| `destinationIpAddresses[]` | `string` Optional. The ip addresses we are interested in. |

### Request body

The request body must be empty.

### Response body

Any insights about the requested artifacts. Each insight is independent of the other, meaning an artifact can be repeated.

If successful, the response body contains data with the following structure:

| JSON representation |
|---|
| ``` { "insightGroups": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#InsightGroup`) } ] } ``` |

| Fields ||
|---|---|
| `insightGroups[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#InsightGroup`)`` Can be empty if there is nothing interesting about the given artifacts. |

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/chronicle`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `instance` resource:

- `chronicle.legacies.legacySearchIoCInsights`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).

## InsightGroup

Used for populating IoC insights in asset view. Represents a feed with its metadata and all of its artifact matches.

| JSON representation |
|---|
| ``` { "title": string, "description": string, "insights": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#Insight`) } ] } ``` |

| Fields ||
|---|---|
| `title` | `string` (e.g. Emerging Threats IoC) |
| `description` | `string` Description of the feed. |
| `insights[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacy/legacySearchIoCInsights#Insight`)`` Represents all artifacts that matched under this feed. This will have a minimum of 1 entry. |

## Insight

An ioc artifact and how it is categorized.

| JSON representation |
|---|
| ``` { "subtitle": string, "artifact": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ArtifactIndicator`) }, "confidenceScore": string, "rawSeverity": string, "feed": string } ``` |

| Fields ||
|---|---|
| `subtitle` | `string` A comma-separated string of categories (e.g. bitcoin related) |
| `artifact` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/ArtifactIndicator`)`` (e.g., example.com or 198.51.100.23). |
| `confidenceScore` | `string` Raw confidence level from the IoC source, higher score means more confidence. If there is no confidence score in the raw data, this will not be set. |
| `rawSeverity` | `string` The indicator's raw severity. |
| `feed` | `string` ONLY RELEVANT TO FEED AGGREGATORS. The underlying feed from the feed aggregator that provided the IoC. This field will be empty for feeds that are not aggregators. |