- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Validates the given Event Threat Detection custom module.
HTTP request
POST https://securitycentermanagement.googleapis.com/v1/{parent=organizations/*/locations/*}/eventThreatDetectionCustomModules:validate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. Resource name of the parent to validate the custom modules under, in one of the following formats:
|
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "rawText": string, "type": string } |
Fields | |
---|---|
raw |
Required. The raw text of the module's contents. Used to generate error messages. |
type |
Required. The type of the module. For example, |
Response body
If successful, the response body contains an instance of ValidateEventThreatDetectionCustomModuleResponse
.
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.eventThreatDetectionCustomModules.validate
For more information, see the IAM documentation.