Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Alert ¶
type Alert struct { ID int `json:"id"` RuleName string `json:"rule_name,omitempty"` Severity string `json:"severity,omitempty"` AlertType string `json:"alert_type,omitempty"` AlertStatus string `json:"alert_status,omitempty"` NumGeolocations int `json:"num_geolocations,omitempty"` NumDevices int `json:"num_devices,omitempty"` StartedOn int `json:"started_on,omitempty"` EndedOn int `json:"ended_on,omitempty"` Application Application `json:"application,omitempty"` Departments []Department `json:"departments,omitempty"` Locations []Location `json:"locations,omitempty"` Geolocations []Geolocation `json:"geolocations,omitempty"` }
type AlertsResponse ¶
type AlertsResponse struct { Alerts []Alert `json:"alerts"` NextOffset string `json:"next_offset"` }
func GetAffectedDevices ¶
func GetAffectedDevices(service *services.Service, alertID string) (*AlertsResponse, *http.Response, error)
GetAffectedDevices retrieves the affected devices for a specific alert by ID
func GetHistoricalAlerts ¶
GetHistoricalAlerts retrieves historical alerts
func GetOngoingAlerts ¶
GetOngoingAlerts retrieves ongoing alerts
type Application ¶
type Department ¶
type Geolocation ¶
Click to show internal directories.
Click to hide internal directories.