- HTTP request
 - Path parameters
 - Request body
 - Response body
 - Authorization scopes
 - IAM Permissions
 - Try it!
 
Full name: projects.locations.instances.verifyRuleText
Verifies the given rule text.
HTTP request
Path parameters
| Parameters | |
|---|---|
instance | 
                
                   
 Required. The name of the parent resource, which is the SecOps instance associated with the request. Format:   | 
              
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
{ "ruleText": string }  | 
                
| Fields | |
|---|---|
ruleText | 
                  
                     
 Required. The rule text to verify as a UTF-8 string.  | 
                
Response body
Response message for instances.verifyRuleText method.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
{
  "success": boolean,
  "compilationDiagnostics": [
    {
      object ( | 
                  
| Fields | |
|---|---|
success | 
                    
                       
 Whether or not the rule text was successfully verified.  | 
                  
compilationDiagnostics[] | 
                    
                       
 A list of a rule's corresponding compilation diagnostic messages such as compilation errors and compilation warnings.  | 
                  
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 instance resource:
chronicle.rules.verifyRuleText
For more information, see the IAM documentation.