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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Class SecurityHealthAnalyticsCustomModule (1.39.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.39.0 (latest)](/python/docs/reference/securitycenter/latest/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.38.0](/python/docs/reference/securitycenter/1.38.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.37.0](/python/docs/reference/securitycenter/1.37.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.36.0](/python/docs/reference/securitycenter/1.36.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.35.1](/python/docs/reference/securitycenter/1.35.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.33.1](/python/docs/reference/securitycenter/1.33.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.32.1](/python/docs/reference/securitycenter/1.32.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.31.0](/python/docs/reference/securitycenter/1.31.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.30.1](/python/docs/reference/securitycenter/1.30.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.29.0](/python/docs/reference/securitycenter/1.29.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.28.0](/python/docs/reference/securitycenter/1.28.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.27.0](/python/docs/reference/securitycenter/1.27.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.26.1](/python/docs/reference/securitycenter/1.26.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.25.0](/python/docs/reference/securitycenter/1.25.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.24.1](/python/docs/reference/securitycenter/1.24.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.23.2](/python/docs/reference/securitycenter/1.23.2/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.22.0](/python/docs/reference/securitycenter/1.22.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.21.0](/python/docs/reference/securitycenter/1.21.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.20.0](/python/docs/reference/securitycenter/1.20.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.19.1](/python/docs/reference/securitycenter/1.19.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.18.2](/python/docs/reference/securitycenter/1.18.2/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.17.0](/python/docs/reference/securitycenter/1.17.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.16.2](/python/docs/reference/securitycenter/1.16.2/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.15.0](/python/docs/reference/securitycenter/1.15.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.14.0](/python/docs/reference/securitycenter/1.14.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.13.0](/python/docs/reference/securitycenter/1.13.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.12.0](/python/docs/reference/securitycenter/1.12.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.11.1](/python/docs/reference/securitycenter/1.11.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.10.0](/python/docs/reference/securitycenter/1.10.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.9.0](/python/docs/reference/securitycenter/1.9.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.8.0](/python/docs/reference/securitycenter/1.8.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.7.0](/python/docs/reference/securitycenter/1.7.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.6.0](/python/docs/reference/securitycenter/1.6.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.5.2](/python/docs/reference/securitycenter/1.5.2/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.4.0](/python/docs/reference/securitycenter/1.4.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.3.1](/python/docs/reference/securitycenter/1.3.1/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.2.0](/python/docs/reference/securitycenter/1.2.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.1.0](/python/docs/reference/securitycenter/1.1.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [1.0.0](/python/docs/reference/securitycenter/1.0.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [0.7.3](/python/docs/reference/securitycenter/0.7.3/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [0.6.0](/python/docs/reference/securitycenter/0.6.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [0.5.0](/python/docs/reference/securitycenter/0.5.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [0.4.0](/python/docs/reference/securitycenter/0.4.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule)\n- [0.3.0](/python/docs/reference/securitycenter/0.3.0/google.cloud.securitycenter_v1.types.SecurityHealthAnalyticsCustomModule) \n\n SecurityHealthAnalyticsCustomModule(\n mapping=None, *, ignore_unknown_fields=False, **kwargs\n )\n\nRepresents an instance of a Security Health Analytics custom\nmodule, including its full module name, display name, enablement\nstate, and last updated time. You can create a custom module at\nthe organization, folder, or project level. Custom modules that\nyou create at the organization or folder level are inherited by\nthe child folders and projects.\n\nClasses\n-------\n\n### EnablementState\n\n EnablementState(value)\n\nPossible enablement states of a custom module."]]