@@ -9,7 +9,9 @@ The provenance format generated by BuildKit is defined by the
9
9
This page describes how BuildKit populate each field, and whether the field gets
10
10
included when you generate attestations ` mode=min ` and ` mode=max ` .
11
11
12
- ## ` builder.id ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#builder.id )
12
+ ## ` builder.id `
13
+
14
+ Corresponds to [ SLSA ` builder.id ` ] ( https://slsa.dev/provenance/v0.2#builder.id ) .
13
15
14
16
Included with ` mode=min ` and ` mode=max ` .
15
17
@@ -23,7 +25,9 @@ The `builder.id` field is set to the URL of the build, if available.
23
25
24
26
This value can be set using the ` builder-id ` attestation parameter.
25
27
26
- ## ` buildType ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#buildType )
28
+ ## ` buildType `
29
+
30
+ Corresponds to [ SLSA ` buildType ` ] ( https://slsa.dev/provenance/v0.2#buildType ) .
27
31
28
32
Included with ` mode=min ` and ` mode=max ` .
29
33
@@ -34,7 +38,9 @@ used to determine the structure of the provenance content.
34
38
"buildType" : " https://mobyproject.org/buildkit@v1" ,
35
39
```
36
40
37
- ## ` invocation.configSource ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#invocation.configSource )
41
+ ## ` invocation.configSource `
42
+
43
+ Corresponds to [ SLSA ` invocation.configSource ` ] ( https://slsa.dev/provenance/v0.2#invocation.configSource ) .
38
44
39
45
Included with ` mode=min ` and ` mode=max ` .
40
46
@@ -58,7 +64,9 @@ object defines the context URL and its immutable digest in the `uri` and `digest
58
64
For builds using a local frontend, such as a Dockerfile, the ` entryPoint ` field defines the path
59
65
for the frontend file that initialized the build (` filename ` frontend option).
60
66
61
- ## ` invocation.parameters ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#invocation.parameters )
67
+ ## ` invocation.parameters `
68
+
69
+ Corresponds to [ SLSA ` invocation.parameters ` ] ( https://slsa.dev/provenance/v0.2#invocation.parameters ) .
62
70
63
71
Partially included with ` mode=min ` .
64
72
@@ -108,7 +116,9 @@ The following fields are only included with `mode=max`:
108
116
values are not included.
109
117
- ` ssh ` defines the ssh forwards used during the build.
110
118
111
- ## ` invocation.environment ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#invocation.environment )
119
+ ## ` invocation.environment `
120
+
121
+ Corresponds to [ SLSA ` invocation.environment ` ] ( https://slsa.dev/provenance/v0.2#invocation.environment ) .
112
122
113
123
Included with ` mode=min ` and ` mode=max ` .
114
124
@@ -125,7 +135,9 @@ The only value BuildKit currently sets is the `platform` of the current build
125
135
machine. Note that this is not necessarily the platform of the build result that
126
136
can be determined from the ` in-toto ` subject field.
127
137
128
- ## ` materials ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#materials )
138
+ ## ` materials `
139
+
140
+ Corresponds to [ SLSA ` materials ` ] ( https://slsa.dev/provenance/v0.2#materials ) .
129
141
130
142
Included with ` mode=min ` and ` mode=max ` .
131
143
@@ -162,7 +174,9 @@ determine if the artifact has been updated compared to when the build ran.
162
174
],
163
175
```
164
176
165
- ## ` buildConfig ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#buildConfig )
177
+ ## ` buildConfig `
178
+
179
+ Corresponds to [ SLSA ` buildConfig ` ] ( https://slsa.dev/provenance/v0.2#buildConfig ) .
166
180
167
181
Only included with ` mode=max ` .
168
182
@@ -212,7 +226,9 @@ field for every step.
212
226
},
213
227
```
214
228
215
- ## ` metadata.buildInvocationId ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#metadata.buildIncocationId )
229
+ ## ` metadata.buildInvocationId `
230
+
231
+ Corresponds to [ SLSA ` metadata.buildInvocationId ` ] ( https://slsa.dev/provenance/v0.2#metadata.buildIncocationId ) .
216
232
217
233
Included with ` mode=min ` and ` mode=max ` .
218
234
@@ -227,7 +243,9 @@ versions of the image.
227
243
},
228
244
```
229
245
230
- ## ` metadata.buildStartedOn ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#metadata.buildStartedOn )
246
+ ## ` metadata.buildStartedOn `
247
+
248
+ Corresponds to [ SLSA ` metadata.buildStartedOn ` ] ( https://slsa.dev/provenance/v0.2#metadata.buildStartedOn ) .
231
249
232
250
Included with ` mode=min ` and ` mode=max ` .
233
251
@@ -240,7 +258,9 @@ Timestamp when the build started.
240
258
},
241
259
```
242
260
243
- ## ` metadata.buildFinishedOn ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#metadata.buildFinishedOn )
261
+ ## ` metadata.buildFinishedOn `
262
+
263
+ Corresponds to [ SLSA ` metadata.buildFinishedOn ` ] ( https://slsa.dev/provenance/v0.2#metadata.buildFinishedOn ) .
244
264
245
265
Included with ` mode=min ` and ` mode=max ` .
246
266
@@ -253,7 +273,9 @@ Timestamp when the build finished.
253
273
},
254
274
```
255
275
256
- ## ` metadata.completeness ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#metadata.completeness )
276
+ ## ` metadata.completeness `
277
+
278
+ Corresponds to [ SLSA ` metadata.completeness ` ] ( https://slsa.dev/provenance/v0.2#metadata.completeness ) .
257
279
258
280
Included with ` mode=min ` and ` mode=max ` .
259
281
@@ -284,7 +306,9 @@ is true.
284
306
},
285
307
```
286
308
287
- ## ` metadata.reproducible ` [ (SLSA)] ( https://slsa.dev/provenance/v0.2#metadata.reproducible )
309
+ ## ` metadata.reproducible `
310
+
311
+ Corresponds to [ SLSA ` metadata.reproducible ` ] ( https://slsa.dev/provenance/v0.2#metadata.reproducible ) .
288
312
289
313
Defines if the build result is supposed to be byte-by-byte reproducible. This
290
314
value can be set by the user with the ` reproducible=true ` attestation parameter.
0 commit comments