Delete SecObserve Record
secobserve_deletePermanently delete a SecObserve record with cascading removal of dependent data. Safeguards require exact name confirmation for products and product groups, ensuring deliberate deletion.
Instructions
Permanently delete a SecObserve record. Deletion cascades and cannot be undone.
Deleting a product removes its branches, observations, license components, metrics history and VEX documents; deleting a product group removes its child products too. Those two therefore require confirm_name to match the record's exact name, and the whole tool is disabled unless SECOBSERVE_ALLOW_DELETE is set on the server.
Args: resource (str): Resource name supporting delete. id (int): Primary key of the record. confirm_name (Optional[str]): Exact name; required for products and product_groups, case- and whitespace-sensitive.
Returns: str: A one-line confirmation naming what was deleted.
Examples: - Use when: "remove license policy item 88" -> resource="license_policy_items", id=88 - Use when: the user has explicitly confirmed deleting product 12 named "Example Product" -> resource="products", id=12, confirm_name="Example Product" - Don't use when: you want to stop tracking findings (assess them as "Not affected" or "Risk accepted" instead, which keeps the history).
Error Handling: Refused when SECOBSERVE_ALLOW_DELETE is unset, when the resource has no delete operation, or when confirm_name is missing for a product or product group. A 409 means something still references the record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Numeric primary key of the record to delete. | |
| resource | Yes | Resource name that supports delete. | |
| confirm_name | No | Required for 'products' and 'product_groups': the record's exact name, case- and whitespace-sensitive. The API rejects a mismatch, which is what makes the delete deliberate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |