Skip to content

Commit 528c220

Browse files
fix[backend](alerts/mcp): fixed wrong status options on change status operaion
1 parent 07ae657 commit 528c220

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/modules/mcp/tools_alerts.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func registerAlerts(m *Module) {
2929

3030
type alertsUpdateStatusInput struct {
3131
AlertIDs []string `json:"alert_ids" jsonschema:"OpenSearch _id values of the alerts to update"`
32-
Status int `json:"status" jsonschema:"Target status code (UTMStack convention: 0=open 1=in-review 2=closed)"`
32+
Status int `json:"status" jsonschema:"Target status code (UTMStack convention: 1=automatic-review, 2=open, 3=in-review, 5=completed/closed)"`
3333
StatusObservation string `json:"status_observation,omitempty" jsonschema:"Optional analyst note attached to the status change"`
3434
AddFalsePositiveTag bool `json:"add_false_positive_tag,omitempty" jsonschema:"If true, also apply the FALSE_POSITIVE tag (used when closing as FP)"`
3535
}

0 commit comments

Comments
 (0)