Reference documentation and code samples for the Grafeas V1 API class Grafeas::V1::BuildOccurrence.
Details of a build occurrence.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#intoto_provenance
def intoto_provenance() -> ::Grafeas::V1::InTotoProvenance
- (::Grafeas::V1::InTotoProvenance) — Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
#intoto_provenance=
def intoto_provenance=(value) -> ::Grafeas::V1::InTotoProvenance
- value (::Grafeas::V1::InTotoProvenance) — Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
- (::Grafeas::V1::InTotoProvenance) — Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
#intoto_statement
def intoto_statement() -> ::Grafeas::V1::InTotoStatement
- (::Grafeas::V1::InTotoStatement) — In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
#intoto_statement=
def intoto_statement=(value) -> ::Grafeas::V1::InTotoStatement
- value (::Grafeas::V1::InTotoStatement) — In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
- (::Grafeas::V1::InTotoStatement) — In-toto Statement representation as defined in spec. The intoto_statement can contain any type of provenance. The serialized payload of the statement can be stored and signed in the Occurrence's envelope.
#provenance
def provenance() -> ::Grafeas::V1::BuildProvenance
- (::Grafeas::V1::BuildProvenance) — The actual provenance for the build.
#provenance=
def provenance=(value) -> ::Grafeas::V1::BuildProvenance
- value (::Grafeas::V1::BuildProvenance) — The actual provenance for the build.
- (::Grafeas::V1::BuildProvenance) — The actual provenance for the build.
#provenance_bytes
def provenance_bytes() -> ::String
-
(::String) — Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature,
provenance_bytes
can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.
#provenance_bytes=
def provenance_bytes=(value) -> ::String
-
value (::String) — Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature,
provenance_bytes
can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.
-
(::String) — Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature,
provenance_bytes
can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification.The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.