DisableLiveRule (V2) parity mapping
This guide details the request and response mapping specifications and property parity analysis for migrating from the legacy Backstory Rules Engine V2 API (DisableLiveRule) to the modern Chronicle API (UpdateRuleDeployment).
Protocol and mapping overview
| Feature | Legacy API (DisableLiveRule V2) |
Modern Chronicle API (UpdateRuleDeployment) |
|---|---|---|
| HTTP method | POST |
PATCH |
| Permissions | Partner token or legacy API keys | chronicle.googleapis.com/ruleDeployments.update |
Request payload field-by-field parity
The legacy backstory API implemented disabling live rules as a dedicated POST RPC endpoint. The modern Chronicle API models disabling live evaluation as a PATCH modification of enabled (setting to false) on the sub-resource RuleDeployment.
Legacy field (DisableLiveRuleRequest) |
Modern field (UpdateRuleDeploymentRequest / RuleDeployment) |
Field type | Parity & migration notes |
|---|---|---|---|
rule_id |
rule_deployment.name (in HTTP path) |
string |
Google Cloud scoping / resource unification: Legacy passed the raw rules engine parameter rule_id. The modern API routes this using parent resource paths: projects/{project}/locations/{location}/instances/{instance}/rules/{rule_id}/deployment. |
| — | rule_deployment.enabled |
bool |
Target attribute mapping: Set enabled = false to deactivate continuous rule execution. |
| — | update_mask |
FieldMask |
Required mask: Include enabled in JSON updateMask. |
Response payload field-by-field parity
In legacy backstory, DisableLiveRule returned an empty response. In the modern API, UpdateRuleDeployment returns the modified deployment state.
Legacy field (Empty response) |
Modern field (RuleDeployment response) |
Field type | Parity & migration notes |
|---|---|---|---|
google.protobuf.Empty |
name |
string |
Canonical resource path name: projects/{project}/locations/{location}/instances/{instance}/rules/{rule_id}/deployment. |
| — | enabled |
bool |
Returns false confirming rule execution is disabled. |
| — | run_frequency |
enum |
Returns current configured frequency (for example, LIVE). |
| — | alerting and archived |
bool |
Returns other deployment properties. |
Key differences
- Google Cloud project scoping integration:
- Scoped natively under parent project instance folder bindings (
rule_deployment.namepath parameter).
- Scoped natively under parent project instance folder bindings (
- Stateful attributes (enabled):
- Rather than launching custom
POSTendpoints:disableLiveRule, disabling continuous execution is parameterized by settingenabled = falseinside the sub-resourceRuleDeployment.
- Rather than launching custom
- IAM permissions:
- Request validation maps to standard Cloud IAM permission validation check (
chronicle.googleapis.com/ruleDeployments.update).
- Request validation maps to standard Cloud IAM permission validation check (