NAME

Grafeas::V1::IntotoProvenance - Compiled Protocol Buffers messages for grafeas/v1/intoto_provenance.proto

SYNOPSIS

use Grafeas::V1::IntotoProvenance;

my $msg = Grafeas::V1::IntotoProvenance::Recipe->new({
    type => $type,
    defined_in_material => $defined_in_material,
    entry_point => $entry_point,
    arguments => $arguments,
});

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

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Grafeas::V1::IntotoProvenance::Recipe->parse($bytes);

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

DESCRIPTION

Auto-generated Protobuf message classes compiled from grafeas/v1/intoto_provenance.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::IntotoProvenance::Recipe

Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.

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

    Type: Int64

    Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were "make", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.

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

    Type: String

    String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were "make", then this would reference the directory in which to run make as well as which target to use.

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

    Type: Message (Google::Protobuf::Any::Any)

    Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any".

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

    Type: Message (Google::Protobuf::Any::Any)

    Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form "Any".

Grafeas::V1::IntotoProvenance::Completeness

Indicates that the builder claims certain fields in this message to be complete.

Inherits from Protobuf::Message.

Accessors

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

    Type: Bool

    If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.

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

    Type: Bool

    If true, the builder claims that recipe.environment is claimed to be complete.

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

    Type: Bool

    If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called "hermetic".

Grafeas::V1::IntotoProvenance::Metadata

Other properties of the build.

Inherits from Protobuf::Message.

Accessors

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

    Type: String

    Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.

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

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

    The timestamp of when the build started.

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

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

    The timestamp of when the build completed.

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

    Type: Message (Grafeas::V1::IntotoProvenance::Completeness)

    Indicates that the builder claims certain fields in this message to be complete.

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

    Type: Bool

    If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.

Grafeas::V1::IntotoProvenance::BuilderConfig

Inherits from Protobuf::Message.

Accessors

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

    Type: String

Grafeas::V1::IntotoProvenance::InTotoProvenance

Inherits from Protobuf::Message.

Accessors

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

    Type: Message (Grafeas::V1::IntotoProvenance::BuilderConfig)

    required

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

    Type: Message (Grafeas::V1::IntotoProvenance::Recipe)

    Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).

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

    Type: Message (Grafeas::V1::IntotoProvenance::Metadata)

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

    Type: String

    The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.

SEE ALSO

Protobuf, Protobuf::Message, Grafeas::V1::IntotoProvenance::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.