NAME
Grafeas::V1::Common - Compiled Protocol Buffers messages for grafeas/v1/common.proto
SYNOPSIS
use Grafeas::V1::Common;
my $msg = Grafeas::V1::Common::RelatedUrl->new({
url => $url,
label => $label,
});
# Read or update a field
my $val = $msg->url();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Grafeas::V1::Common::RelatedUrl->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from grafeas/v1/common.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Grafeas::V1::Common::RelatedUrl
Metadata for any related URL information.
Inherits from Protobuf::Message.
Accessors
$msg->url()/$msg->url($value)Type:
StringSpecific URL associated with the resource.
$msg->label()/$msg->label($value)Type:
StringLabel to describe usage of the URL.
Grafeas::V1::Common::Signature
Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm).
In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload.
The `signature` contents SHOULD NOT be "attached" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any "attached" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
Inherits from Protobuf::Message.
Accessors
$msg->signature()/$msg->signature($value)Type:
BytesThe content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
$msg->public_key_id()/$msg->public_key_id($value)Type:
StringThe identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest.
Examples of valid `public_key_id`s:
OpenPGP V4 public key fingerprint: * "openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme.
RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * "ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU" * "nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5"
Grafeas::V1::Common::Envelope
MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.
Inherits from Protobuf::Message.
Accessors
$msg->payload()/$msg->payload($value)Type:
Bytes$msg->payload_type()/$msg->payload_type($value)Type:
String$msg->signatures()/$msg->signatures($value)Type:
Message(Grafeas::V1::Common::EnvelopeSignature)
Grafeas::V1::Common::EnvelopeSignature
Inherits from Protobuf::Message.
Accessors
$msg->sig()/$msg->sig($value)Type:
Bytes$msg->keyid()/$msg->keyid($value)Type:
String
Grafeas::V1::Common::FileLocation
Indicates the location at which a package was found.
Inherits from Protobuf::Message.
Accessors
$msg->file_path()/$msg->file_path($value)Type:
StringFor jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
$msg->layer_details()/$msg->layer_details($value)Type:
Message(Grafeas::V1::Common::LayerDetails)Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
$msg->line_number()/$msg->line_number($value)Type:
Int32Line number in the file where the package was found. Optional field that only applies to source repository scanning.
Grafeas::V1::Common::BaseImage
BaseImage describes a base image of a container image.
Inherits from Protobuf::Message.
Accessors
$msg->name()/$msg->name($value)Type:
StringThe name of the base image.
$msg->repository()/$msg->repository($value)Type:
StringThe repository name in which the base image is from.
$msg->layer_count()/$msg->layer_count($value)Type:
Int32The number of layers that the base image is composed of.
$msg->registry()/$msg->registry($value)Type:
StringThe registry in which the base image is from.
Grafeas::V1::Common::LayerDetails
Details about the layer a package was found in.
Inherits from Protobuf::Message.
Accessors
$msg->index()/$msg->index($value)Type:
Int32The index of the layer in the container image.
$msg->diff_id()/$msg->diff_id($value)Type:
StringThe diff ID (typically a sha256 hash) of the layer in the container image.
$msg->chain_id()/$msg->chain_id($value)Type:
StringThe layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid
$msg->command()/$msg->command($value)Type:
StringThe layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
$msg->base_images()/$msg->base_images($value)Type:
Message(Grafeas::V1::Common::BaseImage)The base images the layer is found within.
Grafeas::V1::Common::License
License information.
Inherits from Protobuf::Message.
Accessors
$msg->expression()/$msg->expression($value)Type:
StringOften a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: "LGPL-2.1-only OR MIT", "LGPL-2.1-only AND MIT", "GPL-2.0-or-later WITH Bison-exception-2.2".
$msg->comments()/$msg->comments($value)Type:
StringComments
Grafeas::V1::Common::Digest
Digest information.
Inherits from Protobuf::Message.
Accessors
$msg->algo()/$msg->algo($value)Type:
String`SHA1`, `SHA512` etc.
$msg->digest_bytes()/$msg->digest_bytes($value)Type:
BytesValue of the digest.
SEE ALSO
Protobuf, Protobuf::Message, Grafeas::V1::Common::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.