@@ -64,7 +64,7 @@ See [action.yml](action.yml)
64
64
with:
65
65
# Path to the artifact serving as the subject of the attestation. Must
66
66
# specify exactly one of "subject-path" or "subject-digest". May contain a
67
- # glob pattern or list of paths (total subject count cannot exceed 2500 ).
67
+ # glob pattern or list of paths (total subject count cannot exceed 1024 ).
68
68
subject-path:
69
69
70
70
# SHA256 digest of the subject for the attestation. Must be in the form
@@ -99,26 +99,22 @@ See [action.yml](action.yml)
99
99
100
100
<!-- markdownlint-disable MD013 -->
101
101
102
- | Name | Description | Example |
103
- | ------------- | -------------------------------------------------------------- | ----------------------- |
104
- | `bundle-path` | Absolute path to the file containing the generated attestation | `/tmp/attestaion.jsonl ` |
102
+ | Name | Description | Example |
103
+ | ------------- | -------------------------------------------------------------- | ---------------------- |
104
+ | `bundle-path` | Absolute path to the file containing the generated attestation | `/tmp/attestaion.json ` |
105
105
106
106
<!-- markdownlint-enable MD013 -->
107
107
108
108
Attestations are saved in the JSON-serialized [Sigstore bundle][8] format.
109
109
110
- If multiple subjects are being attested at the same time, each attestation will
111
- be written to the output file on a separate line (using the [JSON Lines][9]
112
- format).
110
+ If multiple subjects are being attested at the same time, a single attestation
111
+ will be created with references to each of the supplied subjects.
113
112
114
113
# # Attestation Limits
115
114
116
115
# ## Subject Limits
117
116
118
- No more than 2500 subjects can be attested at the same time. Subjects will be
119
- processed in batches 50. After the initial group of 50, each subsequent batch
120
- will incur an exponentially increasing amount of delay (capped at 1 minute of
121
- delay per batch) to avoid overwhelming the attestation API.
117
+ No more than 1024 subjects can be attested at the same time.
122
118
123
119
# ## SBOM Limits
124
120
@@ -164,8 +160,8 @@ jobs:
164
160
165
161
# ## Identify Multiple Subjects
166
162
167
- If you are generating multiple artifacts, you can generate an attestation for
168
- each by using a wildcard in the `subject-path` input.
163
+ If you are generating multiple artifacts, you can attest all of them at the same
164
+ time by using a wildcard in the `subject-path` input.
169
165
170
166
` ` ` yaml
171
167
- uses: actions/attest-sbom@v1
@@ -267,7 +263,6 @@ jobs:
267
263
[7] : https://cli.github.com/manual/gh_attestation_verify
268
264
[8] :
269
265
https://github.com/sigstore/protobuf-specs/blob/main/protos/sigstore_bundle.proto
270
- [9] : https://jsonlines.org/
271
266
[10] : https://github.com/actions/toolkit/tree/main/packages/glob#patterns
272
267
[11] :
273
268
https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
0 commit comments