Documentation ¶
Index ¶
- Variables
- func CheckIntelIP(ip string, connID uint64) (found bool, results []intel.Result)
- func CheckVulnIPPort(ip string, port int) (found bool, results []vuln.Result)
- func InitIntel(confDir string, cacheDuration int) error
- func InitVuln(confDir string, cacheDuration int) error
- type IntelSource
- type IntelSources
- type VulnSource
- type VulnSources
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // IntelEnabled mark whether intel lookup is enabled IntelEnabled bool )
View Source
var ( // VulnEnabled mark whether vuln lookup is enabled VulnEnabled bool )
Functions ¶
func CheckIntelIP ¶
CheckIntelIP lookup ip on threat intel references
func CheckVulnIPPort ¶
CheckVulnIPPort lookup ip-port pair on vulnerability scan result references
Types ¶
type IntelSource ¶ added in v0.4.1
type IntelSource struct { Name string `json:"name"` Type string `json:"type"` Enabled bool `json:"enabled"` Plugin string `json:"plugin"` Config string `json:"config"` }
IntelSource represents entry in intel_*.json config file
type IntelSources ¶ added in v0.4.1
type IntelSources struct {
IntelSources []IntelSource `json:"intel_sources"`
}
IntelSource represents collection of IntelSource
type VulnSource ¶ added in v0.4.1
type VulnSource struct { Name string `json:"name"` Type string `json:"type"` Enabled bool `json:"enabled"` URL string `json:"url"` Plugin string `json:"plugin"` Config string `json:"config"` }
VulnSource represents entry in vuln_*.json config file
type VulnSources ¶ added in v0.4.1
type VulnSources struct {
VulnSources []VulnSource `json:"vuln_sources"`
}
VulnSources represents collection of VulnSource
Click to show internal directories.
Click to hide internal directories.