- 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
POST https://chronicle.googleapis.com/v1alpha/{name}:countCuratedRuleSetDetections
Path parameters
Parameters | |
---|---|
name |
Required. The name of the CuratedRuleSet to retrieve a count for. Formats: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set} |
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,
"curated_rule_counts": [
{
object ( |
Fields | |
---|---|
name |
Name of the curated rule set. Format: projects/{project}/locations/{location}/instances/{instance}/curatedRuleSetCategories/{curated_rule_set_category}/curatedRuleSets/{curated_rule_set} |
count |
Count of detections generated by the curated rule set. |
curated_rule_counts[] |
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.