SecurityHealthAnalyticsCustomModule(
mapping=None, *, ignore_unknown_fields=False, **kwargs
)
Represents an instance of a Security Health Analytics custom module, including its full module name, display name, enablement state, and last updated time. You can create a custom module at the organization, folder, or project level. Custom modules that you create at the organization or folder level are inherited by the child folders and projects.
Attributes |
|
---|---|
Name | Description |
name |
str
Immutable. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/customModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/customModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/customModules/{customModule}" The id {customModule} is server-generated and is not user settable. It will be a numeric id containing 1-20 digits. |
display_name |
str
The display name of the Security Health Analytics custom module. This display name becomes the finding category for all findings that are returned by this custom module. The display name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only. |
enablement_state |
google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule.EnablementState
The enablement state of the custom module. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time at which the custom module was last updated. |
last_editor |
str
Output only. The editor that last updated the custom module. |
ancestor_module |
str
Output only. If empty, indicates that the custom module was created in the organization, folder, or project in which you are viewing the custom module. Otherwise, ancestor_module specifies the organization or folder
from which the custom module is inherited.
|
custom_config |
google.cloud.securitycenter_v1.types.CustomConfig
The user specified custom configuration for the module. |
Classes
EnablementState
EnablementState(value)
Possible enablement states of a custom module.
Values: ENABLEMENT_STATE_UNSPECIFIED (0): Unspecified enablement state. ENABLED (1): The module is enabled at the given CRM resource. DISABLED (2): The module is disabled at the given CRM resource. 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.