[][src]Struct tenable::types::Asset

pub struct Asset {
    pub id: Option<String>,
    pub has_agent: Option<bool>,
    pub last_seen: Option<String>,
    pub last_scan_target: Option<String>,
    pub sources: Option<Vec<Source>>,
    pub acr_score: Option<i32>,
    pub acr_drivers: Option<Vec<AcrDriver>>,
    pub exposure_score: Option<i32>,
    pub scan_frequency: Option<Vec<ScanFrequency>>,
    pub ipv4: Option<Vec<String>>,
    pub ipv6: Option<Vec<String>>,
    pub fqdn: Option<Vec<String>>,
    pub netbios_name: Option<Vec<String>>,
    pub operating_system: Option<Vec<String>>,
    pub agent_name: Option<Vec<String>>,
    pub aws_ec2_name: Option<Vec<String>>,
    pub mac_address: Option<Vec<String>>,
}

Represents the Asset returned by assets

Fields

id: Option<String>

The UUID of the asset. Use this value as the unique key for the asset.

has_agent: Option<bool>

A value specifying whether a Nessus agent scan detected the asset (true).

last_seen: Option<String>

The ISO timestamp of the scan that most recently detected the asset.

last_scan_target: Option<String>

The IPv4 address, IPv6 address, or FQDN that the scanner last used to evaluate the asset.

sources: Option<Vec<Source>>

The sources of the scans that identified the asset.

acr_score: Option<i32>

The Asset Criticality Rating (ACR) for the asset. With Lumin, Tenable assigns an ACR to each asset on your network to represent the asset's relative risk as an integer from 1 to 10. For more information, see Lumin Metrics in the Tenable.io Vulnerability Management User Guide. This attribute is only present if you have a Lumin license.

acr_drivers: Option<Vec<AcrDriver>>

The key drivers that Tenable uses to calculate an asset's Tenable-provided ACR. For more information, see Lumin Metrics in the Tenable.io Vulnerability Management User Guide. This attribute is only present if you have a Lumin license.

exposure_score: Option<i32>

The Asset Exposure Score (AES) for the asset. For more information, see Lumin Metrics in the Tenable.io Vulnerability Management User Guide. This attribute is only present if you have a Lumin license.

scan_frequency: Option<Vec<ScanFrequency>>

Information about how often scans ran against the asset during specified intervals. This attribute is only present if you have a Lumin license.

ipv4: Option<Vec<String>>

A list of IPv4 addresses for the asset.

ipv6: Option<Vec<String>>

A list of IPv6 addresses for the asset.

fqdn: Option<Vec<String>>

A list of fully-qualified domain names (FQDNs) for the asset.

netbios_name: Option<Vec<String>>

The NetBIOS name for the asset.

operating_system: Option<Vec<String>>

The operating systems that scans have associated with the asset record.

agent_name: Option<Vec<String>>

The names of any Nessus agents that scanned and identified the asset.

aws_ec2_name: Option<Vec<String>>

The name of the virtual machine instance in AWS EC2.

mac_address: Option<Vec<String>>

A list of MAC addresses for the asset.

Trait Implementations

impl Clone for Asset[src]

impl Debug for Asset[src]

impl<'de> Deserialize<'de> for Asset[src]

impl PartialEq<Asset> for Asset[src]

impl Serialize for Asset[src]

impl StructuralPartialEq for Asset[src]

Auto Trait Implementations

impl RefUnwindSafe for Asset

impl Send for Asset

impl Sync for Asset

impl Unpin for Asset

impl UnwindSafe for Asset

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.