CVSS class

Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.

Constructors

CVSS({Input<CVSSAttackComplexity>? attackComplexity, Input<CVSSAttackVector>? attackVector, Input<CVSSAuthentication>? authentication, Input<CVSSAvailabilityImpact>? availabilityImpact, Input<double>? baseScore, Input<CVSSConfidentialityImpact>? confidentialityImpact, Input<double>? exploitabilityScore, Input<double>? impactScore, Input<CVSSIntegrityImpact>? integrityImpact, Input<CVSSPrivilegesRequired>? privilegesRequired, Input<CVSSScope>? scope, Input<CVSSUserInteraction>? userInteraction})
Creates a new CVSS. attackComplexity Optional. attackVector Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. authentication Optional. availabilityImpact Optional. baseScore The base score is a function of the base metric scores. confidentialityImpact Optional. exploitabilityScore Optional. impactScore Optional. integrityImpact Optional. privilegesRequired Optional. scope Optional. userInteraction Optional.
const
CVSS.fromMap(Map<String, dynamic> map)
factory

Properties

attackComplexity → Input<CVSSAttackComplexity>?
final
attackVector → Input<CVSSAttackVector>?
Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
final
authentication → Input<CVSSAuthentication>?
final
availabilityImpact → Input<CVSSAvailabilityImpact>?
final
baseScore → Input<double>?
The base score is a function of the base metric scores.
final
confidentialityImpact → Input<CVSSConfidentialityImpact>?
final
exploitabilityScore → Input<double>?
final
hashCode → int
The hash code for this object.
no setterinherited
impactScore → Input<double>?
final
integrityImpact → Input<CVSSIntegrityImpact>?
final
privilegesRequired → Input<CVSSPrivilegesRequired>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → Input<CVSSScope>?
final
userInteraction → Input<CVSSUserInteraction>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited