- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.countCuratedRuleSetDetections
Counts the detections generated by a CuratedRuleSet.
HTTP request
Path parameters
| Parameters | |
|---|---|
| name | 
 Required. The name of the CuratedRuleSet to retrieve a count for. Formats: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curatedRuleSetCategory}/curatedRuleSets/{curatedRuleSet} | 
Request body
The request body contains data with the following structure:
| JSON representation | 
|---|
| {
  "interval": {
    object ( | 
| Fields | |
|---|---|
| interval | 
 Required. Time interval over which to generate counts. | 
Response body
Response message for counts of detections generated by a curated rule set.
If successful, the response body contains data with the following structure:
| JSON representation | 
|---|
| {
  "name": string,
  "count": integer,
  "curatedRuleCounts": [
    {
      object ( | 
| Fields | |
|---|---|
| name | 
 Name of the curated rule set. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curatedRuleSetCategory}/curatedRuleSets/{curatedRuleSet} | 
| count | 
 Count of detections generated by the curated rule set. | 
| curatedRuleCounts[] | 
 Counts of detections aggregated by the originating curated rule. | 
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 name resource:
- chronicle.curatedRuleSets.countCuratedRuleSetDetections
For more information, see the IAM documentation.