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
Click to show internal directories.
Click to hide internal directories.