NAME

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

SYNOPSIS

use Google::Cloud::Securitycenter::V1::Vulnerability;

my $msg = Google::Cloud::Securitycenter::V1::Vulnerability::Vulnerability->new({
    cve => $cve,
    offending_package => $offending_package,
    fixed_package => $fixed_package,
    security_bulletin => $security_bulletin,
});

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

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

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/securitycenter/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::Securitycenter::V1::Vulnerability::Vulnerability

Refers to common vulnerability fields e.g. cve, cvss, cwe etc.

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Securitycenter::V1::Vulnerability::Cve

CVE stands for Common Vulnerabilities and Exposures. Information from the [CVE record](https://www.cve.org/ResourcesSupport/Glossary) that describes this vulnerability.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The unique identifier for the vulnerability. e.g. CVE-2021-34527

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

    Type: Message (Google::Cloud::Securitycenter::V1::Vulnerability::Reference)

    Additional information about the CVE. e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527

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

    Type: Message (Google::Cloud::Securitycenter::V1::Vulnerability::Cvssv3)

    Describe Common Vulnerability Scoring System specified at https://www.first.org/cvss/v3.1/specification-document

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

    Type: Bool

    Whether upstream fix is available for the CVE.

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

    Type: Enum (Google::Cloud::Securitycenter::V1::Cve::RiskRating)

    The potential impact of the vulnerability if it was to be exploited.

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

    Type: Enum (Google::Cloud::Securitycenter::V1::Cve::ExploitationActivity)

    The exploitation activity of the vulnerability in the wild.

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

    Type: Bool

    Whether or not the vulnerability has been observed in the wild.

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

    Type: Bool

    Whether or not the vulnerability was zero day when the finding was published.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Date the first publicly available exploit or PoC was released.

Enum: Cve::RiskRating

  • RISK_RATING_UNSPECIFIED => 0

  • LOW => 1

  • MEDIUM => 2

  • HIGH => 3

  • CRITICAL => 4

Enum: Cve::ExploitationActivity

  • EXPLOITATION_ACTIVITY_UNSPECIFIED => 0

  • WIDE => 1

  • CONFIRMED => 2

  • AVAILABLE => 3

  • ANTICIPATED => 4

  • NO_KNOWN => 5

Google::Cloud::Securitycenter::V1::Vulnerability::Reference

Additional Links

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Source of the reference e.g. NVD

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

    Type: String

    Uri for the mentioned source e.g. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34527.

Google::Cloud::Securitycenter::V1::Vulnerability::Cvssv3

Common Vulnerability Scoring System version 3.

Inherits from Protobuf::Message.

Accessors

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

    Type: Double

    The base score is a function of the base metric scores.

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

    Type: Enum (Google::Cloud::Securitycenter::V1::Cvssv3::AttackVector)

    Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. This metric reflects the context by which vulnerability exploitation is possible.

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

    Type: Enum (Google::Cloud::Securitycenter::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::Securitycenter::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::Securitycenter::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::Securitycenter::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::Securitycenter::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::Securitycenter::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::Securitycenter::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

Google::Cloud::Securitycenter::V1::Vulnerability::Package

Package is a generic definition of a package.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    The name of the package where the vulnerability was detected.

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

    Type: String

    The CPE URI where the vulnerability was detected.

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

    Type: String

    Type of package, for example, os, maven, or go.

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

    Type: String

    The version of the package.

Google::Cloud::Securitycenter::V1::Vulnerability::SecurityBulletin

SecurityBulletin are notifications of vulnerabilities of Google products.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    ID of the bulletin corresponding to the vulnerability.

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

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Submission time of this Security Bulletin.

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

    Type: String

    This represents a version that the cluster receiving this notification should be upgraded to, based on its current version. For example, 1.15.0

SEE ALSO

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

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.