Debian Codegraph @

docs/dyn/containeranalysis_v1alpha1.projects.occurrences.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="containeranalysis_v1alpha1.html">Container Analysis API</a> . <a href="containeranalysis_v1alpha1.projects.html">projects</a> . <a href="containeranalysis_v1alpha1.projects.occurrences.html">occurrences</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, name=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes the given `Occurrence` from the system. Use this when an `Occurrence` is no longer applicable for the given resource.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Returns the requested `Occurrence`.</p>
89 <p class="toc_element">
90 <code><a href="#getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes</p>
92 <p class="toc_element">
93 <code><a href="#getNotes">getNotes(name, x__xgafv=None)</a></code></p>
94 <p class="firstline">Gets the `Note` attached to the given `Occurrence`.</p>
95 <p class="toc_element">
96 <code><a href="#getVulnerabilitySummary">getVulnerabilitySummary(parent, filter=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Gets a summary of the number and severity of occurrences.</p>
98 <p class="toc_element">
99 <code><a href="#list">list(parent, filter=None, kind=None, name=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Lists active `Occurrences` for a given project matching the filters.</p>
101 <p class="toc_element">
102 <code><a href="#list_next">list_next()</a></code></p>
103 <p class="firstline">Retrieves the next page of results.</p>
104 <p class="toc_element">
105 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
106 <p class="firstline">Updates an existing occurrence.</p>
107 <p class="toc_element">
108 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes</p>
110 <p class="toc_element">
111 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
112 <p class="firstline">Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`</p>
113 <h3>Method Details</h3>
114 <div class="method">
115 <code class="details" id="close">close()</code>
116 <pre>Close httplib2 connections.</pre>
117 </div>
118
119 <div class="method">
120 <code class="details" id="create">create(parent, body=None, name=None, x__xgafv=None)</code>
121 <pre>Creates a new `Occurrence`. Use this method to create `Occurrences` for a resource.
122
123 Args:
124 parent: string, This field contains the project Id for example: &quot;projects/{project_id}&quot; (required)
125 body: object, The request body.
126 The object takes the form of:
127
128 { # `Occurrence` includes information about analysis occurrences for an image.
129 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # This represents an AI skill analysis occurrence
130 &quot;findings&quot;: [ # Optional. Findings produced by the analysis.
131 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
132 &quot;category&quot;: &quot;A String&quot;, # Optional. Category of the finding.
133 &quot;details&quot;: &quot;A String&quot;, # Optional. Description of the finding category.
134 &quot;location&quot;: { # Location details with file path and line number. # Optional. Location (path and line) where the finding was detected.
135 &quot;filePath&quot;: &quot;A String&quot;, # Optional. Relative path of the file containing the finding.
136 &quot;lineNumber&quot;: &quot;A String&quot;, # Optional. Line number (1-based), or 0 if whole File / unknown.
137 },
138 &quot;scanner&quot;: &quot;A String&quot;, # Optional. Scanner determines which engine (e.g. static, llm) emitted the finding.
139 &quot;severity&quot;: &quot;A String&quot;, # Optional. Severity of the finding.
140 },
141 ],
142 &quot;maxSeverity&quot;: &quot;A String&quot;, # Optional. Maximum severity found among findings.
143 &quot;skillName&quot;: &quot;A String&quot;, # Optional. Name of the skill that produced this analysis.
144 },
145 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). # Describes an attestation of an artifact.
146 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
147 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
148 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys [email protected] tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
149 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
150 },
151 },
152 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
153 &quot;inTotoSlsaProvenanceV1&quot;: { # 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.
154 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
155 &quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
156 &quot;buildDefinition&quot;: {
157 &quot;buildType&quot;: &quot;A String&quot;,
158 &quot;externalParameters&quot;: {
159 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
160 },
161 &quot;internalParameters&quot;: {
162 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
163 },
164 &quot;resolvedDependencies&quot;: [
165 {
166 &quot;annotations&quot;: {
167 &quot;a_key&quot;: &quot;&quot;,
168 },
169 &quot;content&quot;: &quot;A String&quot;,
170 &quot;digest&quot;: {
171 &quot;a_key&quot;: &quot;A String&quot;,
172 },
173 &quot;downloadLocation&quot;: &quot;A String&quot;,
174 &quot;mediaType&quot;: &quot;A String&quot;,
175 &quot;name&quot;: &quot;A String&quot;,
176 &quot;uri&quot;: &quot;A String&quot;,
177 },
178 ],
179 },
180 &quot;runDetails&quot;: {
181 &quot;builder&quot;: {
182 &quot;builderDependencies&quot;: [
183 {
184 &quot;annotations&quot;: {
185 &quot;a_key&quot;: &quot;&quot;,
186 },
187 &quot;content&quot;: &quot;A String&quot;,
188 &quot;digest&quot;: {
189 &quot;a_key&quot;: &quot;A String&quot;,
190 },
191 &quot;downloadLocation&quot;: &quot;A String&quot;,
192 &quot;mediaType&quot;: &quot;A String&quot;,
193 &quot;name&quot;: &quot;A String&quot;,
194 &quot;uri&quot;: &quot;A String&quot;,
195 },
196 ],
197 &quot;id&quot;: &quot;A String&quot;,
198 &quot;version&quot;: {
199 &quot;a_key&quot;: &quot;A String&quot;,
200 },
201 },
202 &quot;byproducts&quot;: [
203 {
204 &quot;annotations&quot;: {
205 &quot;a_key&quot;: &quot;&quot;,
206 },
207 &quot;content&quot;: &quot;A String&quot;,
208 &quot;digest&quot;: {
209 &quot;a_key&quot;: &quot;A String&quot;,
210 },
211 &quot;downloadLocation&quot;: &quot;A String&quot;,
212 &quot;mediaType&quot;: &quot;A String&quot;,
213 &quot;name&quot;: &quot;A String&quot;,
214 &quot;uri&quot;: &quot;A String&quot;,
215 },
216 ],
217 &quot;metadata&quot;: {
218 &quot;finishedOn&quot;: &quot;A String&quot;,
219 &quot;invocationId&quot;: &quot;A String&quot;,
220 &quot;startedOn&quot;: &quot;A String&quot;,
221 },
222 },
223 },
224 &quot;predicateType&quot;: &quot;A String&quot;,
225 &quot;subject&quot;: [
226 { # Subject refers to the subject of the intoto statement
227 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
228 &quot;a_key&quot;: &quot;A String&quot;,
229 },
230 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
231 },
232 ],
233 },
234 &quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
235 &quot;builderConfig&quot;: { # required
236 &quot;id&quot;: &quot;A String&quot;,
237 },
238 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
239 &quot;A String&quot;,
240 ],
241 &quot;metadata&quot;: { # Other properties of the build.
242 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
243 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
244 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
245 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
246 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
247 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
248 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
249 },
250 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
251 },
252 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
253 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
254 {
255 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
256 },
257 ],
258 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
259 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
260 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
261 {
262 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
263 },
264 ],
265 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
266 },
267 },
268 &quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # 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&#x27;s envelope.
269 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
270 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
271 &quot;provenance&quot;: { # Generic Grafeas provenance.
272 &quot;builderConfig&quot;: { # required
273 &quot;id&quot;: &quot;A String&quot;,
274 },
275 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
276 &quot;A String&quot;,
277 ],
278 &quot;metadata&quot;: { # Other properties of the build.
279 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
280 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
281 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
282 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
283 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
284 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
285 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
286 },
287 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
288 },
289 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
290 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
291 {
292 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
293 },
294 ],
295 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
296 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
297 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
298 {
299 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
300 },
301 ],
302 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
303 },
304 },
305 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
306 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
307 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
308 },
309 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
310 { # Material is a material used in the generation of the provenance
311 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
312 &quot;a_key&quot;: &quot;A String&quot;,
313 },
314 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
315 },
316 ],
317 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
318 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
319 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
320 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
321 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
322 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
323 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
324 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
325 },
326 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
327 },
328 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
329 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
330 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
331 },
332 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
333 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
334 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
335 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
336 },
337 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
338 },
339 },
340 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
341 &quot;buildConfig&quot;: { # Lists the steps in the build.
342 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
343 },
344 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
345 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
346 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
347 },
348 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
349 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
350 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
351 &quot;a_key&quot;: &quot;A String&quot;,
352 },
353 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
354 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
355 },
356 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
357 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
358 },
359 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
360 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
361 },
362 },
363 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
364 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
365 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
366 &quot;a_key&quot;: &quot;A String&quot;,
367 },
368 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
369 },
370 ],
371 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
372 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
373 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
374 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
375 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
376 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
377 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
378 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
379 },
380 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
381 },
382 },
383 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
384 { # Subject refers to the subject of the intoto statement
385 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
386 &quot;a_key&quot;: &quot;A String&quot;,
387 },
388 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
389 },
390 ],
391 },
392 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # The actual provenance
393 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
394 &quot;a_key&quot;: &quot;A String&quot;,
395 },
396 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
397 &quot;builtArtifacts&quot;: [ # Output of the build.
398 { # Artifact describes a build product.
399 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
400 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
401 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
402 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
403 &quot;A String&quot;,
404 ],
405 },
406 ],
407 &quot;commands&quot;: [ # Commands requested by the build.
408 { # Command describes a step performed as part of the build pipeline.
409 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
410 &quot;A String&quot;,
411 ],
412 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this Command.
413 &quot;env&quot;: [ # Environment variables set before running this Command.
414 &quot;A String&quot;,
415 ],
416 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.
417 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
418 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
419 &quot;A String&quot;,
420 ],
421 },
422 ],
423 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
424 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the user&#x27;s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
425 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
426 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
427 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
428 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
429 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
430 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
431 { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
432 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
433 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
434 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
435 &quot;name&quot;: &quot;A String&quot;, # The alias name.
436 },
437 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
438 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
439 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
440 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
441 },
442 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
443 },
444 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
445 },
446 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
447 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
448 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
449 &quot;name&quot;: &quot;A String&quot;, # The alias name.
450 },
451 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
452 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
453 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
454 },
455 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
456 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
457 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
458 },
459 &quot;labels&quot;: { # Labels with user defined metadata.
460 &quot;a_key&quot;: &quot;A String&quot;,
461 },
462 },
463 ],
464 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, the input binary artifacts for the build came from this location.
465 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
466 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
467 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
468 },
469 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. # If provided, the source code used for the build came from this location.
470 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
471 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
472 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
473 &quot;name&quot;: &quot;A String&quot;, # The alias name.
474 },
475 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
476 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
477 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
478 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
479 },
480 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
481 },
482 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
483 },
484 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
485 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
486 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
487 &quot;name&quot;: &quot;A String&quot;, # The alias name.
488 },
489 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
490 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
491 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
492 },
493 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
494 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
495 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
496 },
497 &quot;labels&quot;: { # Labels with user defined metadata.
498 &quot;a_key&quot;: &quot;A String&quot;,
499 },
500 },
501 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
502 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
503 &quot;fileHash&quot;: [ # Collection of file hashes.
504 { # Container message for hash values.
505 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
506 &quot;value&quot;: &quot;A String&quot;, # The hash value.
507 },
508 ],
509 },
510 },
511 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source Repository. # If provided, get source from this location in a Cloud Repo.
512 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
513 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
514 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
515 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
516 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
517 },
518 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage.
519 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
520 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
521 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
522 },
523 },
524 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
525 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
526 },
527 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can 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.
528 },
529 &quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes whether or not a resource passes compliance checks.
530 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason for non compliance of these files.
531 &quot;nonCompliantFiles&quot;: [ # A list of files which are violating compliance checks.
532 { # Details about files that caused a compliance check to fail.
533 &quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
534 &quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
535 &quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
536 },
537 ],
538 &quot;version&quot;: { # Describes the CIS benchmark version that is applicable to a given OS and os version. # The OS and config version the benchmark was run on.
539 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
540 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
541 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
542 },
543 },
544 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
545 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
546 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
547 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
548 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
549 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
550 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed taken from the deployable field with the same name.
551 &quot;A String&quot;,
552 ],
553 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
554 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
555 },
556 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Describes how this resource derives from the basis in the associated note.
557 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
558 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
559 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
560 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
561 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
562 &quot;A String&quot;,
563 ],
564 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
565 },
566 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length &quot;distance&quot; and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
567 { # Layer holds metadata specific to a layer of a Docker image.
568 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
569 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
570 },
571 ],
572 },
573 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
574 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. # The list of analysis that were completed for a resource.
575 &quot;analysisType&quot;: [ # type of analysis that were completed on a resource.
576 &quot;A String&quot;,
577 ],
578 },
579 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
580 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
581 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
582 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
583 {
584 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
585 },
586 ],
587 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
588 },
589 ],
590 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
591 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API.
592 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
593 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
594 {
595 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
596 },
597 ],
598 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
599 },
600 &quot;archiveTime&quot;: &quot;A String&quot;, # The time occurrences related to this discovery occurrence were archived.
601 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
602 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
603 &quot;files&quot;: [ # Optional. Files that make up the resource described by the occurrence.
604 { # A file as part of a resource.
605 &quot;digest&quot;: { # Optional. The digest(s) of the file.
606 &quot;a_key&quot;: &quot;A String&quot;,
607 },
608 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the file.
609 },
610 ],
611 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
612 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # Optional. The last time vulnerability scan results changed.
613 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use.
614 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
615 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
616 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
617 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
618 {
619 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
620 },
621 ],
622 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
623 },
624 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
625 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
626 },
627 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
628 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
629 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
630 },
631 },
632 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # Output only. The status of an SBOM generation.
633 &quot;error&quot;: &quot;A String&quot;, # Output only. If there was an error generating an SBOM, this will indicate what that error was.
634 &quot;sbomState&quot;: &quot;A String&quot;, # Output only. The progress of the SBOM generation.
635 },
636 &quot;vulnerabilityAttestation&quot;: { # The status of a vulnerability attestation generation. # Output only. The status of a vulnerability attestation generation.
637 &quot;error&quot;: &quot;A String&quot;, # Output only. If failure, the error reason for why the attestation generation failed.
638 &quot;lastAttemptTime&quot;: &quot;A String&quot;, # Output only. The last time we attempted to generate an attestation.
639 &quot;state&quot;: &quot;A String&quot;, # Output only. The success/failure state of the latest attestation attempt.
640 },
641 },
642 &quot;dsseAttestation&quot;: { # An occurrence describing an attestation on a resource # This represents a DSSE attestation occurrence
643 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.
644 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
645 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
646 &quot;signatures&quot;: [ # The signatures over the payload
647 { # A DSSE signature
648 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
649 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
650 },
651 ],
652 },
653 &quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
654 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
655 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
656 &quot;provenance&quot;: { # Generic Grafeas provenance.
657 &quot;builderConfig&quot;: { # required
658 &quot;id&quot;: &quot;A String&quot;,
659 },
660 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
661 &quot;A String&quot;,
662 ],
663 &quot;metadata&quot;: { # Other properties of the build.
664 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
665 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
666 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
667 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
668 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
669 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
670 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
671 },
672 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
673 },
674 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
675 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
676 {
677 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
678 },
679 ],
680 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
681 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
682 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
683 {
684 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
685 },
686 ],
687 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
688 },
689 },
690 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
691 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
692 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
693 },
694 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
695 { # Material is a material used in the generation of the provenance
696 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
697 &quot;a_key&quot;: &quot;A String&quot;,
698 },
699 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
700 },
701 ],
702 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
703 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
704 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
705 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
706 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
707 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
708 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
709 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
710 },
711 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
712 },
713 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
714 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
715 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
716 },
717 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
718 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
719 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
720 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
721 },
722 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
723 },
724 },
725 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
726 &quot;buildConfig&quot;: { # Lists the steps in the build.
727 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
728 },
729 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
730 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
731 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
732 },
733 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
734 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
735 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
736 &quot;a_key&quot;: &quot;A String&quot;,
737 },
738 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
739 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
740 },
741 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
742 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
743 },
744 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
745 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
746 },
747 },
748 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
749 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
750 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
751 &quot;a_key&quot;: &quot;A String&quot;,
752 },
753 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
754 },
755 ],
756 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
757 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
758 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
759 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
760 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
761 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
762 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
763 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
764 },
765 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
766 },
767 },
768 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
769 { # Subject refers to the subject of the intoto statement
770 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
771 &quot;a_key&quot;: &quot;A String&quot;,
772 },
773 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
774 },
775 ],
776 },
777 },
778 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # https://github.com/secure-systems-lab/dsse
779 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
780 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
781 &quot;signatures&quot;: [ # The signatures over the payload
782 { # A DSSE signature
783 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
784 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
785 },
786 ],
787 },
788 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Describes the installation of a package on the linked resource.
789 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
790 &quot;cpeUri&quot;: &quot;A String&quot;, # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
791 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
792 &quot;comments&quot;: &quot;A String&quot;, # Comments
793 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
794 },
795 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
796 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. e.g. glibc was found in /var/lib/dpkg/status
797 &quot;cpeUri&quot;: &quot;A String&quot;, # Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
798 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
799 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Deprecated. The version installed at this location.
800 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
801 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
802 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
803 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
804 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
805 },
806 },
807 ],
808 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
809 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
810 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Output only. The version of the package.
811 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
812 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
813 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
814 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
815 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
816 },
817 },
818 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.
819 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
820 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; This field can be used as a filter in list requests.
821 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
822 &quot;resource&quot;: { # Resource is an entity that can have metadata. E.g., a Docker image. # The resource for which the `Occurrence` applies.
823 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
824 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
825 &quot;value&quot;: &quot;A String&quot;, # The hash value.
826 },
827 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
828 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
829 },
830 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
831 &quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
832 &quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
833 &quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
834 &quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
835 &quot;A String&quot;,
836 ],
837 &quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
838 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
839 &quot;A String&quot;,
840 ],
841 &quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
842 &quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
843 &quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
844 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
845 },
846 &quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # This represents an SBOM reference occurrence
847 &quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
848 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
849 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
850 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
851 &quot;a_key&quot;: &quot;A String&quot;,
852 },
853 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
854 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
855 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
856 },
857 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
858 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
859 { # Subject refers to the subject of the intoto statement
860 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
861 &quot;a_key&quot;: &quot;A String&quot;,
862 },
863 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
864 },
865 ],
866 },
867 &quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
868 &quot;signatures&quot;: [ # The signatures over the payload.
869 { # A DSSE signature
870 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
871 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
872 },
873 ],
874 },
875 &quot;secret&quot;: { # The occurrence provides details of a secret. # This represents a secret occurrence
876 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
877 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
878 { # The location of the secret.
879 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
880 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
881 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
882 &quot;baseImages&quot;: [ # The base images the layer is found within.
883 { # BaseImage describes a base image of a container image.
884 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
885 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
886 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
887 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
888 },
889 ],
890 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
891 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
892 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
893 &quot;index&quot;: 42, # The index of the layer in the container image.
894 },
895 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
896 },
897 },
898 ],
899 &quot;statuses&quot;: [ # Optional. Status of the secret.
900 { # The status of the secret with a timestamp.
901 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
902 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
903 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
904 },
905 ],
906 },
907 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
908 &quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
909 &quot;A String&quot;,
910 ],
911 &quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
912 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
913 &quot;A String&quot;,
914 ],
915 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
916 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
917 &quot;A String&quot;,
918 ],
919 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
920 &quot;licenseConcluded&quot;: { # License information. # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
921 &quot;comments&quot;: &quot;A String&quot;, # Comments
922 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
923 },
924 &quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
925 },
926 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
927 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
928 &quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
929 &quot;homePage&quot;: &quot;A String&quot;, # Output only. Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
930 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
931 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
932 &quot;comments&quot;: &quot;A String&quot;, # Comments
933 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
934 },
935 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
936 &quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
937 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
938 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
939 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
940 },
941 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
942 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
943 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
944 &quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
945 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
946 },
947 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
948 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). # Describes an upgrade.
949 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
950 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
951 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
952 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
953 &quot;A String&quot;,
954 ],
955 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
956 },
957 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
958 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in a machine + human readable form.
959 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
960 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
961 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
962 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
963 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
964 },
965 },
966 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how to fix it. # Details of a security vulnerability note.
967 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
968 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v2 score of this vulnerability.
969 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
970 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
971 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
972 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
973 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
974 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
975 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
976 &quot;exploitabilityScore&quot;: 3.14,
977 &quot;impactScore&quot;: 3.14,
978 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
979 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
980 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
981 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
982 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
983 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
984 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
985 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
986 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
987 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
988 },
989 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v3 score of this vulnerability.
990 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
991 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
992 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
993 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
994 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
995 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
996 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
997 &quot;exploitabilityScore&quot;: 3.14,
998 &quot;impactScore&quot;: 3.14,
999 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1000 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1001 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1002 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1003 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1004 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1005 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1006 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1007 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1008 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1009 },
1010 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The CVSS v4 score of this vulnerability.
1011 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1012 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1013 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1014 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1015 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1016 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1017 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1018 &quot;exploitabilityScore&quot;: 3.14,
1019 &quot;impactScore&quot;: 3.14,
1020 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1021 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1022 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1023 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1024 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1025 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1026 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1027 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1028 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1029 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1030 },
1031 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
1032 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
1033 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
1034 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within the associated resource.
1035 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
1036 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
1037 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
1038 &quot;fileLocation&quot;: [ # The file location at which this package was found.
1039 { # Indicates the location at which a package was found.
1040 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
1041 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
1042 &quot;baseImages&quot;: [ # The base images the layer is found within.
1043 { # BaseImage describes a base image of a container image.
1044 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1045 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1046 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
1047 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1048 },
1049 ],
1050 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
1051 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
1052 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
1053 &quot;index&quot;: 42, # The index of the layer in the container image.
1054 },
1055 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
1056 },
1057 ],
1058 &quot;package&quot;: &quot;A String&quot;, # The package being described.
1059 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
1060 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1061 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1062 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1063 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1064 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1065 },
1066 },
1067 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.
1068 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
1069 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
1070 &quot;fileLocation&quot;: [ # The file location at which this package was found.
1071 { # Indicates the location at which a package was found.
1072 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
1073 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
1074 &quot;baseImages&quot;: [ # The base images the layer is found within.
1075 { # BaseImage describes a base image of a container image.
1076 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1077 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1078 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
1079 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1080 },
1081 ],
1082 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
1083 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
1084 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
1085 &quot;index&quot;: 42, # The index of the layer in the container image.
1086 },
1087 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
1088 },
1089 ],
1090 &quot;package&quot;: &quot;A String&quot;, # The package being described.
1091 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
1092 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1093 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1094 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1095 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1096 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1097 },
1098 },
1099 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
1100 &quot;severityName&quot;: &quot;A String&quot;,
1101 },
1102 ],
1103 &quot;risk&quot;: { # The Risk message provides information about the risk of a vulnerability. # Risk information about the vulnerability, such as CISA, EPSS, etc.
1104 &quot;cisaKev&quot;: { # CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign. # Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
1105 &quot;knownRansomwareCampaignUse&quot;: &quot;A String&quot;, # Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
1106 },
1107 &quot;epss&quot;: { # ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile. # Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild.
1108 &quot;percentile&quot;: 3.14, # Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score
1109 &quot;score&quot;: 3.14, # Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days
1110 },
1111 },
1112 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
1113 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.
1114 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability. # VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.
1115 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
1116 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1117 &quot;A String&quot;,
1118 ],
1119 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
1120 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1121 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1122 },
1123 &quot;noteName&quot;: &quot;A String&quot;, # The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
1124 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
1125 { # An URI message.
1126 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1127 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1128 },
1129 ],
1130 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1131 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1132 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1133 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1134 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
1135 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1136 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1137 },
1138 },
1139 ],
1140 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1141 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1142 },
1143 },
1144 }
1145
1146 name: string, The name of the project. Should be of the form &quot;projects/{project_id}&quot;. @Deprecated
1147 x__xgafv: string, V1 error format.
1148 Allowed values
1149 1 - v1 error format
1150 2 - v2 error format
1151
1152 Returns:
1153 An object of the form:
1154
1155 { # `Occurrence` includes information about analysis occurrences for an image.
1156 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # This represents an AI skill analysis occurrence
1157 &quot;findings&quot;: [ # Optional. Findings produced by the analysis.
1158 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
1159 &quot;category&quot;: &quot;A String&quot;, # Optional. Category of the finding.
1160 &quot;details&quot;: &quot;A String&quot;, # Optional. Description of the finding category.
1161 &quot;location&quot;: { # Location details with file path and line number. # Optional. Location (path and line) where the finding was detected.
1162 &quot;filePath&quot;: &quot;A String&quot;, # Optional. Relative path of the file containing the finding.
1163 &quot;lineNumber&quot;: &quot;A String&quot;, # Optional. Line number (1-based), or 0 if whole File / unknown.
1164 },
1165 &quot;scanner&quot;: &quot;A String&quot;, # Optional. Scanner determines which engine (e.g. static, llm) emitted the finding.
1166 &quot;severity&quot;: &quot;A String&quot;, # Optional. Severity of the finding.
1167 },
1168 ],
1169 &quot;maxSeverity&quot;: &quot;A String&quot;, # Optional. Maximum severity found among findings.
1170 &quot;skillName&quot;: &quot;A String&quot;, # Optional. Name of the skill that produced this analysis.
1171 },
1172 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). # Describes an attestation of an artifact.
1173 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
1174 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
1175 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys [email protected] tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
1176 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
1177 },
1178 },
1179 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
1180 &quot;inTotoSlsaProvenanceV1&quot;: { # 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.
1181 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
1182 &quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
1183 &quot;buildDefinition&quot;: {
1184 &quot;buildType&quot;: &quot;A String&quot;,
1185 &quot;externalParameters&quot;: {
1186 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1187 },
1188 &quot;internalParameters&quot;: {
1189 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1190 },
1191 &quot;resolvedDependencies&quot;: [
1192 {
1193 &quot;annotations&quot;: {
1194 &quot;a_key&quot;: &quot;&quot;,
1195 },
1196 &quot;content&quot;: &quot;A String&quot;,
1197 &quot;digest&quot;: {
1198 &quot;a_key&quot;: &quot;A String&quot;,
1199 },
1200 &quot;downloadLocation&quot;: &quot;A String&quot;,
1201 &quot;mediaType&quot;: &quot;A String&quot;,
1202 &quot;name&quot;: &quot;A String&quot;,
1203 &quot;uri&quot;: &quot;A String&quot;,
1204 },
1205 ],
1206 },
1207 &quot;runDetails&quot;: {
1208 &quot;builder&quot;: {
1209 &quot;builderDependencies&quot;: [
1210 {
1211 &quot;annotations&quot;: {
1212 &quot;a_key&quot;: &quot;&quot;,
1213 },
1214 &quot;content&quot;: &quot;A String&quot;,
1215 &quot;digest&quot;: {
1216 &quot;a_key&quot;: &quot;A String&quot;,
1217 },
1218 &quot;downloadLocation&quot;: &quot;A String&quot;,
1219 &quot;mediaType&quot;: &quot;A String&quot;,
1220 &quot;name&quot;: &quot;A String&quot;,
1221 &quot;uri&quot;: &quot;A String&quot;,
1222 },
1223 ],
1224 &quot;id&quot;: &quot;A String&quot;,
1225 &quot;version&quot;: {
1226 &quot;a_key&quot;: &quot;A String&quot;,
1227 },
1228 },
1229 &quot;byproducts&quot;: [
1230 {
1231 &quot;annotations&quot;: {
1232 &quot;a_key&quot;: &quot;&quot;,
1233 },
1234 &quot;content&quot;: &quot;A String&quot;,
1235 &quot;digest&quot;: {
1236 &quot;a_key&quot;: &quot;A String&quot;,
1237 },
1238 &quot;downloadLocation&quot;: &quot;A String&quot;,
1239 &quot;mediaType&quot;: &quot;A String&quot;,
1240 &quot;name&quot;: &quot;A String&quot;,
1241 &quot;uri&quot;: &quot;A String&quot;,
1242 },
1243 ],
1244 &quot;metadata&quot;: {
1245 &quot;finishedOn&quot;: &quot;A String&quot;,
1246 &quot;invocationId&quot;: &quot;A String&quot;,
1247 &quot;startedOn&quot;: &quot;A String&quot;,
1248 },
1249 },
1250 },
1251 &quot;predicateType&quot;: &quot;A String&quot;,
1252 &quot;subject&quot;: [
1253 { # Subject refers to the subject of the intoto statement
1254 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
1255 &quot;a_key&quot;: &quot;A String&quot;,
1256 },
1257 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
1258 },
1259 ],
1260 },
1261 &quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
1262 &quot;builderConfig&quot;: { # required
1263 &quot;id&quot;: &quot;A String&quot;,
1264 },
1265 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
1266 &quot;A String&quot;,
1267 ],
1268 &quot;metadata&quot;: { # Other properties of the build.
1269 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1270 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
1271 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1272 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1273 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
1274 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
1275 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
1276 },
1277 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
1278 },
1279 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
1280 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
1281 {
1282 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1283 },
1284 ],
1285 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
1286 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
1287 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
1288 {
1289 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1290 },
1291 ],
1292 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
1293 },
1294 },
1295 &quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # 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&#x27;s envelope.
1296 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
1297 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
1298 &quot;provenance&quot;: { # Generic Grafeas provenance.
1299 &quot;builderConfig&quot;: { # required
1300 &quot;id&quot;: &quot;A String&quot;,
1301 },
1302 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
1303 &quot;A String&quot;,
1304 ],
1305 &quot;metadata&quot;: { # Other properties of the build.
1306 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1307 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
1308 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1309 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1310 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
1311 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
1312 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
1313 },
1314 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
1315 },
1316 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
1317 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
1318 {
1319 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1320 },
1321 ],
1322 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
1323 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
1324 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
1325 {
1326 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1327 },
1328 ],
1329 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
1330 },
1331 },
1332 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
1333 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
1334 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
1335 },
1336 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
1337 { # Material is a material used in the generation of the provenance
1338 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
1339 &quot;a_key&quot;: &quot;A String&quot;,
1340 },
1341 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
1342 },
1343 ],
1344 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
1345 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1346 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
1347 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1348 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1349 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
1350 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
1351 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
1352 },
1353 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
1354 },
1355 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
1356 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
1357 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1358 },
1359 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
1360 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
1361 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
1362 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1363 },
1364 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
1365 },
1366 },
1367 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
1368 &quot;buildConfig&quot;: { # Lists the steps in the build.
1369 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1370 },
1371 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
1372 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
1373 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
1374 },
1375 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
1376 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
1377 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
1378 &quot;a_key&quot;: &quot;A String&quot;,
1379 },
1380 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
1381 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
1382 },
1383 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
1384 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1385 },
1386 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
1387 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1388 },
1389 },
1390 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
1391 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
1392 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
1393 &quot;a_key&quot;: &quot;A String&quot;,
1394 },
1395 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
1396 },
1397 ],
1398 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
1399 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1400 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
1401 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1402 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1403 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
1404 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
1405 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
1406 },
1407 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
1408 },
1409 },
1410 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
1411 { # Subject refers to the subject of the intoto statement
1412 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
1413 &quot;a_key&quot;: &quot;A String&quot;,
1414 },
1415 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
1416 },
1417 ],
1418 },
1419 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # The actual provenance
1420 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
1421 &quot;a_key&quot;: &quot;A String&quot;,
1422 },
1423 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
1424 &quot;builtArtifacts&quot;: [ # Output of the build.
1425 { # Artifact describes a build product.
1426 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
1427 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
1428 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
1429 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
1430 &quot;A String&quot;,
1431 ],
1432 },
1433 ],
1434 &quot;commands&quot;: [ # Commands requested by the build.
1435 { # Command describes a step performed as part of the build pipeline.
1436 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
1437 &quot;A String&quot;,
1438 ],
1439 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this Command.
1440 &quot;env&quot;: [ # Environment variables set before running this Command.
1441 &quot;A String&quot;,
1442 ],
1443 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.
1444 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
1445 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
1446 &quot;A String&quot;,
1447 ],
1448 },
1449 ],
1450 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
1451 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the user&#x27;s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
1452 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
1453 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
1454 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
1455 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
1456 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
1457 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
1458 { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
1459 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
1460 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1461 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1462 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1463 },
1464 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
1465 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
1466 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
1467 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
1468 },
1469 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
1470 },
1471 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
1472 },
1473 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
1474 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1475 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1476 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1477 },
1478 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
1479 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
1480 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
1481 },
1482 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
1483 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
1484 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
1485 },
1486 &quot;labels&quot;: { # Labels with user defined metadata.
1487 &quot;a_key&quot;: &quot;A String&quot;,
1488 },
1489 },
1490 ],
1491 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, the input binary artifacts for the build came from this location.
1492 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
1493 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
1494 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
1495 },
1496 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. # If provided, the source code used for the build came from this location.
1497 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
1498 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1499 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1500 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1501 },
1502 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
1503 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
1504 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
1505 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
1506 },
1507 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
1508 },
1509 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
1510 },
1511 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
1512 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1513 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1514 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1515 },
1516 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
1517 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
1518 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
1519 },
1520 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
1521 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
1522 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
1523 },
1524 &quot;labels&quot;: { # Labels with user defined metadata.
1525 &quot;a_key&quot;: &quot;A String&quot;,
1526 },
1527 },
1528 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
1529 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
1530 &quot;fileHash&quot;: [ # Collection of file hashes.
1531 { # Container message for hash values.
1532 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
1533 &quot;value&quot;: &quot;A String&quot;, # The hash value.
1534 },
1535 ],
1536 },
1537 },
1538 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source Repository. # If provided, get source from this location in a Cloud Repo.
1539 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
1540 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
1541 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
1542 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
1543 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
1544 },
1545 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage.
1546 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
1547 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
1548 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
1549 },
1550 },
1551 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
1552 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
1553 },
1554 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can 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.
1555 },
1556 &quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes whether or not a resource passes compliance checks.
1557 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason for non compliance of these files.
1558 &quot;nonCompliantFiles&quot;: [ # A list of files which are violating compliance checks.
1559 { # Details about files that caused a compliance check to fail.
1560 &quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
1561 &quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
1562 &quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
1563 },
1564 ],
1565 &quot;version&quot;: { # Describes the CIS benchmark version that is applicable to a given OS and os version. # The OS and config version the benchmark was run on.
1566 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
1567 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
1568 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
1569 },
1570 },
1571 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
1572 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
1573 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
1574 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
1575 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
1576 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
1577 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed taken from the deployable field with the same name.
1578 &quot;A String&quot;,
1579 ],
1580 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
1581 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
1582 },
1583 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Describes how this resource derives from the basis in the associated note.
1584 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
1585 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
1586 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
1587 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
1588 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
1589 &quot;A String&quot;,
1590 ],
1591 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
1592 },
1593 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length &quot;distance&quot; and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
1594 { # Layer holds metadata specific to a layer of a Docker image.
1595 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
1596 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
1597 },
1598 ],
1599 },
1600 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
1601 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. # The list of analysis that were completed for a resource.
1602 &quot;analysisType&quot;: [ # type of analysis that were completed on a resource.
1603 &quot;A String&quot;,
1604 ],
1605 },
1606 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
1607 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
1608 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1609 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1610 {
1611 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1612 },
1613 ],
1614 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1615 },
1616 ],
1617 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
1618 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API.
1619 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1620 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1621 {
1622 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1623 },
1624 ],
1625 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1626 },
1627 &quot;archiveTime&quot;: &quot;A String&quot;, # The time occurrences related to this discovery occurrence were archived.
1628 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
1629 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
1630 &quot;files&quot;: [ # Optional. Files that make up the resource described by the occurrence.
1631 { # A file as part of a resource.
1632 &quot;digest&quot;: { # Optional. The digest(s) of the file.
1633 &quot;a_key&quot;: &quot;A String&quot;,
1634 },
1635 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the file.
1636 },
1637 ],
1638 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
1639 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # Optional. The last time vulnerability scan results changed.
1640 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use.
1641 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
1642 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
1643 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1644 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1645 {
1646 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1647 },
1648 ],
1649 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
1650 },
1651 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
1652 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1653 },
1654 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
1655 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
1656 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1657 },
1658 },
1659 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # Output only. The status of an SBOM generation.
1660 &quot;error&quot;: &quot;A String&quot;, # Output only. If there was an error generating an SBOM, this will indicate what that error was.
1661 &quot;sbomState&quot;: &quot;A String&quot;, # Output only. The progress of the SBOM generation.
1662 },
1663 &quot;vulnerabilityAttestation&quot;: { # The status of a vulnerability attestation generation. # Output only. The status of a vulnerability attestation generation.
1664 &quot;error&quot;: &quot;A String&quot;, # Output only. If failure, the error reason for why the attestation generation failed.
1665 &quot;lastAttemptTime&quot;: &quot;A String&quot;, # Output only. The last time we attempted to generate an attestation.
1666 &quot;state&quot;: &quot;A String&quot;, # Output only. The success/failure state of the latest attestation attempt.
1667 },
1668 },
1669 &quot;dsseAttestation&quot;: { # An occurrence describing an attestation on a resource # This represents a DSSE attestation occurrence
1670 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.
1671 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
1672 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
1673 &quot;signatures&quot;: [ # The signatures over the payload
1674 { # A DSSE signature
1675 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
1676 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
1677 },
1678 ],
1679 },
1680 &quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
1681 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
1682 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
1683 &quot;provenance&quot;: { # Generic Grafeas provenance.
1684 &quot;builderConfig&quot;: { # required
1685 &quot;id&quot;: &quot;A String&quot;,
1686 },
1687 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
1688 &quot;A String&quot;,
1689 ],
1690 &quot;metadata&quot;: { # Other properties of the build.
1691 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1692 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
1693 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1694 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1695 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
1696 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
1697 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
1698 },
1699 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
1700 },
1701 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
1702 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
1703 {
1704 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1705 },
1706 ],
1707 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
1708 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
1709 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
1710 {
1711 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1712 },
1713 ],
1714 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
1715 },
1716 },
1717 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
1718 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
1719 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
1720 },
1721 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
1722 { # Material is a material used in the generation of the provenance
1723 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
1724 &quot;a_key&quot;: &quot;A String&quot;,
1725 },
1726 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
1727 },
1728 ],
1729 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
1730 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1731 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
1732 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1733 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1734 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
1735 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
1736 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
1737 },
1738 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
1739 },
1740 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
1741 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
1742 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1743 },
1744 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
1745 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
1746 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
1747 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1748 },
1749 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
1750 },
1751 },
1752 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
1753 &quot;buildConfig&quot;: { # Lists the steps in the build.
1754 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1755 },
1756 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
1757 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
1758 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
1759 },
1760 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
1761 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
1762 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
1763 &quot;a_key&quot;: &quot;A String&quot;,
1764 },
1765 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
1766 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
1767 },
1768 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
1769 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1770 },
1771 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
1772 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1773 },
1774 },
1775 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
1776 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
1777 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
1778 &quot;a_key&quot;: &quot;A String&quot;,
1779 },
1780 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
1781 },
1782 ],
1783 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
1784 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
1785 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
1786 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
1787 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
1788 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
1789 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
1790 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
1791 },
1792 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
1793 },
1794 },
1795 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
1796 { # Subject refers to the subject of the intoto statement
1797 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
1798 &quot;a_key&quot;: &quot;A String&quot;,
1799 },
1800 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
1801 },
1802 ],
1803 },
1804 },
1805 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # https://github.com/secure-systems-lab/dsse
1806 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
1807 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
1808 &quot;signatures&quot;: [ # The signatures over the payload
1809 { # A DSSE signature
1810 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
1811 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
1812 },
1813 ],
1814 },
1815 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Describes the installation of a package on the linked resource.
1816 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
1817 &quot;cpeUri&quot;: &quot;A String&quot;, # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
1818 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1819 &quot;comments&quot;: &quot;A String&quot;, # Comments
1820 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1821 },
1822 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
1823 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. e.g. glibc was found in /var/lib/dpkg/status
1824 &quot;cpeUri&quot;: &quot;A String&quot;, # Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
1825 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
1826 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Deprecated. The version installed at this location.
1827 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1828 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1829 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1830 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1831 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1832 },
1833 },
1834 ],
1835 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
1836 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
1837 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Output only. The version of the package.
1838 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1839 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1840 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1841 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1842 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1843 },
1844 },
1845 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.
1846 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
1847 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; This field can be used as a filter in list requests.
1848 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
1849 &quot;resource&quot;: { # Resource is an entity that can have metadata. E.g., a Docker image. # The resource for which the `Occurrence` applies.
1850 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
1851 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
1852 &quot;value&quot;: &quot;A String&quot;, # The hash value.
1853 },
1854 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
1855 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
1856 },
1857 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
1858 &quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
1859 &quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
1860 &quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
1861 &quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
1862 &quot;A String&quot;,
1863 ],
1864 &quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
1865 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
1866 &quot;A String&quot;,
1867 ],
1868 &quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
1869 &quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
1870 &quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
1871 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
1872 },
1873 &quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # This represents an SBOM reference occurrence
1874 &quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
1875 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
1876 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
1877 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
1878 &quot;a_key&quot;: &quot;A String&quot;,
1879 },
1880 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
1881 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
1882 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
1883 },
1884 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
1885 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
1886 { # Subject refers to the subject of the intoto statement
1887 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
1888 &quot;a_key&quot;: &quot;A String&quot;,
1889 },
1890 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
1891 },
1892 ],
1893 },
1894 &quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
1895 &quot;signatures&quot;: [ # The signatures over the payload.
1896 { # A DSSE signature
1897 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
1898 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
1899 },
1900 ],
1901 },
1902 &quot;secret&quot;: { # The occurrence provides details of a secret. # This represents a secret occurrence
1903 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
1904 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
1905 { # The location of the secret.
1906 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
1907 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
1908 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
1909 &quot;baseImages&quot;: [ # The base images the layer is found within.
1910 { # BaseImage describes a base image of a container image.
1911 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1912 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1913 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
1914 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1915 },
1916 ],
1917 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
1918 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
1919 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
1920 &quot;index&quot;: 42, # The index of the layer in the container image.
1921 },
1922 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
1923 },
1924 },
1925 ],
1926 &quot;statuses&quot;: [ # Optional. Status of the secret.
1927 { # The status of the secret with a timestamp.
1928 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
1929 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
1930 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
1931 },
1932 ],
1933 },
1934 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
1935 &quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
1936 &quot;A String&quot;,
1937 ],
1938 &quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
1939 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
1940 &quot;A String&quot;,
1941 ],
1942 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
1943 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
1944 &quot;A String&quot;,
1945 ],
1946 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
1947 &quot;licenseConcluded&quot;: { # License information. # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
1948 &quot;comments&quot;: &quot;A String&quot;, # Comments
1949 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1950 },
1951 &quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
1952 },
1953 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
1954 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
1955 &quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
1956 &quot;homePage&quot;: &quot;A String&quot;, # Output only. Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
1957 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
1958 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
1959 &quot;comments&quot;: &quot;A String&quot;, # Comments
1960 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1961 },
1962 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1963 &quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
1964 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
1965 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
1966 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
1967 },
1968 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
1969 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
1970 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
1971 &quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
1972 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
1973 },
1974 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
1975 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). # Describes an upgrade.
1976 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
1977 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
1978 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
1979 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
1980 &quot;A String&quot;,
1981 ],
1982 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
1983 },
1984 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
1985 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in a machine + human readable form.
1986 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1987 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1988 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1989 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1990 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1991 },
1992 },
1993 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how to fix it. # Details of a security vulnerability note.
1994 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
1995 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v2 score of this vulnerability.
1996 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1997 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1998 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1999 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
2000 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
2001 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
2002 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
2003 &quot;exploitabilityScore&quot;: 3.14,
2004 &quot;impactScore&quot;: 3.14,
2005 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
2006 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
2007 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
2008 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
2009 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2010 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2011 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
2012 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2013 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2014 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2015 },
2016 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v3 score of this vulnerability.
2017 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2018 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
2019 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
2020 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
2021 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
2022 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
2023 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
2024 &quot;exploitabilityScore&quot;: 3.14,
2025 &quot;impactScore&quot;: 3.14,
2026 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
2027 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
2028 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
2029 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
2030 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2031 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2032 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
2033 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2034 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2035 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2036 },
2037 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The CVSS v4 score of this vulnerability.
2038 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2039 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
2040 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
2041 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
2042 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
2043 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
2044 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
2045 &quot;exploitabilityScore&quot;: 3.14,
2046 &quot;impactScore&quot;: 3.14,
2047 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
2048 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
2049 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
2050 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
2051 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2052 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2053 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
2054 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2055 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2056 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2057 },
2058 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
2059 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
2060 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
2061 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within the associated resource.
2062 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
2063 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
2064 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
2065 &quot;fileLocation&quot;: [ # The file location at which this package was found.
2066 { # Indicates the location at which a package was found.
2067 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
2068 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
2069 &quot;baseImages&quot;: [ # The base images the layer is found within.
2070 { # BaseImage describes a base image of a container image.
2071 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
2072 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
2073 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
2074 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
2075 },
2076 ],
2077 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
2078 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
2079 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
2080 &quot;index&quot;: 42, # The index of the layer in the container image.
2081 },
2082 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
2083 },
2084 ],
2085 &quot;package&quot;: &quot;A String&quot;, # The package being described.
2086 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
2087 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2088 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2089 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2090 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2091 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2092 },
2093 },
2094 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.
2095 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
2096 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
2097 &quot;fileLocation&quot;: [ # The file location at which this package was found.
2098 { # Indicates the location at which a package was found.
2099 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
2100 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
2101 &quot;baseImages&quot;: [ # The base images the layer is found within.
2102 { # BaseImage describes a base image of a container image.
2103 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
2104 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
2105 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
2106 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
2107 },
2108 ],
2109 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
2110 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
2111 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
2112 &quot;index&quot;: 42, # The index of the layer in the container image.
2113 },
2114 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
2115 },
2116 ],
2117 &quot;package&quot;: &quot;A String&quot;, # The package being described.
2118 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
2119 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2120 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2121 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2122 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2123 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2124 },
2125 },
2126 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
2127 &quot;severityName&quot;: &quot;A String&quot;,
2128 },
2129 ],
2130 &quot;risk&quot;: { # The Risk message provides information about the risk of a vulnerability. # Risk information about the vulnerability, such as CISA, EPSS, etc.
2131 &quot;cisaKev&quot;: { # CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign. # Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
2132 &quot;knownRansomwareCampaignUse&quot;: &quot;A String&quot;, # Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
2133 },
2134 &quot;epss&quot;: { # ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile. # Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild.
2135 &quot;percentile&quot;: 3.14, # Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score
2136 &quot;score&quot;: 3.14, # Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days
2137 },
2138 },
2139 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
2140 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.
2141 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability. # VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.
2142 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
2143 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2144 &quot;A String&quot;,
2145 ],
2146 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
2147 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2148 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2149 },
2150 &quot;noteName&quot;: &quot;A String&quot;, # The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
2151 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
2152 { # An URI message.
2153 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
2154 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
2155 },
2156 ],
2157 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2158 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2159 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2160 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2161 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
2162 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
2163 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
2164 },
2165 },
2166 ],
2167 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2168 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2169 },
2170 },
2171 }</pre>
2172 </div>
2173
2174 <div class="method">
2175 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
2176 <pre>Deletes the given `Occurrence` from the system. Use this when an `Occurrence` is no longer applicable for the given resource.
2177
2178 Args:
2179 name: string, The name of the occurrence in the form of &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot; (required)
2180 x__xgafv: string, V1 error format.
2181 Allowed values
2182 1 - v1 error format
2183 2 - v2 error format
2184
2185 Returns:
2186 An object of the form:
2187
2188 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
2189 }</pre>
2190 </div>
2191
2192 <div class="method">
2193 <code class="details" id="get">get(name, x__xgafv=None)</code>
2194 <pre>Returns the requested `Occurrence`.
2195
2196 Args:
2197 name: string, The name of the occurrence of the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot; (required)
2198 x__xgafv: string, V1 error format.
2199 Allowed values
2200 1 - v1 error format
2201 2 - v2 error format
2202
2203 Returns:
2204 An object of the form:
2205
2206 { # `Occurrence` includes information about analysis occurrences for an image.
2207 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # This represents an AI skill analysis occurrence
2208 &quot;findings&quot;: [ # Optional. Findings produced by the analysis.
2209 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
2210 &quot;category&quot;: &quot;A String&quot;, # Optional. Category of the finding.
2211 &quot;details&quot;: &quot;A String&quot;, # Optional. Description of the finding category.
2212 &quot;location&quot;: { # Location details with file path and line number. # Optional. Location (path and line) where the finding was detected.
2213 &quot;filePath&quot;: &quot;A String&quot;, # Optional. Relative path of the file containing the finding.
2214 &quot;lineNumber&quot;: &quot;A String&quot;, # Optional. Line number (1-based), or 0 if whole File / unknown.
2215 },
2216 &quot;scanner&quot;: &quot;A String&quot;, # Optional. Scanner determines which engine (e.g. static, llm) emitted the finding.
2217 &quot;severity&quot;: &quot;A String&quot;, # Optional. Severity of the finding.
2218 },
2219 ],
2220 &quot;maxSeverity&quot;: &quot;A String&quot;, # Optional. Maximum severity found among findings.
2221 &quot;skillName&quot;: &quot;A String&quot;, # Optional. Name of the skill that produced this analysis.
2222 },
2223 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). # Describes an attestation of an artifact.
2224 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
2225 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
2226 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys [email protected] tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
2227 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
2228 },
2229 },
2230 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
2231 &quot;inTotoSlsaProvenanceV1&quot;: { # 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.
2232 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
2233 &quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
2234 &quot;buildDefinition&quot;: {
2235 &quot;buildType&quot;: &quot;A String&quot;,
2236 &quot;externalParameters&quot;: {
2237 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2238 },
2239 &quot;internalParameters&quot;: {
2240 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2241 },
2242 &quot;resolvedDependencies&quot;: [
2243 {
2244 &quot;annotations&quot;: {
2245 &quot;a_key&quot;: &quot;&quot;,
2246 },
2247 &quot;content&quot;: &quot;A String&quot;,
2248 &quot;digest&quot;: {
2249 &quot;a_key&quot;: &quot;A String&quot;,
2250 },
2251 &quot;downloadLocation&quot;: &quot;A String&quot;,
2252 &quot;mediaType&quot;: &quot;A String&quot;,
2253 &quot;name&quot;: &quot;A String&quot;,
2254 &quot;uri&quot;: &quot;A String&quot;,
2255 },
2256 ],
2257 },
2258 &quot;runDetails&quot;: {
2259 &quot;builder&quot;: {
2260 &quot;builderDependencies&quot;: [
2261 {
2262 &quot;annotations&quot;: {
2263 &quot;a_key&quot;: &quot;&quot;,
2264 },
2265 &quot;content&quot;: &quot;A String&quot;,
2266 &quot;digest&quot;: {
2267 &quot;a_key&quot;: &quot;A String&quot;,
2268 },
2269 &quot;downloadLocation&quot;: &quot;A String&quot;,
2270 &quot;mediaType&quot;: &quot;A String&quot;,
2271 &quot;name&quot;: &quot;A String&quot;,
2272 &quot;uri&quot;: &quot;A String&quot;,
2273 },
2274 ],
2275 &quot;id&quot;: &quot;A String&quot;,
2276 &quot;version&quot;: {
2277 &quot;a_key&quot;: &quot;A String&quot;,
2278 },
2279 },
2280 &quot;byproducts&quot;: [
2281 {
2282 &quot;annotations&quot;: {
2283 &quot;a_key&quot;: &quot;&quot;,
2284 },
2285 &quot;content&quot;: &quot;A String&quot;,
2286 &quot;digest&quot;: {
2287 &quot;a_key&quot;: &quot;A String&quot;,
2288 },
2289 &quot;downloadLocation&quot;: &quot;A String&quot;,
2290 &quot;mediaType&quot;: &quot;A String&quot;,
2291 &quot;name&quot;: &quot;A String&quot;,
2292 &quot;uri&quot;: &quot;A String&quot;,
2293 },
2294 ],
2295 &quot;metadata&quot;: {
2296 &quot;finishedOn&quot;: &quot;A String&quot;,
2297 &quot;invocationId&quot;: &quot;A String&quot;,
2298 &quot;startedOn&quot;: &quot;A String&quot;,
2299 },
2300 },
2301 },
2302 &quot;predicateType&quot;: &quot;A String&quot;,
2303 &quot;subject&quot;: [
2304 { # Subject refers to the subject of the intoto statement
2305 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
2306 &quot;a_key&quot;: &quot;A String&quot;,
2307 },
2308 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
2309 },
2310 ],
2311 },
2312 &quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
2313 &quot;builderConfig&quot;: { # required
2314 &quot;id&quot;: &quot;A String&quot;,
2315 },
2316 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
2317 &quot;A String&quot;,
2318 ],
2319 &quot;metadata&quot;: { # Other properties of the build.
2320 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2321 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
2322 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2323 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2324 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
2325 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
2326 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
2327 },
2328 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
2329 },
2330 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
2331 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
2332 {
2333 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2334 },
2335 ],
2336 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
2337 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
2338 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
2339 {
2340 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2341 },
2342 ],
2343 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
2344 },
2345 },
2346 &quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # 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&#x27;s envelope.
2347 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
2348 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
2349 &quot;provenance&quot;: { # Generic Grafeas provenance.
2350 &quot;builderConfig&quot;: { # required
2351 &quot;id&quot;: &quot;A String&quot;,
2352 },
2353 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
2354 &quot;A String&quot;,
2355 ],
2356 &quot;metadata&quot;: { # Other properties of the build.
2357 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2358 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
2359 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2360 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2361 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
2362 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
2363 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
2364 },
2365 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
2366 },
2367 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
2368 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
2369 {
2370 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2371 },
2372 ],
2373 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
2374 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
2375 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
2376 {
2377 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2378 },
2379 ],
2380 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
2381 },
2382 },
2383 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
2384 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
2385 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
2386 },
2387 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
2388 { # Material is a material used in the generation of the provenance
2389 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
2390 &quot;a_key&quot;: &quot;A String&quot;,
2391 },
2392 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
2393 },
2394 ],
2395 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
2396 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2397 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
2398 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2399 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2400 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
2401 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
2402 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
2403 },
2404 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
2405 },
2406 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
2407 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
2408 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2409 },
2410 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
2411 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
2412 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
2413 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2414 },
2415 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
2416 },
2417 },
2418 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
2419 &quot;buildConfig&quot;: { # Lists the steps in the build.
2420 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2421 },
2422 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
2423 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
2424 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
2425 },
2426 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
2427 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
2428 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
2429 &quot;a_key&quot;: &quot;A String&quot;,
2430 },
2431 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
2432 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
2433 },
2434 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
2435 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2436 },
2437 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
2438 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2439 },
2440 },
2441 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
2442 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
2443 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
2444 &quot;a_key&quot;: &quot;A String&quot;,
2445 },
2446 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
2447 },
2448 ],
2449 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
2450 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2451 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
2452 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2453 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2454 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
2455 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
2456 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
2457 },
2458 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
2459 },
2460 },
2461 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
2462 { # Subject refers to the subject of the intoto statement
2463 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
2464 &quot;a_key&quot;: &quot;A String&quot;,
2465 },
2466 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
2467 },
2468 ],
2469 },
2470 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # The actual provenance
2471 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
2472 &quot;a_key&quot;: &quot;A String&quot;,
2473 },
2474 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
2475 &quot;builtArtifacts&quot;: [ # Output of the build.
2476 { # Artifact describes a build product.
2477 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
2478 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
2479 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
2480 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
2481 &quot;A String&quot;,
2482 ],
2483 },
2484 ],
2485 &quot;commands&quot;: [ # Commands requested by the build.
2486 { # Command describes a step performed as part of the build pipeline.
2487 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
2488 &quot;A String&quot;,
2489 ],
2490 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this Command.
2491 &quot;env&quot;: [ # Environment variables set before running this Command.
2492 &quot;A String&quot;,
2493 ],
2494 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.
2495 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
2496 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
2497 &quot;A String&quot;,
2498 ],
2499 },
2500 ],
2501 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
2502 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the user&#x27;s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
2503 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
2504 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
2505 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
2506 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
2507 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
2508 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
2509 { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
2510 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
2511 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2512 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2513 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2514 },
2515 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
2516 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
2517 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
2518 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
2519 },
2520 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
2521 },
2522 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
2523 },
2524 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
2525 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2526 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2527 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2528 },
2529 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
2530 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
2531 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
2532 },
2533 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
2534 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
2535 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
2536 },
2537 &quot;labels&quot;: { # Labels with user defined metadata.
2538 &quot;a_key&quot;: &quot;A String&quot;,
2539 },
2540 },
2541 ],
2542 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, the input binary artifacts for the build came from this location.
2543 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
2544 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
2545 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
2546 },
2547 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. # If provided, the source code used for the build came from this location.
2548 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
2549 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2550 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2551 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2552 },
2553 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
2554 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
2555 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
2556 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
2557 },
2558 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
2559 },
2560 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
2561 },
2562 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
2563 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2564 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2565 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2566 },
2567 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
2568 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
2569 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
2570 },
2571 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
2572 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
2573 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
2574 },
2575 &quot;labels&quot;: { # Labels with user defined metadata.
2576 &quot;a_key&quot;: &quot;A String&quot;,
2577 },
2578 },
2579 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
2580 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
2581 &quot;fileHash&quot;: [ # Collection of file hashes.
2582 { # Container message for hash values.
2583 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
2584 &quot;value&quot;: &quot;A String&quot;, # The hash value.
2585 },
2586 ],
2587 },
2588 },
2589 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source Repository. # If provided, get source from this location in a Cloud Repo.
2590 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
2591 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
2592 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
2593 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
2594 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
2595 },
2596 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage.
2597 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
2598 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
2599 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
2600 },
2601 },
2602 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
2603 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
2604 },
2605 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can 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.
2606 },
2607 &quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes whether or not a resource passes compliance checks.
2608 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason for non compliance of these files.
2609 &quot;nonCompliantFiles&quot;: [ # A list of files which are violating compliance checks.
2610 { # Details about files that caused a compliance check to fail.
2611 &quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
2612 &quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
2613 &quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
2614 },
2615 ],
2616 &quot;version&quot;: { # Describes the CIS benchmark version that is applicable to a given OS and os version. # The OS and config version the benchmark was run on.
2617 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
2618 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
2619 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
2620 },
2621 },
2622 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
2623 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
2624 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
2625 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
2626 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
2627 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
2628 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed taken from the deployable field with the same name.
2629 &quot;A String&quot;,
2630 ],
2631 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
2632 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
2633 },
2634 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Describes how this resource derives from the basis in the associated note.
2635 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
2636 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
2637 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
2638 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
2639 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
2640 &quot;A String&quot;,
2641 ],
2642 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
2643 },
2644 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length &quot;distance&quot; and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
2645 { # Layer holds metadata specific to a layer of a Docker image.
2646 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
2647 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
2648 },
2649 ],
2650 },
2651 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
2652 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. # The list of analysis that were completed for a resource.
2653 &quot;analysisType&quot;: [ # type of analysis that were completed on a resource.
2654 &quot;A String&quot;,
2655 ],
2656 },
2657 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
2658 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
2659 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2660 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2661 {
2662 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2663 },
2664 ],
2665 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2666 },
2667 ],
2668 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
2669 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API.
2670 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2671 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2672 {
2673 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2674 },
2675 ],
2676 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2677 },
2678 &quot;archiveTime&quot;: &quot;A String&quot;, # The time occurrences related to this discovery occurrence were archived.
2679 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
2680 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
2681 &quot;files&quot;: [ # Optional. Files that make up the resource described by the occurrence.
2682 { # A file as part of a resource.
2683 &quot;digest&quot;: { # Optional. The digest(s) of the file.
2684 &quot;a_key&quot;: &quot;A String&quot;,
2685 },
2686 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the file.
2687 },
2688 ],
2689 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
2690 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # Optional. The last time vulnerability scan results changed.
2691 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use.
2692 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
2693 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
2694 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2695 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2696 {
2697 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2698 },
2699 ],
2700 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2701 },
2702 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
2703 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2704 },
2705 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
2706 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
2707 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2708 },
2709 },
2710 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # Output only. The status of an SBOM generation.
2711 &quot;error&quot;: &quot;A String&quot;, # Output only. If there was an error generating an SBOM, this will indicate what that error was.
2712 &quot;sbomState&quot;: &quot;A String&quot;, # Output only. The progress of the SBOM generation.
2713 },
2714 &quot;vulnerabilityAttestation&quot;: { # The status of a vulnerability attestation generation. # Output only. The status of a vulnerability attestation generation.
2715 &quot;error&quot;: &quot;A String&quot;, # Output only. If failure, the error reason for why the attestation generation failed.
2716 &quot;lastAttemptTime&quot;: &quot;A String&quot;, # Output only. The last time we attempted to generate an attestation.
2717 &quot;state&quot;: &quot;A String&quot;, # Output only. The success/failure state of the latest attestation attempt.
2718 },
2719 },
2720 &quot;dsseAttestation&quot;: { # An occurrence describing an attestation on a resource # This represents a DSSE attestation occurrence
2721 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.
2722 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
2723 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
2724 &quot;signatures&quot;: [ # The signatures over the payload
2725 { # A DSSE signature
2726 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
2727 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
2728 },
2729 ],
2730 },
2731 &quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
2732 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
2733 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
2734 &quot;provenance&quot;: { # Generic Grafeas provenance.
2735 &quot;builderConfig&quot;: { # required
2736 &quot;id&quot;: &quot;A String&quot;,
2737 },
2738 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
2739 &quot;A String&quot;,
2740 ],
2741 &quot;metadata&quot;: { # Other properties of the build.
2742 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2743 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
2744 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2745 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2746 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
2747 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
2748 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
2749 },
2750 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
2751 },
2752 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
2753 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
2754 {
2755 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2756 },
2757 ],
2758 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
2759 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
2760 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
2761 {
2762 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2763 },
2764 ],
2765 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
2766 },
2767 },
2768 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
2769 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
2770 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
2771 },
2772 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
2773 { # Material is a material used in the generation of the provenance
2774 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
2775 &quot;a_key&quot;: &quot;A String&quot;,
2776 },
2777 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
2778 },
2779 ],
2780 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
2781 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2782 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
2783 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2784 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2785 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
2786 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
2787 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
2788 },
2789 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
2790 },
2791 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
2792 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
2793 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2794 },
2795 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
2796 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
2797 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
2798 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2799 },
2800 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
2801 },
2802 },
2803 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
2804 &quot;buildConfig&quot;: { # Lists the steps in the build.
2805 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2806 },
2807 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
2808 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
2809 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
2810 },
2811 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
2812 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
2813 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
2814 &quot;a_key&quot;: &quot;A String&quot;,
2815 },
2816 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
2817 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
2818 },
2819 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
2820 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2821 },
2822 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
2823 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2824 },
2825 },
2826 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
2827 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
2828 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
2829 &quot;a_key&quot;: &quot;A String&quot;,
2830 },
2831 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
2832 },
2833 ],
2834 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
2835 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
2836 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
2837 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
2838 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
2839 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
2840 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
2841 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
2842 },
2843 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
2844 },
2845 },
2846 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
2847 { # Subject refers to the subject of the intoto statement
2848 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
2849 &quot;a_key&quot;: &quot;A String&quot;,
2850 },
2851 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
2852 },
2853 ],
2854 },
2855 },
2856 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # https://github.com/secure-systems-lab/dsse
2857 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
2858 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
2859 &quot;signatures&quot;: [ # The signatures over the payload
2860 { # A DSSE signature
2861 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
2862 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
2863 },
2864 ],
2865 },
2866 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Describes the installation of a package on the linked resource.
2867 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
2868 &quot;cpeUri&quot;: &quot;A String&quot;, # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
2869 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
2870 &quot;comments&quot;: &quot;A String&quot;, # Comments
2871 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2872 },
2873 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
2874 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. e.g. glibc was found in /var/lib/dpkg/status
2875 &quot;cpeUri&quot;: &quot;A String&quot;, # Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
2876 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
2877 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Deprecated. The version installed at this location.
2878 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2879 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2880 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2881 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2882 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2883 },
2884 },
2885 ],
2886 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
2887 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
2888 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Output only. The version of the package.
2889 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2890 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2891 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2892 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2893 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2894 },
2895 },
2896 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.
2897 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
2898 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; This field can be used as a filter in list requests.
2899 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
2900 &quot;resource&quot;: { # Resource is an entity that can have metadata. E.g., a Docker image. # The resource for which the `Occurrence` applies.
2901 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
2902 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
2903 &quot;value&quot;: &quot;A String&quot;, # The hash value.
2904 },
2905 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
2906 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
2907 },
2908 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
2909 &quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
2910 &quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
2911 &quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
2912 &quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
2913 &quot;A String&quot;,
2914 ],
2915 &quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
2916 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
2917 &quot;A String&quot;,
2918 ],
2919 &quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
2920 &quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
2921 &quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
2922 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
2923 },
2924 &quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # This represents an SBOM reference occurrence
2925 &quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
2926 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
2927 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
2928 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
2929 &quot;a_key&quot;: &quot;A String&quot;,
2930 },
2931 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
2932 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
2933 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
2934 },
2935 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
2936 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
2937 { # Subject refers to the subject of the intoto statement
2938 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
2939 &quot;a_key&quot;: &quot;A String&quot;,
2940 },
2941 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
2942 },
2943 ],
2944 },
2945 &quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
2946 &quot;signatures&quot;: [ # The signatures over the payload.
2947 { # A DSSE signature
2948 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
2949 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
2950 },
2951 ],
2952 },
2953 &quot;secret&quot;: { # The occurrence provides details of a secret. # This represents a secret occurrence
2954 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
2955 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
2956 { # The location of the secret.
2957 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
2958 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
2959 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
2960 &quot;baseImages&quot;: [ # The base images the layer is found within.
2961 { # BaseImage describes a base image of a container image.
2962 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
2963 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
2964 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
2965 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
2966 },
2967 ],
2968 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
2969 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
2970 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
2971 &quot;index&quot;: 42, # The index of the layer in the container image.
2972 },
2973 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
2974 },
2975 },
2976 ],
2977 &quot;statuses&quot;: [ # Optional. Status of the secret.
2978 { # The status of the secret with a timestamp.
2979 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
2980 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
2981 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
2982 },
2983 ],
2984 },
2985 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
2986 &quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
2987 &quot;A String&quot;,
2988 ],
2989 &quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
2990 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
2991 &quot;A String&quot;,
2992 ],
2993 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
2994 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
2995 &quot;A String&quot;,
2996 ],
2997 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
2998 &quot;licenseConcluded&quot;: { # License information. # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
2999 &quot;comments&quot;: &quot;A String&quot;, # Comments
3000 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
3001 },
3002 &quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
3003 },
3004 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
3005 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
3006 &quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
3007 &quot;homePage&quot;: &quot;A String&quot;, # Output only. Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
3008 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
3009 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
3010 &quot;comments&quot;: &quot;A String&quot;, # Comments
3011 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
3012 },
3013 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
3014 &quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
3015 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
3016 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
3017 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
3018 },
3019 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
3020 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
3021 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
3022 &quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
3023 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
3024 },
3025 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
3026 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). # Describes an upgrade.
3027 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
3028 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
3029 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
3030 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
3031 &quot;A String&quot;,
3032 ],
3033 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
3034 },
3035 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
3036 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in a machine + human readable form.
3037 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3038 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3039 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3040 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3041 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3042 },
3043 },
3044 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how to fix it. # Details of a security vulnerability note.
3045 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
3046 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v2 score of this vulnerability.
3047 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3048 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
3049 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
3050 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
3051 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
3052 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
3053 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
3054 &quot;exploitabilityScore&quot;: 3.14,
3055 &quot;impactScore&quot;: 3.14,
3056 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
3057 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
3058 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
3059 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
3060 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3061 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3062 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
3063 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3064 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3065 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3066 },
3067 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v3 score of this vulnerability.
3068 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3069 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
3070 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
3071 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
3072 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
3073 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
3074 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
3075 &quot;exploitabilityScore&quot;: 3.14,
3076 &quot;impactScore&quot;: 3.14,
3077 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
3078 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
3079 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
3080 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
3081 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3082 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3083 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
3084 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3085 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3086 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3087 },
3088 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The CVSS v4 score of this vulnerability.
3089 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3090 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
3091 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
3092 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
3093 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
3094 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
3095 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
3096 &quot;exploitabilityScore&quot;: 3.14,
3097 &quot;impactScore&quot;: 3.14,
3098 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
3099 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
3100 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
3101 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
3102 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3103 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3104 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
3105 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3106 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3107 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3108 },
3109 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
3110 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
3111 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
3112 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within the associated resource.
3113 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
3114 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
3115 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
3116 &quot;fileLocation&quot;: [ # The file location at which this package was found.
3117 { # Indicates the location at which a package was found.
3118 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
3119 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
3120 &quot;baseImages&quot;: [ # The base images the layer is found within.
3121 { # BaseImage describes a base image of a container image.
3122 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
3123 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
3124 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
3125 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
3126 },
3127 ],
3128 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
3129 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
3130 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
3131 &quot;index&quot;: 42, # The index of the layer in the container image.
3132 },
3133 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
3134 },
3135 ],
3136 &quot;package&quot;: &quot;A String&quot;, # The package being described.
3137 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
3138 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3139 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3140 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3141 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3142 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3143 },
3144 },
3145 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.
3146 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
3147 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
3148 &quot;fileLocation&quot;: [ # The file location at which this package was found.
3149 { # Indicates the location at which a package was found.
3150 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
3151 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
3152 &quot;baseImages&quot;: [ # The base images the layer is found within.
3153 { # BaseImage describes a base image of a container image.
3154 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
3155 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
3156 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
3157 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
3158 },
3159 ],
3160 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
3161 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
3162 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
3163 &quot;index&quot;: 42, # The index of the layer in the container image.
3164 },
3165 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
3166 },
3167 ],
3168 &quot;package&quot;: &quot;A String&quot;, # The package being described.
3169 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
3170 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3171 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3172 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3173 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3174 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3175 },
3176 },
3177 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
3178 &quot;severityName&quot;: &quot;A String&quot;,
3179 },
3180 ],
3181 &quot;risk&quot;: { # The Risk message provides information about the risk of a vulnerability. # Risk information about the vulnerability, such as CISA, EPSS, etc.
3182 &quot;cisaKev&quot;: { # CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign. # Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
3183 &quot;knownRansomwareCampaignUse&quot;: &quot;A String&quot;, # Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
3184 },
3185 &quot;epss&quot;: { # ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile. # Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild.
3186 &quot;percentile&quot;: 3.14, # Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score
3187 &quot;score&quot;: 3.14, # Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days
3188 },
3189 },
3190 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
3191 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.
3192 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability. # VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.
3193 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
3194 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
3195 &quot;A String&quot;,
3196 ],
3197 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
3198 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
3199 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
3200 },
3201 &quot;noteName&quot;: &quot;A String&quot;, # The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
3202 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
3203 { # An URI message.
3204 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
3205 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
3206 },
3207 ],
3208 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
3209 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
3210 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
3211 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
3212 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
3213 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
3214 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
3215 },
3216 },
3217 ],
3218 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
3219 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
3220 },
3221 },
3222 }</pre>
3223 </div>
3224
3225 <div class="method">
3226 <code class="details" id="getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</code>
3227 <pre>Gets the access control policy for a note or an `Occurrence` resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
3228
3229 Args:
3230 resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
3231 body: object, The request body.
3232 The object takes the form of:
3233
3234 { # Request message for `GetIamPolicy` method.
3235 &quot;options&quot;: { # Encapsulates settings provided to GetIamPolicy. # OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
3236 &quot;requestedPolicyVersion&quot;: 42, # Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3237 },
3238 }
3239
3240 x__xgafv: string, V1 error format.
3241 Allowed values
3242 1 - v1 error format
3243 2 - v2 error format
3244
3245 Returns:
3246 An object of the form:
3247
3248 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
3249 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
3250 { # Associates `members`, or principals, with a `role`.
3251 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3252 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
3253 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
3254 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
3255 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
3256 },
3257 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
3258 &quot;A String&quot;,
3259 ],
3260 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
3261 },
3262 ],
3263 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
3264 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3265 }</pre>
3266 </div>
3267
3268 <div class="method">
3269 <code class="details" id="getNotes">getNotes(name, x__xgafv=None)</code>
3270 <pre>Gets the `Note` attached to the given `Occurrence`.
3271
3272 Args:
3273 name: string, The name of the occurrence in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot; (required)
3274 x__xgafv: string, V1 error format.
3275 Allowed values
3276 1 - v1 error format
3277 2 - v2 error format
3278
3279 Returns:
3280 An object of the form:
3281
3282 { # Provides a detailed description of a `Note`.
3283 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI skill analysis.
3284 },
3285 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `AttestationAuthority` for &quot;QA&quot; and one for &quot;build&quot;. This Note is intended to act strictly as a grouping mechanism for the attached Occurrences (Attestations). This grouping mechanism also provides a security boundary, since IAM ACLs gate the ability for a principle to attach an Occurrence to a given Note. It also provides a single point of lookup to find all attached Attestation Occurrences, even if they don&#x27;t all live in the same project. # A note describing an attestation role.
3286 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the AttestationAuthority. Because the name of a Note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from &quot;readable&quot; names more suitable for debug output. Note that these hints should NOT be used to look up AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
3287 &quot;humanReadableName&quot;: &quot;A String&quot;, # The human readable name of this Attestation Authority, for example &quot;qa&quot;.
3288 },
3289 },
3290 &quot;baseImage&quot;: { # Basis describes the base image portion (Note) of the DockerImage relationship. Linked occurrences are derived from this or an equivalent image via: FROM Or an equivalent reference, e.g. a tag of the resource_url. # A note describing a base image.
3291 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the base image.
3292 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
3293 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
3294 &quot;A String&quot;,
3295 ],
3296 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
3297 },
3298 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
3299 },
3300 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
3301 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
3302 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
3303 &quot;keyId&quot;: &quot;A String&quot;, # An Id for the key used to sign. This could be either an Id for the key stored in `public_key` (such as the Id or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service).
3304 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`
3305 &quot;publicKey&quot;: &quot;A String&quot;, # Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin`
3306 &quot;signature&quot;: &quot;A String&quot;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
3307 },
3308 },
3309 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
3310 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
3311 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
3312 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
3313 },
3314 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
3315 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
3316 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
3317 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
3318 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
3319 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
3320 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
3321 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
3322 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
3323 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
3324 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
3325 },
3326 ],
3327 },
3328 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this note was created. This field can be used as a filter in list requests.
3329 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
3330 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
3331 &quot;A String&quot;,
3332 ],
3333 },
3334 &quot;discovery&quot;: { # A note that indicates a type of analysis a provider would perform. This note exists in a provider&#x27;s project. A `Discovery` occurrence is created in a consumer&#x27;s project at the start of analysis. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
3335 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
3336 },
3337 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
3338 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the authority. Because the name of a note acts as its resource reference, it is important to disambiguate the canonical name of the Note (which might be a UUID for security purposes) from &quot;readable&quot; names more suitable for debug output. Note that these hints should not be used to look up authorities in security sensitive contexts, such as when looking up attestations to verify. # DSSEHint hints at the purpose of the attestation authority.
3339 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
3340 },
3341 },
3342 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
3343 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.
3344 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this `Note`.
3345 &quot;name&quot;: &quot;A String&quot;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
3346 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
3347 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
3348 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
3349 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
3350 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
3351 { # Digest information.
3352 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
3353 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
3354 },
3355 ],
3356 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
3357 { # This represents a particular channel of distribution for a given package. e.g. Debian&#x27;s jessie-backports dpkg mirror
3358 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built
3359 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
3360 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
3361 &quot;latestVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The latest available version of this package in this distribution channel.
3362 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3363 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3364 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3365 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3366 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3367 },
3368 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
3369 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
3370 },
3371 ],
3372 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
3373 &quot;comments&quot;: &quot;A String&quot;, # Comments
3374 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
3375 },
3376 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
3377 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
3378 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
3379 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
3380 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package.
3381 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3382 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3383 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3384 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3385 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3386 },
3387 },
3388 &quot;relatedUrl&quot;: [ # URLs associated with this note
3389 { # Metadata for any related URL information
3390 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
3391 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
3392 },
3393 ],
3394 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
3395 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
3396 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
3397 },
3398 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
3399 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
3400 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
3401 },
3402 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
3403 },
3404 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
3405 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
3406 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
3407 &quot;A String&quot;,
3408 ],
3409 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
3410 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
3411 },
3412 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
3413 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
3414 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
3415 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
3416 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
3417 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
3418 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
3419 &quot;externalRefs&quot;: [ # ExternalRef
3420 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
3421 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
3422 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
3423 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
3424 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
3425 },
3426 ],
3427 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
3428 &quot;A String&quot;,
3429 ],
3430 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
3431 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
3432 &quot;comments&quot;: &quot;A String&quot;, # Comments
3433 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
3434 },
3435 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
3436 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
3437 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
3438 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
3439 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
3440 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
3441 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
3442 },
3443 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
3444 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
3445 },
3446 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this note was last updated. This field can be used as a filter in list requests.
3447 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
3448 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
3449 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
3450 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
3451 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
3452 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
3453 &quot;A String&quot;,
3454 ],
3455 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
3456 },
3457 ],
3458 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
3459 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
3460 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3461 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3462 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3463 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3464 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3465 },
3466 },
3467 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
3468 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
3469 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
3470 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
3471 &quot;A String&quot;,
3472 ],
3473 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
3474 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
3475 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
3476 },
3477 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
3478 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
3479 { # An URI message.
3480 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
3481 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
3482 },
3483 ],
3484 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
3485 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
3486 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
3487 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
3488 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
3489 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
3490 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
3491 },
3492 },
3493 ],
3494 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
3495 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
3496 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
3497 },
3498 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
3499 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
3500 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
3501 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
3502 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
3503 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
3504 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
3505 },
3506 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
3507 },
3508 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
3509 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
3510 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
3511 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
3512 },
3513 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
3514 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
3515 },
3516 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
3517 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
3518 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
3519 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
3520 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3521 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
3522 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
3523 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
3524 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
3525 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
3526 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
3527 &quot;exploitabilityScore&quot;: 3.14,
3528 &quot;impactScore&quot;: 3.14,
3529 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
3530 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
3531 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
3532 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
3533 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3534 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3535 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
3536 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3537 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3538 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3539 },
3540 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The full description of the CVSS for version 4.
3541 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3542 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
3543 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
3544 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
3545 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
3546 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
3547 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
3548 &quot;exploitabilityScore&quot;: 3.14,
3549 &quot;impactScore&quot;: 3.14,
3550 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
3551 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
3552 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
3553 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
3554 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3555 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3556 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
3557 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3558 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3559 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3560 },
3561 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
3562 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
3563 &quot;A String&quot;,
3564 ],
3565 &quot;details&quot;: [ # All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
3566 { # Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2
3567 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which the vulnerability manifests. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
3568 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
3569 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
3570 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
3571 &quot;fileLocation&quot;: [ # The file location at which this package was found.
3572 { # Indicates the location at which a package was found.
3573 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
3574 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
3575 &quot;baseImages&quot;: [ # The base images the layer is found within.
3576 { # BaseImage describes a base image of a container image.
3577 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
3578 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
3579 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
3580 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
3581 },
3582 ],
3583 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
3584 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
3585 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
3586 &quot;index&quot;: 42, # The index of the layer in the container image.
3587 },
3588 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
3589 },
3590 ],
3591 &quot;package&quot;: &quot;A String&quot;, # The package being described.
3592 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
3593 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3594 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3595 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3596 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3597 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3598 },
3599 },
3600 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
3601 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
3602 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3603 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3604 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3605 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3606 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3607 },
3608 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
3609 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3610 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
3611 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
3612 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
3613 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3614 },
3615 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
3616 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
3617 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
3618 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
3619 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
3620 },
3621 ],
3622 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
3623 },
3624 }</pre>
3625 </div>
3626
3627 <div class="method">
3628 <code class="details" id="getVulnerabilitySummary">getVulnerabilitySummary(parent, filter=None, x__xgafv=None)</code>
3629 <pre>Gets a summary of the number and severity of occurrences.
3630
3631 Args:
3632 parent: string, This contains the project Id for example: projects/{project_id} (required)
3633 filter: string, The filter expression.
3634 x__xgafv: string, V1 error format.
3635 Allowed values
3636 1 - v1 error format
3637 2 - v2 error format
3638
3639 Returns:
3640 An object of the form:
3641
3642 { # A summary of how many vulnz occurrences there are per severity type. counts by groups, or if we should have different summary messages like this.
3643 &quot;counts&quot;: [ # A map of how many occurrences were found for each severity.
3644 { # The number of occurrences created for a specific severity.
3645 &quot;count&quot;: &quot;A String&quot;, # The number of occurrences with the severity.
3646 &quot;severity&quot;: &quot;A String&quot;, # The severity of the occurrences.
3647 },
3648 ],
3649 }</pre>
3650 </div>
3651
3652 <div class="method">
3653 <code class="details" id="list">list(parent, filter=None, kind=None, name=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
3654 <pre>Lists active `Occurrences` for a given project matching the filters.
3655
3656 Args:
3657 parent: string, This contains the project Id for example: projects/{project_id}. (required)
3658 filter: string, The filter expression.
3659 kind: string, The kind of occurrences to filter on.
3660 Allowed values
3661 KIND_UNSPECIFIED - Unknown
3662 PACKAGE_VULNERABILITY - The note and occurrence represent a package vulnerability.
3663 BUILD_DETAILS - The note and occurrence assert build provenance.
3664 IMAGE_BASIS - This represents an image basis relationship.
3665 PACKAGE_MANAGER - This represents a package installed via a package manager.
3666 DEPLOYABLE - The note and occurrence track deployment events.
3667 DISCOVERY - The note and occurrence track the initial discovery status of a resource.
3668 ATTESTATION_AUTHORITY - This represents a logical &quot;role&quot; that can attest to artifacts.
3669 UPGRADE - This represents an available software upgrade.
3670 COMPLIANCE - This represents a compliance check that can be applied to a resource.
3671 SBOM - This represents a software bill of materials.
3672 SPDX_PACKAGE - This represents an SPDX Package.
3673 SPDX_FILE - This represents an SPDX File.
3674 SPDX_RELATIONSHIP - This represents an SPDX Relationship.
3675 DSSE_ATTESTATION - This represents a DSSE attestation Note
3676 VULNERABILITY_ASSESSMENT - This represents a Vulnerability Assessment.
3677 SBOM_REFERENCE - This represents a reference to an SBOM.
3678 SECRET - This represents a secret.
3679 AI_SKILL_ANALYSIS - This represents an AI skill analysis.
3680 name: string, The name field contains the project Id. For example: &quot;projects/{project_id} @Deprecated
3681 pageSize: integer, Number of occurrences to return in the list.
3682 pageToken: string, Token to provide to skip to a particular spot in the list.
3683 x__xgafv: string, V1 error format.
3684 Allowed values
3685 1 - v1 error format
3686 2 - v2 error format
3687
3688 Returns:
3689 An object of the form:
3690
3691 { # Response including listed active occurrences.
3692 &quot;nextPageToken&quot;: &quot;A String&quot;, # The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.
3693 &quot;occurrences&quot;: [ # The occurrences requested.
3694 { # `Occurrence` includes information about analysis occurrences for an image.
3695 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # This represents an AI skill analysis occurrence
3696 &quot;findings&quot;: [ # Optional. Findings produced by the analysis.
3697 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
3698 &quot;category&quot;: &quot;A String&quot;, # Optional. Category of the finding.
3699 &quot;details&quot;: &quot;A String&quot;, # Optional. Description of the finding category.
3700 &quot;location&quot;: { # Location details with file path and line number. # Optional. Location (path and line) where the finding was detected.
3701 &quot;filePath&quot;: &quot;A String&quot;, # Optional. Relative path of the file containing the finding.
3702 &quot;lineNumber&quot;: &quot;A String&quot;, # Optional. Line number (1-based), or 0 if whole File / unknown.
3703 },
3704 &quot;scanner&quot;: &quot;A String&quot;, # Optional. Scanner determines which engine (e.g. static, llm) emitted the finding.
3705 &quot;severity&quot;: &quot;A String&quot;, # Optional. Severity of the finding.
3706 },
3707 ],
3708 &quot;maxSeverity&quot;: &quot;A String&quot;, # Optional. Maximum severity found among findings.
3709 &quot;skillName&quot;: &quot;A String&quot;, # Optional. Name of the skill that produced this analysis.
3710 },
3711 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). # Describes an attestation of an artifact.
3712 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
3713 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
3714 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys [email protected] tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
3715 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
3716 },
3717 },
3718 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
3719 &quot;inTotoSlsaProvenanceV1&quot;: { # 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.
3720 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
3721 &quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
3722 &quot;buildDefinition&quot;: {
3723 &quot;buildType&quot;: &quot;A String&quot;,
3724 &quot;externalParameters&quot;: {
3725 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3726 },
3727 &quot;internalParameters&quot;: {
3728 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3729 },
3730 &quot;resolvedDependencies&quot;: [
3731 {
3732 &quot;annotations&quot;: {
3733 &quot;a_key&quot;: &quot;&quot;,
3734 },
3735 &quot;content&quot;: &quot;A String&quot;,
3736 &quot;digest&quot;: {
3737 &quot;a_key&quot;: &quot;A String&quot;,
3738 },
3739 &quot;downloadLocation&quot;: &quot;A String&quot;,
3740 &quot;mediaType&quot;: &quot;A String&quot;,
3741 &quot;name&quot;: &quot;A String&quot;,
3742 &quot;uri&quot;: &quot;A String&quot;,
3743 },
3744 ],
3745 },
3746 &quot;runDetails&quot;: {
3747 &quot;builder&quot;: {
3748 &quot;builderDependencies&quot;: [
3749 {
3750 &quot;annotations&quot;: {
3751 &quot;a_key&quot;: &quot;&quot;,
3752 },
3753 &quot;content&quot;: &quot;A String&quot;,
3754 &quot;digest&quot;: {
3755 &quot;a_key&quot;: &quot;A String&quot;,
3756 },
3757 &quot;downloadLocation&quot;: &quot;A String&quot;,
3758 &quot;mediaType&quot;: &quot;A String&quot;,
3759 &quot;name&quot;: &quot;A String&quot;,
3760 &quot;uri&quot;: &quot;A String&quot;,
3761 },
3762 ],
3763 &quot;id&quot;: &quot;A String&quot;,
3764 &quot;version&quot;: {
3765 &quot;a_key&quot;: &quot;A String&quot;,
3766 },
3767 },
3768 &quot;byproducts&quot;: [
3769 {
3770 &quot;annotations&quot;: {
3771 &quot;a_key&quot;: &quot;&quot;,
3772 },
3773 &quot;content&quot;: &quot;A String&quot;,
3774 &quot;digest&quot;: {
3775 &quot;a_key&quot;: &quot;A String&quot;,
3776 },
3777 &quot;downloadLocation&quot;: &quot;A String&quot;,
3778 &quot;mediaType&quot;: &quot;A String&quot;,
3779 &quot;name&quot;: &quot;A String&quot;,
3780 &quot;uri&quot;: &quot;A String&quot;,
3781 },
3782 ],
3783 &quot;metadata&quot;: {
3784 &quot;finishedOn&quot;: &quot;A String&quot;,
3785 &quot;invocationId&quot;: &quot;A String&quot;,
3786 &quot;startedOn&quot;: &quot;A String&quot;,
3787 },
3788 },
3789 },
3790 &quot;predicateType&quot;: &quot;A String&quot;,
3791 &quot;subject&quot;: [
3792 { # Subject refers to the subject of the intoto statement
3793 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
3794 &quot;a_key&quot;: &quot;A String&quot;,
3795 },
3796 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
3797 },
3798 ],
3799 },
3800 &quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
3801 &quot;builderConfig&quot;: { # required
3802 &quot;id&quot;: &quot;A String&quot;,
3803 },
3804 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
3805 &quot;A String&quot;,
3806 ],
3807 &quot;metadata&quot;: { # Other properties of the build.
3808 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
3809 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
3810 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
3811 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
3812 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
3813 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
3814 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
3815 },
3816 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
3817 },
3818 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
3819 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
3820 {
3821 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3822 },
3823 ],
3824 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
3825 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
3826 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
3827 {
3828 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3829 },
3830 ],
3831 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
3832 },
3833 },
3834 &quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # 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&#x27;s envelope.
3835 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
3836 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
3837 &quot;provenance&quot;: { # Generic Grafeas provenance.
3838 &quot;builderConfig&quot;: { # required
3839 &quot;id&quot;: &quot;A String&quot;,
3840 },
3841 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
3842 &quot;A String&quot;,
3843 ],
3844 &quot;metadata&quot;: { # Other properties of the build.
3845 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
3846 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
3847 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
3848 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
3849 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
3850 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
3851 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
3852 },
3853 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
3854 },
3855 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
3856 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
3857 {
3858 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3859 },
3860 ],
3861 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
3862 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
3863 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
3864 {
3865 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3866 },
3867 ],
3868 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
3869 },
3870 },
3871 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
3872 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
3873 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
3874 },
3875 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
3876 { # Material is a material used in the generation of the provenance
3877 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
3878 &quot;a_key&quot;: &quot;A String&quot;,
3879 },
3880 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
3881 },
3882 ],
3883 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
3884 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
3885 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
3886 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
3887 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
3888 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
3889 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
3890 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
3891 },
3892 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
3893 },
3894 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
3895 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
3896 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3897 },
3898 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
3899 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
3900 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
3901 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3902 },
3903 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
3904 },
3905 },
3906 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
3907 &quot;buildConfig&quot;: { # Lists the steps in the build.
3908 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3909 },
3910 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
3911 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
3912 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
3913 },
3914 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
3915 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
3916 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
3917 &quot;a_key&quot;: &quot;A String&quot;,
3918 },
3919 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
3920 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
3921 },
3922 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
3923 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3924 },
3925 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
3926 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3927 },
3928 },
3929 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
3930 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
3931 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
3932 &quot;a_key&quot;: &quot;A String&quot;,
3933 },
3934 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
3935 },
3936 ],
3937 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
3938 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
3939 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
3940 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
3941 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
3942 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
3943 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
3944 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
3945 },
3946 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
3947 },
3948 },
3949 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
3950 { # Subject refers to the subject of the intoto statement
3951 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
3952 &quot;a_key&quot;: &quot;A String&quot;,
3953 },
3954 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
3955 },
3956 ],
3957 },
3958 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # The actual provenance
3959 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
3960 &quot;a_key&quot;: &quot;A String&quot;,
3961 },
3962 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
3963 &quot;builtArtifacts&quot;: [ # Output of the build.
3964 { # Artifact describes a build product.
3965 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
3966 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
3967 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
3968 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
3969 &quot;A String&quot;,
3970 ],
3971 },
3972 ],
3973 &quot;commands&quot;: [ # Commands requested by the build.
3974 { # Command describes a step performed as part of the build pipeline.
3975 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
3976 &quot;A String&quot;,
3977 ],
3978 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this Command.
3979 &quot;env&quot;: [ # Environment variables set before running this Command.
3980 &quot;A String&quot;,
3981 ],
3982 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.
3983 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
3984 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
3985 &quot;A String&quot;,
3986 ],
3987 },
3988 ],
3989 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
3990 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the user&#x27;s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
3991 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
3992 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
3993 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
3994 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
3995 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
3996 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
3997 { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
3998 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
3999 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4000 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4001 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4002 },
4003 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
4004 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
4005 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
4006 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
4007 },
4008 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
4009 },
4010 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
4011 },
4012 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
4013 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4014 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4015 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4016 },
4017 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
4018 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
4019 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
4020 },
4021 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
4022 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
4023 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
4024 },
4025 &quot;labels&quot;: { # Labels with user defined metadata.
4026 &quot;a_key&quot;: &quot;A String&quot;,
4027 },
4028 },
4029 ],
4030 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, the input binary artifacts for the build came from this location.
4031 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
4032 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
4033 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
4034 },
4035 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. # If provided, the source code used for the build came from this location.
4036 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
4037 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4038 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4039 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4040 },
4041 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
4042 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
4043 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
4044 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
4045 },
4046 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
4047 },
4048 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
4049 },
4050 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
4051 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4052 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4053 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4054 },
4055 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
4056 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
4057 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
4058 },
4059 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
4060 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
4061 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
4062 },
4063 &quot;labels&quot;: { # Labels with user defined metadata.
4064 &quot;a_key&quot;: &quot;A String&quot;,
4065 },
4066 },
4067 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
4068 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
4069 &quot;fileHash&quot;: [ # Collection of file hashes.
4070 { # Container message for hash values.
4071 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
4072 &quot;value&quot;: &quot;A String&quot;, # The hash value.
4073 },
4074 ],
4075 },
4076 },
4077 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source Repository. # If provided, get source from this location in a Cloud Repo.
4078 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
4079 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
4080 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
4081 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
4082 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
4083 },
4084 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage.
4085 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
4086 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
4087 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
4088 },
4089 },
4090 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
4091 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
4092 },
4093 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can 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.
4094 },
4095 &quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes whether or not a resource passes compliance checks.
4096 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason for non compliance of these files.
4097 &quot;nonCompliantFiles&quot;: [ # A list of files which are violating compliance checks.
4098 { # Details about files that caused a compliance check to fail.
4099 &quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
4100 &quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
4101 &quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
4102 },
4103 ],
4104 &quot;version&quot;: { # Describes the CIS benchmark version that is applicable to a given OS and os version. # The OS and config version the benchmark was run on.
4105 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
4106 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
4107 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
4108 },
4109 },
4110 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
4111 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
4112 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
4113 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
4114 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
4115 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
4116 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed taken from the deployable field with the same name.
4117 &quot;A String&quot;,
4118 ],
4119 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
4120 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
4121 },
4122 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Describes how this resource derives from the basis in the associated note.
4123 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
4124 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
4125 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
4126 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
4127 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
4128 &quot;A String&quot;,
4129 ],
4130 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
4131 },
4132 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length &quot;distance&quot; and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
4133 { # Layer holds metadata specific to a layer of a Docker image.
4134 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
4135 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
4136 },
4137 ],
4138 },
4139 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
4140 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. # The list of analysis that were completed for a resource.
4141 &quot;analysisType&quot;: [ # type of analysis that were completed on a resource.
4142 &quot;A String&quot;,
4143 ],
4144 },
4145 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
4146 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
4147 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4148 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4149 {
4150 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4151 },
4152 ],
4153 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
4154 },
4155 ],
4156 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
4157 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API.
4158 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4159 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4160 {
4161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4162 },
4163 ],
4164 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
4165 },
4166 &quot;archiveTime&quot;: &quot;A String&quot;, # The time occurrences related to this discovery occurrence were archived.
4167 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
4168 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
4169 &quot;files&quot;: [ # Optional. Files that make up the resource described by the occurrence.
4170 { # A file as part of a resource.
4171 &quot;digest&quot;: { # Optional. The digest(s) of the file.
4172 &quot;a_key&quot;: &quot;A String&quot;,
4173 },
4174 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the file.
4175 },
4176 ],
4177 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
4178 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # Optional. The last time vulnerability scan results changed.
4179 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use.
4180 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
4181 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
4182 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4183 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4184 {
4185 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4186 },
4187 ],
4188 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
4189 },
4190 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
4191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4192 },
4193 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
4194 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
4195 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4196 },
4197 },
4198 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # Output only. The status of an SBOM generation.
4199 &quot;error&quot;: &quot;A String&quot;, # Output only. If there was an error generating an SBOM, this will indicate what that error was.
4200 &quot;sbomState&quot;: &quot;A String&quot;, # Output only. The progress of the SBOM generation.
4201 },
4202 &quot;vulnerabilityAttestation&quot;: { # The status of a vulnerability attestation generation. # Output only. The status of a vulnerability attestation generation.
4203 &quot;error&quot;: &quot;A String&quot;, # Output only. If failure, the error reason for why the attestation generation failed.
4204 &quot;lastAttemptTime&quot;: &quot;A String&quot;, # Output only. The last time we attempted to generate an attestation.
4205 &quot;state&quot;: &quot;A String&quot;, # Output only. The success/failure state of the latest attestation attempt.
4206 },
4207 },
4208 &quot;dsseAttestation&quot;: { # An occurrence describing an attestation on a resource # This represents a DSSE attestation occurrence
4209 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.
4210 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
4211 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
4212 &quot;signatures&quot;: [ # The signatures over the payload
4213 { # A DSSE signature
4214 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
4215 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
4216 },
4217 ],
4218 },
4219 &quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
4220 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
4221 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
4222 &quot;provenance&quot;: { # Generic Grafeas provenance.
4223 &quot;builderConfig&quot;: { # required
4224 &quot;id&quot;: &quot;A String&quot;,
4225 },
4226 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
4227 &quot;A String&quot;,
4228 ],
4229 &quot;metadata&quot;: { # Other properties of the build.
4230 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4231 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
4232 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4233 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4234 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
4235 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
4236 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
4237 },
4238 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
4239 },
4240 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
4241 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
4242 {
4243 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4244 },
4245 ],
4246 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
4247 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
4248 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
4249 {
4250 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4251 },
4252 ],
4253 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
4254 },
4255 },
4256 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
4257 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
4258 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
4259 },
4260 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
4261 { # Material is a material used in the generation of the provenance
4262 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
4263 &quot;a_key&quot;: &quot;A String&quot;,
4264 },
4265 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
4266 },
4267 ],
4268 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
4269 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4270 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
4271 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4272 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4273 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
4274 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
4275 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
4276 },
4277 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
4278 },
4279 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
4280 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
4281 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4282 },
4283 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
4284 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
4285 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
4286 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4287 },
4288 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
4289 },
4290 },
4291 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
4292 &quot;buildConfig&quot;: { # Lists the steps in the build.
4293 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4294 },
4295 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
4296 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
4297 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
4298 },
4299 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
4300 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
4301 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
4302 &quot;a_key&quot;: &quot;A String&quot;,
4303 },
4304 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
4305 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
4306 },
4307 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
4308 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4309 },
4310 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
4311 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4312 },
4313 },
4314 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
4315 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
4316 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
4317 &quot;a_key&quot;: &quot;A String&quot;,
4318 },
4319 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
4320 },
4321 ],
4322 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
4323 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4324 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
4325 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4326 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4327 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
4328 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
4329 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
4330 },
4331 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
4332 },
4333 },
4334 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
4335 { # Subject refers to the subject of the intoto statement
4336 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
4337 &quot;a_key&quot;: &quot;A String&quot;,
4338 },
4339 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
4340 },
4341 ],
4342 },
4343 },
4344 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # https://github.com/secure-systems-lab/dsse
4345 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
4346 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
4347 &quot;signatures&quot;: [ # The signatures over the payload
4348 { # A DSSE signature
4349 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
4350 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
4351 },
4352 ],
4353 },
4354 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Describes the installation of a package on the linked resource.
4355 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
4356 &quot;cpeUri&quot;: &quot;A String&quot;, # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
4357 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
4358 &quot;comments&quot;: &quot;A String&quot;, # Comments
4359 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
4360 },
4361 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
4362 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. e.g. glibc was found in /var/lib/dpkg/status
4363 &quot;cpeUri&quot;: &quot;A String&quot;, # Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
4364 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
4365 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Deprecated. The version installed at this location.
4366 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4367 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
4368 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
4369 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
4370 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4371 },
4372 },
4373 ],
4374 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
4375 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
4376 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Output only. The version of the package.
4377 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4378 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
4379 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
4380 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
4381 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4382 },
4383 },
4384 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.
4385 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
4386 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; This field can be used as a filter in list requests.
4387 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
4388 &quot;resource&quot;: { # Resource is an entity that can have metadata. E.g., a Docker image. # The resource for which the `Occurrence` applies.
4389 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
4390 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
4391 &quot;value&quot;: &quot;A String&quot;, # The hash value.
4392 },
4393 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
4394 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
4395 },
4396 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
4397 &quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
4398 &quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
4399 &quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
4400 &quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
4401 &quot;A String&quot;,
4402 ],
4403 &quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
4404 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
4405 &quot;A String&quot;,
4406 ],
4407 &quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
4408 &quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
4409 &quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
4410 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
4411 },
4412 &quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # This represents an SBOM reference occurrence
4413 &quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
4414 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
4415 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
4416 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
4417 &quot;a_key&quot;: &quot;A String&quot;,
4418 },
4419 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
4420 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
4421 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
4422 },
4423 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
4424 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
4425 { # Subject refers to the subject of the intoto statement
4426 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
4427 &quot;a_key&quot;: &quot;A String&quot;,
4428 },
4429 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
4430 },
4431 ],
4432 },
4433 &quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
4434 &quot;signatures&quot;: [ # The signatures over the payload.
4435 { # A DSSE signature
4436 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
4437 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
4438 },
4439 ],
4440 },
4441 &quot;secret&quot;: { # The occurrence provides details of a secret. # This represents a secret occurrence
4442 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
4443 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
4444 { # The location of the secret.
4445 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
4446 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
4447 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
4448 &quot;baseImages&quot;: [ # The base images the layer is found within.
4449 { # BaseImage describes a base image of a container image.
4450 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
4451 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
4452 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
4453 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
4454 },
4455 ],
4456 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
4457 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
4458 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
4459 &quot;index&quot;: 42, # The index of the layer in the container image.
4460 },
4461 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
4462 },
4463 },
4464 ],
4465 &quot;statuses&quot;: [ # Optional. Status of the secret.
4466 { # The status of the secret with a timestamp.
4467 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
4468 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
4469 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
4470 },
4471 ],
4472 },
4473 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
4474 &quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
4475 &quot;A String&quot;,
4476 ],
4477 &quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
4478 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
4479 &quot;A String&quot;,
4480 ],
4481 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
4482 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
4483 &quot;A String&quot;,
4484 ],
4485 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
4486 &quot;licenseConcluded&quot;: { # License information. # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
4487 &quot;comments&quot;: &quot;A String&quot;, # Comments
4488 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
4489 },
4490 &quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
4491 },
4492 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
4493 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
4494 &quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
4495 &quot;homePage&quot;: &quot;A String&quot;, # Output only. Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
4496 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
4497 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
4498 &quot;comments&quot;: &quot;A String&quot;, # Comments
4499 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
4500 },
4501 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
4502 &quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
4503 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
4504 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
4505 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
4506 },
4507 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
4508 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
4509 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
4510 &quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
4511 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
4512 },
4513 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
4514 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). # Describes an upgrade.
4515 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
4516 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
4517 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
4518 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
4519 &quot;A String&quot;,
4520 ],
4521 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
4522 },
4523 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
4524 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in a machine + human readable form.
4525 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4526 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
4527 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
4528 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
4529 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4530 },
4531 },
4532 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how to fix it. # Details of a security vulnerability note.
4533 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
4534 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v2 score of this vulnerability.
4535 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
4536 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
4537 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
4538 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
4539 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
4540 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
4541 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
4542 &quot;exploitabilityScore&quot;: 3.14,
4543 &quot;impactScore&quot;: 3.14,
4544 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
4545 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
4546 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
4547 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
4548 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
4549 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
4550 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
4551 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
4552 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
4553 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
4554 },
4555 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v3 score of this vulnerability.
4556 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
4557 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
4558 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
4559 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
4560 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
4561 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
4562 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
4563 &quot;exploitabilityScore&quot;: 3.14,
4564 &quot;impactScore&quot;: 3.14,
4565 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
4566 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
4567 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
4568 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
4569 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
4570 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
4571 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
4572 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
4573 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
4574 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
4575 },
4576 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The CVSS v4 score of this vulnerability.
4577 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
4578 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
4579 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
4580 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
4581 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
4582 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
4583 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
4584 &quot;exploitabilityScore&quot;: 3.14,
4585 &quot;impactScore&quot;: 3.14,
4586 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
4587 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
4588 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
4589 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
4590 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
4591 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
4592 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
4593 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
4594 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
4595 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
4596 },
4597 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
4598 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
4599 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
4600 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within the associated resource.
4601 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
4602 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
4603 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
4604 &quot;fileLocation&quot;: [ # The file location at which this package was found.
4605 { # Indicates the location at which a package was found.
4606 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
4607 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
4608 &quot;baseImages&quot;: [ # The base images the layer is found within.
4609 { # BaseImage describes a base image of a container image.
4610 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
4611 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
4612 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
4613 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
4614 },
4615 ],
4616 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
4617 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
4618 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
4619 &quot;index&quot;: 42, # The index of the layer in the container image.
4620 },
4621 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
4622 },
4623 ],
4624 &quot;package&quot;: &quot;A String&quot;, # The package being described.
4625 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
4626 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4627 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
4628 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
4629 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
4630 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4631 },
4632 },
4633 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.
4634 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
4635 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
4636 &quot;fileLocation&quot;: [ # The file location at which this package was found.
4637 { # Indicates the location at which a package was found.
4638 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
4639 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
4640 &quot;baseImages&quot;: [ # The base images the layer is found within.
4641 { # BaseImage describes a base image of a container image.
4642 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
4643 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
4644 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
4645 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
4646 },
4647 ],
4648 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
4649 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
4650 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
4651 &quot;index&quot;: 42, # The index of the layer in the container image.
4652 },
4653 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
4654 },
4655 ],
4656 &quot;package&quot;: &quot;A String&quot;, # The package being described.
4657 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
4658 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4659 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
4660 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
4661 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
4662 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4663 },
4664 },
4665 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
4666 &quot;severityName&quot;: &quot;A String&quot;,
4667 },
4668 ],
4669 &quot;risk&quot;: { # The Risk message provides information about the risk of a vulnerability. # Risk information about the vulnerability, such as CISA, EPSS, etc.
4670 &quot;cisaKev&quot;: { # CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign. # Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
4671 &quot;knownRansomwareCampaignUse&quot;: &quot;A String&quot;, # Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
4672 },
4673 &quot;epss&quot;: { # ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile. # Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild.
4674 &quot;percentile&quot;: 3.14, # Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score
4675 &quot;score&quot;: 3.14, # Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days
4676 },
4677 },
4678 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
4679 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.
4680 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability. # VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.
4681 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
4682 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
4683 &quot;A String&quot;,
4684 ],
4685 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
4686 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
4687 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
4688 },
4689 &quot;noteName&quot;: &quot;A String&quot;, # The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
4690 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
4691 { # An URI message.
4692 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
4693 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
4694 },
4695 ],
4696 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
4697 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
4698 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
4699 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
4700 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
4701 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
4702 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
4703 },
4704 },
4705 ],
4706 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
4707 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
4708 },
4709 },
4710 },
4711 ],
4712 }</pre>
4713 </div>
4714
4715 <div class="method">
4716 <code class="details" id="list_next">list_next()</code>
4717 <pre>Retrieves the next page of results.
4718
4719 Args:
4720 previous_request: The request for the previous page. (required)
4721 previous_response: The response from the request for the previous page. (required)
4722
4723 Returns:
4724 A request object that you can call &#x27;execute()&#x27; on to request the next
4725 page. Returns None if there are no more items in the collection.
4726 </pre>
4727 </div>
4728
4729 <div class="method">
4730 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
4731 <pre>Updates an existing occurrence.
4732
4733 Args:
4734 name: string, The name of the occurrence. Should be of the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;. (required)
4735 body: object, The request body.
4736 The object takes the form of:
4737
4738 { # `Occurrence` includes information about analysis occurrences for an image.
4739 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # This represents an AI skill analysis occurrence
4740 &quot;findings&quot;: [ # Optional. Findings produced by the analysis.
4741 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
4742 &quot;category&quot;: &quot;A String&quot;, # Optional. Category of the finding.
4743 &quot;details&quot;: &quot;A String&quot;, # Optional. Description of the finding category.
4744 &quot;location&quot;: { # Location details with file path and line number. # Optional. Location (path and line) where the finding was detected.
4745 &quot;filePath&quot;: &quot;A String&quot;, # Optional. Relative path of the file containing the finding.
4746 &quot;lineNumber&quot;: &quot;A String&quot;, # Optional. Line number (1-based), or 0 if whole File / unknown.
4747 },
4748 &quot;scanner&quot;: &quot;A String&quot;, # Optional. Scanner determines which engine (e.g. static, llm) emitted the finding.
4749 &quot;severity&quot;: &quot;A String&quot;, # Optional. Severity of the finding.
4750 },
4751 ],
4752 &quot;maxSeverity&quot;: &quot;A String&quot;, # Optional. Maximum severity found among findings.
4753 &quot;skillName&quot;: &quot;A String&quot;, # Optional. Name of the skill that produced this analysis.
4754 },
4755 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). # Describes an attestation of an artifact.
4756 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
4757 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
4758 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys [email protected] tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
4759 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
4760 },
4761 },
4762 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
4763 &quot;inTotoSlsaProvenanceV1&quot;: { # 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.
4764 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
4765 &quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
4766 &quot;buildDefinition&quot;: {
4767 &quot;buildType&quot;: &quot;A String&quot;,
4768 &quot;externalParameters&quot;: {
4769 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4770 },
4771 &quot;internalParameters&quot;: {
4772 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4773 },
4774 &quot;resolvedDependencies&quot;: [
4775 {
4776 &quot;annotations&quot;: {
4777 &quot;a_key&quot;: &quot;&quot;,
4778 },
4779 &quot;content&quot;: &quot;A String&quot;,
4780 &quot;digest&quot;: {
4781 &quot;a_key&quot;: &quot;A String&quot;,
4782 },
4783 &quot;downloadLocation&quot;: &quot;A String&quot;,
4784 &quot;mediaType&quot;: &quot;A String&quot;,
4785 &quot;name&quot;: &quot;A String&quot;,
4786 &quot;uri&quot;: &quot;A String&quot;,
4787 },
4788 ],
4789 },
4790 &quot;runDetails&quot;: {
4791 &quot;builder&quot;: {
4792 &quot;builderDependencies&quot;: [
4793 {
4794 &quot;annotations&quot;: {
4795 &quot;a_key&quot;: &quot;&quot;,
4796 },
4797 &quot;content&quot;: &quot;A String&quot;,
4798 &quot;digest&quot;: {
4799 &quot;a_key&quot;: &quot;A String&quot;,
4800 },
4801 &quot;downloadLocation&quot;: &quot;A String&quot;,
4802 &quot;mediaType&quot;: &quot;A String&quot;,
4803 &quot;name&quot;: &quot;A String&quot;,
4804 &quot;uri&quot;: &quot;A String&quot;,
4805 },
4806 ],
4807 &quot;id&quot;: &quot;A String&quot;,
4808 &quot;version&quot;: {
4809 &quot;a_key&quot;: &quot;A String&quot;,
4810 },
4811 },
4812 &quot;byproducts&quot;: [
4813 {
4814 &quot;annotations&quot;: {
4815 &quot;a_key&quot;: &quot;&quot;,
4816 },
4817 &quot;content&quot;: &quot;A String&quot;,
4818 &quot;digest&quot;: {
4819 &quot;a_key&quot;: &quot;A String&quot;,
4820 },
4821 &quot;downloadLocation&quot;: &quot;A String&quot;,
4822 &quot;mediaType&quot;: &quot;A String&quot;,
4823 &quot;name&quot;: &quot;A String&quot;,
4824 &quot;uri&quot;: &quot;A String&quot;,
4825 },
4826 ],
4827 &quot;metadata&quot;: {
4828 &quot;finishedOn&quot;: &quot;A String&quot;,
4829 &quot;invocationId&quot;: &quot;A String&quot;,
4830 &quot;startedOn&quot;: &quot;A String&quot;,
4831 },
4832 },
4833 },
4834 &quot;predicateType&quot;: &quot;A String&quot;,
4835 &quot;subject&quot;: [
4836 { # Subject refers to the subject of the intoto statement
4837 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
4838 &quot;a_key&quot;: &quot;A String&quot;,
4839 },
4840 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
4841 },
4842 ],
4843 },
4844 &quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
4845 &quot;builderConfig&quot;: { # required
4846 &quot;id&quot;: &quot;A String&quot;,
4847 },
4848 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
4849 &quot;A String&quot;,
4850 ],
4851 &quot;metadata&quot;: { # Other properties of the build.
4852 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4853 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
4854 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4855 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4856 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
4857 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
4858 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
4859 },
4860 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
4861 },
4862 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
4863 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
4864 {
4865 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4866 },
4867 ],
4868 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
4869 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
4870 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
4871 {
4872 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4873 },
4874 ],
4875 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
4876 },
4877 },
4878 &quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # 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&#x27;s envelope.
4879 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
4880 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
4881 &quot;provenance&quot;: { # Generic Grafeas provenance.
4882 &quot;builderConfig&quot;: { # required
4883 &quot;id&quot;: &quot;A String&quot;,
4884 },
4885 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
4886 &quot;A String&quot;,
4887 ],
4888 &quot;metadata&quot;: { # Other properties of the build.
4889 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4890 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
4891 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4892 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4893 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
4894 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
4895 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
4896 },
4897 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
4898 },
4899 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
4900 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
4901 {
4902 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4903 },
4904 ],
4905 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
4906 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
4907 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
4908 {
4909 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4910 },
4911 ],
4912 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
4913 },
4914 },
4915 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
4916 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
4917 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
4918 },
4919 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
4920 { # Material is a material used in the generation of the provenance
4921 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
4922 &quot;a_key&quot;: &quot;A String&quot;,
4923 },
4924 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
4925 },
4926 ],
4927 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
4928 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4929 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
4930 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4931 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4932 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
4933 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
4934 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
4935 },
4936 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
4937 },
4938 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
4939 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
4940 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4941 },
4942 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
4943 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
4944 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
4945 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4946 },
4947 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
4948 },
4949 },
4950 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
4951 &quot;buildConfig&quot;: { # Lists the steps in the build.
4952 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4953 },
4954 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
4955 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
4956 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
4957 },
4958 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
4959 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
4960 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
4961 &quot;a_key&quot;: &quot;A String&quot;,
4962 },
4963 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
4964 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
4965 },
4966 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
4967 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4968 },
4969 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
4970 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4971 },
4972 },
4973 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
4974 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
4975 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
4976 &quot;a_key&quot;: &quot;A String&quot;,
4977 },
4978 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
4979 },
4980 ],
4981 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
4982 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
4983 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
4984 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
4985 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
4986 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
4987 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
4988 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
4989 },
4990 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
4991 },
4992 },
4993 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
4994 { # Subject refers to the subject of the intoto statement
4995 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
4996 &quot;a_key&quot;: &quot;A String&quot;,
4997 },
4998 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
4999 },
5000 ],
5001 },
5002 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # The actual provenance
5003 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
5004 &quot;a_key&quot;: &quot;A String&quot;,
5005 },
5006 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
5007 &quot;builtArtifacts&quot;: [ # Output of the build.
5008 { # Artifact describes a build product.
5009 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
5010 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
5011 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
5012 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
5013 &quot;A String&quot;,
5014 ],
5015 },
5016 ],
5017 &quot;commands&quot;: [ # Commands requested by the build.
5018 { # Command describes a step performed as part of the build pipeline.
5019 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
5020 &quot;A String&quot;,
5021 ],
5022 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this Command.
5023 &quot;env&quot;: [ # Environment variables set before running this Command.
5024 &quot;A String&quot;,
5025 ],
5026 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.
5027 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
5028 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
5029 &quot;A String&quot;,
5030 ],
5031 },
5032 ],
5033 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
5034 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the user&#x27;s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
5035 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
5036 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
5037 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
5038 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
5039 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
5040 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
5041 { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
5042 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
5043 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5044 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5045 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5046 },
5047 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
5048 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
5049 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
5050 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
5051 },
5052 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
5053 },
5054 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
5055 },
5056 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
5057 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5058 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5059 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5060 },
5061 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
5062 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
5063 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
5064 },
5065 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
5066 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
5067 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
5068 },
5069 &quot;labels&quot;: { # Labels with user defined metadata.
5070 &quot;a_key&quot;: &quot;A String&quot;,
5071 },
5072 },
5073 ],
5074 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, the input binary artifacts for the build came from this location.
5075 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
5076 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
5077 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
5078 },
5079 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. # If provided, the source code used for the build came from this location.
5080 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
5081 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5082 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5083 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5084 },
5085 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
5086 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
5087 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
5088 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
5089 },
5090 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
5091 },
5092 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
5093 },
5094 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
5095 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5096 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5097 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5098 },
5099 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
5100 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
5101 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
5102 },
5103 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
5104 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
5105 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
5106 },
5107 &quot;labels&quot;: { # Labels with user defined metadata.
5108 &quot;a_key&quot;: &quot;A String&quot;,
5109 },
5110 },
5111 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
5112 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
5113 &quot;fileHash&quot;: [ # Collection of file hashes.
5114 { # Container message for hash values.
5115 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
5116 &quot;value&quot;: &quot;A String&quot;, # The hash value.
5117 },
5118 ],
5119 },
5120 },
5121 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source Repository. # If provided, get source from this location in a Cloud Repo.
5122 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
5123 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
5124 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
5125 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
5126 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
5127 },
5128 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage.
5129 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
5130 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
5131 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
5132 },
5133 },
5134 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
5135 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
5136 },
5137 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can 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.
5138 },
5139 &quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes whether or not a resource passes compliance checks.
5140 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason for non compliance of these files.
5141 &quot;nonCompliantFiles&quot;: [ # A list of files which are violating compliance checks.
5142 { # Details about files that caused a compliance check to fail.
5143 &quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
5144 &quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
5145 &quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
5146 },
5147 ],
5148 &quot;version&quot;: { # Describes the CIS benchmark version that is applicable to a given OS and os version. # The OS and config version the benchmark was run on.
5149 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
5150 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
5151 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
5152 },
5153 },
5154 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
5155 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
5156 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
5157 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
5158 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
5159 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
5160 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed taken from the deployable field with the same name.
5161 &quot;A String&quot;,
5162 ],
5163 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
5164 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
5165 },
5166 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Describes how this resource derives from the basis in the associated note.
5167 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
5168 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
5169 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
5170 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
5171 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
5172 &quot;A String&quot;,
5173 ],
5174 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
5175 },
5176 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length &quot;distance&quot; and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
5177 { # Layer holds metadata specific to a layer of a Docker image.
5178 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
5179 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
5180 },
5181 ],
5182 },
5183 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
5184 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. # The list of analysis that were completed for a resource.
5185 &quot;analysisType&quot;: [ # type of analysis that were completed on a resource.
5186 &quot;A String&quot;,
5187 ],
5188 },
5189 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
5190 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
5191 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
5192 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
5193 {
5194 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5195 },
5196 ],
5197 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
5198 },
5199 ],
5200 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
5201 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API.
5202 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
5203 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
5204 {
5205 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5206 },
5207 ],
5208 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
5209 },
5210 &quot;archiveTime&quot;: &quot;A String&quot;, # The time occurrences related to this discovery occurrence were archived.
5211 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
5212 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
5213 &quot;files&quot;: [ # Optional. Files that make up the resource described by the occurrence.
5214 { # A file as part of a resource.
5215 &quot;digest&quot;: { # Optional. The digest(s) of the file.
5216 &quot;a_key&quot;: &quot;A String&quot;,
5217 },
5218 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the file.
5219 },
5220 ],
5221 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
5222 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # Optional. The last time vulnerability scan results changed.
5223 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use.
5224 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
5225 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
5226 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
5227 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
5228 {
5229 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5230 },
5231 ],
5232 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
5233 },
5234 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
5235 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5236 },
5237 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
5238 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
5239 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5240 },
5241 },
5242 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # Output only. The status of an SBOM generation.
5243 &quot;error&quot;: &quot;A String&quot;, # Output only. If there was an error generating an SBOM, this will indicate what that error was.
5244 &quot;sbomState&quot;: &quot;A String&quot;, # Output only. The progress of the SBOM generation.
5245 },
5246 &quot;vulnerabilityAttestation&quot;: { # The status of a vulnerability attestation generation. # Output only. The status of a vulnerability attestation generation.
5247 &quot;error&quot;: &quot;A String&quot;, # Output only. If failure, the error reason for why the attestation generation failed.
5248 &quot;lastAttemptTime&quot;: &quot;A String&quot;, # Output only. The last time we attempted to generate an attestation.
5249 &quot;state&quot;: &quot;A String&quot;, # Output only. The success/failure state of the latest attestation attempt.
5250 },
5251 },
5252 &quot;dsseAttestation&quot;: { # An occurrence describing an attestation on a resource # This represents a DSSE attestation occurrence
5253 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.
5254 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
5255 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
5256 &quot;signatures&quot;: [ # The signatures over the payload
5257 { # A DSSE signature
5258 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
5259 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
5260 },
5261 ],
5262 },
5263 &quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
5264 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
5265 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
5266 &quot;provenance&quot;: { # Generic Grafeas provenance.
5267 &quot;builderConfig&quot;: { # required
5268 &quot;id&quot;: &quot;A String&quot;,
5269 },
5270 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
5271 &quot;A String&quot;,
5272 ],
5273 &quot;metadata&quot;: { # Other properties of the build.
5274 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
5275 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
5276 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
5277 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
5278 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
5279 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
5280 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
5281 },
5282 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
5283 },
5284 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
5285 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
5286 {
5287 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5288 },
5289 ],
5290 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
5291 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
5292 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
5293 {
5294 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5295 },
5296 ],
5297 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
5298 },
5299 },
5300 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
5301 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
5302 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
5303 },
5304 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
5305 { # Material is a material used in the generation of the provenance
5306 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
5307 &quot;a_key&quot;: &quot;A String&quot;,
5308 },
5309 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
5310 },
5311 ],
5312 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
5313 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
5314 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
5315 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
5316 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
5317 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
5318 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
5319 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
5320 },
5321 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
5322 },
5323 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
5324 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
5325 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5326 },
5327 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
5328 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
5329 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
5330 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5331 },
5332 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
5333 },
5334 },
5335 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
5336 &quot;buildConfig&quot;: { # Lists the steps in the build.
5337 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5338 },
5339 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
5340 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
5341 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
5342 },
5343 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
5344 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
5345 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
5346 &quot;a_key&quot;: &quot;A String&quot;,
5347 },
5348 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
5349 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
5350 },
5351 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
5352 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5353 },
5354 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
5355 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5356 },
5357 },
5358 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
5359 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
5360 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
5361 &quot;a_key&quot;: &quot;A String&quot;,
5362 },
5363 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
5364 },
5365 ],
5366 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
5367 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
5368 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
5369 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
5370 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
5371 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
5372 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
5373 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
5374 },
5375 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
5376 },
5377 },
5378 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
5379 { # Subject refers to the subject of the intoto statement
5380 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
5381 &quot;a_key&quot;: &quot;A String&quot;,
5382 },
5383 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
5384 },
5385 ],
5386 },
5387 },
5388 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # https://github.com/secure-systems-lab/dsse
5389 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
5390 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
5391 &quot;signatures&quot;: [ # The signatures over the payload
5392 { # A DSSE signature
5393 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
5394 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
5395 },
5396 ],
5397 },
5398 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Describes the installation of a package on the linked resource.
5399 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
5400 &quot;cpeUri&quot;: &quot;A String&quot;, # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
5401 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
5402 &quot;comments&quot;: &quot;A String&quot;, # Comments
5403 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
5404 },
5405 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
5406 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. e.g. glibc was found in /var/lib/dpkg/status
5407 &quot;cpeUri&quot;: &quot;A String&quot;, # Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
5408 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
5409 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Deprecated. The version installed at this location.
5410 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5411 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
5412 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
5413 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
5414 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5415 },
5416 },
5417 ],
5418 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
5419 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
5420 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Output only. The version of the package.
5421 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5422 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
5423 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
5424 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
5425 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5426 },
5427 },
5428 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.
5429 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
5430 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; This field can be used as a filter in list requests.
5431 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
5432 &quot;resource&quot;: { # Resource is an entity that can have metadata. E.g., a Docker image. # The resource for which the `Occurrence` applies.
5433 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
5434 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
5435 &quot;value&quot;: &quot;A String&quot;, # The hash value.
5436 },
5437 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
5438 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
5439 },
5440 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
5441 &quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
5442 &quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
5443 &quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
5444 &quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
5445 &quot;A String&quot;,
5446 ],
5447 &quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
5448 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
5449 &quot;A String&quot;,
5450 ],
5451 &quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
5452 &quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
5453 &quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
5454 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
5455 },
5456 &quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # This represents an SBOM reference occurrence
5457 &quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
5458 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
5459 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
5460 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
5461 &quot;a_key&quot;: &quot;A String&quot;,
5462 },
5463 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
5464 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
5465 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
5466 },
5467 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
5468 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
5469 { # Subject refers to the subject of the intoto statement
5470 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
5471 &quot;a_key&quot;: &quot;A String&quot;,
5472 },
5473 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
5474 },
5475 ],
5476 },
5477 &quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
5478 &quot;signatures&quot;: [ # The signatures over the payload.
5479 { # A DSSE signature
5480 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
5481 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
5482 },
5483 ],
5484 },
5485 &quot;secret&quot;: { # The occurrence provides details of a secret. # This represents a secret occurrence
5486 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
5487 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
5488 { # The location of the secret.
5489 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
5490 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
5491 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
5492 &quot;baseImages&quot;: [ # The base images the layer is found within.
5493 { # BaseImage describes a base image of a container image.
5494 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
5495 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
5496 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
5497 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
5498 },
5499 ],
5500 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
5501 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
5502 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
5503 &quot;index&quot;: 42, # The index of the layer in the container image.
5504 },
5505 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
5506 },
5507 },
5508 ],
5509 &quot;statuses&quot;: [ # Optional. Status of the secret.
5510 { # The status of the secret with a timestamp.
5511 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
5512 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
5513 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
5514 },
5515 ],
5516 },
5517 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
5518 &quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
5519 &quot;A String&quot;,
5520 ],
5521 &quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
5522 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
5523 &quot;A String&quot;,
5524 ],
5525 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
5526 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
5527 &quot;A String&quot;,
5528 ],
5529 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
5530 &quot;licenseConcluded&quot;: { # License information. # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
5531 &quot;comments&quot;: &quot;A String&quot;, # Comments
5532 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
5533 },
5534 &quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
5535 },
5536 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
5537 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
5538 &quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
5539 &quot;homePage&quot;: &quot;A String&quot;, # Output only. Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
5540 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
5541 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
5542 &quot;comments&quot;: &quot;A String&quot;, # Comments
5543 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
5544 },
5545 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
5546 &quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
5547 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
5548 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
5549 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
5550 },
5551 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
5552 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
5553 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
5554 &quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
5555 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
5556 },
5557 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
5558 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). # Describes an upgrade.
5559 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
5560 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
5561 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
5562 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
5563 &quot;A String&quot;,
5564 ],
5565 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
5566 },
5567 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
5568 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in a machine + human readable form.
5569 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5570 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
5571 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
5572 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
5573 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5574 },
5575 },
5576 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how to fix it. # Details of a security vulnerability note.
5577 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
5578 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v2 score of this vulnerability.
5579 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5580 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
5581 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
5582 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
5583 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
5584 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
5585 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
5586 &quot;exploitabilityScore&quot;: 3.14,
5587 &quot;impactScore&quot;: 3.14,
5588 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
5589 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
5590 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
5591 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
5592 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5593 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5594 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
5595 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5596 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5597 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5598 },
5599 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v3 score of this vulnerability.
5600 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5601 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
5602 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
5603 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
5604 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
5605 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
5606 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
5607 &quot;exploitabilityScore&quot;: 3.14,
5608 &quot;impactScore&quot;: 3.14,
5609 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
5610 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
5611 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
5612 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
5613 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5614 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5615 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
5616 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5617 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5618 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5619 },
5620 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The CVSS v4 score of this vulnerability.
5621 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5622 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
5623 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
5624 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
5625 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
5626 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
5627 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
5628 &quot;exploitabilityScore&quot;: 3.14,
5629 &quot;impactScore&quot;: 3.14,
5630 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
5631 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
5632 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
5633 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
5634 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5635 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5636 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
5637 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5638 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5639 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5640 },
5641 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
5642 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
5643 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
5644 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within the associated resource.
5645 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
5646 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
5647 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
5648 &quot;fileLocation&quot;: [ # The file location at which this package was found.
5649 { # Indicates the location at which a package was found.
5650 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
5651 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
5652 &quot;baseImages&quot;: [ # The base images the layer is found within.
5653 { # BaseImage describes a base image of a container image.
5654 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
5655 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
5656 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
5657 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
5658 },
5659 ],
5660 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
5661 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
5662 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
5663 &quot;index&quot;: 42, # The index of the layer in the container image.
5664 },
5665 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
5666 },
5667 ],
5668 &quot;package&quot;: &quot;A String&quot;, # The package being described.
5669 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
5670 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5671 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
5672 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
5673 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
5674 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5675 },
5676 },
5677 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.
5678 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
5679 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
5680 &quot;fileLocation&quot;: [ # The file location at which this package was found.
5681 { # Indicates the location at which a package was found.
5682 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
5683 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
5684 &quot;baseImages&quot;: [ # The base images the layer is found within.
5685 { # BaseImage describes a base image of a container image.
5686 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
5687 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
5688 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
5689 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
5690 },
5691 ],
5692 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
5693 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
5694 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
5695 &quot;index&quot;: 42, # The index of the layer in the container image.
5696 },
5697 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
5698 },
5699 ],
5700 &quot;package&quot;: &quot;A String&quot;, # The package being described.
5701 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
5702 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5703 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
5704 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
5705 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
5706 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5707 },
5708 },
5709 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
5710 &quot;severityName&quot;: &quot;A String&quot;,
5711 },
5712 ],
5713 &quot;risk&quot;: { # The Risk message provides information about the risk of a vulnerability. # Risk information about the vulnerability, such as CISA, EPSS, etc.
5714 &quot;cisaKev&quot;: { # CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign. # Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
5715 &quot;knownRansomwareCampaignUse&quot;: &quot;A String&quot;, # Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
5716 },
5717 &quot;epss&quot;: { # ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile. # Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild.
5718 &quot;percentile&quot;: 3.14, # Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score
5719 &quot;score&quot;: 3.14, # Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days
5720 },
5721 },
5722 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
5723 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.
5724 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability. # VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.
5725 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
5726 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
5727 &quot;A String&quot;,
5728 ],
5729 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
5730 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
5731 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
5732 },
5733 &quot;noteName&quot;: &quot;A String&quot;, # The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
5734 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
5735 { # An URI message.
5736 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
5737 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
5738 },
5739 ],
5740 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
5741 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
5742 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
5743 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
5744 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
5745 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
5746 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
5747 },
5748 },
5749 ],
5750 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
5751 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
5752 },
5753 },
5754 }
5755
5756 updateMask: string, The fields to update.
5757 x__xgafv: string, V1 error format.
5758 Allowed values
5759 1 - v1 error format
5760 2 - v2 error format
5761
5762 Returns:
5763 An object of the form:
5764
5765 { # `Occurrence` includes information about analysis occurrences for an image.
5766 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # This represents an AI skill analysis occurrence
5767 &quot;findings&quot;: [ # Optional. Findings produced by the analysis.
5768 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
5769 &quot;category&quot;: &quot;A String&quot;, # Optional. Category of the finding.
5770 &quot;details&quot;: &quot;A String&quot;, # Optional. Description of the finding category.
5771 &quot;location&quot;: { # Location details with file path and line number. # Optional. Location (path and line) where the finding was detected.
5772 &quot;filePath&quot;: &quot;A String&quot;, # Optional. Relative path of the file containing the finding.
5773 &quot;lineNumber&quot;: &quot;A String&quot;, # Optional. Line number (1-based), or 0 if whole File / unknown.
5774 },
5775 &quot;scanner&quot;: &quot;A String&quot;, # Optional. Scanner determines which engine (e.g. static, llm) emitted the finding.
5776 &quot;severity&quot;: &quot;A String&quot;, # Optional. Severity of the finding.
5777 },
5778 ],
5779 &quot;maxSeverity&quot;: &quot;A String&quot;, # Optional. Maximum severity found among findings.
5780 &quot;skillName&quot;: &quot;A String&quot;, # Optional. Name of the skill that produced this analysis.
5781 },
5782 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an Attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the AttestationAuthority to which this Attestation is attached is primarily useful for look-up (how to find this Attestation if you already know the Authority and artifact to be verified) and intent (which authority was this attestation intended to sign for). # Describes an attestation of an artifact.
5783 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature. This message only supports `ATTACHED` signatures, where the payload that is signed is included alongside the signature itself in the same file.
5784 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema).
5785 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys [email protected] tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
5786 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload.
5787 },
5788 },
5789 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
5790 &quot;inTotoSlsaProvenanceV1&quot;: { # 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.
5791 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
5792 &quot;predicate&quot;: { # Keep in sync with schema at https://github.com/slsa-framework/slsa/blob/main/docs/provenance/schema/v1/provenance.proto Builder renamed to ProvenanceBuilder because of Java conflicts.
5793 &quot;buildDefinition&quot;: {
5794 &quot;buildType&quot;: &quot;A String&quot;,
5795 &quot;externalParameters&quot;: {
5796 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5797 },
5798 &quot;internalParameters&quot;: {
5799 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5800 },
5801 &quot;resolvedDependencies&quot;: [
5802 {
5803 &quot;annotations&quot;: {
5804 &quot;a_key&quot;: &quot;&quot;,
5805 },
5806 &quot;content&quot;: &quot;A String&quot;,
5807 &quot;digest&quot;: {
5808 &quot;a_key&quot;: &quot;A String&quot;,
5809 },
5810 &quot;downloadLocation&quot;: &quot;A String&quot;,
5811 &quot;mediaType&quot;: &quot;A String&quot;,
5812 &quot;name&quot;: &quot;A String&quot;,
5813 &quot;uri&quot;: &quot;A String&quot;,
5814 },
5815 ],
5816 },
5817 &quot;runDetails&quot;: {
5818 &quot;builder&quot;: {
5819 &quot;builderDependencies&quot;: [
5820 {
5821 &quot;annotations&quot;: {
5822 &quot;a_key&quot;: &quot;&quot;,
5823 },
5824 &quot;content&quot;: &quot;A String&quot;,
5825 &quot;digest&quot;: {
5826 &quot;a_key&quot;: &quot;A String&quot;,
5827 },
5828 &quot;downloadLocation&quot;: &quot;A String&quot;,
5829 &quot;mediaType&quot;: &quot;A String&quot;,
5830 &quot;name&quot;: &quot;A String&quot;,
5831 &quot;uri&quot;: &quot;A String&quot;,
5832 },
5833 ],
5834 &quot;id&quot;: &quot;A String&quot;,
5835 &quot;version&quot;: {
5836 &quot;a_key&quot;: &quot;A String&quot;,
5837 },
5838 },
5839 &quot;byproducts&quot;: [
5840 {
5841 &quot;annotations&quot;: {
5842 &quot;a_key&quot;: &quot;&quot;,
5843 },
5844 &quot;content&quot;: &quot;A String&quot;,
5845 &quot;digest&quot;: {
5846 &quot;a_key&quot;: &quot;A String&quot;,
5847 },
5848 &quot;downloadLocation&quot;: &quot;A String&quot;,
5849 &quot;mediaType&quot;: &quot;A String&quot;,
5850 &quot;name&quot;: &quot;A String&quot;,
5851 &quot;uri&quot;: &quot;A String&quot;,
5852 },
5853 ],
5854 &quot;metadata&quot;: {
5855 &quot;finishedOn&quot;: &quot;A String&quot;,
5856 &quot;invocationId&quot;: &quot;A String&quot;,
5857 &quot;startedOn&quot;: &quot;A String&quot;,
5858 },
5859 },
5860 },
5861 &quot;predicateType&quot;: &quot;A String&quot;,
5862 &quot;subject&quot;: [
5863 { # Subject refers to the subject of the intoto statement
5864 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
5865 &quot;a_key&quot;: &quot;A String&quot;,
5866 },
5867 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
5868 },
5869 ],
5870 },
5871 &quot;intotoProvenance&quot;: { # Deprecated. See InTotoStatement for the replacement. In-toto Provenance representation as defined in spec.
5872 &quot;builderConfig&quot;: { # required
5873 &quot;id&quot;: &quot;A String&quot;,
5874 },
5875 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
5876 &quot;A String&quot;,
5877 ],
5878 &quot;metadata&quot;: { # Other properties of the build.
5879 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
5880 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
5881 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
5882 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
5883 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
5884 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
5885 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
5886 },
5887 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
5888 },
5889 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
5890 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
5891 {
5892 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5893 },
5894 ],
5895 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
5896 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
5897 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
5898 {
5899 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5900 },
5901 ],
5902 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
5903 },
5904 },
5905 &quot;intotoStatement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;. # 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&#x27;s envelope.
5906 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
5907 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
5908 &quot;provenance&quot;: { # Generic Grafeas provenance.
5909 &quot;builderConfig&quot;: { # required
5910 &quot;id&quot;: &quot;A String&quot;,
5911 },
5912 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
5913 &quot;A String&quot;,
5914 ],
5915 &quot;metadata&quot;: { # Other properties of the build.
5916 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
5917 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
5918 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
5919 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
5920 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
5921 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
5922 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
5923 },
5924 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
5925 },
5926 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
5927 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
5928 {
5929 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5930 },
5931 ],
5932 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
5933 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
5934 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
5935 {
5936 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5937 },
5938 ],
5939 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
5940 },
5941 },
5942 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
5943 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
5944 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
5945 },
5946 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
5947 { # Material is a material used in the generation of the provenance
5948 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
5949 &quot;a_key&quot;: &quot;A String&quot;,
5950 },
5951 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
5952 },
5953 ],
5954 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
5955 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
5956 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
5957 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
5958 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
5959 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
5960 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
5961 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
5962 },
5963 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
5964 },
5965 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
5966 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
5967 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5968 },
5969 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
5970 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
5971 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
5972 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5973 },
5974 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
5975 },
5976 },
5977 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
5978 &quot;buildConfig&quot;: { # Lists the steps in the build.
5979 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5980 },
5981 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
5982 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
5983 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
5984 },
5985 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
5986 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
5987 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
5988 &quot;a_key&quot;: &quot;A String&quot;,
5989 },
5990 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
5991 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
5992 },
5993 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
5994 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5995 },
5996 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
5997 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5998 },
5999 },
6000 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
6001 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
6002 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
6003 &quot;a_key&quot;: &quot;A String&quot;,
6004 },
6005 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
6006 },
6007 ],
6008 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
6009 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
6010 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
6011 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
6012 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
6013 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
6014 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
6015 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
6016 },
6017 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
6018 },
6019 },
6020 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
6021 { # Subject refers to the subject of the intoto statement
6022 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
6023 &quot;a_key&quot;: &quot;A String&quot;,
6024 },
6025 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
6026 },
6027 ],
6028 },
6029 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # The actual provenance
6030 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
6031 &quot;a_key&quot;: &quot;A String&quot;,
6032 },
6033 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
6034 &quot;builtArtifacts&quot;: [ # Output of the build.
6035 { # Artifact describes a build product.
6036 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
6037 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest like gcr.io/projectID/imagename@sha256:123456
6038 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. This field is deprecated in favor of the plural `names` field; it continues to exist here to allow existing BuildProvenance serialized to json in google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to deserialize back into proto.
6039 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.
6040 &quot;A String&quot;,
6041 ],
6042 },
6043 ],
6044 &quot;commands&quot;: [ # Commands requested by the build.
6045 { # Command describes a step performed as part of the build pipeline.
6046 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
6047 &quot;A String&quot;,
6048 ],
6049 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this Command.
6050 &quot;env&quot;: [ # Environment variables set before running this Command.
6051 &quot;A String&quot;,
6052 ],
6053 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference this Command as a dependency.
6054 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.
6055 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
6056 &quot;A String&quot;,
6057 ],
6058 },
6059 ],
6060 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
6061 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the user&#x27;s e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.
6062 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
6063 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
6064 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
6065 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
6066 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
6067 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.
6068 { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.
6069 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
6070 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
6071 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
6072 &quot;name&quot;: &quot;A String&quot;, # The alias name.
6073 },
6074 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
6075 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
6076 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
6077 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
6078 },
6079 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
6080 },
6081 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
6082 },
6083 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
6084 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
6085 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
6086 &quot;name&quot;: &quot;A String&quot;, # The alias name.
6087 },
6088 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
6089 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
6090 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
6091 },
6092 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
6093 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
6094 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
6095 },
6096 &quot;labels&quot;: { # Labels with user defined metadata.
6097 &quot;a_key&quot;: &quot;A String&quot;,
6098 },
6099 },
6100 ],
6101 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, the input binary artifacts for the build came from this location.
6102 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
6103 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
6104 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
6105 },
6106 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory. # If provided, the source code used for the build came from this location.
6107 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo. # A SourceContext referring to a revision in a Google Cloud Source Repo.
6108 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
6109 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
6110 &quot;name&quot;: &quot;A String&quot;, # The alias name.
6111 },
6112 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
6113 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project. # A combination of a project ID and a repo name.
6114 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
6115 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
6116 },
6117 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
6118 },
6119 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
6120 },
6121 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
6122 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
6123 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
6124 &quot;name&quot;: &quot;A String&quot;, # The alias name.
6125 },
6126 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is the hostURI/project.
6127 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
6128 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
6129 },
6130 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub). # A SourceContext referring to any third party Git repo (e.g., GitHub).
6131 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
6132 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
6133 },
6134 &quot;labels&quot;: { # Labels with user defined metadata.
6135 &quot;a_key&quot;: &quot;A String&quot;,
6136 },
6137 },
6138 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.
6139 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source messages to verify integrity of source input to the build.
6140 &quot;fileHash&quot;: [ # Collection of file hashes.
6141 { # Container message for hash values.
6142 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
6143 &quot;value&quot;: &quot;A String&quot;, # The hash value.
6144 },
6145 ],
6146 },
6147 },
6148 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source Repository. # If provided, get source from this location in a Cloud Repo.
6149 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
6150 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
6151 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
6152 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
6153 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
6154 },
6155 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in Google Cloud Storage. # If provided, get the source from this location in Google Cloud Storage.
6156 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name Requirements] (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
6157 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
6158 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
6159 },
6160 },
6161 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
6162 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
6163 },
6164 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the `BuildSignature` in the corresponding Result. After verifying the signature, `provenance_bytes` can 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.
6165 },
6166 &quot;compliance&quot;: { # An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason. # Describes whether or not a resource passes compliance checks.
6167 &quot;nonComplianceReason&quot;: &quot;A String&quot;, # The reason for non compliance of these files.
6168 &quot;nonCompliantFiles&quot;: [ # A list of files which are violating compliance checks.
6169 { # Details about files that caused a compliance check to fail.
6170 &quot;displayCommand&quot;: &quot;A String&quot;, # Command to display the non-compliant files.
6171 &quot;path&quot;: &quot;A String&quot;, # display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using &#x27;path&#x27;. Empty if `display_command` is set.
6172 &quot;reason&quot;: &quot;A String&quot;, # Explains why a file is non compliant for a CIS check.
6173 },
6174 ],
6175 &quot;version&quot;: { # Describes the CIS benchmark version that is applicable to a given OS and os version. # The OS and config version the benchmark was run on.
6176 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
6177 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
6178 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
6179 },
6180 },
6181 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
6182 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
6183 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
6184 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
6185 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
6186 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
6187 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed taken from the deployable field with the same name.
6188 &quot;A String&quot;,
6189 ],
6190 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
6191 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
6192 },
6193 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Describes how this resource derives from the basis in the associated note.
6194 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
6195 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
6196 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
6197 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
6198 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
6199 &quot;A String&quot;,
6200 ],
6201 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1]) Only the name of the final blob is kept. This field can be used as a filter in list requests.
6202 },
6203 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length &quot;distance&quot; and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.
6204 { # Layer holds metadata specific to a layer of a Docker image.
6205 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
6206 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
6207 },
6208 ],
6209 },
6210 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
6211 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource. # The list of analysis that were completed for a resource.
6212 &quot;analysisType&quot;: [ # type of analysis that were completed on a resource.
6213 &quot;A String&quot;,
6214 ],
6215 },
6216 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
6217 { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).
6218 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
6219 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
6220 {
6221 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6222 },
6223 ],
6224 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
6225 },
6226 ],
6227 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
6228 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage output only and populated by the API.
6229 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
6230 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
6231 {
6232 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6233 },
6234 ],
6235 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
6236 },
6237 &quot;archiveTime&quot;: &quot;A String&quot;, # The time occurrences related to this discovery occurrence were archived.
6238 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
6239 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
6240 &quot;files&quot;: [ # Optional. Files that make up the resource described by the occurrence.
6241 { # A file as part of a resource.
6242 &quot;digest&quot;: { # Optional. The digest(s) of the file.
6243 &quot;a_key&quot;: &quot;A String&quot;,
6244 },
6245 &quot;name&quot;: &quot;A String&quot;, # Optional. The name of the file.
6246 },
6247 ],
6248 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
6249 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # Optional. The last time vulnerability scan results changed.
6250 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a network API call. # Output only. An operation that indicates the status of the current scan. This field is deprecated, do not use.
6251 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
6252 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
6253 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
6254 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
6255 {
6256 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6257 },
6258 ],
6259 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
6260 },
6261 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
6262 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6263 },
6264 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
6265 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
6266 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6267 },
6268 },
6269 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # Output only. The status of an SBOM generation.
6270 &quot;error&quot;: &quot;A String&quot;, # Output only. If there was an error generating an SBOM, this will indicate what that error was.
6271 &quot;sbomState&quot;: &quot;A String&quot;, # Output only. The progress of the SBOM generation.
6272 },
6273 &quot;vulnerabilityAttestation&quot;: { # The status of a vulnerability attestation generation. # Output only. The status of a vulnerability attestation generation.
6274 &quot;error&quot;: &quot;A String&quot;, # Output only. If failure, the error reason for why the attestation generation failed.
6275 &quot;lastAttemptTime&quot;: &quot;A String&quot;, # Output only. The last time we attempted to generate an attestation.
6276 &quot;state&quot;: &quot;A String&quot;, # Output only. The success/failure state of the latest attestation attempt.
6277 },
6278 },
6279 &quot;dsseAttestation&quot;: { # An occurrence describing an attestation on a resource # This represents a DSSE attestation occurrence
6280 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # If doing something security critical, make sure to verify the signatures in this metadata.
6281 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
6282 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
6283 &quot;signatures&quot;: [ # The signatures over the payload
6284 { # A DSSE signature
6285 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
6286 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
6287 },
6288 ],
6289 },
6290 &quot;statement&quot;: { # Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always &quot;application/vnd.in-toto+json&quot;.
6291 &quot;_type&quot;: &quot;A String&quot;, # Always &quot;https://in-toto.io/Statement/v0.1&quot;.
6292 &quot;predicateType&quot;: &quot;A String&quot;, # &quot;https://slsa.dev/provenance/v0.1&quot; for SlsaProvenance.
6293 &quot;provenance&quot;: { # Generic Grafeas provenance.
6294 &quot;builderConfig&quot;: { # required
6295 &quot;id&quot;: &quot;A String&quot;,
6296 },
6297 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
6298 &quot;A String&quot;,
6299 ],
6300 &quot;metadata&quot;: { # Other properties of the build.
6301 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
6302 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
6303 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
6304 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
6305 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
6306 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
6307 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
6308 },
6309 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
6310 },
6311 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required
6312 &quot;arguments&quot;: [ # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint.
6313 {
6314 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6315 },
6316 ],
6317 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
6318 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
6319 &quot;environment&quot;: [ # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy.
6320 {
6321 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6322 },
6323 ],
6324 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
6325 },
6326 },
6327 &quot;slsaProvenance&quot;: { # SlsaProvenance is the slsa provenance as defined by the slsa spec. # SLSA 0.1 provenance.
6328 &quot;builder&quot;: { # SlsaBuilder encapsulates the identity of the builder of this provenance. # builder is the builder of this provenance
6329 &quot;id&quot;: &quot;A String&quot;, # id is the id of the slsa provenance builder
6330 },
6331 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.
6332 { # Material is a material used in the generation of the provenance
6333 &quot;digest&quot;: { # digest is a map from a hash algorithm (e.g. sha256) to the value in the material
6334 &quot;a_key&quot;: &quot;A String&quot;,
6335 },
6336 &quot;uri&quot;: &quot;A String&quot;, # uri is the uri of the material
6337 },
6338 ],
6339 &quot;metadata&quot;: { # Other properties of the build. # metadata is the metadata of the provenance
6340 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
6341 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.
6342 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
6343 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
6344 &quot;arguments&quot;: True or False, # If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.
6345 &quot;environment&quot;: True or False, # If true, the builder claims that recipe.environment is claimed to be complete.
6346 &quot;materials&quot;: True or False, # If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called &quot;hermetic&quot;.
6347 },
6348 &quot;reproducible&quot;: True or False, # If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.
6349 },
6350 &quot;recipe&quot;: { # Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe. # Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible).
6351 &quot;arguments&quot;: { # Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were &quot;make&quot;, then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Depending on the recipe Type, the structure may be different.
6352 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6353 },
6354 &quot;definedInMaterial&quot;: &quot;A String&quot;, # Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn&#x27;t come from a material, as zero is default unset value for int64.
6355 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were &quot;make&quot;, then this would reference the directory in which to run make as well as which target to use.
6356 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Depending on the recipe Type, the structure may be different.
6357 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
6358 },
6359 &quot;type&quot;: &quot;A String&quot;, # URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.
6360 },
6361 },
6362 &quot;slsaProvenanceZeroTwo&quot;: { # SlsaProvenanceZeroTwo is the slsa provenance as defined by the slsa spec. See full explanation of fields at slsa.dev/provenance/v0.2. # SLSA 0.2 provenance.
6363 &quot;buildConfig&quot;: { # Lists the steps in the build.
6364 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
6365 },
6366 &quot;buildType&quot;: &quot;A String&quot;, # URI indicating what type of build was performed.
6367 &quot;builder&quot;: { # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance. # Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.
6368 &quot;id&quot;: &quot;A String&quot;, # URI indicating the builder’s identity.
6369 },
6370 &quot;invocation&quot;: { # Identifies the event that kicked off the build. # Identifies the event that kicked off the build.
6371 &quot;configSource&quot;: { # Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from. # Describes where the config file that kicked off the build came from.
6372 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of the artifact specified by invocation.configSource.uri.
6373 &quot;a_key&quot;: &quot;A String&quot;,
6374 },
6375 &quot;entryPoint&quot;: &quot;A String&quot;, # String identifying the entry point into the build.
6376 &quot;uri&quot;: &quot;A String&quot;, # URI indicating the identity of the source of the config.
6377 },
6378 &quot;environment&quot;: { # Any other builder-controlled inputs necessary for correctly evaluating the build.
6379 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
6380 },
6381 &quot;parameters&quot;: { # Collection of all external inputs that influenced the build on top of invocation.configSource.
6382 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
6383 },
6384 },
6385 &quot;materials&quot;: [ # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
6386 { # The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.
6387 &quot;digest&quot;: { # Collection of cryptographic digests for the contents of this artifact.
6388 &quot;a_key&quot;: &quot;A String&quot;,
6389 },
6390 &quot;uri&quot;: &quot;A String&quot;, # The method by which this artifact was referenced during the build.
6391 },
6392 ],
6393 &quot;metadata&quot;: { # Other properties of the build. # Other properties of the build.
6394 &quot;buildFinishedOn&quot;: &quot;A String&quot;, # The timestamp of when the build completed.
6395 &quot;buildInvocationId&quot;: &quot;A String&quot;, # Identifies this particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis.
6396 &quot;buildStartedOn&quot;: &quot;A String&quot;, # The timestamp of when the build started.
6397 &quot;completeness&quot;: { # Indicates that the builder claims certain fields in this message to be complete. # Indicates that the builder claims certain fields in this message to be complete.
6398 &quot;environment&quot;: True or False, # If true, the builder claims that invocation.environment is complete.
6399 &quot;materials&quot;: True or False, # If true, the builder claims that materials is complete.
6400 &quot;parameters&quot;: True or False, # If true, the builder claims that invocation.parameters is complete.
6401 },
6402 &quot;reproducible&quot;: True or False, # If true, the builder claims that running invocation on materials will produce bit-for-bit identical output.
6403 },
6404 },
6405 &quot;subject&quot;: [ # subject is the subjects of the intoto statement
6406 { # Subject refers to the subject of the intoto statement
6407 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
6408 &quot;a_key&quot;: &quot;A String&quot;,
6409 },
6410 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
6411 },
6412 ],
6413 },
6414 },
6415 &quot;envelope&quot;: { # MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type. # https://github.com/secure-systems-lab/dsse
6416 &quot;payload&quot;: &quot;A String&quot;, # The bytes being signed
6417 &quot;payloadType&quot;: &quot;A String&quot;, # The type of payload being signed
6418 &quot;signatures&quot;: [ # The signatures over the payload
6419 { # A DSSE signature
6420 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
6421 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
6422 },
6423 ],
6424 },
6425 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Describes the installation of a package on the linked resource.
6426 &quot;architecture&quot;: &quot;A String&quot;, # Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
6427 &quot;cpeUri&quot;: &quot;A String&quot;, # Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
6428 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
6429 &quot;comments&quot;: &quot;A String&quot;, # Comments
6430 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
6431 },
6432 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
6433 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. e.g. glibc was found in /var/lib/dpkg/status
6434 &quot;cpeUri&quot;: &quot;A String&quot;, # Deprecated. The cpe_uri in [cpe format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
6435 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
6436 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Deprecated. The version installed at this location.
6437 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
6438 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
6439 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
6440 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
6441 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
6442 },
6443 },
6444 ],
6445 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
6446 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
6447 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Output only. The version of the package.
6448 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
6449 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
6450 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
6451 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
6452 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
6453 },
6454 },
6455 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are specified. This field can be used as a filter in list requests.
6456 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
6457 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; This field can be used as a filter in list requests.
6458 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
6459 &quot;resource&quot;: { # Resource is an entity that can have metadata. E.g., a Docker image. # The resource for which the `Occurrence` applies.
6460 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
6461 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
6462 &quot;value&quot;: &quot;A String&quot;, # The hash value.
6463 },
6464 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
6465 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g., &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
6466 },
6467 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence` applies. For example, https://gcr.io/project/image@sha256:foo This field can be used as a filter in list requests.
6468 &quot;sbom&quot;: { # DocumentOccurrence represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # Describes a specific software bill of materials document.
6469 &quot;createTime&quot;: &quot;A String&quot;, # Identify when the SPDX file was originally created. The date is to be specified according to combined date and time in UTC format as specified in ISO 8601 standard
6470 &quot;creatorComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide general comments about the creation of the SPDX file or any other relevant comment not included in the other fields
6471 &quot;creators&quot;: [ # Identify who (or what, in the case of a tool) created the SPDX file. If the SPDX file was created by an individual, indicate the person&#x27;s name
6472 &quot;A String&quot;,
6473 ],
6474 &quot;documentComment&quot;: &quot;A String&quot;, # A field for creators of the SPDX file content to provide comments to the consumers of the SPDX document
6475 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
6476 &quot;A String&quot;,
6477 ],
6478 &quot;id&quot;: &quot;A String&quot;, # Identify the current SPDX document which may be referenced in relationships by other files, packages internally and documents externally
6479 &quot;licenseListVersion&quot;: &quot;A String&quot;, # A field for creators of the SPDX file to provide the version of the SPDX License List used when the SPDX file was created
6480 &quot;namespace&quot;: &quot;A String&quot;, # Provide an SPDX document specific namespace as a unique absolute Uniform Resource Identifier (URI) as specified in RFC-3986, with the exception of the ‘#’ delimiter
6481 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
6482 },
6483 &quot;sbomReference&quot;: { # The occurrence representing an SBOM reference as applied to a specific resource. The occurrence follows the DSSE specification. See https://github.com/secure-systems-lab/dsse/blob/master/envelope.md for more details. # This represents an SBOM reference occurrence
6484 &quot;payload&quot;: { # The actual payload that contains the SBOM Reference data. The payload follows the intoto statement specification. See https://github.com/in-toto/attestation/blob/main/spec/v1.0/statement.md for more details. # The actual payload that contains the SBOM reference data.
6485 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
6486 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
6487 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
6488 &quot;a_key&quot;: &quot;A String&quot;,
6489 },
6490 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
6491 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
6492 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
6493 },
6494 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
6495 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
6496 { # Subject refers to the subject of the intoto statement
6497 &quot;digest&quot;: { # &quot;&quot;: &quot;&quot; Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/v1/digest_set.md.
6498 &quot;a_key&quot;: &quot;A String&quot;,
6499 },
6500 &quot;name&quot;: &quot;A String&quot;, # name is the name of the Subject used here
6501 },
6502 ],
6503 },
6504 &quot;payloadType&quot;: &quot;A String&quot;, # The kind of payload that SbomReferenceIntotoPayload takes. Since it&#x27;s in the intoto format, this value is expected to be &#x27;application/vnd.in-toto+json&#x27;.
6505 &quot;signatures&quot;: [ # The signatures over the payload.
6506 { # A DSSE signature
6507 &quot;keyid&quot;: &quot;A String&quot;, # A reference id to the key being used for signing
6508 &quot;sig&quot;: &quot;A String&quot;, # The signature itself
6509 },
6510 ],
6511 },
6512 &quot;secret&quot;: { # The occurrence provides details of a secret. # This represents a secret occurrence
6513 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
6514 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
6515 { # The location of the secret.
6516 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
6517 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
6518 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
6519 &quot;baseImages&quot;: [ # The base images the layer is found within.
6520 { # BaseImage describes a base image of a container image.
6521 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
6522 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
6523 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
6524 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
6525 },
6526 ],
6527 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
6528 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
6529 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
6530 &quot;index&quot;: 42, # The index of the layer in the container image.
6531 },
6532 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
6533 },
6534 },
6535 ],
6536 &quot;statuses&quot;: [ # Optional. Status of the secret.
6537 { # The status of the secret with a timestamp.
6538 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
6539 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
6540 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
6541 },
6542 ],
6543 },
6544 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
6545 &quot;attributions&quot;: [ # This field provides a place for the SPDX data creator to record, at the file level, acknowledgements that may be needed to be communicated in some contexts
6546 &quot;A String&quot;,
6547 ],
6548 &quot;comment&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record any general comments about the file
6549 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
6550 &quot;A String&quot;,
6551 ],
6552 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
6553 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
6554 &quot;A String&quot;,
6555 ],
6556 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
6557 &quot;licenseConcluded&quot;: { # License information. # This field contains the license the SPDX file creator has concluded as governing the file or alternative values if the governing license cannot be determined
6558 &quot;comments&quot;: &quot;A String&quot;, # Comments
6559 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
6560 },
6561 &quot;notice&quot;: &quot;A String&quot;, # This field provides a place for the SPDX file creator to record license notices or other such related notices found in the file
6562 },
6563 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
6564 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
6565 &quot;filename&quot;: &quot;A String&quot;, # Provide the actual file name of the package, or path of the directory being treated as a package
6566 &quot;homePage&quot;: &quot;A String&quot;, # Output only. Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
6567 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
6568 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
6569 &quot;comments&quot;: &quot;A String&quot;, # Comments
6570 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
6571 },
6572 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
6573 &quot;sourceInfo&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record any relevant background information or additional comments about the origin of the package
6574 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
6575 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
6576 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
6577 },
6578 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific relationship between SPDX elements.
6579 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
6580 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
6581 &quot;target&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are &quot;known unknowns&quot;, the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it
6582 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
6583 },
6584 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
6585 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). # Describes an upgrade.
6586 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities. # Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence.
6587 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
6588 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
6589 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
6590 &quot;A String&quot;,
6591 ],
6592 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
6593 },
6594 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
6595 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in a machine + human readable form.
6596 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
6597 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
6598 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
6599 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
6600 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
6601 },
6602 },
6603 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how to fix it. # Details of a security vulnerability note.
6604 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity.
6605 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v2 score of this vulnerability.
6606 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
6607 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
6608 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
6609 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
6610 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
6611 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
6612 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
6613 &quot;exploitabilityScore&quot;: 3.14,
6614 &quot;impactScore&quot;: 3.14,
6615 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
6616 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
6617 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
6618 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
6619 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
6620 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
6621 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
6622 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
6623 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
6624 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
6625 },
6626 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The CVSS v3 score of this vulnerability.
6627 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
6628 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
6629 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
6630 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
6631 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
6632 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
6633 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
6634 &quot;exploitabilityScore&quot;: 3.14,
6635 &quot;impactScore&quot;: 3.14,
6636 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
6637 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
6638 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
6639 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
6640 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
6641 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
6642 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
6643 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
6644 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
6645 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
6646 },
6647 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # Optional. The CVSS v4 score of this vulnerability.
6648 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
6649 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
6650 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
6651 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
6652 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
6653 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
6654 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
6655 &quot;exploitabilityScore&quot;: 3.14,
6656 &quot;impactScore&quot;: 3.14,
6657 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
6658 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
6659 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
6660 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
6661 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
6662 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
6663 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
6664 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
6665 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
6666 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
6667 },
6668 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
6669 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from installed language packs (e.g. Maven JARs or Go binaries). For this reason, it is advised to use the effective severity on the PackageIssue level, as this field may eventually be deprecated. In the case where multiple PackageIssues have different effective severities, the one set here will be the highest severity of any of the PackageIssues.
6670 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
6671 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within the associated resource.
6672 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
6673 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
6674 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
6675 &quot;fileLocation&quot;: [ # The file location at which this package was found.
6676 { # Indicates the location at which a package was found.
6677 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
6678 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
6679 &quot;baseImages&quot;: [ # The base images the layer is found within.
6680 { # BaseImage describes a base image of a container image.
6681 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
6682 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
6683 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
6684 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
6685 },
6686 ],
6687 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
6688 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
6689 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
6690 &quot;index&quot;: 42, # The index of the layer in the container image.
6691 },
6692 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
6693 },
6694 ],
6695 &quot;package&quot;: &quot;A String&quot;, # The package being described.
6696 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
6697 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
6698 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
6699 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
6700 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
6701 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
6702 },
6703 },
6704 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when distro or language system has not yet assigned a severity for this vulnerability.
6705 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
6706 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
6707 &quot;fileLocation&quot;: [ # The file location at which this package was found.
6708 { # Indicates the location at which a package was found.
6709 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
6710 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
6711 &quot;baseImages&quot;: [ # The base images the layer is found within.
6712 { # BaseImage describes a base image of a container image.
6713 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
6714 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
6715 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
6716 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
6717 },
6718 ],
6719 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
6720 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
6721 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
6722 &quot;index&quot;: 42, # The index of the layer in the container image.
6723 },
6724 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
6725 },
6726 ],
6727 &quot;package&quot;: &quot;A String&quot;, # The package being described.
6728 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
6729 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
6730 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
6731 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
6732 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
6733 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
6734 },
6735 },
6736 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
6737 &quot;severityName&quot;: &quot;A String&quot;,
6738 },
6739 ],
6740 &quot;risk&quot;: { # The Risk message provides information about the risk of a vulnerability. # Risk information about the vulnerability, such as CISA, EPSS, etc.
6741 &quot;cisaKev&quot;: { # CISAKnownExploitedVulnerabilities provides information about whether the vulnerability is known to have been leveraged as part of a ransomware campaign. # Optional. CISA maintains the authoritative source of vulnerabilities that have been exploited in the wild.
6742 &quot;knownRansomwareCampaignUse&quot;: &quot;A String&quot;, # Optional. Whether the vulnerability is known to have been leveraged as part of a ransomware campaign.
6743 },
6744 &quot;epss&quot;: { # ExploitPredictionScoringSystem provides information about the Exploit Prediction Scoring System (EPSS) score and percentile. # Optional. The Exploit Prediction Scoring System (EPSS) estimates the likelihood (probability) that a software vulnerability will be exploited in the wild.
6745 &quot;percentile&quot;: 3.14, # Optional. The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score
6746 &quot;score&quot;: 3.14, # Optional. The EPSS score representing the probability [0-1] of exploitation in the wild in the next 30 days
6747 },
6748 },
6749 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
6750 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc). This may be deprecated in the future because we can have multiple PackageIssues with different package types.
6751 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability. # VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource.
6752 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
6753 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
6754 &quot;A String&quot;,
6755 ],
6756 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
6757 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
6758 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
6759 },
6760 &quot;noteName&quot;: &quot;A String&quot;, # The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`.
6761 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
6762 { # An URI message.
6763 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
6764 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
6765 },
6766 ],
6767 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
6768 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
6769 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
6770 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
6771 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
6772 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
6773 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
6774 },
6775 },
6776 ],
6777 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
6778 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
6779 },
6780 },
6781 }</pre>
6782 </div>
6783
6784 <div class="method">
6785 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
6786 <pre>Sets the access control policy on the specified `Note` or `Occurrence`. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a `Note` or an `Occurrence`, respectively. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes
6787
6788 Args:
6789 resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
6790 body: object, The request body.
6791 The object takes the form of:
6792
6793 { # Request message for `SetIamPolicy` method.
6794 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
6795 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
6796 { # Associates `members`, or principals, with a `role`.
6797 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
6798 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
6799 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
6800 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
6801 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
6802 },
6803 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
6804 &quot;A String&quot;,
6805 ],
6806 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
6807 },
6808 ],
6809 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
6810 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
6811 },
6812 }
6813
6814 x__xgafv: string, V1 error format.
6815 Allowed values
6816 1 - v1 error format
6817 2 - v2 error format
6818
6819 Returns:
6820 An object of the form:
6821
6822 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
6823 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
6824 { # Associates `members`, or principals, with a `role`.
6825 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
6826 &quot;description&quot;: &quot;A String&quot;, # Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.
6827 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
6828 &quot;location&quot;: &quot;A String&quot;, # Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.
6829 &quot;title&quot;: &quot;A String&quot;, # Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression.
6830 },
6831 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
6832 &quot;A String&quot;,
6833 ],
6834 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
6835 },
6836 ],
6837 &quot;etag&quot;: &quot;A String&quot;, # `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost.
6838 &quot;version&quot;: 42, # Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
6839 }</pre>
6840 </div>
6841
6842 <div class="method">
6843 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
6844 <pre>Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, &quot;storage.objects.list&quot; on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
6845
6846 Args:
6847 resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
6848 body: object, The request body.
6849 The object takes the form of:
6850
6851 { # Request message for `TestIamPermissions` method.
6852 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
6853 &quot;A String&quot;,
6854 ],
6855 }
6856
6857 x__xgafv: string, V1 error format.
6858 Allowed values
6859 1 - v1 error format
6860 2 - v2 error format
6861
6862 Returns:
6863 An object of the form:
6864
6865 { # Response message for `TestIamPermissions` method.
6866 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
6867 &quot;A String&quot;,
6868 ],
6869 }</pre>
6870 </div>
6871
6872 </body></html>