Method: organizations.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

POST https://securitycenter.googleapis.com/v1/{parent=organizations/*/eventThreatDetectionSettings}/customModules

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

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:

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

For more information, see the Authentication Overview.