Method: legacy.legacyGetDetection

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

Legacy endpoint for fetching a Detection.

HTTP request

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

Path parameters

Parameters
instance

string

Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance}

Query parameters

Parameters
ruleId

string

Required. The specific rule revision to get a detection for. There are two acceptable formats: - {rule_id} gets a detection for the latest revision of the Rule with rule ID rule_id - {rule_id}@{revision_id} gets a detection for the Rule revision with rule ID rule_id and revision ID revision_id

detectionId

string

Required. The detection to get.

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Collection.

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.legacyGetDetection

For more information, see the IAM documentation.