NAME

Google::Cloud::Osconfig::V1::Vulnerability - Compiled Protocol Buffers messages for google/cloud/osconfig/v1/vulnerability.proto

SYNOPSIS

use Google::Cloud::Osconfig::V1::Vulnerability;

my $msg = Google::Cloud::Osconfig::V1::Vulnerability::VulnerabilityReport->new({
    name => $name,
    vulnerabilities => $vulnerabilities,
    update_time => $update_time,
    highest_upgradable_cve_severity => $highest_upgradable_cve_severity,
});

# Read or update a field
my $val = $msg->name();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Osconfig::V1::Vulnerability::VulnerabilityReport->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/osconfig/v1/vulnerability.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Osconfig::V1::Vulnerability::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](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).

Inherits from Protobuf::Message.

Accessors

Enum: VulnerabilityReport::VulnerabilitySeverityLevel

  • VULNERABILITY_SEVERITY_LEVEL_UNSPECIFIED => 0

  • NONE => 1

  • MINIMAL => 2

  • LOW => 3

  • MEDIUM => 4

  • HIGH => 5

  • CRITICAL => 6

Google::Cloud::Osconfig::V1::Vulnerability::GetVulnerabilityReportRequest

A request message for getting the vulnerability report for the specified VM.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. API resource name for vulnerability resource.

    Format: `projects/{project}/locations/{location}/instances/{instance}/vulnerabilityReport`

    For `{project}`, either `project-number` or `project-id` can be provided. For `{instance}`, either Compute Engine `instance-id` or `instance-name` can be provided.

Google::Cloud::Osconfig::V1::Vulnerability::ListVulnerabilityReportsRequest

A request message for listing vulnerability reports for all VM instances in the specified location.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. The parent resource name.

    Format: `projects/{project}/locations/{location}/instances/-`

    For `{project}`, either `project-number` or `project-id` can be provided.

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    The maximum number of results to return.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    A pagination token returned from a previous call to `ListVulnerabilityReports` that indicates where this listing should continue from.

  • $msg->filter() / $msg->filter($value)

    Type: String

    This field supports filtering by the severity level for the vulnerability. For a list of severity levels, see [Severity levels for vulnerabilities](https://cloud.google.com/container-analysis/docs/container-scanning-overview#severity_levels_for_vulnerabilities).

    The filter field follows the rules described in the [AIP-160](https://google.aip.dev/160) guidelines as follows:

    + Filter for a specific severity type: you can list reports that contain vulnerabilities that are classified as medium by specifying `vulnerabilities.details.severity:MEDIUM`.

    + Filter for a range of severities : you can list reports that have vulnerabilities that are classified as critical or high by specifying `vulnerabilities.details.severity:HIGH OR vulnerabilities.details.severity:CRITICAL`

Google::Cloud::Osconfig::V1::Vulnerability::ListVulnerabilityReportsResponse

A response message for listing vulnerability reports for all VM instances in the specified location.

Inherits from Protobuf::Message.

Accessors

  • $msg->vulnerability_reports() / $msg->vulnerability_reports($value)

    Type: Message (Google::Cloud::Osconfig::V1::Vulnerability::VulnerabilityReport)

    List of vulnerabilityReport objects.

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    The pagination token to retrieve the next page of vulnerabilityReports object.

Google::Cloud::Osconfig::V1::Vulnerability::CVSSv3

Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document

Inherits from Protobuf::Message.

Accessors

  • $msg->base_score() / $msg->base_score($value)

    Type: Float

    The base score is a function of the base metric scores. https://www.first.org/cvss/specification-document#Base-Metrics

  • $msg->exploitability_score() / $msg->exploitability_score($value)

    Type: Float

    The Exploitability sub-score equation is derived from the Base Exploitability metrics. https://www.first.org/cvss/specification-document#2-1-Exploitability-Metrics

  • $msg->impact_score() / $msg->impact_score($value)

    Type: Float

    The Impact sub-score equation is derived from the Base Impact metrics.

  • $msg->attack_vector() / $msg->attack_vector($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::AttackVector)

    This metric reflects the context by which vulnerability exploitation is possible.

  • $msg->attack_complexity() / $msg->attack_complexity($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::AttackComplexity)

    This metric describes the conditions beyond the attacker's control that must exist in order to exploit the vulnerability.

  • $msg->privileges_required() / $msg->privileges_required($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::PrivilegesRequired)

    This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

  • $msg->user_interaction() / $msg->user_interaction($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::UserInteraction)

    This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

  • $msg->scope() / $msg->scope($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::Scope)

    The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

  • $msg->confidentiality_impact() / $msg->confidentiality_impact($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::Impact)

    This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

  • $msg->integrity_impact() / $msg->integrity_impact($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::Impact)

    This metric measures the impact to integrity of a successfully exploited vulnerability.

  • $msg->availability_impact() / $msg->availability_impact($value)

    Type: Enum (Google::Cloud::Osconfig::V1::CVSSv3::Impact)

    This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

Enum: CVSSv3::AttackVector

  • ATTACK_VECTOR_UNSPECIFIED => 0

  • ATTACK_VECTOR_NETWORK => 1

  • ATTACK_VECTOR_ADJACENT => 2

  • ATTACK_VECTOR_LOCAL => 3

  • ATTACK_VECTOR_PHYSICAL => 4

Enum: CVSSv3::AttackComplexity

  • ATTACK_COMPLEXITY_UNSPECIFIED => 0

  • ATTACK_COMPLEXITY_LOW => 1

  • ATTACK_COMPLEXITY_HIGH => 2

Enum: CVSSv3::PrivilegesRequired

  • PRIVILEGES_REQUIRED_UNSPECIFIED => 0

  • PRIVILEGES_REQUIRED_NONE => 1

  • PRIVILEGES_REQUIRED_LOW => 2

  • PRIVILEGES_REQUIRED_HIGH => 3

Enum: CVSSv3::UserInteraction

  • USER_INTERACTION_UNSPECIFIED => 0

  • USER_INTERACTION_NONE => 1

  • USER_INTERACTION_REQUIRED => 2

Enum: CVSSv3::Scope

  • SCOPE_UNSPECIFIED => 0

  • SCOPE_UNCHANGED => 1

  • SCOPE_CHANGED => 2

Enum: CVSSv3::Impact

  • IMPACT_UNSPECIFIED => 0

  • IMPACT_HIGH => 1

  • IMPACT_LOW => 2

  • IMPACT_NONE => 3

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Osconfig::V1::Vulnerability::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.