Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( EventNewVulnerability = EventType(1) EventFixVulnerability = EventType(2) )
View Source
var EventFixVulnerabilityExp = regexp.MustCompile(`use latest`)
matches "fix $(selector) with feda3fe222"
View Source
var EventNewVulnerabilityExp = regexp.MustCompile(`(CVE-\d+-\d+)\s+in\s+([^\s-]+)`)
matches "CVE-2013-11111 in fed34532hash432"
Functions ¶
This section is empty.
Types ¶
type Stream ¶
type Stream struct {
// contains filtered or unexported fields
}
func (*Stream) ReplyVulnerable ¶
func (s *Stream) ReplyVulnerable(ev Event, hostname string, vul *Vulnerable) error
type Vulnerable ¶
type Vulnerable struct { CVE string Containers []docker.APIContainers Images []docker.APIImages }
Click to show internal directories.
Click to hide internal directories.