Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
WazuhConfig WazuhConfig `xml:"ossec_config"`
IntegratorConfig IntegratorConfig `xml:"integrator_config"`
}
type Integration ¶
type Integration struct {
Name string `xml:"name" json:"name"`
HookURL string `xml:"hook_url" json:"hook_url,omitempty"`
APIKey string `xml:"api_key" json:"api_key,omitempty"`
Level int `xml:"level" json:"level,omitempty"`
RawRuleID string `xml:"rule_id" json:"rule_id,omitempty"`
RuleIDs []int `xml:"-" json:"-"`
RawGroup string `xml:"group" json:"group,omitempty"`
Groups []string `xml:"-" json:"-"`
RawEventLocation string `xml:"event_location" json:"event_location,omitempty"`
EventLocations []string `xml:"-" json:"-"`
AlertFormat string `xml:"alert_format" json:"alert_format,omitempty"`
}
type IntegratorConfig ¶
type IntegratorConfig struct {
MaxWorkers int `xml:"max_workers"`
}
type WazuhConfig ¶
type WazuhConfig struct {
Integrations []Integration `xml:"integration"`
}
Click to show internal directories.
Click to hide internal directories.