# REST Resource: folders.securityHealthAnalyticsSettings.effectiveCustomModules

- [Resource: EffectiveSecurityHealthAnalyticsCustomModule](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule)
  - [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.SCHEMA_REPRESENTATION)
  - [EnablementState](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.EnablementState)
  - [CloudProvider](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.CloudProvider)
- [Methods](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#METHODS_SUMMARY)

## Resource: EffectiveSecurityHealthAnalyticsCustomModule

An EffectiveSecurityHealthAnalyticsCustomModule is the representation of a Security Health Analytics custom module at a specified level of the resource hierarchy: organization, folder, or project. If a custom module is inherited from a parent organization or folder, the value of the `enablementState` property in EffectiveSecurityHealthAnalyticsCustomModule is set to the value that is effective in the parent, instead of `INHERITED`. For example, if the module is enabled in a parent organization or folder, the effective enablementState for the module in all child folders or projects is also `enabled`. EffectiveSecurityHealthAnalyticsCustomModule is read-only.

| JSON representation |
|---|
| ``` { "name": string, "customConfig": { object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/CustomConfig`) }, "enablementState": enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.EnablementState`), "displayName": string, "cloudProvider": enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.CloudProvider`) } ``` |

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}" |
| `customConfig` | ``object (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/CustomConfig`)`` Output only. The user-specified configuration for the module. |
| `enablementState` | ``enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.EnablementState`)`` Output only. The effective state of enablement for the module at the given level of the hierarchy. |
| `displayName` | `string` Output only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only. |
| `cloudProvider` | ``enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules#EffectiveSecurityHealthAnalyticsCustomModule.CloudProvider`)`` The cloud provider of the custom module. |

### EnablementState

The enablement state of the module.

| Enums ||
|---|---|
| `ENABLEMENT_STATE_UNSPECIFIED` | Unspecified enablement state. |
| `ENABLED` | The module is enabled at the given level. |
| `DISABLED` | The module is disabled at the given level. |

### CloudProvider

The cloud provider of the custom module.

| Enums ||
|---|---|
| `CLOUD_PROVIDER_UNSPECIFIED` | Unspecified cloud provider. |
| `GOOGLE_CLOUD_PLATFORM` | Google Cloud. |
| `AMAZON_WEB_SERVICES` | Amazon Web Services. |
| `MICROSOFT_AZURE` | Microsoft Azure. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules/get` | Retrieves an EffectiveSecurityHealthAnalyticsCustomModule. |
| ### `https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.securityHealthAnalyticsSettings.effectiveCustomModules/list` | Returns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. |