From 528c22013e8d3378f1700cbb1c45854d25cbfaea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Tue, 30 Jun 2026 15:36:35 -0600 Subject: [PATCH] fix[backend](alerts/mcp): fixed wrong status options on change status operaion --- backend/modules/mcp/tools_alerts.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/modules/mcp/tools_alerts.go b/backend/modules/mcp/tools_alerts.go index 4c846abb4..c51fc330f 100644 --- a/backend/modules/mcp/tools_alerts.go +++ b/backend/modules/mcp/tools_alerts.go @@ -29,7 +29,7 @@ func registerAlerts(m *Module) { type alertsUpdateStatusInput struct { AlertIDs []string `json:"alert_ids" jsonschema:"OpenSearch _id values of the alerts to update"` - Status int `json:"status" jsonschema:"Target status code (UTMStack convention: 0=open 1=in-review 2=closed)"` + Status int `json:"status" jsonschema:"Target status code (UTMStack convention: 1=automatic-review, 2=open, 3=in-review, 5=completed/closed)"` StatusObservation string `json:"status_observation,omitempty" jsonschema:"Optional analyst note attached to the status change"` AddFalsePositiveTag bool `json:"add_false_positive_tag,omitempty" jsonschema:"If true, also apply the FALSE_POSITIVE tag (used when closing as FP)"` }