- [HTTP request](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.request_body)
- [Response body](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.aspect)
- [IAM Permissions](https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments/patch#body.aspect_1)

**Full name**: projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments.patch

Update a deployment of a curated rule set.

### HTTP request

`PATCH https://{endpoint}/v1alpha/{curatedRuleSetDeployment.name}`

Where `{endpoint}` is one of the [supported service endpoints](https://docs.cloud.google.com/chronicle/docs/reference/rest#rest_endpoints).

### Path parameters

| Parameters ||
|---|---|
| `curatedRuleSetDeployment.name` | `string` The name of this deployment. |

### Query parameters

| Parameters ||
|---|---|
| `updateMask` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` format)`` Optional. The list of fields to update. If no field mask or `*` is provided, all fields will be updated. This is a comma-separated list of fully qualified names of fields. Example: `"user.displayName,photo"`. |
| `ruleSetDeploymentSyncDisabled` | `boolean` Optional. Controls the synchronization of live and alerting statuses between the Curated Rule Set and its individual rules when updating the rule set's deployment. Default behavior (when false or unset): When you enable or disable the Curated Rule Set, this status is automatically applied to all individual rules within the set. For example: - Enabling the rule set: All its rules become active and will generate alerts if an alerting status is set. - Disabling the rule set: All its rules become inactive and stop generating alerts. Any prior individual on/off or alerting settings for rules in this set will be overridden by the set-level action. Behavior when true: Enabling or disabling the Curated Rule Set will NOT change the current live or alerting status of the individual rules within it. This allows you to: - Keep a specific, useful rule running even if you disable the rest of the Curated Rule Set. - Disable a noisy rule without disabling the entire Curated Rule Set. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments#CuratedRuleSetDeployment`.

### Response body

If successful, the response body contains an instance of `https://docs.cloud.google.com/chronicle/docs/reference/rest/v1alpha/projects.locations.instances.curatedRuleSetCategories.curatedRuleSets.curatedRuleSetDeployments#CuratedRuleSetDeployment`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/chronicle`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).

### IAM Permissions

Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource:

- `chronicle.curatedRuleSetDeployments.update`

For more information, see the [IAM documentation](https://cloud.google.com/iam/docs).