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

The following fields are returned by SELECT queries:

Successful response

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.
cloudProviderstringThe cloud provider of the custom module.
customConfigobjectThe user specified custom configuration for the module. (id: GoogleCloudSecuritycenterV1CustomConfig)
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.
updateTimestring (google-datetime)Output only. The time at which the custom module was last updated.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
folders_security_health_analytics_settings_custom_modules_list_descendantselectfoldersIdpageSize, pageTokenReturns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.
folders_event_threat_detection_settings_custom_modules_list_descendantselectfoldersIdpageToken, pageSizeLists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
projects_security_health_analytics_settings_custom_modules_list_descendantselectprojectsIdpageSize, pageTokenReturns 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_descendantselectprojectsIdpageToken, pageSizeLists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.
organizations_security_health_analytics_settings_custom_modules_list_descendantselectorganizationsIdpageSize, pageTokenReturns 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_descendantselectorganizationsIdpageToken, pageSizeLists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
foldersIdstring
organizationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Returns a list of all resident SecurityHealthAnalyticsCustomModules under the given CRM parent and all of the parent’s CRM descendants.

SELECT
name,
ancestorModule,
cloudProvider,
customConfig,
displayName,
enablementState,
lastEditor,
updateTime
FROM google.securitycenter.custom_modules_descendant
WHERE foldersId = '{{ foldersId }}' -- required
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}';