custom_modules_descendant
Creates, updates, deletes, gets or lists a custom_modules_descendant
resource.
Overview
Name | custom_modules_descendant |
Type | Resource |
Id | google.securitycenter.custom_modules_descendant |
Fields
Name | Datatype | Description |
---|---|---|
name | string | 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. |
ancestorModule | string | 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. |
customConfig | object | Defines 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. |
displayName | string | 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. |
enablementState | string | The enablement state of the custom module. |
lastEditor | string | Output only. The editor that last updated the custom module. |
updateTime | string | Output only. The time at which the custom module was last updated. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
folders_event_threat_detection_settings_custom_modules_list_descendant | SELECT | foldersId | Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants. |
folders_security_health_analytics_settings_custom_modules_list_descendant | SELECT | foldersId | Returns 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_descendant | SELECT | organizationsId | Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants. |
organizations_security_health_analytics_settings_custom_modules_list_descendant | SELECT | organizationsId | Returns 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_descendant | SELECT | projectsId | Lists all resident Event Threat Detection custom modules under the given Resource Manager parent and its descendants. |
projects_security_health_analytics_settings_custom_modules_list_descendant | SELECT | projectsId | Returns 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 }}';