#[non_exhaustive]pub struct Vulnerability {Show 31 fields
pub advisory: Option<Box<Advisory>>,
pub affected_code: Option<Vec<AffectedCode>>,
pub affected_packages: Option<Vec<AffectedPackage>>,
pub category: Option<String>,
pub cve: Option<Box<Cve>>,
pub cwe: Option<Box<Cwe>>,
pub dependency_chain: Option<String>,
pub desc: Option<String>,
pub exploit_last_seen_time: Option<i64>,
pub exploit_last_seen_time_dt: Option<String>,
pub exploit_ref_url: Option<String>,
pub exploit_requirement: Option<String>,
pub exploit_type: Option<String>,
pub first_seen_time: Option<i64>,
pub first_seen_time_dt: Option<String>,
pub fix_available: Option<bool>,
pub fix_coverage: Option<String>,
pub fix_coverage_id: Option<i64>,
pub is_exploit_available: Option<bool>,
pub is_fix_available: Option<bool>,
pub kb_article_list: Option<Vec<KbArticle>>,
pub kb_articles: Option<Vec<String>>,
pub last_seen_time: Option<i64>,
pub last_seen_time_dt: Option<String>,
pub packages: Option<Vec<Package>>,
pub references: Option<Vec<String>>,
pub related_vulnerabilities: Option<Vec<String>>,
pub remediation: Option<Box<Remediation>>,
pub severity: Option<String>,
pub title: Option<String>,
pub vendor_name: Option<String>,
}Expand description
Vulnerability Details
The vulnerability is an unintended characteristic of a computing component or system configuration that multiplies the risk of an adverse event or a loss occurring either due to accidental exposure, deliberate attack, or conflict with new system components.
[] Category: | Name: vulnerability
Constraints:
- just_one:
[advisory,cve,cwe]
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.advisory: Option<Box<Advisory>>Security Advisory
Detail about the security advisory, that is used to publicly disclose cybersecurity vulnerabilities by a vendor.
optional
affected_code: Option<Vec<AffectedCode>>Affected Code
List of Affected Code objects that describe details about code blocks identified as vulnerable.
optional
affected_packages: Option<Vec<AffectedPackage>>Affected Software Packages
List of software packages identified as affected by a vulnerability/vulnerabilities.
optional
category: Option<String>Category
The category of a vulnerability or weakness, as reported by the source tool, such as Container Security or Open Source Security.
optional
cve: Option<Box<Cve>>CVE
Describes the Common Vulnerabilities and Exposures (CVE) details related to the vulnerability.
recommended
cwe: Option<Box<Cwe>>CWE
Describes the Common Weakness Enumeration (CWE) details related to the vulnerability.
recommended
dependency_chain: Option<String>Dependency Chain
Information about the chain of dependencies related to the issue as reported by an Application Security or Vulnerability Management tool. E.g., serverless-offline -> @serverless/utils -> memoizee -> es5-ext.
optional
desc: Option<String>Description
The description of the vulnerability.
optional
exploit_last_seen_time: Option<i64>Exploit Last Seen Time
The time when the exploit was most recently observed.
optional
exploit_last_seen_time_dt: Option<String>Exploit Last Seen Time
The time when the exploit was most recently observed.
optional
exploit_ref_url: Option<String>Exploit URL
The URL of the exploit code or Proof-of-Concept (PoC).
optional
exploit_requirement: Option<String>Exploit Requirement
The requirement description related to any constraints around exploit execution.
optional
exploit_type: Option<String>Exploit Type
The categorization or type of Exploit. E.g., Network or Physical.
optional
first_seen_time: Option<i64>First Seen
The time when the vulnerability was first observed.
optional
first_seen_time_dt: Option<String>First Seen
The time when the vulnerability was first observed.
optional
fix_available: Option<bool>Fix Availability
Indicates if a fix is available for the reported vulnerability.
optional
fix_coverage: Option<String>Fix Coverage
The fix coverage, normalized to the caption of the fix_coverage_id value.
optional
fix_coverage_id: Option<i64>Fix Coverage ID
The normalized identifier for fix coverage, applicable to this vulnerability. Typically useful, when there are multiple affected packages but only a subset have available fixes.
optional
is_exploit_available: Option<bool>Exploit Availability
Indicates if an exploit or a PoC (proof-of-concept) is available for the reported vulnerability.
optional
is_fix_available: Option<bool>Fix Availability
Indicates if a fix is available for the reported vulnerability.
optional
kb_article_list: Option<Vec<KbArticle>>Knowledgebase Articles
A list of KB articles or patches related to an endpoint. A KB Article contains metadata that describes the patch or an update.
optional
kb_articles: Option<Vec<String>>Knowledgebase Articles
The KB article/s related to the entity. A KB Article contains metadata that describes the patch or an update.
optional
last_seen_time: Option<i64>Last Seen
The time when the vulnerability was most recently observed.
optional
last_seen_time_dt: Option<String>Last Seen
The time when the vulnerability was most recently observed.
optional
packages: Option<Vec<Package>>Software Packages
List of vulnerable packages as identified by the security product
optional
references: Option<Vec<String>>References
A list of reference URLs with additional information about the vulnerability.
recommended
Related Vulnerability IDs
List of vulnerability IDs (e.g. CVE ID) that are related to this vulnerability.
optional
remediation: Option<Box<Remediation>>Remediation Guidance
The remediation recommendations on how to mitigate the identified vulnerability.
optional
severity: Option<String>Severity
The vendor assigned severity of the vulnerability.
optional
title: Option<String>Title
A title or a brief phrase summarizing the discovered vulnerability.
optional
vendor_name: Option<String>Vendor Name
The name of the vendor that identified the vulnerability.
optional
Trait Implementations§
Source§impl Clone for Vulnerability
impl Clone for Vulnerability
Source§fn clone(&self) -> Vulnerability
fn clone(&self) -> Vulnerability
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more