Vulnerability class
Refers to common vulnerability fields e.g. cve, cvss, cwe etc.
Constructors
-
Vulnerability.new({Cve? cve, List<
Cwe> ? cwes, Package? fixedPackage, Package? offendingPackage, String? providerRiskScore, bool? reachable, SecurityBulletin? securityBulletin}) - Vulnerability.fromJson(Map json_)
Properties
- cve ↔ Cve?
-
CVE stands for Common Vulnerabilities and Exposures
(https://cve.mitre.org/about/)
getter/setter pair
-
cwes
↔ List<
Cwe> ? -
Represents one or more Common Weakness Enumeration (CWE) information on
this vulnerability.
getter/setter pair
- fixedPackage ↔ Package?
-
The fixed package is relevant to the finding.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- offendingPackage ↔ Package?
-
The offending package is relevant to the finding.
getter/setter pair
- providerRiskScore ↔ String?
-
Provider provided risk_score based on multiple factors.
getter/setter pair
- reachable ↔ bool?
-
Represents whether the vulnerability is reachable (detected via static
analysis)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- securityBulletin ↔ SecurityBulletin?
-
The security bulletin is relevant to this finding.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited