signaturestest

package
v0.0.0-...-d4ca6f9 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FindingsHolder

type FindingsHolder struct {
	Values []detect.Finding
}

FindingsHolder is a utility struct that defines detect.SignatureHandler callback method and holds detect.Finding values received as the callback's argument in memory.

func (*FindingsHolder) FirstValue

func (h *FindingsHolder) FirstValue() *detect.Finding

func (*FindingsHolder) GroupBySigID

func (h *FindingsHolder) GroupBySigID() map[string]detect.Finding

func (*FindingsHolder) OnFinding

func (h *FindingsHolder) OnFinding(f detect.Finding)

Jump to

Keyboard shortcuts

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