Skip to main content

custom_modules_descendant

Creates, updates, deletes, gets or lists a custom_modules_descendant resource.

Overview

Namecustom_modules_descendant
TypeResource
Idgoogle.securitycenter.custom_modules_descendant

Fields

NameDatatypeDescription
namestringImmutable. 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.
ancestorModulestringOutput 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.
customConfigobjectDefines the properties in a custom module configuration for Security Health Analytics. Use the custom module configuration to create custom detectors that generate custom findings for resources that you specify.
displayNamestringThe 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.
enablementStatestringThe enablement state of the custom module.
lastEditorstringOutput only. The editor that last updated the custom module.
updateTimestringOutput only. The time at which the custom module was last updated.

Methods

NameAccessible byRequired ParamsDescription
folders_event_threat_detection_settings_custom_modules_list_descendantSELECTfoldersIdLists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
folders_security_health_analytics_settings_custom_modules_list_descendantSELECTfoldersIdReturns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
organizations_event_threat_detection_settings_custom_modules_list_descendantSELECTorganizationsIdLists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
organizations_security_health_analytics_settings_custom_modules_list_descendantSELECTorganizationsIdReturns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
projects_event_threat_detection_settings_custom_modules_list_descendantSELECTprojectsIdLists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
projects_security_health_analytics_settings_custom_modules_list_descendantSELECTprojectsIdReturns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.

SELECT examples

Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.

SELECT
name,
ancestorModule,
customConfig,
displayName,
enablementState,
lastEditor,
updateTime
FROM google.securitycenter.custom_modules_descendant
WHERE foldersId = '{{ foldersId }}';