alarm

package
v0.32.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: GPL-3.0 Imports: 17 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, intelPrivIPFlag bool) 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, customData []rule.CustomData, 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