You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, under the docs there are a bunch of future schema ideas. In order to clean this up and avoid confusion, I have moved them to this issue for future tracking.
Terminology and concepts
Artifact: blob of data, identified solely by contents
Resource: uniquely identifiable thing that can be associated with an
artifact
The following example shows various resources associated with the software curl. Each is a way that a user may retrieve the software,
and each maps to a specific artifact at a point in time.
NEW IDEA: Provenance should be generic way to reproduce build
Contains all information so that one can build it hermetically.
Environment variables
Working directory
Entry point
Architecture
How to get artifacts out
All dependencies to be fetched up front
Where to fetch from. Try to minimize number of custom schemes.
HTTPS get
Git checkout
Hg checkout
Container registry
Digest of artifact
Where to place it
Would probably be verbose, but maybe templating (below) can help with that.
Look at Debian buildinfo for inspiration.
NEW IDEA: Templating
For provenance (at least) allow templates and instancing. That way all common
stuff can be defined by the template without having to be standardized. Tempalte
must be a retrievable URL (though not necessarily publicly accessible) and must
resolve to a Canonical JSON representation of the template. Maybe also a ".sig"
contains a signature.
Currently, under the
docs
there are a bunch of future schema ideas. In order to clean this up and avoid confusion, I have moved them to this issue for future tracking.Terminology and concepts
artifact
The following example shows various resources associated with the software
curl. Each is a way that a user may retrieve the software,
and each maps to a specific artifact at a point in time.
Use cases
Attestation archetypes:
Open Question: Are there any use cases that don't cleanly fit into one of
the archetypes above?
Current proposal (link)
Code review:
Provenance:
Artifact analysis:
NEW IDEA: Provenance should be generic way to reproduce build
Contains all information so that one can build it hermetically.
Would probably be verbose, but maybe templating (below) can help with that.
Look at Debian buildinfo for inspiration.
NEW IDEA: Templating
For provenance (at least) allow templates and instancing. That way all common
stuff can be defined by the template without having to be standardized. Tempalte
must be a retrievable URL (though not necessarily publicly accessible) and must
resolve to a Canonical JSON representation of the template. Maybe also a ".sig"
contains a signature.
Or for Debian:
The text was updated successfully, but these errors were encountered: