diff --git a/backend/app/stack_provisioning/graylog/schema/provision.py b/backend/app/stack_provisioning/graylog/schema/provision.py index 8f3623e30..7ff2ff00c 100644 --- a/backend/app/stack_provisioning/graylog/schema/provision.py +++ b/backend/app/stack_provisioning/graylog/schema/provision.py @@ -14,10 +14,10 @@ class AvailableContentPacks(str, Enum): " Pipelines, and Lookup Tables for Wazuh logs and the SOCFortress SIEM stack." ) # ! COMMENTING OUT UNTIL READY ! # - # SOCFORTRESS_FORTINET_INPUT_SYSLOG_TCP = "The Fortinet Input Syslog TCP content pack" - # SOCFORTRESS_FORTINET_INPUT_SYSLOG_UDP = "The Fortinet Input Syslog UDP content pack" - # SOCFORTRESS_FORTINET_PROCESSING_PIPELINE = "The Fortinet Processing Pipeline content pack" - # SOCFORTRESS_FORTINET_STREAM = "The Fortinet Stream content pack" + SOCFORTRESS_FORTINET_INPUT_SYSLOG_TCP = "The Fortinet Input Syslog TCP content pack" + SOCFORTRESS_FORTINET_INPUT_SYSLOG_UDP = "The Fortinet Input Syslog UDP content pack" + SOCFORTRESS_FORTINET_PROCESSING_PIPELINE = "The Fortinet Processing Pipeline content pack" + SOCFORTRESS_FORTINET_STREAM = "The Fortinet Stream content pack" class ContentPackKeywords(BaseModel): diff --git a/frontend/src/api/monitoringAlerts.ts b/frontend/src/api/monitoringAlerts.ts index bf0607268..b1f97708d 100644 --- a/frontend/src/api/monitoringAlerts.ts +++ b/frontend/src/api/monitoringAlerts.ts @@ -1,6 +1,6 @@ import { type FlaskBaseResponse } from "@/types/flask.d" import { HttpClient } from "./httpClient" -import type { AvailableMonitoringAlert } from "@/types/monitoringAlerts.d" +import type { AvailableMonitoringAlert, MonitoringAlert } from "@/types/monitoringAlerts.d" export interface ProvisionsMonitoringAlertParams { searchWithinLast: number @@ -42,5 +42,17 @@ export default { }, customProvision(payload: CustomProvisionPayload) { return HttpClient.post(`/monitoring_alert/provision/custom`, payload) + }, + listAll(signal?: AbortSignal) { + return HttpClient.get( + `/monitoring_alert/list`, + signal ? { signal } : {} + ) + }, + invoke(alertId: number) { + return HttpClient.post(`/monitoring_alert/invoke/${alertId}`) + }, + delete(alertId: number) { + return HttpClient.delete(`/monitoring_alert/${alertId}`) } } diff --git a/frontend/src/assets/scss/helpers.scss b/frontend/src/assets/scss/helpers.scss index 296f097c5..976de0461 100644 --- a/frontend/src/assets/scss/helpers.scss +++ b/frontend/src/assets/scss/helpers.scss @@ -69,7 +69,7 @@ } } -.overlay { +.over-layer { background-color: rgba(var(--bg-body-rgb), 0.8); position: absolute; top: 0; diff --git a/frontend/src/components/agents/OverviewSection.vue b/frontend/src/components/agents/OverviewSection.vue index 458bab8db..adfe84afd 100644 --- a/frontend/src/components/agents/OverviewSection.vue +++ b/frontend/src/components/agents/OverviewSection.vue @@ -7,7 +7,7 @@