Class EventThreatDetectionCustomModule (0.1.8)

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

An event threat detection custom module is a Cloud SCC resource that contains the configuration and enablement state of a custom module, which enables ETD to write certain findings to Cloud SCC.

Attributes

NameDescription
name str
Identifier. The resource name of the ETD custom module. Its format is: - "organizations/{organization}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". - "folders/{folder}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}". - "projects/{project}/locations/{location}/eventThreatDetectionCustomModules/{event_threat_detection_custom_module}".
config google.protobuf.struct_pb2.Struct
Optional. Config for the module. For the resident module, its config value is defined at this level. For the inherited module, its config 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 EventThreatDetectionCustomModule resource name.
enablement_state 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. e.g. CONFIGURABLE_BAD_IP.
display_name str
Optional. The human readable name to be displayed for the module.
description str
Optional. The description for 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.

Values: ENABLEMENT_STATE_UNSPECIFIED (0): Unspecified enablement state. ENABLED (1): The module is enabled at the given level. DISABLED (2): The module is disabled at the given level. INHERITED (3): State is inherited from an ancestor module. The module will either be effectively ENABLED or DISABLED based on its closest non-inherited ancestor module in the CRM hierarchy. Attempting to set a top level module (module with no parent) to the INHERITED state will result in an error.