Method: projects.eventThreatDetectionSettings.customModules.create

Creates a resident Event Threat Detection custom module at the scope of the given Resource Manager parent, and also creates inherited custom modules for all descendants of the given parent. These modules are enabled by default.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The new custom module's parent.

Its format is:

  • "organizations/{organization}/eventThreatDetectionSettings".
  • "folders/{folder}/eventThreatDetectionSettings".
  • "projects/{project}/eventThreatDetectionSettings".

Request body

The request body contains an instance of EventThreatDetectionCustomModule.

Response body

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

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.