Class: Google::Apis::ContaineranalysisV1alpha1::VulnerabilityAssessmentNote
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ContaineranalysisV1alpha1::VulnerabilityAssessmentNote
 
 
- Includes:
 - Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
 
- Defined in:
 - lib/google/apis/containeranalysis_v1alpha1/classes.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb,
lib/google/apis/containeranalysis_v1alpha1/representations.rb 
Overview
A single VulnerabilityAssessmentNote represents one particular product's vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format.
Instance Attribute Summary collapse
- 
  
    
      #assessment  ⇒ Google::Apis::ContaineranalysisV1alpha1::Assessment 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Assessment provides all information that is related to a single vulnerability for this product.
 - 
  
    
      #language_code  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
 - 
  
    
      #long_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A detailed description of this Vex.
 - 
  
    
      #product  ⇒ Google::Apis::ContaineranalysisV1alpha1::Product 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Product contains information about a product and how to uniquely identify it.
 - 
  
    
      #publisher  ⇒ Google::Apis::ContaineranalysisV1alpha1::Publisher 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Publisher contains information about the publisher of this Note.
 - 
  
    
      #short_description  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A one sentence description of this Vex.
 - 
  
    
      #title  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The title of the note.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ VulnerabilityAssessmentNote 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of VulnerabilityAssessmentNote.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Constructor Details
#initialize(**args) ⇒ VulnerabilityAssessmentNote
Returns a new instance of VulnerabilityAssessmentNote.
      7498 7499 7500  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7498 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#assessment ⇒ Google::Apis::ContaineranalysisV1alpha1::Assessment
Assessment provides all information that is related to a single vulnerability
for this product.
Corresponds to the JSON property assessment
      7465 7466 7467  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7465 def assessment @assessment end  | 
  
#language_code ⇒ String
Identifies the language used by this document, corresponding to IETF BCP 47 /
RFC 5646.
Corresponds to the JSON property languageCode
      7471 7472 7473  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7471 def language_code @language_code end  | 
  
#long_description ⇒ String
A detailed description of this Vex.
Corresponds to the JSON property longDescription
      7476 7477 7478  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7476 def long_description @long_description end  | 
  
#product ⇒ Google::Apis::ContaineranalysisV1alpha1::Product
Product contains information about a product and how to uniquely identify it.
Corresponds to the JSON property product
      7481 7482 7483  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7481 def product @product end  | 
  
#publisher ⇒ Google::Apis::ContaineranalysisV1alpha1::Publisher
Publisher contains information about the publisher of this Note.
Corresponds to the JSON property publisher
      7486 7487 7488  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7486 def publisher @publisher end  | 
  
#short_description ⇒ String
A one sentence description of this Vex.
Corresponds to the JSON property shortDescription
      7491 7492 7493  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7491 def short_description @short_description end  | 
  
#title ⇒ String
The title of the note. E.g. Vex-Debian-11.4
Corresponds to the JSON property title
      7496 7497 7498  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7496 def title @title end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      7503 7504 7505 7506 7507 7508 7509 7510 7511  | 
    
      # File 'lib/google/apis/containeranalysis_v1alpha1/classes.rb', line 7503 def update!(**args) @assessment = args[:assessment] if args.key?(:assessment) @language_code = args[:language_code] if args.key?(:language_code) @long_description = args[:long_description] if args.key?(:long_description) @product = args[:product] if args.key?(:product) @publisher = args[:publisher] if args.key?(:publisher) @short_description = args[:short_description] if args.key?(:short_description) @title = args[:title] if args.key?(:title) end  |