# REST Resource: organizations.eventThreatDetectionSettings.effectiveCustomModules

- [Resource: EffectiveEventThreatDetectionCustomModule](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.effectiveCustomModules#EffectiveEventThreatDetectionCustomModule)
  - [JSON representation](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.effectiveCustomModules#EffectiveEventThreatDetectionCustomModule.SCHEMA_REPRESENTATION)
- [Methods](https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.effectiveCustomModules#METHODS_SUMMARY)

## Resource: EffectiveEventThreatDetectionCustomModule

An EffectiveEventThreatDetectionCustomModule is the representation of an Event Threat Detection 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 EffectiveEventThreatDetectionCustomModule 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`. EffectiveEventThreatDetectionCustomModule is read-only.

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

| Fields ||
|---|---|
| `name` | `string` Output only. The resource name of the effective ETD custom module. Its format is: - `organizations/{organization}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. - `folders/{folder}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. - `projects/{project}/eventThreatDetectionSettings/effectiveCustomModules/{module}`. |
| `config` | ``object (`https://protobuf.dev/reference/protobuf/google.protobuf#struct` format)`` Output only. Config for the effective module. |
| `enablementState` | ``enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.eventThreatDetectionSettings.effectiveCustomModules#EffectiveEventThreatDetectionCustomModule.EnablementState`)`` Output only. The effective state of enablement for the module at the given level of the hierarchy. |
| `type` | `string` Output only. Type for the module. e.g. CONFIGURABLE_BAD_IP. |
| `displayName` | `string` Output only. The human readable name to be displayed for the module. |
| `description` | `string` Output only. The description for the module. |
| `cloudProvider` | ``enum (`https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/folders.eventThreatDetectionSettings.effectiveCustomModules#EffectiveEventThreatDetectionCustomModule.CloudProvider`)`` The cloud provider of the custom module. |

| ## Methods ||
|---|---|
| ### `https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.effectiveCustomModules/get` | Gets an effective Event Threat Detection custom module at the given level. |
| ### `https://docs.cloud.google.com/security-command-center/docs/reference/rest/v1/organizations.eventThreatDetectionSettings.effectiveCustomModules/list` | Lists all effective Event Threat Detection custom modules for the given parent. |