# Class EventThreatDetectionCustomModule (0.5.0)

0.5.0 (latest) 0.4.0 0.3.0 0.2.0 0.1.22

    EventThreatDetectionCustomModule(
        mapping=None, *, ignore_unknown_fields=False, **kwargs
    )

A Security Command Center resource that contains the
configuration and enablement state of a custom module, which
enables Event Threat Detection to write certain findings to
Security Command Center.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `name` | `str` Identifier. The resource name of the Event Threat Detection custom module, in one of the following formats: - `organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` - `folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` - `projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{custom_module}` |
| `config` | `google.protobuf.struct_pb2.Struct` Optional. Configuration for the module. For the resident module, its configuration value is defined at this level. For the inherited module, its configuration value is inherited from the ancestor module. |
| `ancestor_module` | `str` Output only. The closest ancestor module that this module inherits the enablement state from. If empty, indicates that the custom module was created in the requesting parent organization, folder, or project. The format is the same as the custom module's resource name. |
| `enablement_state` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-securitycentermanagement/latest/google.cloud.securitycentermanagement_v1.types.EventThreatDetectionCustomModule.EnablementState` Optional. The state of enablement for the module at the given level of the hierarchy. |
| `type_` | `str` Optional. Type for the module. For example, `CONFIGURABLE_BAD_IP`. |
| `display_name` | `str` Optional. The human-readable name of the module. |
| `description` | `str` Optional. A description of the module. |
| `update_time` | `google.protobuf.timestamp_pb2.Timestamp` Output only. The time the module was last updated. |
| `last_editor` | `str` Output only. The editor the module was last updated by. |

## Classes

### EnablementState

    EnablementState(value)

The enablement state of the module.