[][src]Struct nessus_xml_parser::ReportItem

pub struct ReportItem {
    pub port: u16,
    pub svc_name: String,
    pub protocol: Protocol,
    pub severity: Severity,
    pub plugin_id: usize,
    pub plugin_name_attr: String,
    pub plugin_family: String,
    pub fname: Option<String>,
    pub plugin_modification_date: Option<String>,
    pub plugin_name: Option<String>,
    pub plugin_publication_date: Option<String>,
    pub plugin_type: Option<String>,
    pub risk_factor: Option<String>,
    pub script_version: Option<String>,
    pub solution: Option<String>,
    pub synopsis: Option<String>,
    pub plugin_output: Option<String>,
    pub description: Option<String>,
    pub asset_inventory: Option<bool>,
    pub os_identification: Option<bool>,
}

Struct for the data from a finding

Fields

port: u16

Port number. May be zero if the finding does not relate to a port

svc_name: String

Name of the service running on the port, if known. May also be a complete guess

protocol: Protocol

The protocol (e.g. TCP, UDP, ICMP)

severity: Severity

Severity of the finding

plugin_id: usize

ID of the plugin that produced the finding

plugin_name_attr: String

Name of the plugin, obtained from the XML tag attributes

plugin_family: String

The family that the plugin belongs to

fname: Option<String>

The filename of the plugin script

plugin_modification_date: Option<String>

Last modification date of the plugin. No promises are made about the date format

plugin_name: Option<String>

Name of the plugin from the XML child nodes. May or may not match plugin_name_attr

plugin_publication_date: Option<String>

Publication date of the plugin

plugin_type: Option<String>

Type of plugin

risk_factor: Option<String>

Risk factor associated with the plugin

script_version: Option<String>

Version number of the plugin script

solution: Option<String>

Remediation information

synopsis: Option<String>

Brief description of the vulnerability

plugin_output: Option<String>

Raw output from the plugin script

description: Option<String>

Full text description of the vulnerability

asset_inventory: Option<bool>

asset inventory

os_identification: Option<bool>

Whether OS identification was performed

Implementations

impl ReportItem[src]

pub fn port(&self) -> Port[src]

Returns a Port object corresponding to the current finding

Trait Implementations

impl Debug for ReportItem[src]

impl Default for ReportItem[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.