Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IgnoreLead ¶
func UncopyLead ¶
func UnignoreLead ¶
Types ¶
type AffectedAsset ¶
type AffectedAsset struct { Name string `json:"name"` Port int `xml:"port,attr" json:"port,omitempty"` SvcName string `xml:"svc_name,attr" json:"svc_name,omitempty"` Protocol string `xml:"protocol,attr" json:"protocol,omitempty"` PluginOutput string `json:"plugin_output"` AffectedHost *nessus.ReportHost `json:"-"` }
func (*AffectedAsset) ToAssetString ¶
func (a *AffectedAsset) ToAssetString() string
type ExploitationRatings ¶
type HugoLeadData ¶
type Lead ¶
type Lead struct { Dir string `json:"-"` Title string `json:"title"` Description string `json:"description"` CweRefs []string `json:"cweRefs"` ExternalUUID string `json:"external_uuid"` Cvss CVSS `json:"cvss"` Exploitation ExploitationRatings `json:"exploitation"` ExternalData struct { Nessus NessusFinding `json:"nessus"` } `json:"externalData"` }
func FromNessusFinding ¶
func FromNessusFinding(finding *NessusFinding) *Lead
func LeadFromID ¶
type NessusFinding ¶
type NessusFinding struct { ReportItem *nessus.ReportItem `json:"report_item,omitempty"` AffectedAssets []AffectedAsset `json:"affected_assets,omitempty"` }
Click to show internal directories.
Click to hide internal directories.