Skip to main content

effective_custom_modules

Creates, updates, deletes, gets or lists an effective_custom_modules resource.

Overview

Nameeffective_custom_modules
TypeResource
Idgoogle.securitycenter.effective_custom_modules

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
namestringOutput only. The resource name of the custom module. Its format is "organizations/{organization}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "folders/{folder}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}", or "projects/{project}/securityHealthAnalyticsSettings/effectiveCustomModules/{customModule}"
cloudProviderstringThe cloud provider of the custom module.
customConfigobjectOutput only. The user-specified configuration for the module. (id: GoogleCloudSecuritycenterV1CustomConfig)
displayNamestringOutput only. The display name for the custom module. The name must be between 1 and 128 characters, start with a lowercase letter, and contain alphanumeric characters or underscores only.
enablementStatestringOutput only. The effective state of enablement for the module at the given level of the hierarchy.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
folders_security_health_analytics_settings_effective_custom_modules_getselectfoldersId, effectiveCustomModulesIdRetrieves an EffectiveSecurityHealthAnalyticsCustomModule.
folders_event_threat_detection_settings_effective_custom_modules_getselectfoldersId, effectiveCustomModulesIdGets an effective Event Threat Detection custom module at the given level.
projects_security_health_analytics_settings_effective_custom_modules_getselectprojectsId, effectiveCustomModulesIdRetrieves an EffectiveSecurityHealthAnalyticsCustomModule.
projects_event_threat_detection_settings_effective_custom_modules_getselectprojectsId, effectiveCustomModulesIdGets an effective Event Threat Detection custom module at the given level.
organizations_security_health_analytics_settings_effective_custom_modules_getselectorganizationsId, effectiveCustomModulesIdRetrieves an EffectiveSecurityHealthAnalyticsCustomModule.
organizations_event_threat_detection_settings_effective_custom_modules_getselectorganizationsId, effectiveCustomModulesIdGets an effective Event Threat Detection custom module at the given level.
folders_security_health_analytics_settings_effective_custom_modules_listselectfoldersIdpageSize, pageTokenReturns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
folders_event_threat_detection_settings_effective_custom_modules_listselectfoldersIdpageToken, pageSizeLists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.
projects_security_health_analytics_settings_effective_custom_modules_listselectprojectsIdpageSize, pageTokenReturns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
projects_event_threat_detection_settings_effective_custom_modules_listselectprojectsIdpageToken, pageSizeLists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.
organizations_security_health_analytics_settings_effective_custom_modules_listselectorganizationsIdpageSize, pageTokenReturns a list of all EffectiveSecurityHealthAnalyticsCustomModules for the given parent. This includes resident modules defined at the scope of the parent, and inherited modules, inherited from CRM ancestors.
organizations_event_threat_detection_settings_effective_custom_modules_listselectorganizationsIdpageToken, pageSizeLists all effective Event Threat Detection custom modules for the given parent. This includes resident modules defined at the scope of the parent along with modules inherited from its ancestors.

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
effectiveCustomModulesIdstring
foldersIdstring
organizationsIdstring
projectsIdstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples

Retrieves an EffectiveSecurityHealthAnalyticsCustomModule.

SELECT
name,
cloudProvider,
customConfig,
displayName,
enablementState
FROM google.securitycenter.effective_custom_modules
WHERE foldersId = '{{ foldersId }}' -- required
AND effectiveCustomModulesId = '{{ effectiveCustomModulesId }}' -- required;