Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::VulnerabilityOccurrence::VexAssessment.
VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
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.
#note_name
def note_name() -> ::String
Returns
-
(::String) — The VulnerabilityAssessment note from which this VexAssessment was
generated.
This will be of the form:
projects/[PROJECT_ID]/notes/[NOTE_ID]
. (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: The suffix is kept for consistency. --)
#note_name=
def note_name=(value) -> ::String
Parameter
-
value (::String) — The VulnerabilityAssessment note from which this VexAssessment was
generated.
This will be of the form:
projects/[PROJECT_ID]/notes/[NOTE_ID]
. (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: The suffix is kept for consistency. --)
Returns
-
(::String) — The VulnerabilityAssessment note from which this VexAssessment was
generated.
This will be of the form:
projects/[PROJECT_ID]/notes/[NOTE_ID]
. (-- api-linter: core::0122::name-suffix=disabled aip.dev/not-precedent: The suffix is kept for consistency. --)
#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.
#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.
Returns
- (::Array<::Grafeas::V1::RelatedUrl>) — Holds a list of references associated with this vulnerability item and assessment.
#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.
#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.