Skip to content

Commit 7fdda10

Browse files
authored
Merge pull request #6027 from crazy-max/fix-docs-provenance
docs: fix heading levels in slsa-definitions page
2 parents e5faaa6 + b1cff73 commit 7fdda10

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

docs/attestations/slsa-definitions.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ The field is set to the URL of the build, if available.
442442
> [!NOTE]
443443
> This value can be set using the `builder-id` attestation parameter.
444444
445-
## `buildType`
445+
### `buildType`
446446

447447
* Ref: https://slsa.dev/spec/v0.2/provenance#buildType
448448
* Included with `mode=min` and `mode=max`.
@@ -454,7 +454,7 @@ used to determine the structure of the provenance content.
454454
"buildType": "https://mobyproject.org/buildkit@v1",
455455
```
456456

457-
## `invocation.configSource`
457+
### `invocation.configSource`
458458

459459
* Ref: https://slsa.dev/spec/v0.2/provenance#invocation.configSource
460460
* Included with `mode=min` and `mode=max`.
@@ -480,7 +480,7 @@ object defines the context URL and its immutable digest in the `uri` and
480480
`entryPoint` field defines the path for the frontend file that initialized the
481481
build (`filename` frontend option).
482482

483-
## `invocation.parameters`
483+
### `invocation.parameters`
484484

485485
* Ref: https://slsa.dev/spec/v0.2/provenance#invocation.parameters
486486
* Partially included with `mode=min`.
@@ -531,7 +531,7 @@ The following fields are only included with `mode=max`:
531531
values are not included.
532532
- `ssh` defines the ssh forwards used during the build.
533533

534-
## `invocation.environment`
534+
### `invocation.environment`
535535

536536
* Ref: https://slsa.dev/spec/v0.2/provenance#invocation.environment
537537
* Included with `mode=min` and `mode=max`.
@@ -549,7 +549,7 @@ The only value BuildKit currently sets is the `platform` of the current build
549549
machine. Note that this is not necessarily the platform of the build result that
550550
can be determined from the `in-toto` subject field.
551551

552-
## `materials`
552+
### `materials`
553553

554554
* Ref: https://slsa.dev/spec/v0.2/provenance#materials
555555
* Included with `mode=min` and `mode=max`.
@@ -587,7 +587,7 @@ determine if the artifact has been updated compared to when the build ran.
587587
],
588588
```
589589

590-
## `buildConfig`
590+
### `buildConfig`
591591

592592
* Ref: https://slsa.dev/spec/v0.2/provenance#buildConfig
593593
* Only included with `mode=max`.
@@ -638,7 +638,7 @@ field for every step.
638638
},
639639
```
640640

641-
## `metadata.buildInvocationId`
641+
### `metadata.buildInvocationId`
642642

643643
* Ref: https://slsa.dev/spec/v0.2/provenance#buildInvocationId
644644
* Included with `mode=min` and `mode=max`.
@@ -654,7 +654,7 @@ versions of the image.
654654
},
655655
```
656656

657-
## `metadata.buildStartedOn`
657+
### `metadata.buildStartedOn`
658658

659659
* Ref: https://slsa.dev/spec/v0.2/provenance#buildStartedOn
660660
* Included with `mode=min` and `mode=max`.
@@ -668,7 +668,7 @@ Timestamp when the build started.
668668
},
669669
```
670670

671-
## `metadata.buildFinishedOn`
671+
### `metadata.buildFinishedOn`
672672

673673
* Ref: https://slsa.dev/spec/v0.2/provenance#buildFinishedOn
674674
* Included with `mode=min` and `mode=max`.
@@ -682,7 +682,7 @@ Timestamp when the build finished.
682682
},
683683
```
684684

685-
## `metadata.completeness`
685+
### `metadata.completeness`
686686

687687
* Ref: https://slsa.dev/spec/v0.2/provenance#metadata.completeness
688688
* Included with `mode=min` and `mode=max`.
@@ -714,7 +714,7 @@ is true.
714714
},
715715
```
716716

717-
## `metadata.reproducible`
717+
### `metadata.reproducible`
718718

719719
* Ref: https://slsa.dev/spec/v0.2/provenance#metadata.reproducible
720720
* Included with `mode=min` and `mode=max`.
@@ -729,7 +729,7 @@ value can be set by the user with the `reproducible=true` attestation parameter.
729729
},
730730
```
731731

732-
## `metadata.https://mobyproject.org/buildkit@v1#hermetic`
732+
### `metadata.https://mobyproject.org/buildkit@v1#hermetic`
733733

734734
Included with `mode=min` and `mode=max`.
735735

@@ -744,7 +744,7 @@ commands or disables network with `--network=none` flag.
744744
},
745745
```
746746

747-
## `metadata.https://mobyproject.org/buildkit@v1#metadata`
747+
### `metadata.https://mobyproject.org/buildkit@v1#metadata`
748748

749749
Partially included with `mode=min`.
750750

@@ -762,7 +762,7 @@ part of the SLSA provenance spec.
762762
},
763763
```
764764

765-
### `source`
765+
#### `source`
766766

767767
Only included with `mode=max`.
768768

@@ -773,7 +773,7 @@ the Dockerfile commands ran in an LLB step. `source.infos` array contains the
773773
source code itself. This mapping is present if the BuildKit frontend provided it
774774
when creating the LLB definition.
775775

776-
### `layers`
776+
#### `layers`
777777

778778
Only included with `mode=max`.
779779

@@ -782,7 +782,7 @@ Defines the layer mapping of LLB build step mounts defined in
782782
mapping is present if the layer data was available, usually when attestation is
783783
for an image or if the build step pulled in image data as part of the build.
784784

785-
### `vcs`
785+
#### `vcs`
786786

787787
Included with `mode=min` and `mode=max`.
788788

0 commit comments

Comments
 (0)