Method: projects.securityHealthAnalyticsSettings.customModules.create

Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given CRM parent, and also creates inherited SecurityHealthAnalyticsCustomModules for all CRM descendants of the given parent. These modules are enabled by default.

HTTP request

POST https://securitycenter.googleapis.com/v1/{parent=projects/*/securityHealthAnalyticsSettings}/customModules

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Resource name of the new custom module's parent. Its format is "organizations/{organization}/securityHealthAnalyticsSettings", "folders/{folder}/securityHealthAnalyticsSettings", or "projects/{project}/securityHealthAnalyticsSettings"

Request body

The request body contains an instance of SecurityHealthAnalyticsCustomModule.

Response body

If successful, the response body contains a newly created instance of SecurityHealthAnalyticsCustomModule.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.