Grafeas V1 API - Class Grafeas::V1::VulnerabilityOccurrence::VexAssessment (v0.16.0)

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

#justification=

def justification=(value) -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Justification
Parameter
Returns

#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. --)
def related_uris() -> ::Array<::Grafeas::V1::RelatedUrl>
Returns
  • (::Array<::Grafeas::V1::RelatedUrl>) — Holds a list of references associated with this vulnerability item and assessment.
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

#remediations=

def remediations=(value) -> ::Array<::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::Remediation>
Parameter
Returns

#state

def state() -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State
Returns

#state=

def state=(value) -> ::Grafeas::V1::VulnerabilityAssessmentNote::Assessment::State
Parameter
Returns

#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.