# Method: legacySoarIdpMappingGroups.getExternalProviders

- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.response_body)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.LegacySoarIdpMappingGroupExternalProvidersResponse.SCHEMA_REPRESENTATION)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#body.aspect_1)
- [LegacySoarIdpMappingGroupIdentityProviderType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupIdentityProviderType)
- [LegacySoarIdpMappingGroupExternalProvider](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupExternalProvider)
  - [JSON representation](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupExternalProvider.SCHEMA_REPRESENTATION)
- [LegacySoarIdpMappingGroupIdentityProviderType](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupIdentityProviderType_1)
- [PermissionTypeEnum](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#PermissionTypeEnum)
- [Try it!](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#try-it)

**Full name**: projects.locations.instances.legacySoarIdpMappingGroups.getExternalProviders

Gets the external providers for a LegacySoarIdpMappingGroup.

### HTTP request

Choose a location:
<button value="africa-south1" default="">africa-south1</button> <button value="asia-northeast1">asia-northeast1</button> <button value="asia-south1">asia-south1</button> <button value="asia-southeast1">asia-southeast1</button> <button value="asia-southeast2">asia-southeast2</button> <button value="australia-southeast1">australia-southeast1</button> <button value="europe-west12">europe-west12</button> <button value="europe-west2">europe-west2</button> <button value="europe-west3">europe-west3</button> <button value="europe-west6">europe-west6</button> <button value="europe-west9">europe-west9</button> <button value="me-central1">me-central1</button> <button value="me-central2">me-central2</button> <button value="me-west1">me-west1</button> <button value="northamerica-northeast2">northamerica-northeast2</button> <button value="southamerica-east1">southamerica-east1</button> <button value="us">us</button> <button value="eu">eu</button>   

<br />

### Path parameters

| Parameters ||
|---|---|
| `name` | `string` Required. Format: projects/{project}/locations/{location}/instances/{instance}/legacySoarIdpMappingGroups/{legacySoarIdpMappingGroup} |

### Query parameters

| Parameters ||
|---|---|
| `providerName` | `string` |
| `providerType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupIdentityProviderType`)`` |

### Request body

The request body must be empty.

### Response body

Response message for legacySoarIdpMappingGroups.getExternalProviders.

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

| JSON representation |
|---|
| ``` { "payload": [ { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupExternalProvider`) } ] } ``` |

| Fields ||
|---|---|
| `payload[]` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupExternalProvider`)`` Required. The list of external providers for the LegacySoarIdpMappingGroup. |

### Authorization scopes

Requires the following OAuth scope:

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

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 `name` resource:

- `chronicle.legacySoarIdpMappingGroups.get`

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

## LegacySoarIdpMappingGroupIdentityProviderType

The type of the identity provider.

| Enums ||
|---|---|
| `OKTA` | Okta identity provider type. |
| `NONE` | None identity provider type. |
| `GSUITE` | Google Workspace identity provider type. |
| `CUSTOM_SAML2` | Custom SAML2 identity provider type. |

## LegacySoarIdpMappingGroupExternalProvider

External providers for a LegacySoarIdpMappingGroup.

| JSON representation |
|---|
| ``` { "providerName": string, "identityProviderType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupIdentityProviderType_1`), "remoteEntityIdUrl": string, "localEntityIdUrl": string, "id": string, "firstNameAttribute": string, "lastNameAttribute": string, "usernameAttribute": string, "emailAttribute": string, "groupsNameAttribute": string, "defaultLicenseType": enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#PermissionTypeEnum`), "defaultSocRoleId": string, "defaultSocRoleIds": [ string ], "defaultPermissionGroup": string, "defaultPermissionGroups": [ string ], "defaultEnvironments": [ string ], "defaultPlatforms": [ string ], "publicCertificate": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/UploadSamlSettings`) }, "metadata": { object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/UploadSamlSettings`) }, "autoRedirect": boolean, "autoAddUser": boolean, "allowUnsolicitedResponse": boolean, "areSamlSettingsInUse": boolean, "isIdentityProviderManaged": boolean } ``` |

| Fields ||
|---|---|
| `providerName` | `string` Identifier. The name of the provider. |
| `identityProviderType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#LegacySoarIdpMappingGroupIdentityProviderType_1`)`` Required. The type of the identity provider. |
| `remoteEntityIdUrl` | `string` Optional. The URL for the remote entity ID. |
| `localEntityIdUrl` | `string` Optional. The URL for the local entity ID. |
| `id` | `string` Output only. The unique ID of the external provider. |
| `firstNameAttribute` | `string` Optional. The attribute for the first name. |
| `lastNameAttribute` | `string` Optional. The attribute for the last name. |
| `usernameAttribute` | `string` Optional. The attribute for the username. |
| `emailAttribute` | `string` Optional. The attribute for the email. |
| `groupsNameAttribute` | `string` Optional. The attribute for the groups name. |
| `defaultLicenseType` | ``enum (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.legacySoarIdpMappingGroups/getExternalProviders#PermissionTypeEnum`)`` Optional. The default license type. |
| `defaultSocRoleId (deprecated)` | `string (https://developers.google.com/discovery/v1/type-format format)` > [!WARNING] > This item is deprecated! Optional. Obsolete: The default SOC role ID. Use defaultSocRoleIds instead. |
| `defaultSocRoleIds[]` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. The default SOC role IDs. |
| `defaultPermissionGroup (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. Obsolete: The default permission group. Use defaultPermissionGroups instead. |
| `defaultPermissionGroups[]` | `string` Optional. The default permission groups. |
| `defaultEnvironments[]` | `string` Optional. The default environments. |
| `defaultPlatforms[]` | `string (https://developers.google.com/discovery/v1/type-format format)` Optional. The default platforms. |
| `publicCertificate` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/UploadSamlSettings`)`` Optional. The public certificate for the identity provider. |
| `metadata` | ``object (`https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/UploadSamlSettings`)`` Optional. The metadata for the identity provider. |
| `autoRedirect` | `boolean` Optional. Indicates if auto redirect is enabled. |
| `autoAddUser` | `boolean` Optional. Indicates if auto add user is enabled. |
| `allowUnsolicitedResponse` | `boolean` Optional. Indicates if unsolicited response is allowed. |
| `areSamlSettingsInUse` | `boolean` Optional. Indicates if SAML settings are in use. |
| `isIdentityProviderManaged` | `boolean` Optional. Indicates if the identity provider is managed. |

## LegacySoarIdpMappingGroupIdentityProviderType

The type of the identity provider.

| Enums ||
|---|---|
| `OKTA` | Okta identity provider type. |
| `NONE` | None identity provider type. |
| `GSUITE` | Google Workspace identity provider type. |
| `CUSTOM_SAML2` | Custom SAML2 identity provider type. |

## PermissionTypeEnum

The type of the permission.

| Enums ||
|---|---|
| `REGULAR` | Regular permission type. |
| `VIEW_ONLY` | View only permission type. |
| `COLLABORATOR` | Collaborator permission type. |
| `MANAGED_USER` | Managed user permission type. |
| `MANAGED_USER_PLUS` | Managed user plus permission type. |