Method: legacy.legacyGetCuratedRulesTrends

Full name: projects.locations.instances.legacy.legacyGetCuratedRulesTrends

Legacy RPC for listing detection counts and last detection timestamp for a list of Curated Rule ids.

HTTP request

GET https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacyGetCuratedRulesTrends

Path parameters

Parameters
instance

string

Required. The instance the resource belongs to. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
ruleId[]

string

Required. List of curated rule IDs to return results for.

bucketTimeRange

object (Interval)

Required. The time range to return bucketed counts for. Note that this will not affect the last_detection_time, which indicates the time of the latest detection for the rule regardless of this time range.

bucketSize

enum (BucketSize)

Required. The bucket size.

Request body

The request body must be empty.

Response body

A legacy rpc response for summary of detection counts and last detection timestamp for a list of curated rule ids.

If successful, the response body contains data with the following structure:

JSON representation
{
  "rule_trends": [
    {
      object (LegacyRuleTrends)
    }
  ]
}
Fields

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.legacies.legacyGetCuratedRulesTrends

For more information, see the IAM documentation.