Update SecObserve Record
secobserve_updateChange fields of an existing SecObserve record using PATCH or PUT. Modify supported resources like products or rules while preserving omitted fields.
Instructions
Change fields of an existing SecObserve record.
Defaults to PATCH so omitted fields keep their values; set replace=True only when you intend PUT semantics, which blanks anything you leave out.
To change an observation's severity, status or priority, do NOT use this tool -- use secobserve_assess_observation, which writes an observation log, honours the approval workflow and keeps the audit trail intact.
Args: params (UpdateInput): Validated input containing: - resource (str): Resource name supporting update. - id (int): Primary key of the record. - data (dict): Fields to change. - replace (bool): False = PATCH (default), True = PUT. - response_format (ResponseFormat): "markdown" or "json".
Returns: str: The updated record as markdown or JSON.
Examples: - Use when: "disable general rule 4" -> resource="general_rules", id=4, data={"enabled": False} - Use when: "point product 12 at license policy 3" -> resource="products", id=12, data={"license_policy": 3} - Don't use when: assessing an observation (use secobserve_assess_observation).
Error Handling: Refused when the resource has no update operation or the server is read-only. 400 responses carry the API's field-level validation detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |