Class: Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability
- Inherits:
-
Object
- Object
- Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/osconfig/v1/vulnerability.rb
Overview
A vulnerability affecting the VM instance.
Defined Under Namespace
Classes: Details
Instance Attribute Summary collapse
-
#available_inventory_item_ids ⇒ ::Array<::String>
Corresponds to the
AVAILABLE_PACKAGEinventory item on the VM. -
#create_time ⇒ ::Google::Protobuf::Timestamp
The timestamp for when the vulnerability was first detected.
-
#details ⇒ ::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details
Contains metadata as per the upstream feed of the operating system and NVD.
-
#installed_inventory_item_ids ⇒ ::Array<::String>
Corresponds to the
INSTALLED_PACKAGEinventory item on the VM. -
#update_time ⇒ ::Google::Protobuf::Timestamp
The timestamp for when the vulnerability was last modified.
Instance Attribute Details
#available_inventory_item_ids ⇒ ::Array<::String>
Returns Corresponds to the AVAILABLE_PACKAGE inventory item on the VM.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. If there is no
available fix, the field is empty. The inventory_item value specifies
the latest SoftwarePackage available to the VM that fixes the
vulnerability.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'proto_docs/google/cloud/osconfig/v1/vulnerability.rb', line 72 class Vulnerability include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains metadata information for the vulnerability. This information is # collected from the upstream feed of the operating system. # @!attribute [rw] cve # @return [::String] # The CVE of the vulnerability. CVE cannot be # empty and the combination of <cve, classification> should be unique # across vulnerabilities for a VM. # @!attribute [rw] cvss_v2_score # @return [::Float] # The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of # 0 - 10 where 0 indicates low severity and 10 indicates high severity. # @!attribute [rw] cvss_v3 # @return [::Google::Cloud::OsConfig::V1::CVSSv3] # The full description of the CVSSv3 for this vulnerability from NVD. # @!attribute [rw] severity # @return [::String] # Assigned severity/impact ranking from the distro. # @!attribute [rw] description # @return [::String] # The note or description describing the vulnerability from the distro. # @!attribute [rw] references # @return [::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>] # Corresponds to the references attached to the `VulnerabilityDetails`. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A reference for this vulnerability. # @!attribute [rw] url # @return [::String] # The url of the reference. # @!attribute [rw] source # @return [::String] # The source of the reference e.g. NVD. class Reference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#create_time ⇒ ::Google::Protobuf::Timestamp
Returns The timestamp for when the vulnerability was first detected.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'proto_docs/google/cloud/osconfig/v1/vulnerability.rb', line 72 class Vulnerability include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains metadata information for the vulnerability. This information is # collected from the upstream feed of the operating system. # @!attribute [rw] cve # @return [::String] # The CVE of the vulnerability. CVE cannot be # empty and the combination of <cve, classification> should be unique # across vulnerabilities for a VM. # @!attribute [rw] cvss_v2_score # @return [::Float] # The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of # 0 - 10 where 0 indicates low severity and 10 indicates high severity. # @!attribute [rw] cvss_v3 # @return [::Google::Cloud::OsConfig::V1::CVSSv3] # The full description of the CVSSv3 for this vulnerability from NVD. # @!attribute [rw] severity # @return [::String] # Assigned severity/impact ranking from the distro. # @!attribute [rw] description # @return [::String] # The note or description describing the vulnerability from the distro. # @!attribute [rw] references # @return [::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>] # Corresponds to the references attached to the `VulnerabilityDetails`. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A reference for this vulnerability. # @!attribute [rw] url # @return [::String] # The url of the reference. # @!attribute [rw] source # @return [::String] # The source of the reference e.g. NVD. class Reference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#details ⇒ ::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details
Returns Contains metadata as per the upstream feed of the operating system and NVD.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'proto_docs/google/cloud/osconfig/v1/vulnerability.rb', line 72 class Vulnerability include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains metadata information for the vulnerability. This information is # collected from the upstream feed of the operating system. # @!attribute [rw] cve # @return [::String] # The CVE of the vulnerability. CVE cannot be # empty and the combination of <cve, classification> should be unique # across vulnerabilities for a VM. # @!attribute [rw] cvss_v2_score # @return [::Float] # The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of # 0 - 10 where 0 indicates low severity and 10 indicates high severity. # @!attribute [rw] cvss_v3 # @return [::Google::Cloud::OsConfig::V1::CVSSv3] # The full description of the CVSSv3 for this vulnerability from NVD. # @!attribute [rw] severity # @return [::String] # Assigned severity/impact ranking from the distro. # @!attribute [rw] description # @return [::String] # The note or description describing the vulnerability from the distro. # @!attribute [rw] references # @return [::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>] # Corresponds to the references attached to the `VulnerabilityDetails`. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A reference for this vulnerability. # @!attribute [rw] url # @return [::String] # The url of the reference. # @!attribute [rw] source # @return [::String] # The source of the reference e.g. NVD. class Reference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#installed_inventory_item_ids ⇒ ::Array<::String>
Returns Corresponds to the INSTALLED_PACKAGE inventory item on the VM.
This field displays the inventory items affected by this vulnerability.
If the vulnerability report was not updated after the VM inventory
update, these values might not display in VM inventory. For some distros,
this field may be empty.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'proto_docs/google/cloud/osconfig/v1/vulnerability.rb', line 72 class Vulnerability include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains metadata information for the vulnerability. This information is # collected from the upstream feed of the operating system. # @!attribute [rw] cve # @return [::String] # The CVE of the vulnerability. CVE cannot be # empty and the combination of <cve, classification> should be unique # across vulnerabilities for a VM. # @!attribute [rw] cvss_v2_score # @return [::Float] # The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of # 0 - 10 where 0 indicates low severity and 10 indicates high severity. # @!attribute [rw] cvss_v3 # @return [::Google::Cloud::OsConfig::V1::CVSSv3] # The full description of the CVSSv3 for this vulnerability from NVD. # @!attribute [rw] severity # @return [::String] # Assigned severity/impact ranking from the distro. # @!attribute [rw] description # @return [::String] # The note or description describing the vulnerability from the distro. # @!attribute [rw] references # @return [::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>] # Corresponds to the references attached to the `VulnerabilityDetails`. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A reference for this vulnerability. # @!attribute [rw] url # @return [::String] # The url of the reference. # @!attribute [rw] source # @return [::String] # The source of the reference e.g. NVD. class Reference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |
#update_time ⇒ ::Google::Protobuf::Timestamp
Returns The timestamp for when the vulnerability was last modified.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
# File 'proto_docs/google/cloud/osconfig/v1/vulnerability.rb', line 72 class Vulnerability include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Contains metadata information for the vulnerability. This information is # collected from the upstream feed of the operating system. # @!attribute [rw] cve # @return [::String] # The CVE of the vulnerability. CVE cannot be # empty and the combination of <cve, classification> should be unique # across vulnerabilities for a VM. # @!attribute [rw] cvss_v2_score # @return [::Float] # The CVSS V2 score of this vulnerability. CVSS V2 score is on a scale of # 0 - 10 where 0 indicates low severity and 10 indicates high severity. # @!attribute [rw] cvss_v3 # @return [::Google::Cloud::OsConfig::V1::CVSSv3] # The full description of the CVSSv3 for this vulnerability from NVD. # @!attribute [rw] severity # @return [::String] # Assigned severity/impact ranking from the distro. # @!attribute [rw] description # @return [::String] # The note or description describing the vulnerability from the distro. # @!attribute [rw] references # @return [::Array<::Google::Cloud::OsConfig::V1::VulnerabilityReport::Vulnerability::Details::Reference>] # Corresponds to the references attached to the `VulnerabilityDetails`. class Details include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A reference for this vulnerability. # @!attribute [rw] url # @return [::String] # The url of the reference. # @!attribute [rw] source # @return [::String] # The source of the reference e.g. NVD. class Reference include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end end |