| 1 | import type { FlaskBaseResponse } from "@/types/flask.d" |
| 2 | import { HttpClient } from "../httpClient" |
| 3 | |
| 4 | export default { |
| 5 | create(indexName: string, alertId: string) { |
| 6 | const body = { |
| 7 | index_name: indexName, |
| 8 | alert_id: alertId |
| 9 | } |
| 10 | return HttpClient.post<FlaskBaseResponse>(`/ask_socfortress/sigma`, body) |
| 11 | } |
| 12 | } |