- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
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
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Name of the parent organization, folder, or project of the module, in one of the following formats:
|
Query parameters
Parameters | |
---|---|
validate |
Optional. When set to If the request is valid, a subsequent request to create the module could still fail for one of the following reasons:
Defaults to |
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.
IAM Permissions
Requires the following IAM permission on the parent
resource:
securitycentermanagement.securityHealthAnalyticsCustomModules.create
For more information, see the IAM documentation.