NAME
Grafeas::V1::Sbom - Compiled Protocol Buffers messages for grafeas/v1/sbom.proto
SYNOPSIS
use Grafeas::V1::Sbom;
my $msg = Grafeas::V1::Sbom::SBOMReferenceNote->new({
format => $format,
version => $version,
});
# Read or update a field
my $val = $msg->format();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Grafeas::V1::Sbom::SBOMReferenceNote->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from grafeas/v1/sbom.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::Sbom::SBOMReferenceNote
The note representing an SBOM reference.
Inherits from Protobuf::Message.
Accessors
$msg->format()/$msg->format($value)Type:
StringThe format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
$msg->version()/$msg->version($value)Type:
StringThe version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
Grafeas::V1::Sbom::SBOMReferenceOccurrence
The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details.
Inherits from Protobuf::Message.
Accessors
$msg->payload()/$msg->payload($value)Type:
Message(Grafeas::V1::Sbom::SbomReferenceIntotoPayload)The actual payload that contains the SBOM reference data.
$msg->payload_type()/$msg->payload_type($value)Type:
StringThe kind of payload that SbomReferenceIntotoPayload takes. Since it's in the intoto format, this value is expected to be 'application/vnd.in-toto+json'.
$msg->signatures()/$msg->signatures($value)Type:
Message(Grafeas::V1::Common::EnvelopeSignature)The signatures over the payload.
Grafeas::V1::Sbom::SbomReferenceIntotoPayload
The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details.
Inherits from Protobuf::Message.
Accessors
$msg->type()/$msg->type($value)Type:
StringIdentifier for the schema of the Statement.
$msg->predicate_type()/$msg->predicate_type($value)Type:
StringURI identifying the type of the Predicate.
$msg->subject()/$msg->subject($value)Type:
Message(Grafeas::V1::IntotoStatement::Subject)Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
$msg->predicate()/$msg->predicate($value)Type:
Message(Grafeas::V1::Sbom::SbomReferenceIntotoPredicate)Additional parameters of the Predicate. Includes the actual data about the SBOM.
Grafeas::V1::Sbom::SbomReferenceIntotoPredicate
A predicate which describes the SBOM being referenced.
Inherits from Protobuf::Message.
Accessors
$msg->referrer_id()/$msg->referrer_id($value)Type:
StringThe person or system referring this predicate to the consumer.
$msg->location()/$msg->location($value)Type:
StringThe location of the SBOM.
$msg->mime_type()/$msg->mime_type($value)Type:
StringThe mime type of the SBOM.
$msg->digest()/$msg->digest($value)Type:
Message(Grafeas::V1::Sbom::SbomReferenceIntotoPredicate::DigestEntry)A map of algorithm to digest of the contents of the SBOM.
SEE ALSO
Protobuf, Protobuf::Message, Grafeas::V1::Sbom::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.