Reference documentation and code samples for the Cloud OS Config V1 API class Google::Cloud::OsConfig::V1::VulnerabilityReport.
This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time.
For more information, see Vulnerability reports.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
-
(::String) — Output only. The
vulnerabilityReport
API resource name.Format:
projects/{project_number}/locations/{location}/instances/{instance_id}/vulnerabilityReport
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The timestamp for when the last vulnerability report was generated for the VM.
#vulnerabilities
def vulnerabilities() -> ::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability>
Returns
- (::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability>) — Output only. List of vulnerabilities affecting the VM.