Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::VulnerabilityAssessmentNote::Assessment.
Assessment provides all information that is related to a single vulnerability for this product.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cve
def cve() -> ::String
Returns
- (::String) — Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
#cve=
def cve=(value) -> ::String
Parameter
- value (::String) — Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
Returns
- (::String) — Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
#impacts
def impacts() -> ::Array<::String>
Returns
- (::Array<::String>) — Contains information about the impact of this vulnerability, this will change with time.
#impacts=
def impacts=(value) -> ::Array<::String>
Parameter
- value (::Array<::String>) — Contains information about the impact of this vulnerability, this will change with time.
Returns
- (::Array<::String>) — Contains information about the impact of this vulnerability, this will change with time.
#justification
def justification() -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Justification
Returns
- (::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Justification) — Justification provides the justification when the state of the assessment if NOT_AFFECTED.
#justification=
def justification=(value) -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Justification
Parameter
- value (::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Justification) — Justification provides the justification when the state of the assessment if NOT_AFFECTED.
Returns
- (::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Justification) — Justification provides the justification when the state of the assessment if NOT_AFFECTED.
#long_description
def long_description() -> ::String
Returns
- (::String) — A detailed description of this Vex.
#long_description=
def long_description=(value) -> ::String
Parameter
- value (::String) — A detailed description of this Vex.
Returns
- (::String) — A detailed description of this Vex.
#related_uris
def related_uris() -> ::Array<::Grafeas::V1::RelatedUrl>
Returns
- (::Array<::Grafeas::V1::RelatedUrl>) — 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.
#related_uris=
def related_uris=(value) -> ::Array<::Grafeas::V1::RelatedUrl>
Parameter
- value (::Array<::Grafeas::V1::RelatedUrl>) — 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.
Returns
- (::Array<::Grafeas::V1::RelatedUrl>) — 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.
#remediations
def remediations() -> ::Array<::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Remediation>
Returns
- (::Array<::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Remediation>) — Specifies details on how to handle (and presumably, fix) a vulnerability.
#remediations=
def remediations=(value) -> ::Array<::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Remediation>
Parameter
- value (::Array<::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Remediation>) — Specifies details on how to handle (and presumably, fix) a vulnerability.
Returns
- (::Array<::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Remediation>) — Specifies details on how to handle (and presumably, fix) a vulnerability.
#short_description
def short_description() -> ::String
Returns
- (::String) — A one sentence description of this Vex.
#short_description=
def short_description=(value) -> ::String
Parameter
- value (::String) — A one sentence description of this Vex.
Returns
- (::String) — A one sentence description of this Vex.
#state
def state() -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State
Returns
- (::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State) — Provides the state of this Vulnerability assessment.
#state=
def state=(value) -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State
Parameter
- value (::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State) — Provides the state of this Vulnerability assessment.
Returns
- (::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State) — Provides the state of this Vulnerability assessment.
#vulnerability_id
def vulnerability_id() -> ::String
Returns
- (::String) — The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
#vulnerability_id=
def vulnerability_id=(value) -> ::String
Parameter
- value (::String) — The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
Returns
- (::String) — The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.