alarm

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count() (count int)

Count set and return the count of alarms

func Init

func Init(logFile string) error

Init initialize alarm, storing result into logFile

func RemovalChannel

func RemovalChannel() chan string

RemovalChannel returns the channel used to send alarm ID to delete

func Upsert

func Upsert(id, name, kingdom, category string,
	srcIPs, dstIPs []string, lastSrcPort, lastDstPort, risk int, statusTime int64,
	rules []rule.DirectiveRule, connID uint64, checkIntelVuln bool,
	tx *apm.Transaction)

Upsert creates or update alarms backlog struct is decomposed here to avoid circular dependency

Types

This section is empty.

Jump to

Keyboard shortcuts

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