manager

package
v0.0.0-...-0bbb64c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Alerts

type Alerts struct {
	LogAlertLevel   string `json:"log_alert_level"`
	EmailAlertLevel string `json:"email_alert_level"`
}

type AnalysisdStats

type AnalysisdStats struct {
	ArchivesQueueSize         int `json:"archives_queue_size"`
	EventsDropped             int `json:"events_dropped"`
	AlertsQueueSize           int `json:"alerts_queue_size"`
	RuleMatchingQueueUsage    int `json:"rule_matching_queue_usage"`
	EventsProcessed           int `json:"events_processed"`
	EventQueueUsage           int `json:"event_queue_usage"`
	EventsEdps                int `json:"events_edps"`
	HostinfoEventsDecoded     int `json:"hostinfo_events_decoded"`
	SyscollectorEventsDecoded int `json:"syscollector_events_decoded"`
	RootcheckEdps             int `json:"rootcheck_edps"`
	FirewallQueueUsage        int `json:"firewall_queue_usage"`
	AlertsQueueUsage          int `json:"alerts_queue_usage"`
	FirewallQueueSize         int `json:"firewall_queue_size"`
	AlertsWritten             int `json:"alerts_written"`
	FirewallWritten           int `json:"firewall_written"`
	SyscheckQueueSize         int `json:"syscheck_queue_size"`
	EventsReceived            int `json:"events_received"`
	RootcheckQueueUsage       int `json:"rootcheck_queue_usage"`
	RootcheckEventsDecoded    int `json:"rootcheck_events_decoded"`
	RootcheckQueueSize        int `json:"rootcheck_queue_size"`
	SyscheckEdps              int `json:"syscheck_edps"`
	FtsWritten                int `json:"fts_written"`
	SyscheckQueueUsage        int `json:"syscheck_queue_usage"`
	OtherEventsEdps           int `json:"other_events_edps"`
	StatisticalQueueUsage     int `json:"statistical_queue_usage"`
	HostinfoEdps              int `json:"hostinfo_edps"`
	HostinfoQueueUsage        int `json:"hostinfo_queue_usage"`
	SyscheckEventsDecoded     int `json:"syscheck_events_decoded"`
	SyscollectorQueueUsage    int `json:"syscollector_queue_usage"`
	ArchivesQueueUsage        int `json:"archives_queue_usage"`
	StatisticalQueueSize      int `json:"statistical_queue_size"`
	TotalEventsDecoded        int `json:"total_events_decoded"`
	HostinfoQueueSize         int `json:"hostinfo_queue_size"`
	SyscollectorQueueSize     int `json:"syscollector_queue_size"`
	RuleMatchingQueueSize     int `json:"rule_matching_queue_size"`
	OtherEventsDecoded        int `json:"other_events_decoded"`
	EventQueueSize            int `json:"event_queue_size"`
	SyscollectorEdps          int `json:"syscollector_edps"`
}

type Auth

type Auth struct {
	Purge            string `json:"purge"`
	Ciphers          string `json:"ciphers"`
	ForceInsert      string `json:"force_insert"`
	SslVerifyHost    string `json:"ssl_verify_host"`
	LimitMaxagents   string `json:"limit_maxagents"`
	ForceTime        string `json:"force_time"`
	SslManagerKey    string `json:"ssl_manager_key"`
	Disabled         string `json:"disabled"`
	SslManagerCert   string `json:"ssl_manager_cert"`
	UseSourceIP      string `json:"use_source_ip"`
	UsePassword      string `json:"use_password"`
	Port             string `json:"port"`
	SslAutoNegotiate string `json:"ssl_auto_negotiate"`
}

type AutoIgnore

type AutoIgnore struct {
	Item      string `json:"item"`
	Frequency string `json:"frequency"`
	Timeframe string `json:"timeframe"`
}

type CisCat

type CisCat struct {
	Interval    string `json:"interval"`
	Disabled    string `json:"disabled"`
	ScanOnStart string `json:"scan-on-start"`
	CiscatPath  string `json:"ciscat_path"`
	JavaPath    string `json:"java_path"`
	Timeout     string `json:"timeout"`
}

type Cluster

type Cluster struct {
	Disabled string   `json:"disabled"`
	Hidden   string   `json:"hidden"`
	Name     string   `json:"name"`
	NodeName string   `json:"node_name"`
	BindAddr string   `json:"bind_addr"`
	NodeType string   `json:"node_type"`
	Nodes    []string `json:"nodes"`
	Port     string   `json:"port"`
}

type Command

type Command struct {
	Executable     string `json:"executable"`
	TimeoutAllowed string `json:"timeout_allowed,omitempty"`
	Name           string `json:"name"`
	Expect         string `json:"expect,omitempty"`
}

type Directories

type Directories struct {
	Path     string `json:"path"`
	CheckAll string `json:"check_all"`
}

type Feed

type Feed struct {
	Disabled       string `json:"disabled"`
	UpdateInterval string `json:"update_interval"`
	Name           string `json:"name"`
}

type GetAnalysisdStatsResponse

type GetAnalysisdStatsResponse struct {
	Error int            `json:"error"`
	Data  AnalysisdStats `json:"data"`
}

type GetLogSummaryResponse

type GetLogSummaryResponse struct {
	Error int        `json:"error"`
	Data  LogSummary `json:"data"`
}

type GetLogsResponse

type GetLogsResponse struct {
	Error int `json:"error"`
	Data  struct {
		TotalItems int   `json:"totalItems"`
		Items      []Log `json:"items"`
	} `json:"data"`
}

type GetManagerConfigurationResponse

type GetManagerConfigurationResponse struct {
	Error int                  `json:"error"`
	Data  ManagerConfiguration `json:"data"`
}

type GetManagerInformationResponse

type GetManagerInformationResponse struct {
	Error int                `json:"error"`
	Data  ManagerInformation `json:"data"`
}

type GetManagerStatsResponse

type GetManagerStatsResponse struct {
	Error int            `json:"error"`
	Data  []ManagerStats `json:"data"`
}

type GetManagerStatusResponse

type GetManagerStatusResponse struct {
	Error int           `json:"error"`
	Data  ManagerStatus `json:"data"`
}

type GetRemotedStatsResponse

type GetRemotedStatsResponse struct {
	Error int          `json:"error"`
	Data  RemotedStats `json:"data"`
}

type GetStatsByHourResponse

type GetStatsByHourResponse struct {
	Error int         `json:"error"`
	Data  StatsByHour `json:"data"`
}

type GetWeeklyStatsResponse

type GetWeeklyStatsResponse struct {
	Error int         `json:"error"`
	Data  WeeklyStats `json:"data"`
}

type Global

type Global struct {
	EmailNotification string   `json:"email_notification"`
	AlertsLog         string   `json:"alerts_log"`
	JsonoutOutput     string   `json:"jsonout_output"`
	SMTPServer        string   `json:"smtp_server"`
	QueueSize         string   `json:"queue_size"`
	EmailTo           string   `json:"email_to"`
	Logall            string   `json:"logall"`
	EmailMaxperhour   string   `json:"email_maxperhour"`
	WhiteList         []string `json:"white_list"`
	EmailFrom         string   `json:"email_from"`
	LogallJSON        string   `json:"logall_json"`
}

type Integration

type Integration struct {
	AlertFormat string `json:"alert_format"`
	HookURL     string `json:"hook_url"`
	Name        string `json:"name"`
	Level       string `json:"level"`
}

type Localfile

type Localfile struct {
	LogFormat string `json:"log_format"`
	Frequency string `json:"frequency,omitempty"`
	Command   string `json:"command,omitempty"`
	Alias     string `json:"alias,omitempty"`
	Location  string `json:"location,omitempty"`
}

type Log

type Log struct {
	Timestamp   string `json:"timestamp"`
	Tag         string `json:"tag"`
	Description string `json:"description"`
	Level       string `json:"level"`
}

type LogSummary

type LogSummary struct {
	OssecSyscheckd            OssecSyscheckd            `json:"ossec-syscheckd"`
	WazuhModulesdSyscollector WazuhModulesdSyscollector `json:"wazuh-modulesd:syscollector"`
	OssecRootcheck            OssecRootcheck            `json:"ossec-rootcheck"`
	OssecMonitord             OssecMonitord             `json:"ossec-monitord"`
}

type ManagerConfiguration

type ManagerConfiguration struct {
	Alerts                Alerts                `json:"alerts"`
	Remote                []Remote              `json:"remote"`
	Ruleset               Ruleset               `json:"ruleset"`
	CisCat                CisCat                `json:"cis-cat"`
	Rootcheck             Rootcheck             `json:"rootcheck"`
	Global                Global                `json:"global"`
	Integration           []Integration         `json:"integration"`
	Auth                  Auth                  `json:"auth"`
	Syscollector          Syscollector          `json:"syscollector"`
	Syscheck              Syscheck              `json:"syscheck"`
	VulnerabilityDetector VulnerabilityDetector `json:"vulnerability-detector"`
	OpenScap              OpenScap              `json:"open-scap"`
	Cluster               Cluster               `json:"cluster"`
	Command               []Command             `json:"command"`
	Localfile             []Localfile           `json:"localfile"`
	Osquery               Osquery               `json:"osquery"`
}

type ManagerInformation

type ManagerInformation struct {
	CompilationDate string `json:"compilation_date"`
	Version         string `json:"version"`
	OpensslSupport  string `json:"openssl_support"`
	MaxAgents       string `json:"max_agents"`
	RulesetVersion  string `json:"ruleset_version"`
	Path            string `json:"path"`
	TzName          string `json:"tz_name"`
	Type            string `json:"type"`
	TzOffset        string `json:"tz_offset"`
}

type ManagerStats

type ManagerStats struct {
	Hour     int `json:"hour"`
	Firewall int `json:"firewall"`
	Alerts   []struct {
		Times int `json:"times"`
		Sigid int `json:"sigid"`
		Level int `json:"level"`
	} `json:"alerts"`
	TotalAlerts int `json:"totalAlerts"`
	Syscheck    int `json:"syscheck"`
	Events      int `json:"events"`
}

type ManagerStatus

type ManagerStatus struct {
	WazuhModulesd     string `json:"wazuh-modulesd"`
	OssecAuthd        string `json:"ossec-authd"`
	WazuhClusterd     string `json:"wazuh-clusterd"`
	OssecMonitord     string `json:"ossec-monitord"`
	OssecLogcollector string `json:"ossec-logcollector"`
	OssecExecd        string `json:"ossec-execd"`
	OssecRemoted      string `json:"ossec-remoted"`
	OssecSyscheckd    string `json:"ossec-syscheckd"`
	OssecAnalysisd    string `json:"ossec-analysisd"`
	OssecMaild        string `json:"ossec-maild"`
}

type OpenScap

type OpenScap struct {
	Disabled    string `json:"disabled"`
	ScanOnStart string `json:"scan-on-start"`
	Interval    string `json:"interval"`
	Timeout     string `json:"timeout"`
}

type Osquery

type Osquery struct {
	Disabled   string `json:"disabled"`
	LogPath    string `json:"log_path"`
	AddLabels  string `json:"add_labels"`
	RunDaemon  string `json:"run_daemon"`
	ConfigPath string `json:"config_path"`
}

type OssecMonitord

type OssecMonitord struct {
	Info     int `json:"info"`
	All      int `json:"all"`
	Critical int `json:"critical"`
	Error    int `json:"error"`
	Debug    int `json:"debug"`
	Warning  int `json:"warning"`
}

type OssecRootcheck

type OssecRootcheck struct {
	Info     int `json:"info"`
	All      int `json:"all"`
	Critical int `json:"critical"`
	Error    int `json:"error"`
	Debug    int `json:"debug"`
	Warning  int `json:"warning"`
}

type OssecSyscheckd

type OssecSyscheckd struct {
	Info     int `json:"info"`
	All      int `json:"all"`
	Critical int `json:"critical"`
	Error    int `json:"error"`
	Debug    int `json:"debug"`
	Warning  int `json:"warning"`
}

type Ports

type Ports struct {
	Item string `json:"item"`
	All  string `json:"all"`
}

type Remote

type Remote struct {
	QueueSize  string `json:"queue_size"`
	Connection string `json:"connection"`
	Protocol   string `json:"protocol"`
	Port       string `json:"port"`
}

type RemotedStats

type RemotedStats struct {
	DiscardedCount int `json:"discarded_count"`
	MsgSent        int `json:"msg_sent"`
	QueueSize      int `json:"queue_size"`
	CtrlMsgCount   int `json:"ctrl_msg_count"`
	EvtCount       int `json:"evt_count"`
	TCPSessions    int `json:"tcp_sessions"`
	TotalQueueSize int `json:"total_queue_size"`
}

type Rootcheck

type Rootcheck struct {
	CheckUnixaudit string   `json:"check_unixaudit"`
	CheckPids      string   `json:"check_pids"`
	RootkitTrojans []string `json:"rootkit_trojans"`
	SkipNfs        string   `json:"skip_nfs"`
	CheckIf        string   `json:"check_if"`
	CheckSys       string   `json:"check_sys"`
	CheckDev       string   `json:"check_dev"`
	CheckPorts     string   `json:"check_ports"`
	Disabled       string   `json:"disabled"`
	RootkitFiles   []string `json:"rootkit_files"`
	CheckTrojans   string   `json:"check_trojans"`
	Frequency      string   `json:"frequency"`
	CheckFiles     string   `json:"check_files"`
	SystemAudit    []string `json:"system_audit"`
}

type Ruleset

type Ruleset struct {
	RuleExclude []string `json:"rule_exclude"`
	List        []string `json:"list"`
	RuleDir     []string `json:"rule_dir"`
	DecoderDir  []string `json:"decoder_dir"`
}

type StatsByHour

type StatsByHour struct {
	Averages     []int `json:"averages"`
	Interactions int   `json:"interactions"`
}

type Syscheck

type Syscheck struct {
	Ignore        []string      `json:"ignore"`
	SkipNfs       string        `json:"skip_nfs"`
	Directories   []Directories `json:"directories"`
	ScanOnStart   string        `json:"scan_on_start"`
	AlertNewFiles string        `json:"alert_new_files"`
	Disabled      string        `json:"disabled"`
	Frequency     string        `json:"frequency"`
	RestartAudit  string        `json:"restart_audit"`
	AutoIgnore    AutoIgnore    `json:"auto_ignore"`
	RemoveOldDiff string        `json:"remove_old_diff"`
	Nodiff        []string      `json:"nodiff"`
}

type Syscollector

type Syscollector struct {
	Hardware    string `json:"hardware"`
	Processes   string `json:"processes"`
	Network     string `json:"network"`
	Interval    string `json:"interval"`
	ScanOnStart string `json:"scan_on_start"`
	Disabled    string `json:"disabled"`
	Packages    string `json:"packages"`
	Os          string `json:"os"`
	Ports       Ports  `json:"ports"`
}

type VulnerabilityDetector

type VulnerabilityDetector struct {
	Disabled   string `json:"disabled"`
	IgnoreTime string `json:"ignore_time"`
	Feed       []Feed `json:"feed"`
	Interval   string `json:"interval"`
	RunOnStart string `json:"run_on_start"`
}

type WazuhModulesdSyscollector

type WazuhModulesdSyscollector struct {
	Info     int `json:"info"`
	All      int `json:"all"`
	Critical int `json:"critical"`
	Error    int `json:"error"`
	Debug    int `json:"debug"`
	Warning  int `json:"warning"`
}

type WeeklyStats

type WeeklyStats struct {
	Wed struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Wed"`
	Sun struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Sun"`
	Fri struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Fri"`
	Tue struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Tue"`
	Mon struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Mon"`
	Thu struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Thu"`
	Sat struct {
		Hours        []int `json:"hours"`
		Interactions int   `json:"interactions"`
	} `json:"Sat"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL