Creates a resident SecurityHealthAnalyticsCustomModule at the scope of the given organization, folder, or project, and also creates inherited SecurityHealthAnalyticsCustomModule resources for all folders and projects that are descendants of the given parent. These modules are enabled by default.
HTTP request
POST https://securitycentermanagement.googleapis.com/v1/{parent=folders/*/locations/*}/securityHealthAnalyticsCustomModules
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
organizations/{organization}/locations/{location}
folders/{folder}/locations/{location}
projects/{project}/locations/{location}
Query parameters
Parameters
validateOnly
boolean
Optional. When set to true, the request will be validated (including IAM checks), but no module will be created. An OK response indicates that the request is valid, while an error response indicates that the request is invalid.
If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
The state of your cloud resources changed; for example, you lost a required IAM permission