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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-22 UTC."],[[["This endpoint, `projects.locations.instances.legacy.legacyGetDetection`, is used to fetch a specific detection from a Chronicle instance using a GET request."],["The request requires two path parameters: `instance`, to specify the Chronicle instance, and two query parameters `ruleId` and `detectionId`, to identify the rule and detection."],["The request body must be empty for this endpoint."],["A successful request will return a `Collection` object in the response body."],["Authorization requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope and the `chronicle.legacies.legacyGetDetection` IAM permission on the instance resource."]]],[]]