enrichment

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnrichDevice

func EnrichDevice(d EnrichDeviceRequest) (device.Device, error)

func PortScannerFilter

func PortScannerFilter(cfg *config.PortScannerConfig) device.DeviceFilter

Types

type EnrichAllDevicesEvent

type EnrichAllDevicesEvent EnrichmentFields

func (EnrichAllDevicesEvent) String

func (e EnrichAllDevicesEvent) String() string

type EnrichDeviceRequest

type EnrichDeviceRequest struct {
	Fields EnrichmentFields
	Device device.Device
}

func (EnrichDeviceRequest) String

func (e EnrichDeviceRequest) String() string

type EnrichmentFields

type EnrichmentFields struct {
	PerformDNSLookup bool
	PerformOUILookup bool
	PerformPortScan  bool
	PerformSNMPScan  bool
	Cfg              *config.Enrichment
}

TODO: This should probably go away and just use the EnrichmentConfig

func DefaultEnrichmentFields

func DefaultEnrichmentFields(cfg *config.Enrichment) EnrichmentFields

func (EnrichmentFields) String

func (e EnrichmentFields) String() string

Jump to

Keyboard shortcuts

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