package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Sep 27, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Address struct {
Address string `xml:"http://iana.org/idmef address"`
Indent string `xml:"ident,attr"`
Category string `xml:"category,attr"`
}
func (a *Address) Common() *idmef.Address
type Alert struct {
MessageId string `xml:"messageid,attr"`
Analyzer Analyzer `xml:"http://iana.org/idmef Analyzer"`
CreateTime Time `xml:"http://iana.org/idmef CreateTime"`
DetectTime *Time `xml:"http://iana.org/idmef DetectTime"`
AnalyzerTime *Time `xml:"http://iana.org/idmef AnalyzerTime"`
Source []Source `xml:"http://iana.org/idmef Source"`
Target []Source `xml:"http://iana.org/idmef Target"`
Classification Classification `xml:"http://iana.org/idmef Classification"`
}
func (a *Alert) Common() *idmef.Alert
type Analyzer struct {
AnalyzerId string `xml:"analyzerid,attr"`
Node *Node `xml:"http://iana.org/idmef Node"`
}
func (a *Analyzer) Common() idmef.Analyzer
type Classification struct {
Text string `xml:"text,attr"`
Reference *Reference `xml:"http://iana.org/idmef Reference"`
}
type Message struct {
XMLName xml.Name `xml:"http://iana.org/idmef IDMEF-Message"`
XMLNSIDMEF string `xml:"xmlns:idmef,attr"`
Version string `xml:"version,attr"`
Alert *Alert `xml:"http://iana.org/idmef Alert"`
}
func (m *Message) Common() *idmef.Message
type Node struct {
Indent string `xml:"ident,attr,omitempty"`
Category string `xml:"category,attr,omitempty"`
Address *Address `xml:"http://iana.org/idmef Address,omitempty"`
Location string `xml:"http://iana.org/idmef location,omitempty"`
Name string `xml:"http://iana.org/idmef name,omitempty"`
}
func (n *Node) Common() *idmef.Node
type Reference struct {
Origin string `xml:"origin,attr"`
Name string `xml:"http://iana.org/idmef name"`
URL string `xml:"http://iana.org/idmef url"`
}
func (ref *Reference) Common() *idmef.Reference
type Source struct {
Indent string `xml:"ident,attr"`
Spoofed string `xml:"spoofed,attr,omitempty"`
Node *Node `xml:"http://iana.org/idmef Node"`
}
func (s *Source) Common() idmef.Source
type Time struct {
Time time.Time `xml:",chardata"`
NtpStamp string `xml:"ntpstamp,attr"`
}
func (t *Time) Common() idmef.Time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.