beater

package
v0.0.0-...-f27d8d2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlertEntityToCommonMap

func AlertEntityToCommonMap(entity sophoscentral.AlertEntity) (common.MapStr, error)

func GetSophosAlerts

func GetSophosAlerts(scb Sophoscentralbeat) ([]sophoscentral.AlertEntity, error)

func LegacyEventEntityToCommonMap

func LegacyEventEntityToCommonMap(entity sophoscentral.LegacyEventEntity) (common.MapStr, error)

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New creates an instance of sophoscentralbeat.

Types

type Sophoscentralbeat

type Sophoscentralbeat struct {
	// contains filtered or unexported fields
}

Sophoscentralbeat configuration.

func (*Sophoscentralbeat) Run

func (scb *Sophoscentralbeat) Run(b *beat.Beat) error

Run starts sophoscentralbeat.

func (*Sophoscentralbeat) Stop

func (bt *Sophoscentralbeat) Stop()

Stop stops sophoscentralbeat.

Jump to

Keyboard shortcuts

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