Assessment class
Assessment provides all information that is related to a single vulnerability for this product.
Constructors
-
Assessment({Input<
String> ? cve, Input<List< ? impacts, Input<String> >Justification> ? justification, Input<String> ? longDescription, Input<List< ? remediations, Input<Remediation> >String> ? shortDescription, Input<AssessmentState> ? state, Input<String> ? vulnerabilityId}) -
Creates a new Assessment.
cveHolds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.impactsContains information about the impact of this vulnerability, this will change with time.justificationJustification provides the justification when the state of the assessment if NOT_AFFECTED.longDescriptionA detailed description of this Vex.relatedUrisHolds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.remediationsSpecifies details on how to handle (and presumably, fix) a vulnerability.shortDescriptionA one sentence description of this Vex.stateProvides the state of this Vulnerability assessment.vulnerabilityIdThe vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.const -
Assessment.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
cve
→ Input<
String> ? -
Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
impacts
→ Input<
List< ?String> > -
Contains information about the impact of this vulnerability, this will change with time.
final
-
justification
→ Input<
Justification> ? -
Justification provides the justification when the state of the assessment if NOT_AFFECTED.
final
-
longDescription
→ Input<
String> ? -
A detailed description of this Vex.
final
-
Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
final
-
remediations
→ Input<
List< ?Remediation> > -
Specifies details on how to handle (and presumably, fix) a vulnerability.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shortDescription
→ Input<
String> ? -
A one sentence description of this Vex.
final
-
state
→ Input<
AssessmentState> ? -
Provides the state of this Vulnerability assessment.
final
-
vulnerabilityId
→ Input<
String> ? -
The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
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