- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
Full name: projects.locations.instances.legacy.legacySearchRuleResults
Legacy endpoint for listing aggregated results for a Rules Engine rule.
HTTP request
GET https://chronicle.googleapis.com/v1alpha/{instance}/legacy:legacySearchRuleResults
Path parameters
Parameters | |
---|---|
instance |
Required. Chronicle instance this request is sent to. Format: projects/{project}/locations/{location}/instances/{instance} |
Query parameters
Parameters | |
---|---|
ruleId |
Required. The rule ID to return results for. |
versionTimestamp |
Optional. The version timestamp of the rule. - If not specified for customer rules, use the latest version of the rule. - If not specified for Uppercase rules, aggregate across all versions of the rule. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
timeRange |
Optional. If it is empty, return latest max_matches number of matches. |
maxMatches |
Optional. The maximum number of matches to return. If max_matches is set to 0 (or is omitted), the server will use the default limit (10K). |
ruleSource |
Optional. The rule source to return results for. If omitted, default to returning results for customer rules. If it does not match the rule_id field, an error will be returned. |
Request body
The request body must be empty.
Response body
Response with list of matches that have been found from a Rules Engine rule. NEXT TAG: 3
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"yara_l_2_too_many_detections": boolean,
"yara_l_2_detections": [
{
object ( |
Fields | |
---|---|
yara_l_2_too_many_detections |
For YARA 2.0 Whether the request would have resulted in more detections than the default limit allows. If true, the |
yara_l_2_detections[] |
For YARA 2.0 A list of detections found by applying the 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 instance
resource:
chronicle.legacies.legacySearchRuleResults
For more information, see the IAM documentation.