public sealed class BuildOccurrence : IMessage<BuildOccurrence>, IEquatable<BuildOccurrence>, IDeepCloneable<BuildOccurrence>, IBufferMessage, IMessage
Reference documentation and code samples for the Grafeas v1 API class BuildOccurrence.
public InTotoSlsaProvenanceV1 InTotoSlsaProvenanceV1 { get; set; }
In-Toto Slsa Provenance V1 represents a slsa provenance meeting the slsa
spec, wrapped in an in-toto statement. This allows for direct
jsonification of a to-spec in-toto slsa statement with a to-spec
slsa provenance.
public InTotoStatement IntotoStatement { get; set; }
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.
Serialized JSON representation of the provenance, used in generating the
build signature in the corresponding build note. After verifying the
signature,provenance_bytescan 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eBuildOccurrence\u003c/code\u003e class within the Grafeas v1 API, specifically for version 3.6.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBuildOccurrence\u003c/code\u003e is a class that represents the details of a build occurrence and is part of the \u003ccode\u003eGrafeas.V1\u003c/code\u003e namespace in the \u003ccode\u003eGrafeas.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBuildOccurrence\u003c/code\u003e class implements multiple interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class contains properties related to build provenance, including \u003ccode\u003eInTotoSlsaProvenanceV1\u003c/code\u003e, \u003ccode\u003eIntotoProvenance\u003c/code\u003e, \u003ccode\u003eIntotoStatement\u003c/code\u003e, \u003ccode\u003eProvenance\u003c/code\u003e, and \u003ccode\u003eProvenanceBytes\u003c/code\u003e, each with different use cases within the build details.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also provides links to the documentation for different versions of the Grafeas v1 API, ranging from 2.2.0 up to the latest 3.7.0 version.\u003c/p\u003e\n"]]],[],null,[]]