- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.PATH_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.LegacyGetSystemMetadataResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#body.aspect_1)
- [LandingPageEnum](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#LandingPageEnum)
- [CaseAssignmentPolicy](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#CaseAssignmentPolicy)
- [MoveCaseBetweenEnvironmentsPolicy](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#MoveCaseBetweenEnvironmentsPolicy)
- [EnvironmentType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#EnvironmentType)

**Full name**: projects.locations.instances.legacySystemMetadata

Returns essential system metadata for the requesting user. This includes information about the user's landing page, case assignment policies, and more.

### HTTP request

`GET https://{endpoint}/v1alpha/{instance}/legacySystemMetadata`

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. The name of the parent resource, which is the SecOps instance to get LegacySystemMetadata for. Format: projects/{project}/locations/{location}/instances/{instance} |

### Request body

The request body must be empty.

### Response body

LegacyGetSystemMetadataResponse returns the system metadata.

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

| JSON representation |
|---|
| ``` { "landingPage": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#LandingPageEnum`), "caseAssignmentPolicy": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#CaseAssignmentPolicy`), "moveCaseBetweenEnvironmentsPolicy": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#MoveCaseBetweenEnvironmentsPolicy`), "serverVersion": string, "userName": string, "environmentType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#EnvironmentType`), "emptySystem": boolean, "highCompliance": boolean, "federationEnabled": boolean } ``` |

| Fields ||
|---|---|
| `landingPage` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#LandingPageEnum`)`` Output only. The main page after user login. |
| `caseAssignmentPolicy` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#CaseAssignmentPolicy`)`` Output only. Specifies the case assignment policy. |
| `moveCaseBetweenEnvironmentsPolicy` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#MoveCaseBetweenEnvironmentsPolicy`)`` Output only. Specifies the policy for moving cases between environments. |
| `serverVersion` | `string` Output only. Specifies the server version |
| `userName` | `string` Output only. Current user name. |
| `environmentType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances/legacySystemMetadata#EnvironmentType`)`` Specifies the environment type. |
| `emptySystem` | `boolean` Output only. Indicates whether the system has no cases. |
| `highCompliance` | `boolean` Output only. Indicates whether high-compliance settings are enabled for the user. |
| `federationEnabled` | `boolean` Output only. Specifies if federation is enabled for the user's account. |

### 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.legacySystemMetadata.get`

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

## LandingPageEnum

Indicates the user's landing page upon login.

| Enums ||
|---|---|
| `LANDING_PAGE_ENUM_UNSPECIFIED` | Landing page is unspecified. |
| `CASES_OVERVIEW` | Cases Overview as landing page. |
| `CASES_WALL` | Cases Wall as landing page. |
| `HOMEPAGE_MY_CASES` | Home Page My Cases as landing page. |
| `HOMEPAGE_PENDING_ACTIONS` | Home Page Pending Actions as landing page. |
| `HOMEPAGE_REQUESTS` | Home Page Requests as landing page. |
| `DASHBOARDS` | Dashboards as landing page. |
| `REPORTS` | Reports as landing page. |
| `PLAYBOOKS` | Playbooks as landing page. |
| `SEARCH` | instances.search as landing page. |
| `COMMAND_CENTER` | Command Center as landing page. |
| `SIEM_HOMEPAGE` | SIEM Home Page as landing page. |
| `SIEM_SEARCH_LEGACY` | SIEM instances.search Legacy as landing page. |

## CaseAssignmentPolicy

Determines the environments from which users can be assigned to cases.

| Enums ||
|---|---|
| `CASE_ASSIGNMENT_POLICY_UNSPECIFIED` | Case assignment policy is unspecified. |
| `ALLOW_USERS_ONLY_FROM_PERMITTED_ENVIRONMENTS` | Users can be assigned to cases only from permitted environments. |
| `ALLOW_USERS_FROM_ALL_ENVIRONMENTS` | Users can be assigned to cases from all environments. |

## MoveCaseBetweenEnvironmentsPolicy

Controls whether cases can be moved between environments.

| Enums ||
|---|---|
| `MOVE_CASE_BETWEEN_ENVIRONMENTS_POLICY_UNSPECIFIED` | Move case between environments policy is unspecified. |
| `DENY` | Cases cannot be moved between environments. |
| `ALLOW` | Cases can be moved between environments. |

## EnvironmentType

Specifies the environment type.

| Enums ||
|---|---|
| `ENVIRONMENT_TYPE_UNSPECIFIED` | Indicates that the environment type is unspecified. |
| `SIEMPLIFY_G` | Indicates that the environment type is SiemplifyG. |
| `G_COM` | Indicates that the environment type is GCom. |