LegacySearchCuratedDetections parity mapping
This guide details the request and response mapping specifications and property parity analysis for migrating from the legacy Backstory Rules Engine API (ListCuratedRuleDetections) to the modern Chronicle API (LegacySearchCuratedDetections) defined under the google.cloud.chronicle.v1main package.
Protocol and mapping overview
| Feature | Legacy API (ListCuratedRuleDetections) |
Modern API (LegacySearchCuratedDetections) |
|---|---|---|
| HTTP method | GET |
GET |
| Permissions | Partner token or legacy API keys | chronicle.googleapis.com/legacies.legacySearchCuratedDetections |
Request payload field-by-field parity
The modern LegacySearchCuratedDetectionsRequest matches fields from the legacy request, with added controls for maximum response payload bytes, simulated data visibility, and nested configurations.
Legacy field (ListCuratedRuleDetectionsRequest) |
Modern field (LegacySearchCuratedDetectionsRequest) |
Field type | Parity & migration notes |
|---|---|---|---|
| — | instance (in HTTP path) |
string |
Google Cloud Scoping Context: Scopes the connection target using the standard resource path in the HTTP URL path. Pattern: projects/{project}/locations/{location}/instances/{instance_uuid}. |
rule_id |
rule_id |
string |
Direct Map: Unique identifier of the curated rule. |
alert_state |
alert_state |
enum |
Direct Map: Mapped directly to filter by SecurityResult.AlertState enum. |
start_time |
start_time |
Timestamp |
Direct Map: Detections start time boundary. |
end_time |
end_time |
Timestamp |
Direct Map: Detections end time boundary. |
list_basis |
list_basis |
enum |
Direct Map: Maps to ListBasis enum to determine if bounds apply to detection or created times. |
page_size |
page_size |
int32 |
Direct Map: Pagination page size limits. |
page_token |
page_token |
string |
Direct Map: Paging resumption token. |
include_simulated_detections |
include_simulated_detections / simulated_data_visibility |
bool/enum |
Modernized: Legacy boolean include_simulated_detections is deprecated. Use the structured simulated_data_visibility enum setting. |
| — | max_resp_size_bytes |
int32 |
New Option: Toggles maximum response limit sizes in bytes. |
| — | include_nested_detections |
bool |
New Option: Toggles whether nested rule detections are fetched. |
Response payload field-by-field parity
The response payload maps the detection arrays directly, adding support for truncation reporting and nested detection structures.
Legacy field (ListCuratedRuleDetectionsResponse message) |
Modern field (LegacySearchCuratedDetectionsResponse message) |
Field type | Parity & migration notes |
|---|---|---|---|
curated_rule_detections |
curated_detections |
repeated Collection |
Parity Mapped: Array list of rule detections returned as backstory Collection elements. |
next_page_token |
next_page_token |
string |
Direct Map: Paging resumption token. |
| — | nested_detection_samples |
repeated DetectionWithSamples |
New Parameter: Nested detections returned if requested using include_nested_detections. |
| — | resp_too_large_detections_truncated |
bool |
New Parameter: Set to true if the response exceeded requested max_resp_size_bytes and was truncated. |
Key differences analysis
- Google Cloud Instance Bounds:
- Legacy rule listings queried detections across tenant spaces globally.
- The modern
LegacySearchCuratedDetectionsAPI scopes query execution directly under the instance path (projects/{project}/locations/{location}/instances/{instance}) mapped as standard parent.
- Advanced Response Handling:
- Adds the capability to configure maximum response payload sizes to prevent gateway timeout errors, and report truncation state explicitly using
resp_too_large_detections_truncated.
- Adds the capability to configure maximum response payload sizes to prevent gateway timeout errors, and report truncation state explicitly using
- Structured Nested Detections:
- Introduces options to resolve and fetch one level of nested child detections under the
nested_detection_samplesrepeated array.
- Introduces options to resolve and fetch one level of nested child detections under the