Debian Codegraph @

docs/dyn/containeranalysis_v1beta1.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_v1beta1.html">Container Analysis API</a> . <a href="containeranalysis_v1beta1.projects.html">projects</a> . <a href="containeranalysis_v1beta1.projects.occurrences.html">occurrences</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#batchCreate">batchCreate(parent, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Creates new occurrences in batch.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Creates a new occurrence.</p>
86 <p class="toc_element">
87 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Gets the specified occurrence.</p>
92 <p class="toc_element">
93 <code><a href="#getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
94 <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. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.</p>
95 <p class="toc_element">
96 <code><a href="#getNotes">getNotes(name, x__xgafv=None)</a></code></p>
97 <p class="firstline">Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.</p>
98 <p class="toc_element">
99 <code><a href="#getVulnerabilitySummary">getVulnerabilitySummary(parent, filter=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Gets a summary of the number and severity of occurrences.</p>
101 <p class="toc_element">
102 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Lists occurrences for the specified project.</p>
104 <p class="toc_element">
105 <code><a href="#list_next">list_next()</a></code></p>
106 <p class="firstline">Retrieves the next page of results.</p>
107 <p class="toc_element">
108 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
109 <p class="firstline">Updates the specified occurrence.</p>
110 <p class="toc_element">
111 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
112 <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. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.</p>
113 <p class="toc_element">
114 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
115 <p class="firstline">Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.</p>
116 <h3>Method Details</h3>
117 <div class="method">
118 <code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code>
119 <pre>Creates new occurrences in batch.
120
121 Args:
122 parent: string, Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created. (required)
123 body: object, The request body.
124 The object takes the form of:
125
126 { # Request to create occurrences in batch.
127 &quot;occurrences&quot;: [ # Required. The occurrences to create. Max allowed length is 1000.
128 { # An instance of an analysis type that has been found on a resource.
129 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
130 &quot;findings&quot;: [ # Findings produced by the analysis.
131 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
132 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
133 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
134 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
135 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
136 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
137 },
138 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
139 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
140 },
141 ],
142 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
143 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
144 },
145 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
146 &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 authority 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). # Required. Attestation for the resource.
147 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
148 &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).
149 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
150 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
151 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
152 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
153 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
154 },
155 ],
156 },
157 &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. # A PGP signed attestation.
158 &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).
159 &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`.
160 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
161 },
162 },
163 },
164 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
165 &quot;inTotoSlsaProvenanceV1&quot;: {
166 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
167 &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.
168 &quot;buildDefinition&quot;: {
169 &quot;buildType&quot;: &quot;A String&quot;,
170 &quot;externalParameters&quot;: {
171 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
172 },
173 &quot;internalParameters&quot;: {
174 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
175 },
176 &quot;resolvedDependencies&quot;: [
177 {
178 &quot;annotations&quot;: {
179 &quot;a_key&quot;: &quot;&quot;,
180 },
181 &quot;content&quot;: &quot;A String&quot;,
182 &quot;digest&quot;: {
183 &quot;a_key&quot;: &quot;A String&quot;,
184 },
185 &quot;downloadLocation&quot;: &quot;A String&quot;,
186 &quot;mediaType&quot;: &quot;A String&quot;,
187 &quot;name&quot;: &quot;A String&quot;,
188 &quot;uri&quot;: &quot;A String&quot;,
189 },
190 ],
191 },
192 &quot;runDetails&quot;: {
193 &quot;builder&quot;: {
194 &quot;builderDependencies&quot;: [
195 {
196 &quot;annotations&quot;: {
197 &quot;a_key&quot;: &quot;&quot;,
198 },
199 &quot;content&quot;: &quot;A String&quot;,
200 &quot;digest&quot;: {
201 &quot;a_key&quot;: &quot;A String&quot;,
202 },
203 &quot;downloadLocation&quot;: &quot;A String&quot;,
204 &quot;mediaType&quot;: &quot;A String&quot;,
205 &quot;name&quot;: &quot;A String&quot;,
206 &quot;uri&quot;: &quot;A String&quot;,
207 },
208 ],
209 &quot;id&quot;: &quot;A String&quot;,
210 &quot;version&quot;: {
211 &quot;a_key&quot;: &quot;A String&quot;,
212 },
213 },
214 &quot;byproducts&quot;: [
215 {
216 &quot;annotations&quot;: {
217 &quot;a_key&quot;: &quot;&quot;,
218 },
219 &quot;content&quot;: &quot;A String&quot;,
220 &quot;digest&quot;: {
221 &quot;a_key&quot;: &quot;A String&quot;,
222 },
223 &quot;downloadLocation&quot;: &quot;A String&quot;,
224 &quot;mediaType&quot;: &quot;A String&quot;,
225 &quot;name&quot;: &quot;A String&quot;,
226 &quot;uri&quot;: &quot;A String&quot;,
227 },
228 ],
229 &quot;metadata&quot;: {
230 &quot;finishedOn&quot;: &quot;A String&quot;,
231 &quot;invocationId&quot;: &quot;A String&quot;,
232 &quot;startedOn&quot;: &quot;A String&quot;,
233 },
234 },
235 },
236 &quot;predicateType&quot;: &quot;A String&quot;,
237 &quot;subject&quot;: [
238 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
239 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
240 &quot;a_key&quot;: &quot;A String&quot;,
241 },
242 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
243 },
244 ],
245 },
246 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
247 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
248 &quot;a_key&quot;: &quot;A String&quot;,
249 },
250 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
251 &quot;builtArtifacts&quot;: [ # Output of the build.
252 { # Artifact describes a build product.
253 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
254 &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`.
255 &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.
256 &quot;A String&quot;,
257 ],
258 },
259 ],
260 &quot;commands&quot;: [ # Commands requested by the build.
261 { # Command describes a step performed as part of the build pipeline.
262 &quot;args&quot;: [ # Command-line arguments used when executing this command.
263 &quot;A String&quot;,
264 ],
265 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
266 &quot;env&quot;: [ # Environment variables set before running this command.
267 &quot;A String&quot;,
268 ],
269 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
270 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
271 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
272 &quot;A String&quot;,
273 ],
274 },
275 ],
276 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
277 &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.
278 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
279 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
280 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
281 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
282 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
283 &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.
284 { # 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.
285 &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.
286 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
287 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
288 &quot;name&quot;: &quot;A String&quot;, # The alias name.
289 },
290 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
291 &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.
292 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
293 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
294 },
295 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
296 },
297 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
298 },
299 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
300 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
301 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
302 &quot;name&quot;: &quot;A String&quot;, # The alias name.
303 },
304 &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.
305 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
306 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
307 },
308 &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).
309 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
310 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
311 },
312 &quot;labels&quot;: { # Labels with user defined metadata.
313 &quot;a_key&quot;: &quot;A String&quot;,
314 },
315 },
316 ],
317 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
318 &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.
319 &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.
320 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
321 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
322 &quot;name&quot;: &quot;A String&quot;, # The alias name.
323 },
324 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
325 &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.
326 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
327 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
328 },
329 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
330 },
331 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
332 },
333 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
334 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
335 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
336 &quot;name&quot;: &quot;A String&quot;, # The alias name.
337 },
338 &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.
339 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
340 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
341 },
342 &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).
343 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
344 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
345 },
346 &quot;labels&quot;: { # Labels with user defined metadata.
347 &quot;a_key&quot;: &quot;A String&quot;,
348 },
349 },
350 &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.
351 &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.
352 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
353 { # Container message for hash values.
354 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
355 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
356 },
357 ],
358 },
359 },
360 },
361 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
362 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
363 },
364 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
365 },
366 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
367 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
368 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
369 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
370 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
371 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
372 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
373 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
374 &quot;A String&quot;,
375 ],
376 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
377 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
378 },
379 },
380 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
381 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
382 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
383 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
384 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
385 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
386 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
387 &quot;A String&quot;,
388 ],
389 &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.
390 },
391 &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.
392 { # Layer holds metadata specific to a layer of a Docker image.
393 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
394 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
395 },
396 ],
397 },
398 },
399 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
400 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
401 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
402 &quot;analysisType&quot;: [
403 &quot;A String&quot;,
404 ],
405 },
406 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
407 { # 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).
408 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
409 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
410 {
411 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
412 },
413 ],
414 &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.
415 },
416 ],
417 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
418 &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 is output only and populated by the API.
419 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
420 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
421 {
422 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
423 },
424 ],
425 &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.
426 },
427 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
428 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
429 {
430 &quot;digest&quot;: {
431 &quot;a_key&quot;: &quot;A String&quot;,
432 },
433 &quot;name&quot;: &quot;A String&quot;,
434 },
435 ],
436 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
437 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
438 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
439 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
440 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
441 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
442 },
443 },
444 },
445 &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
446 &quot;payload&quot;: &quot;A String&quot;,
447 &quot;payloadType&quot;: &quot;A String&quot;,
448 &quot;signatures&quot;: [
449 {
450 &quot;keyid&quot;: &quot;A String&quot;,
451 &quot;sig&quot;: &quot;A String&quot;,
452 },
453 ],
454 },
455 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
456 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
457 &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.
458 &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.
459 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
460 &quot;comments&quot;: &quot;A String&quot;, # Comments
461 &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;.
462 },
463 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
464 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
465 &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.
466 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
467 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
468 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
469 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
470 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
471 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
472 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
473 },
474 },
475 ],
476 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
477 &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.).
478 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
479 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
480 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
481 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
482 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
483 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
484 },
485 },
486 },
487 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
488 &quot;signatures&quot;: [
489 { # A signature object consists of the KeyID used and the signature itself.
490 &quot;keyid&quot;: &quot;A String&quot;,
491 &quot;sig&quot;: &quot;A String&quot;,
492 },
493 ],
494 &quot;signed&quot;: { # This corresponds to an in-toto link.
495 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
496 &quot;customValues&quot;: {
497 &quot;a_key&quot;: &quot;A String&quot;,
498 },
499 },
500 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
501 &quot;A String&quot;,
502 ],
503 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
504 &quot;customValues&quot;: {
505 &quot;a_key&quot;: &quot;A String&quot;,
506 },
507 },
508 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
509 {
510 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
511 &quot;sha256&quot;: &quot;A String&quot;,
512 },
513 &quot;resourceUri&quot;: &quot;A String&quot;,
514 },
515 ],
516 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
517 {
518 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
519 &quot;sha256&quot;: &quot;A String&quot;,
520 },
521 &quot;resourceUri&quot;: &quot;A String&quot;,
522 },
523 ],
524 },
525 },
526 &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.
527 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
528 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
529 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
530 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
531 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
532 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
533 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
534 },
535 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
536 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
537 },
538 &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.
539 &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
540 &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
541 &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
542 &quot;A String&quot;,
543 ],
544 &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
545 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
546 &quot;A String&quot;,
547 ],
548 &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
549 &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
550 &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
551 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
552 },
553 &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. # Describes a specific SBOM reference occurrences.
554 &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.
555 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
556 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
557 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
558 &quot;a_key&quot;: &quot;A String&quot;,
559 },
560 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
561 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
562 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
563 },
564 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
565 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
566 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
567 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
568 &quot;a_key&quot;: &quot;A String&quot;,
569 },
570 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
571 },
572 ],
573 },
574 &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;.
575 &quot;signatures&quot;: [ # The signatures over the payload.
576 {
577 &quot;keyid&quot;: &quot;A String&quot;,
578 &quot;sig&quot;: &quot;A String&quot;,
579 },
580 ],
581 },
582 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
583 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
584 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
585 { # The location of the secret.
586 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
587 &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.
588 },
589 },
590 ],
591 &quot;statuses&quot;: [ # Optional. Status of the secret.
592 { # The status of the secret with a timestamp.
593 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
594 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
595 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
596 },
597 ],
598 },
599 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
600 &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
601 &quot;A String&quot;,
602 ],
603 &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
604 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
605 &quot;A String&quot;,
606 ],
607 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
608 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
609 &quot;A String&quot;,
610 ],
611 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
612 &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
613 &quot;comments&quot;: &quot;A String&quot;, # Comments
614 &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;.
615 },
616 &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
617 },
618 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
619 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
620 &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
621 &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
622 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
623 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
624 &quot;comments&quot;: &quot;A String&quot;, # Comments
625 &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;.
626 },
627 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
628 &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
629 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
630 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
631 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
632 },
633 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
634 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
635 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
636 &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
637 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
638 },
639 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
640 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
641 &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.
642 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
643 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
644 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
645 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
646 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
647 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
648 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
649 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
650 &quot;exploitabilityScore&quot;: 3.14,
651 &quot;impactScore&quot;: 3.14,
652 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
653 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
654 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
655 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
656 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
657 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
658 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
659 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
660 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
661 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
662 },
663 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
664 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
665 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
666 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
667 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
668 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
669 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
670 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
671 &quot;exploitabilityScore&quot;: 3.14,
672 &quot;impactScore&quot;: 3.14,
673 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
674 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
675 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
676 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
677 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
678 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
679 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
680 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
681 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
682 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
683 },
684 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
685 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
686 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
687 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
688 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
689 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
690 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
691 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
692 &quot;exploitabilityScore&quot;: 3.14,
693 &quot;impactScore&quot;: 3.14,
694 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
695 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
696 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
697 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
698 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
699 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
700 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
701 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
702 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
703 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
704 },
705 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
706 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
707 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
708 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
709 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
710 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
711 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
712 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
713 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
714 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
715 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
716 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
717 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
718 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
719 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
720 },
721 },
722 &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 it is not available.
723 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
724 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
725 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
726 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
727 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
728 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
729 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
730 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
731 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
732 },
733 },
734 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
735 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
736 },
737 ],
738 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
739 { # Metadata for any related URL information.
740 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
741 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
742 },
743 ],
744 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
745 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
746 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
747 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
748 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
749 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
750 &quot;A String&quot;,
751 ],
752 &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.
753 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
754 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
755 },
756 &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]`.
757 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
758 { # Metadata for any related URL information.
759 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
760 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
761 },
762 ],
763 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
764 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
765 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
766 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
767 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
768 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
769 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
770 },
771 },
772 ],
773 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
774 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
775 },
776 },
777 },
778 ],
779 }
780
781 x__xgafv: string, V1 error format.
782 Allowed values
783 1 - v1 error format
784 2 - v2 error format
785
786 Returns:
787 An object of the form:
788
789 { # Response for creating occurrences in batch.
790 &quot;occurrences&quot;: [ # The occurrences that were created.
791 { # An instance of an analysis type that has been found on a resource.
792 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
793 &quot;findings&quot;: [ # Findings produced by the analysis.
794 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
795 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
796 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
797 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
798 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
799 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
800 },
801 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
802 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
803 },
804 ],
805 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
806 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
807 },
808 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
809 &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 authority 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). # Required. Attestation for the resource.
810 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
811 &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).
812 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
813 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
814 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
815 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
816 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
817 },
818 ],
819 },
820 &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. # A PGP signed attestation.
821 &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).
822 &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`.
823 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
824 },
825 },
826 },
827 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
828 &quot;inTotoSlsaProvenanceV1&quot;: {
829 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
830 &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.
831 &quot;buildDefinition&quot;: {
832 &quot;buildType&quot;: &quot;A String&quot;,
833 &quot;externalParameters&quot;: {
834 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
835 },
836 &quot;internalParameters&quot;: {
837 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
838 },
839 &quot;resolvedDependencies&quot;: [
840 {
841 &quot;annotations&quot;: {
842 &quot;a_key&quot;: &quot;&quot;,
843 },
844 &quot;content&quot;: &quot;A String&quot;,
845 &quot;digest&quot;: {
846 &quot;a_key&quot;: &quot;A String&quot;,
847 },
848 &quot;downloadLocation&quot;: &quot;A String&quot;,
849 &quot;mediaType&quot;: &quot;A String&quot;,
850 &quot;name&quot;: &quot;A String&quot;,
851 &quot;uri&quot;: &quot;A String&quot;,
852 },
853 ],
854 },
855 &quot;runDetails&quot;: {
856 &quot;builder&quot;: {
857 &quot;builderDependencies&quot;: [
858 {
859 &quot;annotations&quot;: {
860 &quot;a_key&quot;: &quot;&quot;,
861 },
862 &quot;content&quot;: &quot;A String&quot;,
863 &quot;digest&quot;: {
864 &quot;a_key&quot;: &quot;A String&quot;,
865 },
866 &quot;downloadLocation&quot;: &quot;A String&quot;,
867 &quot;mediaType&quot;: &quot;A String&quot;,
868 &quot;name&quot;: &quot;A String&quot;,
869 &quot;uri&quot;: &quot;A String&quot;,
870 },
871 ],
872 &quot;id&quot;: &quot;A String&quot;,
873 &quot;version&quot;: {
874 &quot;a_key&quot;: &quot;A String&quot;,
875 },
876 },
877 &quot;byproducts&quot;: [
878 {
879 &quot;annotations&quot;: {
880 &quot;a_key&quot;: &quot;&quot;,
881 },
882 &quot;content&quot;: &quot;A String&quot;,
883 &quot;digest&quot;: {
884 &quot;a_key&quot;: &quot;A String&quot;,
885 },
886 &quot;downloadLocation&quot;: &quot;A String&quot;,
887 &quot;mediaType&quot;: &quot;A String&quot;,
888 &quot;name&quot;: &quot;A String&quot;,
889 &quot;uri&quot;: &quot;A String&quot;,
890 },
891 ],
892 &quot;metadata&quot;: {
893 &quot;finishedOn&quot;: &quot;A String&quot;,
894 &quot;invocationId&quot;: &quot;A String&quot;,
895 &quot;startedOn&quot;: &quot;A String&quot;,
896 },
897 },
898 },
899 &quot;predicateType&quot;: &quot;A String&quot;,
900 &quot;subject&quot;: [
901 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
902 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
903 &quot;a_key&quot;: &quot;A String&quot;,
904 },
905 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
906 },
907 ],
908 },
909 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
910 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
911 &quot;a_key&quot;: &quot;A String&quot;,
912 },
913 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
914 &quot;builtArtifacts&quot;: [ # Output of the build.
915 { # Artifact describes a build product.
916 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
917 &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`.
918 &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.
919 &quot;A String&quot;,
920 ],
921 },
922 ],
923 &quot;commands&quot;: [ # Commands requested by the build.
924 { # Command describes a step performed as part of the build pipeline.
925 &quot;args&quot;: [ # Command-line arguments used when executing this command.
926 &quot;A String&quot;,
927 ],
928 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
929 &quot;env&quot;: [ # Environment variables set before running this command.
930 &quot;A String&quot;,
931 ],
932 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
933 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
934 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
935 &quot;A String&quot;,
936 ],
937 },
938 ],
939 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
940 &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.
941 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
942 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
943 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
944 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
945 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
946 &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.
947 { # 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.
948 &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.
949 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
950 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
951 &quot;name&quot;: &quot;A String&quot;, # The alias name.
952 },
953 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
954 &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.
955 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
956 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
957 },
958 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
959 },
960 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
961 },
962 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
963 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
964 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
965 &quot;name&quot;: &quot;A String&quot;, # The alias name.
966 },
967 &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.
968 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
969 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
970 },
971 &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).
972 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
973 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
974 },
975 &quot;labels&quot;: { # Labels with user defined metadata.
976 &quot;a_key&quot;: &quot;A String&quot;,
977 },
978 },
979 ],
980 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
981 &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.
982 &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.
983 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
984 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
985 &quot;name&quot;: &quot;A String&quot;, # The alias name.
986 },
987 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
988 &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.
989 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
990 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
991 },
992 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
993 },
994 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
995 },
996 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
997 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
998 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
999 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1000 },
1001 &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.
1002 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
1003 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
1004 },
1005 &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).
1006 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
1007 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
1008 },
1009 &quot;labels&quot;: { # Labels with user defined metadata.
1010 &quot;a_key&quot;: &quot;A String&quot;,
1011 },
1012 },
1013 &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.
1014 &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.
1015 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
1016 { # Container message for hash values.
1017 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
1018 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
1019 },
1020 ],
1021 },
1022 },
1023 },
1024 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
1025 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
1026 },
1027 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
1028 },
1029 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
1030 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
1031 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
1032 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
1033 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
1034 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
1035 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
1036 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
1037 &quot;A String&quot;,
1038 ],
1039 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
1040 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
1041 },
1042 },
1043 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
1044 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
1045 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
1046 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
1047 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
1048 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1049 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1050 &quot;A String&quot;,
1051 ],
1052 &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.
1053 },
1054 &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.
1055 { # Layer holds metadata specific to a layer of a Docker image.
1056 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
1057 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
1058 },
1059 ],
1060 },
1061 },
1062 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
1063 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
1064 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
1065 &quot;analysisType&quot;: [
1066 &quot;A String&quot;,
1067 ],
1068 },
1069 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
1070 { # 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).
1071 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1072 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1073 {
1074 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1075 },
1076 ],
1077 &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.
1078 },
1079 ],
1080 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
1081 &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 is output only and populated by the API.
1082 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1083 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1084 {
1085 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1086 },
1087 ],
1088 &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.
1089 },
1090 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
1091 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
1092 {
1093 &quot;digest&quot;: {
1094 &quot;a_key&quot;: &quot;A String&quot;,
1095 },
1096 &quot;name&quot;: &quot;A String&quot;,
1097 },
1098 ],
1099 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
1100 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
1101 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
1102 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
1103 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
1104 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
1105 },
1106 },
1107 },
1108 &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
1109 &quot;payload&quot;: &quot;A String&quot;,
1110 &quot;payloadType&quot;: &quot;A String&quot;,
1111 &quot;signatures&quot;: [
1112 {
1113 &quot;keyid&quot;: &quot;A String&quot;,
1114 &quot;sig&quot;: &quot;A String&quot;,
1115 },
1116 ],
1117 },
1118 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
1119 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
1120 &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.
1121 &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.
1122 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1123 &quot;comments&quot;: &quot;A String&quot;, # Comments
1124 &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;.
1125 },
1126 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
1127 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
1128 &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.
1129 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
1130 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
1131 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1132 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1133 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1134 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1135 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1136 },
1137 },
1138 ],
1139 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
1140 &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.).
1141 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
1142 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1143 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1144 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1145 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1146 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1147 },
1148 },
1149 },
1150 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
1151 &quot;signatures&quot;: [
1152 { # A signature object consists of the KeyID used and the signature itself.
1153 &quot;keyid&quot;: &quot;A String&quot;,
1154 &quot;sig&quot;: &quot;A String&quot;,
1155 },
1156 ],
1157 &quot;signed&quot;: { # This corresponds to an in-toto link.
1158 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
1159 &quot;customValues&quot;: {
1160 &quot;a_key&quot;: &quot;A String&quot;,
1161 },
1162 },
1163 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
1164 &quot;A String&quot;,
1165 ],
1166 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
1167 &quot;customValues&quot;: {
1168 &quot;a_key&quot;: &quot;A String&quot;,
1169 },
1170 },
1171 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
1172 {
1173 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
1174 &quot;sha256&quot;: &quot;A String&quot;,
1175 },
1176 &quot;resourceUri&quot;: &quot;A String&quot;,
1177 },
1178 ],
1179 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
1180 {
1181 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
1182 &quot;sha256&quot;: &quot;A String&quot;,
1183 },
1184 &quot;resourceUri&quot;: &quot;A String&quot;,
1185 },
1186 ],
1187 },
1188 },
1189 &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.
1190 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
1191 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
1192 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
1193 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
1194 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
1195 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
1196 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
1197 },
1198 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
1199 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
1200 },
1201 &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.
1202 &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
1203 &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
1204 &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
1205 &quot;A String&quot;,
1206 ],
1207 &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
1208 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
1209 &quot;A String&quot;,
1210 ],
1211 &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
1212 &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
1213 &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
1214 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
1215 },
1216 &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. # Describes a specific SBOM reference occurrences.
1217 &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.
1218 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
1219 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
1220 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
1221 &quot;a_key&quot;: &quot;A String&quot;,
1222 },
1223 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
1224 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
1225 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
1226 },
1227 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
1228 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
1229 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
1230 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
1231 &quot;a_key&quot;: &quot;A String&quot;,
1232 },
1233 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
1234 },
1235 ],
1236 },
1237 &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;.
1238 &quot;signatures&quot;: [ # The signatures over the payload.
1239 {
1240 &quot;keyid&quot;: &quot;A String&quot;,
1241 &quot;sig&quot;: &quot;A String&quot;,
1242 },
1243 ],
1244 },
1245 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
1246 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
1247 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
1248 { # The location of the secret.
1249 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
1250 &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.
1251 },
1252 },
1253 ],
1254 &quot;statuses&quot;: [ # Optional. Status of the secret.
1255 { # The status of the secret with a timestamp.
1256 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
1257 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
1258 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
1259 },
1260 ],
1261 },
1262 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
1263 &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
1264 &quot;A String&quot;,
1265 ],
1266 &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
1267 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
1268 &quot;A String&quot;,
1269 ],
1270 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
1271 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
1272 &quot;A String&quot;,
1273 ],
1274 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
1275 &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
1276 &quot;comments&quot;: &quot;A String&quot;, # Comments
1277 &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;.
1278 },
1279 &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
1280 },
1281 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
1282 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
1283 &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
1284 &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
1285 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
1286 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
1287 &quot;comments&quot;: &quot;A String&quot;, # Comments
1288 &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;.
1289 },
1290 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1291 &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
1292 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
1293 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
1294 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
1295 },
1296 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
1297 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
1298 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
1299 &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
1300 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
1301 },
1302 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
1303 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
1304 &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.
1305 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
1306 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1307 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1308 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1309 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1310 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1311 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1312 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1313 &quot;exploitabilityScore&quot;: 3.14,
1314 &quot;impactScore&quot;: 3.14,
1315 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1316 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1317 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1318 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1319 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1320 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1321 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1322 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1323 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1324 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1325 },
1326 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
1327 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1328 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1329 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1330 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1331 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1332 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1333 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1334 &quot;exploitabilityScore&quot;: 3.14,
1335 &quot;impactScore&quot;: 3.14,
1336 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1337 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1338 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1339 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1340 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1341 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1342 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1343 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1344 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1345 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1346 },
1347 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
1348 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1349 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1350 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1351 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1352 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1353 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1354 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1355 &quot;exploitabilityScore&quot;: 3.14,
1356 &quot;impactScore&quot;: 3.14,
1357 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1358 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1359 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1360 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1361 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1362 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1363 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1364 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1365 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1366 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1367 },
1368 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
1369 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
1370 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
1371 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
1372 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
1373 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
1374 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
1375 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
1376 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1377 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1378 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1379 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1380 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1381 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1382 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1383 },
1384 },
1385 &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 it is not available.
1386 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
1387 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
1388 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1389 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1390 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1391 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1392 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1393 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1394 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1395 },
1396 },
1397 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
1398 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
1399 },
1400 ],
1401 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
1402 { # Metadata for any related URL information.
1403 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1404 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1405 },
1406 ],
1407 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
1408 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
1409 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
1410 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
1411 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
1412 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1413 &quot;A String&quot;,
1414 ],
1415 &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.
1416 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1417 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1418 },
1419 &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]`.
1420 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
1421 { # Metadata for any related URL information.
1422 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1423 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1424 },
1425 ],
1426 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1427 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1428 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1429 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1430 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
1431 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1432 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1433 },
1434 },
1435 ],
1436 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1437 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1438 },
1439 },
1440 },
1441 ],
1442 }</pre>
1443 </div>
1444
1445 <div class="method">
1446 <code class="details" id="close">close()</code>
1447 <pre>Close httplib2 connections.</pre>
1448 </div>
1449
1450 <div class="method">
1451 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
1452 <pre>Creates a new occurrence.
1453
1454 Args:
1455 parent: string, Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created. (required)
1456 body: object, The request body.
1457 The object takes the form of:
1458
1459 { # An instance of an analysis type that has been found on a resource.
1460 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
1461 &quot;findings&quot;: [ # Findings produced by the analysis.
1462 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
1463 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
1464 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
1465 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
1466 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
1467 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
1468 },
1469 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
1470 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
1471 },
1472 ],
1473 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
1474 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
1475 },
1476 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
1477 &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 authority 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). # Required. Attestation for the resource.
1478 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
1479 &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).
1480 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
1481 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
1482 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
1483 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
1484 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
1485 },
1486 ],
1487 },
1488 &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. # A PGP signed attestation.
1489 &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).
1490 &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`.
1491 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
1492 },
1493 },
1494 },
1495 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
1496 &quot;inTotoSlsaProvenanceV1&quot;: {
1497 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
1498 &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.
1499 &quot;buildDefinition&quot;: {
1500 &quot;buildType&quot;: &quot;A String&quot;,
1501 &quot;externalParameters&quot;: {
1502 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1503 },
1504 &quot;internalParameters&quot;: {
1505 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
1506 },
1507 &quot;resolvedDependencies&quot;: [
1508 {
1509 &quot;annotations&quot;: {
1510 &quot;a_key&quot;: &quot;&quot;,
1511 },
1512 &quot;content&quot;: &quot;A String&quot;,
1513 &quot;digest&quot;: {
1514 &quot;a_key&quot;: &quot;A String&quot;,
1515 },
1516 &quot;downloadLocation&quot;: &quot;A String&quot;,
1517 &quot;mediaType&quot;: &quot;A String&quot;,
1518 &quot;name&quot;: &quot;A String&quot;,
1519 &quot;uri&quot;: &quot;A String&quot;,
1520 },
1521 ],
1522 },
1523 &quot;runDetails&quot;: {
1524 &quot;builder&quot;: {
1525 &quot;builderDependencies&quot;: [
1526 {
1527 &quot;annotations&quot;: {
1528 &quot;a_key&quot;: &quot;&quot;,
1529 },
1530 &quot;content&quot;: &quot;A String&quot;,
1531 &quot;digest&quot;: {
1532 &quot;a_key&quot;: &quot;A String&quot;,
1533 },
1534 &quot;downloadLocation&quot;: &quot;A String&quot;,
1535 &quot;mediaType&quot;: &quot;A String&quot;,
1536 &quot;name&quot;: &quot;A String&quot;,
1537 &quot;uri&quot;: &quot;A String&quot;,
1538 },
1539 ],
1540 &quot;id&quot;: &quot;A String&quot;,
1541 &quot;version&quot;: {
1542 &quot;a_key&quot;: &quot;A String&quot;,
1543 },
1544 },
1545 &quot;byproducts&quot;: [
1546 {
1547 &quot;annotations&quot;: {
1548 &quot;a_key&quot;: &quot;&quot;,
1549 },
1550 &quot;content&quot;: &quot;A String&quot;,
1551 &quot;digest&quot;: {
1552 &quot;a_key&quot;: &quot;A String&quot;,
1553 },
1554 &quot;downloadLocation&quot;: &quot;A String&quot;,
1555 &quot;mediaType&quot;: &quot;A String&quot;,
1556 &quot;name&quot;: &quot;A String&quot;,
1557 &quot;uri&quot;: &quot;A String&quot;,
1558 },
1559 ],
1560 &quot;metadata&quot;: {
1561 &quot;finishedOn&quot;: &quot;A String&quot;,
1562 &quot;invocationId&quot;: &quot;A String&quot;,
1563 &quot;startedOn&quot;: &quot;A String&quot;,
1564 },
1565 },
1566 },
1567 &quot;predicateType&quot;: &quot;A String&quot;,
1568 &quot;subject&quot;: [
1569 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
1570 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
1571 &quot;a_key&quot;: &quot;A String&quot;,
1572 },
1573 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
1574 },
1575 ],
1576 },
1577 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
1578 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
1579 &quot;a_key&quot;: &quot;A String&quot;,
1580 },
1581 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
1582 &quot;builtArtifacts&quot;: [ # Output of the build.
1583 { # Artifact describes a build product.
1584 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
1585 &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`.
1586 &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.
1587 &quot;A String&quot;,
1588 ],
1589 },
1590 ],
1591 &quot;commands&quot;: [ # Commands requested by the build.
1592 { # Command describes a step performed as part of the build pipeline.
1593 &quot;args&quot;: [ # Command-line arguments used when executing this command.
1594 &quot;A String&quot;,
1595 ],
1596 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
1597 &quot;env&quot;: [ # Environment variables set before running this command.
1598 &quot;A String&quot;,
1599 ],
1600 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
1601 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
1602 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
1603 &quot;A String&quot;,
1604 ],
1605 },
1606 ],
1607 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
1608 &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.
1609 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
1610 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
1611 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
1612 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
1613 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
1614 &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.
1615 { # 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.
1616 &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.
1617 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1618 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1619 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1620 },
1621 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
1622 &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.
1623 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
1624 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
1625 },
1626 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
1627 },
1628 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
1629 },
1630 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
1631 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1632 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1633 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1634 },
1635 &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.
1636 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
1637 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
1638 },
1639 &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).
1640 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
1641 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
1642 },
1643 &quot;labels&quot;: { # Labels with user defined metadata.
1644 &quot;a_key&quot;: &quot;A String&quot;,
1645 },
1646 },
1647 ],
1648 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
1649 &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.
1650 &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.
1651 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1652 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1653 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1654 },
1655 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
1656 &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.
1657 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
1658 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
1659 },
1660 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
1661 },
1662 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
1663 },
1664 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
1665 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
1666 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
1667 &quot;name&quot;: &quot;A String&quot;, # The alias name.
1668 },
1669 &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.
1670 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
1671 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
1672 },
1673 &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).
1674 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
1675 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
1676 },
1677 &quot;labels&quot;: { # Labels with user defined metadata.
1678 &quot;a_key&quot;: &quot;A String&quot;,
1679 },
1680 },
1681 &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.
1682 &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.
1683 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
1684 { # Container message for hash values.
1685 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
1686 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
1687 },
1688 ],
1689 },
1690 },
1691 },
1692 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
1693 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
1694 },
1695 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
1696 },
1697 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
1698 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
1699 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
1700 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
1701 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
1702 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
1703 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
1704 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
1705 &quot;A String&quot;,
1706 ],
1707 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
1708 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
1709 },
1710 },
1711 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
1712 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
1713 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
1714 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
1715 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
1716 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1717 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1718 &quot;A String&quot;,
1719 ],
1720 &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.
1721 },
1722 &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.
1723 { # Layer holds metadata specific to a layer of a Docker image.
1724 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
1725 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
1726 },
1727 ],
1728 },
1729 },
1730 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
1731 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
1732 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
1733 &quot;analysisType&quot;: [
1734 &quot;A String&quot;,
1735 ],
1736 },
1737 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
1738 { # 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).
1739 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1740 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1741 {
1742 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1743 },
1744 ],
1745 &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.
1746 },
1747 ],
1748 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
1749 &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 is output only and populated by the API.
1750 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
1751 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
1752 {
1753 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
1754 },
1755 ],
1756 &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.
1757 },
1758 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
1759 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
1760 {
1761 &quot;digest&quot;: {
1762 &quot;a_key&quot;: &quot;A String&quot;,
1763 },
1764 &quot;name&quot;: &quot;A String&quot;,
1765 },
1766 ],
1767 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
1768 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
1769 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
1770 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
1771 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
1772 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
1773 },
1774 },
1775 },
1776 &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
1777 &quot;payload&quot;: &quot;A String&quot;,
1778 &quot;payloadType&quot;: &quot;A String&quot;,
1779 &quot;signatures&quot;: [
1780 {
1781 &quot;keyid&quot;: &quot;A String&quot;,
1782 &quot;sig&quot;: &quot;A String&quot;,
1783 },
1784 ],
1785 },
1786 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
1787 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
1788 &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.
1789 &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.
1790 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1791 &quot;comments&quot;: &quot;A String&quot;, # Comments
1792 &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;.
1793 },
1794 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
1795 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
1796 &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.
1797 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
1798 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
1799 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1800 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1801 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1802 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1803 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1804 },
1805 },
1806 ],
1807 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
1808 &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.).
1809 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
1810 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1811 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1812 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1813 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1814 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1815 },
1816 },
1817 },
1818 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
1819 &quot;signatures&quot;: [
1820 { # A signature object consists of the KeyID used and the signature itself.
1821 &quot;keyid&quot;: &quot;A String&quot;,
1822 &quot;sig&quot;: &quot;A String&quot;,
1823 },
1824 ],
1825 &quot;signed&quot;: { # This corresponds to an in-toto link.
1826 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
1827 &quot;customValues&quot;: {
1828 &quot;a_key&quot;: &quot;A String&quot;,
1829 },
1830 },
1831 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
1832 &quot;A String&quot;,
1833 ],
1834 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
1835 &quot;customValues&quot;: {
1836 &quot;a_key&quot;: &quot;A String&quot;,
1837 },
1838 },
1839 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
1840 {
1841 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
1842 &quot;sha256&quot;: &quot;A String&quot;,
1843 },
1844 &quot;resourceUri&quot;: &quot;A String&quot;,
1845 },
1846 ],
1847 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
1848 {
1849 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
1850 &quot;sha256&quot;: &quot;A String&quot;,
1851 },
1852 &quot;resourceUri&quot;: &quot;A String&quot;,
1853 },
1854 ],
1855 },
1856 },
1857 &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.
1858 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
1859 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
1860 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
1861 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
1862 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
1863 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
1864 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
1865 },
1866 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
1867 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
1868 },
1869 &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.
1870 &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
1871 &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
1872 &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
1873 &quot;A String&quot;,
1874 ],
1875 &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
1876 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
1877 &quot;A String&quot;,
1878 ],
1879 &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
1880 &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
1881 &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
1882 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
1883 },
1884 &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. # Describes a specific SBOM reference occurrences.
1885 &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.
1886 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
1887 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
1888 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
1889 &quot;a_key&quot;: &quot;A String&quot;,
1890 },
1891 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
1892 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
1893 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
1894 },
1895 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
1896 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
1897 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
1898 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
1899 &quot;a_key&quot;: &quot;A String&quot;,
1900 },
1901 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
1902 },
1903 ],
1904 },
1905 &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;.
1906 &quot;signatures&quot;: [ # The signatures over the payload.
1907 {
1908 &quot;keyid&quot;: &quot;A String&quot;,
1909 &quot;sig&quot;: &quot;A String&quot;,
1910 },
1911 ],
1912 },
1913 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
1914 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
1915 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
1916 { # The location of the secret.
1917 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
1918 &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.
1919 },
1920 },
1921 ],
1922 &quot;statuses&quot;: [ # Optional. Status of the secret.
1923 { # The status of the secret with a timestamp.
1924 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
1925 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
1926 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
1927 },
1928 ],
1929 },
1930 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
1931 &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
1932 &quot;A String&quot;,
1933 ],
1934 &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
1935 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
1936 &quot;A String&quot;,
1937 ],
1938 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
1939 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
1940 &quot;A String&quot;,
1941 ],
1942 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
1943 &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
1944 &quot;comments&quot;: &quot;A String&quot;, # Comments
1945 &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;.
1946 },
1947 &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
1948 },
1949 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
1950 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
1951 &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
1952 &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
1953 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
1954 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
1955 &quot;comments&quot;: &quot;A String&quot;, # Comments
1956 &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;.
1957 },
1958 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1959 &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
1960 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
1961 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
1962 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
1963 },
1964 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
1965 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
1966 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
1967 &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
1968 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
1969 },
1970 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
1971 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
1972 &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.
1973 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
1974 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1975 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1976 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1977 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1978 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1979 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1980 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1981 &quot;exploitabilityScore&quot;: 3.14,
1982 &quot;impactScore&quot;: 3.14,
1983 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1984 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1985 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1986 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1987 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1988 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1989 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1990 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1991 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1992 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1993 },
1994 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
1995 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1996 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1997 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1998 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1999 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2000 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2001 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2002 &quot;exploitabilityScore&quot;: 3.14,
2003 &quot;impactScore&quot;: 3.14,
2004 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2005 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2006 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2007 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2008 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2009 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2010 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2011 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2012 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2013 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2014 },
2015 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
2016 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2017 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2018 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2019 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2020 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2021 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2022 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2023 &quot;exploitabilityScore&quot;: 3.14,
2024 &quot;impactScore&quot;: 3.14,
2025 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2026 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2027 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2028 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2029 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2030 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2031 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2032 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2033 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2034 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2035 },
2036 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
2037 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
2038 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
2039 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
2040 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
2041 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
2042 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
2043 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
2044 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2045 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2046 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2047 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2048 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2049 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2050 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2051 },
2052 },
2053 &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 it is not available.
2054 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
2055 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
2056 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2057 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2058 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2059 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2060 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2061 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2062 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2063 },
2064 },
2065 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
2066 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
2067 },
2068 ],
2069 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
2070 { # Metadata for any related URL information.
2071 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2072 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2073 },
2074 ],
2075 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
2076 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
2077 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
2078 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
2079 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
2080 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2081 &quot;A String&quot;,
2082 ],
2083 &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.
2084 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2085 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2086 },
2087 &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]`.
2088 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
2089 { # Metadata for any related URL information.
2090 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2091 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2092 },
2093 ],
2094 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2095 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2096 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2097 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2098 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
2099 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2100 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2101 },
2102 },
2103 ],
2104 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2105 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2106 },
2107 },
2108 }
2109
2110 x__xgafv: string, V1 error format.
2111 Allowed values
2112 1 - v1 error format
2113 2 - v2 error format
2114
2115 Returns:
2116 An object of the form:
2117
2118 { # An instance of an analysis type that has been found on a resource.
2119 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
2120 &quot;findings&quot;: [ # Findings produced by the analysis.
2121 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
2122 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
2123 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
2124 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
2125 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
2126 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
2127 },
2128 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
2129 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
2130 },
2131 ],
2132 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
2133 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
2134 },
2135 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
2136 &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 authority 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). # Required. Attestation for the resource.
2137 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
2138 &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).
2139 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
2140 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
2141 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
2142 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
2143 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
2144 },
2145 ],
2146 },
2147 &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. # A PGP signed attestation.
2148 &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).
2149 &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`.
2150 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
2151 },
2152 },
2153 },
2154 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
2155 &quot;inTotoSlsaProvenanceV1&quot;: {
2156 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
2157 &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.
2158 &quot;buildDefinition&quot;: {
2159 &quot;buildType&quot;: &quot;A String&quot;,
2160 &quot;externalParameters&quot;: {
2161 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2162 },
2163 &quot;internalParameters&quot;: {
2164 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2165 },
2166 &quot;resolvedDependencies&quot;: [
2167 {
2168 &quot;annotations&quot;: {
2169 &quot;a_key&quot;: &quot;&quot;,
2170 },
2171 &quot;content&quot;: &quot;A String&quot;,
2172 &quot;digest&quot;: {
2173 &quot;a_key&quot;: &quot;A String&quot;,
2174 },
2175 &quot;downloadLocation&quot;: &quot;A String&quot;,
2176 &quot;mediaType&quot;: &quot;A String&quot;,
2177 &quot;name&quot;: &quot;A String&quot;,
2178 &quot;uri&quot;: &quot;A String&quot;,
2179 },
2180 ],
2181 },
2182 &quot;runDetails&quot;: {
2183 &quot;builder&quot;: {
2184 &quot;builderDependencies&quot;: [
2185 {
2186 &quot;annotations&quot;: {
2187 &quot;a_key&quot;: &quot;&quot;,
2188 },
2189 &quot;content&quot;: &quot;A String&quot;,
2190 &quot;digest&quot;: {
2191 &quot;a_key&quot;: &quot;A String&quot;,
2192 },
2193 &quot;downloadLocation&quot;: &quot;A String&quot;,
2194 &quot;mediaType&quot;: &quot;A String&quot;,
2195 &quot;name&quot;: &quot;A String&quot;,
2196 &quot;uri&quot;: &quot;A String&quot;,
2197 },
2198 ],
2199 &quot;id&quot;: &quot;A String&quot;,
2200 &quot;version&quot;: {
2201 &quot;a_key&quot;: &quot;A String&quot;,
2202 },
2203 },
2204 &quot;byproducts&quot;: [
2205 {
2206 &quot;annotations&quot;: {
2207 &quot;a_key&quot;: &quot;&quot;,
2208 },
2209 &quot;content&quot;: &quot;A String&quot;,
2210 &quot;digest&quot;: {
2211 &quot;a_key&quot;: &quot;A String&quot;,
2212 },
2213 &quot;downloadLocation&quot;: &quot;A String&quot;,
2214 &quot;mediaType&quot;: &quot;A String&quot;,
2215 &quot;name&quot;: &quot;A String&quot;,
2216 &quot;uri&quot;: &quot;A String&quot;,
2217 },
2218 ],
2219 &quot;metadata&quot;: {
2220 &quot;finishedOn&quot;: &quot;A String&quot;,
2221 &quot;invocationId&quot;: &quot;A String&quot;,
2222 &quot;startedOn&quot;: &quot;A String&quot;,
2223 },
2224 },
2225 },
2226 &quot;predicateType&quot;: &quot;A String&quot;,
2227 &quot;subject&quot;: [
2228 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
2229 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
2230 &quot;a_key&quot;: &quot;A String&quot;,
2231 },
2232 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
2233 },
2234 ],
2235 },
2236 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
2237 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
2238 &quot;a_key&quot;: &quot;A String&quot;,
2239 },
2240 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
2241 &quot;builtArtifacts&quot;: [ # Output of the build.
2242 { # Artifact describes a build product.
2243 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
2244 &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`.
2245 &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.
2246 &quot;A String&quot;,
2247 ],
2248 },
2249 ],
2250 &quot;commands&quot;: [ # Commands requested by the build.
2251 { # Command describes a step performed as part of the build pipeline.
2252 &quot;args&quot;: [ # Command-line arguments used when executing this command.
2253 &quot;A String&quot;,
2254 ],
2255 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
2256 &quot;env&quot;: [ # Environment variables set before running this command.
2257 &quot;A String&quot;,
2258 ],
2259 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
2260 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
2261 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
2262 &quot;A String&quot;,
2263 ],
2264 },
2265 ],
2266 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
2267 &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.
2268 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
2269 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
2270 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
2271 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
2272 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
2273 &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.
2274 { # 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.
2275 &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.
2276 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2277 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2278 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2279 },
2280 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
2281 &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.
2282 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
2283 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
2284 },
2285 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
2286 },
2287 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
2288 },
2289 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
2290 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2291 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2292 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2293 },
2294 &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.
2295 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
2296 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
2297 },
2298 &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).
2299 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
2300 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
2301 },
2302 &quot;labels&quot;: { # Labels with user defined metadata.
2303 &quot;a_key&quot;: &quot;A String&quot;,
2304 },
2305 },
2306 ],
2307 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
2308 &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.
2309 &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.
2310 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2311 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2312 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2313 },
2314 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
2315 &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.
2316 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
2317 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
2318 },
2319 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
2320 },
2321 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
2322 },
2323 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
2324 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2325 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2326 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2327 },
2328 &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.
2329 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
2330 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
2331 },
2332 &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).
2333 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
2334 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
2335 },
2336 &quot;labels&quot;: { # Labels with user defined metadata.
2337 &quot;a_key&quot;: &quot;A String&quot;,
2338 },
2339 },
2340 &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.
2341 &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.
2342 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
2343 { # Container message for hash values.
2344 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
2345 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
2346 },
2347 ],
2348 },
2349 },
2350 },
2351 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
2352 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
2353 },
2354 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
2355 },
2356 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
2357 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
2358 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
2359 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
2360 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
2361 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
2362 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
2363 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
2364 &quot;A String&quot;,
2365 ],
2366 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
2367 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
2368 },
2369 },
2370 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
2371 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
2372 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
2373 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
2374 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
2375 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
2376 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
2377 &quot;A String&quot;,
2378 ],
2379 &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.
2380 },
2381 &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.
2382 { # Layer holds metadata specific to a layer of a Docker image.
2383 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
2384 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
2385 },
2386 ],
2387 },
2388 },
2389 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
2390 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
2391 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
2392 &quot;analysisType&quot;: [
2393 &quot;A String&quot;,
2394 ],
2395 },
2396 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
2397 { # 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).
2398 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2399 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2400 {
2401 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2402 },
2403 ],
2404 &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.
2405 },
2406 ],
2407 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
2408 &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 is output only and populated by the API.
2409 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2410 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2411 {
2412 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
2413 },
2414 ],
2415 &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.
2416 },
2417 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
2418 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
2419 {
2420 &quot;digest&quot;: {
2421 &quot;a_key&quot;: &quot;A String&quot;,
2422 },
2423 &quot;name&quot;: &quot;A String&quot;,
2424 },
2425 ],
2426 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
2427 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
2428 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
2429 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
2430 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
2431 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
2432 },
2433 },
2434 },
2435 &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
2436 &quot;payload&quot;: &quot;A String&quot;,
2437 &quot;payloadType&quot;: &quot;A String&quot;,
2438 &quot;signatures&quot;: [
2439 {
2440 &quot;keyid&quot;: &quot;A String&quot;,
2441 &quot;sig&quot;: &quot;A String&quot;,
2442 },
2443 ],
2444 },
2445 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
2446 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
2447 &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.
2448 &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.
2449 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
2450 &quot;comments&quot;: &quot;A String&quot;, # Comments
2451 &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;.
2452 },
2453 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
2454 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
2455 &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.
2456 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
2457 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
2458 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2459 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2460 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2461 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2462 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2463 },
2464 },
2465 ],
2466 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
2467 &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.).
2468 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
2469 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2470 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2471 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2472 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2473 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2474 },
2475 },
2476 },
2477 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
2478 &quot;signatures&quot;: [
2479 { # A signature object consists of the KeyID used and the signature itself.
2480 &quot;keyid&quot;: &quot;A String&quot;,
2481 &quot;sig&quot;: &quot;A String&quot;,
2482 },
2483 ],
2484 &quot;signed&quot;: { # This corresponds to an in-toto link.
2485 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
2486 &quot;customValues&quot;: {
2487 &quot;a_key&quot;: &quot;A String&quot;,
2488 },
2489 },
2490 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
2491 &quot;A String&quot;,
2492 ],
2493 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
2494 &quot;customValues&quot;: {
2495 &quot;a_key&quot;: &quot;A String&quot;,
2496 },
2497 },
2498 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
2499 {
2500 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
2501 &quot;sha256&quot;: &quot;A String&quot;,
2502 },
2503 &quot;resourceUri&quot;: &quot;A String&quot;,
2504 },
2505 ],
2506 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
2507 {
2508 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
2509 &quot;sha256&quot;: &quot;A String&quot;,
2510 },
2511 &quot;resourceUri&quot;: &quot;A String&quot;,
2512 },
2513 ],
2514 },
2515 },
2516 &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.
2517 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
2518 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
2519 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
2520 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
2521 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
2522 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
2523 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
2524 },
2525 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
2526 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
2527 },
2528 &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.
2529 &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
2530 &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
2531 &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
2532 &quot;A String&quot;,
2533 ],
2534 &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
2535 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
2536 &quot;A String&quot;,
2537 ],
2538 &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
2539 &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
2540 &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
2541 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
2542 },
2543 &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. # Describes a specific SBOM reference occurrences.
2544 &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.
2545 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
2546 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
2547 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
2548 &quot;a_key&quot;: &quot;A String&quot;,
2549 },
2550 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
2551 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
2552 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
2553 },
2554 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
2555 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
2556 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
2557 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
2558 &quot;a_key&quot;: &quot;A String&quot;,
2559 },
2560 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
2561 },
2562 ],
2563 },
2564 &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;.
2565 &quot;signatures&quot;: [ # The signatures over the payload.
2566 {
2567 &quot;keyid&quot;: &quot;A String&quot;,
2568 &quot;sig&quot;: &quot;A String&quot;,
2569 },
2570 ],
2571 },
2572 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
2573 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
2574 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
2575 { # The location of the secret.
2576 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
2577 &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.
2578 },
2579 },
2580 ],
2581 &quot;statuses&quot;: [ # Optional. Status of the secret.
2582 { # The status of the secret with a timestamp.
2583 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
2584 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
2585 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
2586 },
2587 ],
2588 },
2589 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
2590 &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
2591 &quot;A String&quot;,
2592 ],
2593 &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
2594 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
2595 &quot;A String&quot;,
2596 ],
2597 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
2598 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
2599 &quot;A String&quot;,
2600 ],
2601 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
2602 &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
2603 &quot;comments&quot;: &quot;A String&quot;, # Comments
2604 &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;.
2605 },
2606 &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
2607 },
2608 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
2609 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
2610 &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
2611 &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
2612 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
2613 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
2614 &quot;comments&quot;: &quot;A String&quot;, # Comments
2615 &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;.
2616 },
2617 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
2618 &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
2619 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
2620 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
2621 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
2622 },
2623 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
2624 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
2625 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
2626 &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
2627 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
2628 },
2629 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
2630 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
2631 &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.
2632 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
2633 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2634 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2635 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2636 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2637 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2638 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2639 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2640 &quot;exploitabilityScore&quot;: 3.14,
2641 &quot;impactScore&quot;: 3.14,
2642 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2643 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2644 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2645 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2646 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2647 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2648 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2649 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2650 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2651 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2652 },
2653 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
2654 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2655 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2656 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2657 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2658 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2659 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2660 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2661 &quot;exploitabilityScore&quot;: 3.14,
2662 &quot;impactScore&quot;: 3.14,
2663 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2664 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2665 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2666 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2667 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2668 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2669 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2670 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2671 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2672 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2673 },
2674 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
2675 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2676 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2677 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2678 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2679 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2680 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2681 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2682 &quot;exploitabilityScore&quot;: 3.14,
2683 &quot;impactScore&quot;: 3.14,
2684 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2685 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2686 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2687 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2688 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2689 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2690 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2691 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2692 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2693 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2694 },
2695 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
2696 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
2697 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
2698 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
2699 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
2700 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
2701 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
2702 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
2703 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2704 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2705 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2706 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2707 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2708 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2709 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2710 },
2711 },
2712 &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 it is not available.
2713 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
2714 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
2715 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2716 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2717 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2718 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2719 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2720 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2721 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2722 },
2723 },
2724 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
2725 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
2726 },
2727 ],
2728 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
2729 { # Metadata for any related URL information.
2730 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2731 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2732 },
2733 ],
2734 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
2735 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
2736 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
2737 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
2738 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
2739 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2740 &quot;A String&quot;,
2741 ],
2742 &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.
2743 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2744 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2745 },
2746 &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]`.
2747 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
2748 { # Metadata for any related URL information.
2749 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2750 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2751 },
2752 ],
2753 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2754 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2755 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2756 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2757 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
2758 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2759 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2760 },
2761 },
2762 ],
2763 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2764 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2765 },
2766 },
2767 }</pre>
2768 </div>
2769
2770 <div class="method">
2771 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
2772 <pre>Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.
2773
2774 Args:
2775 name: string, Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. (required)
2776 x__xgafv: string, V1 error format.
2777 Allowed values
2778 1 - v1 error format
2779 2 - v2 error format
2780
2781 Returns:
2782 An object of the form:
2783
2784 { # 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); }
2785 }</pre>
2786 </div>
2787
2788 <div class="method">
2789 <code class="details" id="get">get(name, x__xgafv=None)</code>
2790 <pre>Gets the specified occurrence.
2791
2792 Args:
2793 name: string, Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. (required)
2794 x__xgafv: string, V1 error format.
2795 Allowed values
2796 1 - v1 error format
2797 2 - v2 error format
2798
2799 Returns:
2800 An object of the form:
2801
2802 { # An instance of an analysis type that has been found on a resource.
2803 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
2804 &quot;findings&quot;: [ # Findings produced by the analysis.
2805 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
2806 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
2807 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
2808 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
2809 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
2810 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
2811 },
2812 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
2813 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
2814 },
2815 ],
2816 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
2817 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
2818 },
2819 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
2820 &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 authority 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). # Required. Attestation for the resource.
2821 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
2822 &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).
2823 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
2824 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
2825 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
2826 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
2827 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
2828 },
2829 ],
2830 },
2831 &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. # A PGP signed attestation.
2832 &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).
2833 &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`.
2834 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
2835 },
2836 },
2837 },
2838 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
2839 &quot;inTotoSlsaProvenanceV1&quot;: {
2840 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
2841 &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.
2842 &quot;buildDefinition&quot;: {
2843 &quot;buildType&quot;: &quot;A String&quot;,
2844 &quot;externalParameters&quot;: {
2845 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2846 },
2847 &quot;internalParameters&quot;: {
2848 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
2849 },
2850 &quot;resolvedDependencies&quot;: [
2851 {
2852 &quot;annotations&quot;: {
2853 &quot;a_key&quot;: &quot;&quot;,
2854 },
2855 &quot;content&quot;: &quot;A String&quot;,
2856 &quot;digest&quot;: {
2857 &quot;a_key&quot;: &quot;A String&quot;,
2858 },
2859 &quot;downloadLocation&quot;: &quot;A String&quot;,
2860 &quot;mediaType&quot;: &quot;A String&quot;,
2861 &quot;name&quot;: &quot;A String&quot;,
2862 &quot;uri&quot;: &quot;A String&quot;,
2863 },
2864 ],
2865 },
2866 &quot;runDetails&quot;: {
2867 &quot;builder&quot;: {
2868 &quot;builderDependencies&quot;: [
2869 {
2870 &quot;annotations&quot;: {
2871 &quot;a_key&quot;: &quot;&quot;,
2872 },
2873 &quot;content&quot;: &quot;A String&quot;,
2874 &quot;digest&quot;: {
2875 &quot;a_key&quot;: &quot;A String&quot;,
2876 },
2877 &quot;downloadLocation&quot;: &quot;A String&quot;,
2878 &quot;mediaType&quot;: &quot;A String&quot;,
2879 &quot;name&quot;: &quot;A String&quot;,
2880 &quot;uri&quot;: &quot;A String&quot;,
2881 },
2882 ],
2883 &quot;id&quot;: &quot;A String&quot;,
2884 &quot;version&quot;: {
2885 &quot;a_key&quot;: &quot;A String&quot;,
2886 },
2887 },
2888 &quot;byproducts&quot;: [
2889 {
2890 &quot;annotations&quot;: {
2891 &quot;a_key&quot;: &quot;&quot;,
2892 },
2893 &quot;content&quot;: &quot;A String&quot;,
2894 &quot;digest&quot;: {
2895 &quot;a_key&quot;: &quot;A String&quot;,
2896 },
2897 &quot;downloadLocation&quot;: &quot;A String&quot;,
2898 &quot;mediaType&quot;: &quot;A String&quot;,
2899 &quot;name&quot;: &quot;A String&quot;,
2900 &quot;uri&quot;: &quot;A String&quot;,
2901 },
2902 ],
2903 &quot;metadata&quot;: {
2904 &quot;finishedOn&quot;: &quot;A String&quot;,
2905 &quot;invocationId&quot;: &quot;A String&quot;,
2906 &quot;startedOn&quot;: &quot;A String&quot;,
2907 },
2908 },
2909 },
2910 &quot;predicateType&quot;: &quot;A String&quot;,
2911 &quot;subject&quot;: [
2912 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
2913 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
2914 &quot;a_key&quot;: &quot;A String&quot;,
2915 },
2916 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
2917 },
2918 ],
2919 },
2920 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
2921 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
2922 &quot;a_key&quot;: &quot;A String&quot;,
2923 },
2924 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
2925 &quot;builtArtifacts&quot;: [ # Output of the build.
2926 { # Artifact describes a build product.
2927 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
2928 &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`.
2929 &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.
2930 &quot;A String&quot;,
2931 ],
2932 },
2933 ],
2934 &quot;commands&quot;: [ # Commands requested by the build.
2935 { # Command describes a step performed as part of the build pipeline.
2936 &quot;args&quot;: [ # Command-line arguments used when executing this command.
2937 &quot;A String&quot;,
2938 ],
2939 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
2940 &quot;env&quot;: [ # Environment variables set before running this command.
2941 &quot;A String&quot;,
2942 ],
2943 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
2944 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
2945 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
2946 &quot;A String&quot;,
2947 ],
2948 },
2949 ],
2950 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
2951 &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.
2952 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
2953 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
2954 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
2955 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
2956 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
2957 &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.
2958 { # 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.
2959 &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.
2960 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2961 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2962 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2963 },
2964 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
2965 &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.
2966 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
2967 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
2968 },
2969 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
2970 },
2971 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
2972 },
2973 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
2974 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2975 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2976 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2977 },
2978 &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.
2979 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
2980 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
2981 },
2982 &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).
2983 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
2984 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
2985 },
2986 &quot;labels&quot;: { # Labels with user defined metadata.
2987 &quot;a_key&quot;: &quot;A String&quot;,
2988 },
2989 },
2990 ],
2991 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
2992 &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.
2993 &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.
2994 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
2995 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
2996 &quot;name&quot;: &quot;A String&quot;, # The alias name.
2997 },
2998 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
2999 &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.
3000 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
3001 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
3002 },
3003 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
3004 },
3005 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
3006 },
3007 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
3008 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
3009 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
3010 &quot;name&quot;: &quot;A String&quot;, # The alias name.
3011 },
3012 &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.
3013 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
3014 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
3015 },
3016 &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).
3017 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
3018 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
3019 },
3020 &quot;labels&quot;: { # Labels with user defined metadata.
3021 &quot;a_key&quot;: &quot;A String&quot;,
3022 },
3023 },
3024 &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.
3025 &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.
3026 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
3027 { # Container message for hash values.
3028 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
3029 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
3030 },
3031 ],
3032 },
3033 },
3034 },
3035 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
3036 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
3037 },
3038 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
3039 },
3040 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
3041 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
3042 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
3043 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
3044 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
3045 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
3046 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
3047 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
3048 &quot;A String&quot;,
3049 ],
3050 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
3051 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
3052 },
3053 },
3054 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
3055 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
3056 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
3057 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
3058 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
3059 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
3060 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
3061 &quot;A String&quot;,
3062 ],
3063 &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.
3064 },
3065 &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.
3066 { # Layer holds metadata specific to a layer of a Docker image.
3067 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
3068 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
3069 },
3070 ],
3071 },
3072 },
3073 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
3074 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
3075 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
3076 &quot;analysisType&quot;: [
3077 &quot;A String&quot;,
3078 ],
3079 },
3080 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
3081 { # 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).
3082 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
3083 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
3084 {
3085 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3086 },
3087 ],
3088 &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.
3089 },
3090 ],
3091 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
3092 &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 is output only and populated by the API.
3093 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
3094 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
3095 {
3096 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
3097 },
3098 ],
3099 &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.
3100 },
3101 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
3102 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
3103 {
3104 &quot;digest&quot;: {
3105 &quot;a_key&quot;: &quot;A String&quot;,
3106 },
3107 &quot;name&quot;: &quot;A String&quot;,
3108 },
3109 ],
3110 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
3111 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
3112 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
3113 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
3114 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
3115 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
3116 },
3117 },
3118 },
3119 &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
3120 &quot;payload&quot;: &quot;A String&quot;,
3121 &quot;payloadType&quot;: &quot;A String&quot;,
3122 &quot;signatures&quot;: [
3123 {
3124 &quot;keyid&quot;: &quot;A String&quot;,
3125 &quot;sig&quot;: &quot;A String&quot;,
3126 },
3127 ],
3128 },
3129 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
3130 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
3131 &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.
3132 &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.
3133 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
3134 &quot;comments&quot;: &quot;A String&quot;, # Comments
3135 &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;.
3136 },
3137 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
3138 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
3139 &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.
3140 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
3141 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
3142 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3143 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3144 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3145 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3146 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3147 },
3148 },
3149 ],
3150 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
3151 &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.).
3152 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
3153 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3154 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3155 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3156 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3157 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3158 },
3159 },
3160 },
3161 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
3162 &quot;signatures&quot;: [
3163 { # A signature object consists of the KeyID used and the signature itself.
3164 &quot;keyid&quot;: &quot;A String&quot;,
3165 &quot;sig&quot;: &quot;A String&quot;,
3166 },
3167 ],
3168 &quot;signed&quot;: { # This corresponds to an in-toto link.
3169 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
3170 &quot;customValues&quot;: {
3171 &quot;a_key&quot;: &quot;A String&quot;,
3172 },
3173 },
3174 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
3175 &quot;A String&quot;,
3176 ],
3177 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
3178 &quot;customValues&quot;: {
3179 &quot;a_key&quot;: &quot;A String&quot;,
3180 },
3181 },
3182 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
3183 {
3184 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
3185 &quot;sha256&quot;: &quot;A String&quot;,
3186 },
3187 &quot;resourceUri&quot;: &quot;A String&quot;,
3188 },
3189 ],
3190 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
3191 {
3192 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
3193 &quot;sha256&quot;: &quot;A String&quot;,
3194 },
3195 &quot;resourceUri&quot;: &quot;A String&quot;,
3196 },
3197 ],
3198 },
3199 },
3200 &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.
3201 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
3202 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
3203 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
3204 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
3205 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
3206 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
3207 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
3208 },
3209 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
3210 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
3211 },
3212 &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.
3213 &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
3214 &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
3215 &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
3216 &quot;A String&quot;,
3217 ],
3218 &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
3219 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
3220 &quot;A String&quot;,
3221 ],
3222 &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
3223 &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
3224 &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
3225 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
3226 },
3227 &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. # Describes a specific SBOM reference occurrences.
3228 &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.
3229 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
3230 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
3231 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
3232 &quot;a_key&quot;: &quot;A String&quot;,
3233 },
3234 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
3235 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
3236 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
3237 },
3238 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
3239 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
3240 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
3241 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
3242 &quot;a_key&quot;: &quot;A String&quot;,
3243 },
3244 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
3245 },
3246 ],
3247 },
3248 &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;.
3249 &quot;signatures&quot;: [ # The signatures over the payload.
3250 {
3251 &quot;keyid&quot;: &quot;A String&quot;,
3252 &quot;sig&quot;: &quot;A String&quot;,
3253 },
3254 ],
3255 },
3256 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
3257 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
3258 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
3259 { # The location of the secret.
3260 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
3261 &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.
3262 },
3263 },
3264 ],
3265 &quot;statuses&quot;: [ # Optional. Status of the secret.
3266 { # The status of the secret with a timestamp.
3267 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
3268 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
3269 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
3270 },
3271 ],
3272 },
3273 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
3274 &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
3275 &quot;A String&quot;,
3276 ],
3277 &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
3278 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
3279 &quot;A String&quot;,
3280 ],
3281 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
3282 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
3283 &quot;A String&quot;,
3284 ],
3285 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
3286 &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
3287 &quot;comments&quot;: &quot;A String&quot;, # Comments
3288 &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;.
3289 },
3290 &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
3291 },
3292 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
3293 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
3294 &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
3295 &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
3296 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
3297 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
3298 &quot;comments&quot;: &quot;A String&quot;, # Comments
3299 &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;.
3300 },
3301 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
3302 &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
3303 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
3304 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
3305 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
3306 },
3307 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
3308 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
3309 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
3310 &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
3311 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
3312 },
3313 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
3314 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
3315 &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.
3316 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
3317 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3318 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
3319 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
3320 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
3321 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
3322 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
3323 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
3324 &quot;exploitabilityScore&quot;: 3.14,
3325 &quot;impactScore&quot;: 3.14,
3326 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
3327 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
3328 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
3329 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
3330 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3331 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3332 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
3333 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3334 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3335 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3336 },
3337 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
3338 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3339 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
3340 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
3341 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
3342 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
3343 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
3344 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
3345 &quot;exploitabilityScore&quot;: 3.14,
3346 &quot;impactScore&quot;: 3.14,
3347 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
3348 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
3349 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
3350 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
3351 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3352 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3353 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
3354 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3355 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3356 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3357 },
3358 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
3359 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3360 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
3361 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
3362 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
3363 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
3364 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
3365 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
3366 &quot;exploitabilityScore&quot;: 3.14,
3367 &quot;impactScore&quot;: 3.14,
3368 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
3369 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
3370 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
3371 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
3372 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3373 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3374 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
3375 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3376 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3377 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3378 },
3379 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
3380 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
3381 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
3382 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
3383 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
3384 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
3385 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
3386 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
3387 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
3388 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
3389 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3390 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3391 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3392 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3393 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3394 },
3395 },
3396 &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 it is not available.
3397 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
3398 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
3399 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
3400 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
3401 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3402 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3403 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3404 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3405 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3406 },
3407 },
3408 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
3409 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
3410 },
3411 ],
3412 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
3413 { # Metadata for any related URL information.
3414 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
3415 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
3416 },
3417 ],
3418 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
3419 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
3420 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
3421 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
3422 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
3423 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
3424 &quot;A String&quot;,
3425 ],
3426 &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.
3427 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
3428 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
3429 },
3430 &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]`.
3431 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
3432 { # Metadata for any related URL information.
3433 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
3434 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
3435 },
3436 ],
3437 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
3438 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
3439 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
3440 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
3441 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
3442 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
3443 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
3444 },
3445 },
3446 ],
3447 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
3448 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
3449 },
3450 },
3451 }</pre>
3452 </div>
3453
3454 <div class="method">
3455 <code class="details" id="getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</code>
3456 <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. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
3457
3458 Args:
3459 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)
3460 body: object, The request body.
3461 The object takes the form of:
3462
3463 { # Request message for `GetIamPolicy` method.
3464 &quot;options&quot;: { # Encapsulates settings provided to GetIamPolicy. # OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
3465 &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).
3466 },
3467 }
3468
3469 x__xgafv: string, V1 error format.
3470 Allowed values
3471 1 - v1 error format
3472 2 - v2 error format
3473
3474 Returns:
3475 An object of the form:
3476
3477 { # 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/).
3478 &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`.
3479 { # Associates `members`, or principals, with a `role`.
3480 &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).
3481 &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.
3482 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
3483 &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.
3484 &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.
3485 },
3486 &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`.
3487 &quot;A String&quot;,
3488 ],
3489 &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).
3490 },
3491 ],
3492 &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.
3493 &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).
3494 }</pre>
3495 </div>
3496
3497 <div class="method">
3498 <code class="details" id="getNotes">getNotes(name, x__xgafv=None)</code>
3499 <pre>Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.
3500
3501 Args:
3502 name: string, Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. (required)
3503 x__xgafv: string, V1 error format.
3504 Allowed values
3505 1 - v1 error format
3506 2 - v2 error format
3507
3508 Returns:
3509 An object of the form:
3510
3511 { # A type of analysis that can be done for a resource.
3512 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
3513 },
3514 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `Authority` 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.
3515 &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. # Hint hints at the purpose of the attestation authority.
3516 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
3517 },
3518 },
3519 &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.
3520 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
3521 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
3522 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
3523 &quot;A String&quot;,
3524 ],
3525 &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.
3526 },
3527 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
3528 },
3529 &quot;build&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in the build details occurrence. # A note describing build provenance for a verifiable build.
3530 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
3531 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in occurrences pointing to this build note containing build details.
3532 &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).
3533 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
3534 &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`
3535 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
3536 },
3537 },
3538 &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.
3539 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
3540 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
3541 &quot;A String&quot;,
3542 ],
3543 },
3544 &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. # A note describing the initial analysis of a resource.
3545 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
3546 },
3547 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
3548 &quot;intoto&quot;: { # This contains the fields corresponding to the definition of a software supply chain step in an in-toto layout. This information goes into a Grafeas note. # A note describing an in-toto link.
3549 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
3550 &quot;A String&quot;,
3551 ],
3552 &quot;expectedMaterials&quot;: [ # The following fields contain in-toto artifact rules identifying the artifacts that enter this supply chain step, and exit the supply chain step, i.e. materials and products of the step.
3553 { # Defines an object to declare an in-toto artifact rule
3554 &quot;artifactRule&quot;: [
3555 &quot;A String&quot;,
3556 ],
3557 },
3558 ],
3559 &quot;expectedProducts&quot;: [
3560 { # Defines an object to declare an in-toto artifact rule
3561 &quot;artifactRule&quot;: [
3562 &quot;A String&quot;,
3563 ],
3564 },
3565 ],
3566 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
3567 { # This defines the format used to record keys used in the software supply chain. An in-toto link is attested using one or more keys defined in the in-toto layout. An example of this is: { &quot;key_id&quot;: &quot;776a00e29f3559e0141b3b096f696abc6cfb0c657ab40f441132b345b0...&quot;, &quot;key_type&quot;: &quot;rsa&quot;, &quot;public_key_value&quot;: &quot;-----BEGIN PUBLIC KEY-----\nMIIBojANBgkqhkiG9w0B...&quot;, &quot;key_scheme&quot;: &quot;rsassa-pss-sha256&quot; } The format for in-toto&#x27;s key definition can be found in section 4.2 of the in-toto specification.
3568 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
3569 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
3570 &quot;keyType&quot;: &quot;A String&quot;, # This field identifies the specific signing method. Eg: &quot;rsa&quot;, &quot;ed25519&quot;, and &quot;ecdsa&quot;.
3571 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
3572 },
3573 ],
3574 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
3575 &quot;threshold&quot;: &quot;A String&quot;, # This field contains a value that indicates the minimum number of keys that need to be used to sign the step&#x27;s in-toto link.
3576 },
3577 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
3578 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
3579 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
3580 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
3581 &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.
3582 &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.
3583 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
3584 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
3585 { # Digest information.
3586 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
3587 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
3588 },
3589 ],
3590 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
3591 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
3592 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
3593 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.
3594 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
3595 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
3596 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3597 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3598 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3599 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3600 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3601 },
3602 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
3603 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
3604 },
3605 ],
3606 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
3607 &quot;comments&quot;: &quot;A String&quot;, # Comments
3608 &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;.
3609 },
3610 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
3611 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
3612 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
3613 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
3614 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
3615 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3616 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3617 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3618 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3619 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3620 },
3621 },
3622 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
3623 &quot;A String&quot;,
3624 ],
3625 &quot;relatedUrl&quot;: [ # URLs associated with this note.
3626 { # Metadata for any related URL information.
3627 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
3628 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
3629 },
3630 ],
3631 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
3632 &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;)
3633 &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
3634 },
3635 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
3636 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
3637 &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.
3638 },
3639 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
3640 },
3641 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
3642 &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.
3643 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
3644 &quot;A String&quot;,
3645 ],
3646 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
3647 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
3648 },
3649 &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.
3650 &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
3651 &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
3652 &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
3653 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
3654 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
3655 &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
3656 &quot;externalRefs&quot;: [ # ExternalRef
3657 { # 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
3658 &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
3659 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
3660 &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
3661 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
3662 },
3663 ],
3664 &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
3665 &quot;A String&quot;,
3666 ],
3667 &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
3668 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
3669 &quot;comments&quot;: &quot;A String&quot;, # Comments
3670 &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;.
3671 },
3672 &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
3673 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
3674 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
3675 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
3676 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
3677 &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
3678 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
3679 },
3680 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
3681 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
3682 },
3683 &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.
3684 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
3685 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
3686 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
3687 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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.
3688 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3689 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
3690 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
3691 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
3692 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
3693 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
3694 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
3695 &quot;exploitabilityScore&quot;: 3.14,
3696 &quot;impactScore&quot;: 3.14,
3697 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
3698 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
3699 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
3700 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
3701 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3702 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3703 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
3704 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3705 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3706 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3707 },
3708 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
3709 &quot;attackComplexity&quot;: &quot;A String&quot;,
3710 &quot;attackVector&quot;: &quot;A String&quot;, # Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.
3711 &quot;availabilityImpact&quot;: &quot;A String&quot;,
3712 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
3713 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
3714 &quot;exploitabilityScore&quot;: 3.14,
3715 &quot;impactScore&quot;: 3.14,
3716 &quot;integrityImpact&quot;: &quot;A String&quot;,
3717 &quot;privilegesRequired&quot;: &quot;A String&quot;,
3718 &quot;scope&quot;: &quot;A String&quot;,
3719 &quot;userInteraction&quot;: &quot;A String&quot;,
3720 },
3721 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 4.
3722 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
3723 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
3724 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
3725 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
3726 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
3727 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
3728 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
3729 &quot;exploitabilityScore&quot;: 3.14,
3730 &quot;impactScore&quot;: 3.14,
3731 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
3732 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
3733 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
3734 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
3735 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
3736 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
3737 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
3738 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
3739 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
3740 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
3741 },
3742 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
3743 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
3744 &quot;A String&quot;,
3745 ],
3746 &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.
3747 { # Identifies all appearances 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
3748 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. 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.
3749 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
3750 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
3751 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
3752 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
3753 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
3754 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3755 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3756 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3757 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3758 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3759 },
3760 },
3761 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
3762 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
3763 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3764 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3765 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3766 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3767 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3768 },
3769 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
3770 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
3771 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
3772 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
3773 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
3774 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
3775 },
3776 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
3777 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
3778 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
3779 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
3780 &quot;sourceUpdateTime&quot;: &quot;A String&quot;, # The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
3781 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
3782 },
3783 ],
3784 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
3785 &quot;sourceUpdateTime&quot;: &quot;A String&quot;, # The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.
3786 &quot;windowsDetails&quot;: [ # Windows details get their own format because the information format and model don&#x27;t match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.
3787 {
3788 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. 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.
3789 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
3790 &quot;fixingKbs&quot;: [ # Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed kb&#x27;s presence is considered a fix.
3791 {
3792 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
3793 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
3794 },
3795 ],
3796 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
3797 },
3798 ],
3799 },
3800 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
3801 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
3802 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
3803 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
3804 &quot;A String&quot;,
3805 ],
3806 &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.
3807 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
3808 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
3809 },
3810 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
3811 &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.
3812 { # Metadata for any related URL information.
3813 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
3814 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
3815 },
3816 ],
3817 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
3818 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
3819 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
3820 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
3821 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
3822 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
3823 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
3824 },
3825 },
3826 ],
3827 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
3828 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
3829 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
3830 },
3831 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
3832 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
3833 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
3834 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
3835 &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.
3836 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
3837 },
3838 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
3839 &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.
3840 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
3841 &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
3842 },
3843 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
3844 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
3845 },
3846 }</pre>
3847 </div>
3848
3849 <div class="method">
3850 <code class="details" id="getVulnerabilitySummary">getVulnerabilitySummary(parent, filter=None, returnPartialSuccess=None, x__xgafv=None)</code>
3851 <pre>Gets a summary of the number and severity of occurrences.
3852
3853 Args:
3854 parent: string, Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`. (required)
3855 filter: string, The filter expression.
3856 returnPartialSuccess: boolean, If set, the request will return all reachable occurrence summaries and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.
3857 x__xgafv: string, V1 error format.
3858 Allowed values
3859 1 - v1 error format
3860 2 - v2 error format
3861
3862 Returns:
3863 An object of the form:
3864
3865 { # A summary of how many vulnerability occurrences there are per resource and severity type.
3866 &quot;counts&quot;: [ # A listing by resource of the number of fixable and total vulnerabilities.
3867 { # Per resource and severity counts of fixable and total vulnerabilities.
3868 &quot;fixableCount&quot;: &quot;A String&quot;, # The number of fixable vulnerabilities associated with this resource.
3869 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # The affected resource.
3870 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
3871 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
3872 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
3873 },
3874 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
3875 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
3876 },
3877 &quot;severity&quot;: &quot;A String&quot;, # The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.
3878 &quot;totalCount&quot;: &quot;A String&quot;, # The total number of vulnerabilities associated with this resource.
3879 },
3880 ],
3881 &quot;unreachable&quot;: [ # Unordered list. Unreachable regions. Populated for requests from the global region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]`
3882 &quot;A String&quot;,
3883 ],
3884 }</pre>
3885 </div>
3886
3887 <div class="method">
3888 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
3889 <pre>Lists occurrences for the specified project.
3890
3891 Args:
3892 parent: string, Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`. (required)
3893 filter: string, The filter expression.
3894 pageSize: integer, Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.
3895 pageToken: string, Token to provide to skip to a particular spot in the list.
3896 returnPartialSuccess: boolean, If set, the request will return all reachable Occurrences and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.
3897 x__xgafv: string, V1 error format.
3898 Allowed values
3899 1 - v1 error format
3900 2 - v2 error format
3901
3902 Returns:
3903 An object of the form:
3904
3905 { # Response for listing occurrences.
3906 &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.
3907 &quot;occurrences&quot;: [ # The occurrences requested.
3908 { # An instance of an analysis type that has been found on a resource.
3909 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
3910 &quot;findings&quot;: [ # Findings produced by the analysis.
3911 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
3912 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
3913 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
3914 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
3915 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
3916 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
3917 },
3918 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
3919 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
3920 },
3921 ],
3922 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
3923 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
3924 },
3925 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
3926 &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 authority 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). # Required. Attestation for the resource.
3927 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
3928 &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).
3929 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
3930 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
3931 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
3932 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
3933 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
3934 },
3935 ],
3936 },
3937 &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. # A PGP signed attestation.
3938 &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).
3939 &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`.
3940 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
3941 },
3942 },
3943 },
3944 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
3945 &quot;inTotoSlsaProvenanceV1&quot;: {
3946 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
3947 &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.
3948 &quot;buildDefinition&quot;: {
3949 &quot;buildType&quot;: &quot;A String&quot;,
3950 &quot;externalParameters&quot;: {
3951 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3952 },
3953 &quot;internalParameters&quot;: {
3954 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
3955 },
3956 &quot;resolvedDependencies&quot;: [
3957 {
3958 &quot;annotations&quot;: {
3959 &quot;a_key&quot;: &quot;&quot;,
3960 },
3961 &quot;content&quot;: &quot;A String&quot;,
3962 &quot;digest&quot;: {
3963 &quot;a_key&quot;: &quot;A String&quot;,
3964 },
3965 &quot;downloadLocation&quot;: &quot;A String&quot;,
3966 &quot;mediaType&quot;: &quot;A String&quot;,
3967 &quot;name&quot;: &quot;A String&quot;,
3968 &quot;uri&quot;: &quot;A String&quot;,
3969 },
3970 ],
3971 },
3972 &quot;runDetails&quot;: {
3973 &quot;builder&quot;: {
3974 &quot;builderDependencies&quot;: [
3975 {
3976 &quot;annotations&quot;: {
3977 &quot;a_key&quot;: &quot;&quot;,
3978 },
3979 &quot;content&quot;: &quot;A String&quot;,
3980 &quot;digest&quot;: {
3981 &quot;a_key&quot;: &quot;A String&quot;,
3982 },
3983 &quot;downloadLocation&quot;: &quot;A String&quot;,
3984 &quot;mediaType&quot;: &quot;A String&quot;,
3985 &quot;name&quot;: &quot;A String&quot;,
3986 &quot;uri&quot;: &quot;A String&quot;,
3987 },
3988 ],
3989 &quot;id&quot;: &quot;A String&quot;,
3990 &quot;version&quot;: {
3991 &quot;a_key&quot;: &quot;A String&quot;,
3992 },
3993 },
3994 &quot;byproducts&quot;: [
3995 {
3996 &quot;annotations&quot;: {
3997 &quot;a_key&quot;: &quot;&quot;,
3998 },
3999 &quot;content&quot;: &quot;A String&quot;,
4000 &quot;digest&quot;: {
4001 &quot;a_key&quot;: &quot;A String&quot;,
4002 },
4003 &quot;downloadLocation&quot;: &quot;A String&quot;,
4004 &quot;mediaType&quot;: &quot;A String&quot;,
4005 &quot;name&quot;: &quot;A String&quot;,
4006 &quot;uri&quot;: &quot;A String&quot;,
4007 },
4008 ],
4009 &quot;metadata&quot;: {
4010 &quot;finishedOn&quot;: &quot;A String&quot;,
4011 &quot;invocationId&quot;: &quot;A String&quot;,
4012 &quot;startedOn&quot;: &quot;A String&quot;,
4013 },
4014 },
4015 },
4016 &quot;predicateType&quot;: &quot;A String&quot;,
4017 &quot;subject&quot;: [
4018 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
4019 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
4020 &quot;a_key&quot;: &quot;A String&quot;,
4021 },
4022 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
4023 },
4024 ],
4025 },
4026 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
4027 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
4028 &quot;a_key&quot;: &quot;A String&quot;,
4029 },
4030 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
4031 &quot;builtArtifacts&quot;: [ # Output of the build.
4032 { # Artifact describes a build product.
4033 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
4034 &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`.
4035 &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.
4036 &quot;A String&quot;,
4037 ],
4038 },
4039 ],
4040 &quot;commands&quot;: [ # Commands requested by the build.
4041 { # Command describes a step performed as part of the build pipeline.
4042 &quot;args&quot;: [ # Command-line arguments used when executing this command.
4043 &quot;A String&quot;,
4044 ],
4045 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
4046 &quot;env&quot;: [ # Environment variables set before running this command.
4047 &quot;A String&quot;,
4048 ],
4049 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
4050 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
4051 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
4052 &quot;A String&quot;,
4053 ],
4054 },
4055 ],
4056 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
4057 &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.
4058 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
4059 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
4060 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
4061 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
4062 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
4063 &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.
4064 { # 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.
4065 &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.
4066 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4067 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4068 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4069 },
4070 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
4071 &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.
4072 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
4073 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
4074 },
4075 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
4076 },
4077 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
4078 },
4079 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
4080 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4081 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4082 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4083 },
4084 &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.
4085 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
4086 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
4087 },
4088 &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).
4089 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
4090 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
4091 },
4092 &quot;labels&quot;: { # Labels with user defined metadata.
4093 &quot;a_key&quot;: &quot;A String&quot;,
4094 },
4095 },
4096 ],
4097 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
4098 &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.
4099 &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.
4100 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4101 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4102 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4103 },
4104 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
4105 &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.
4106 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
4107 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
4108 },
4109 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
4110 },
4111 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
4112 },
4113 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
4114 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4115 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4116 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4117 },
4118 &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.
4119 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
4120 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
4121 },
4122 &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).
4123 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
4124 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
4125 },
4126 &quot;labels&quot;: { # Labels with user defined metadata.
4127 &quot;a_key&quot;: &quot;A String&quot;,
4128 },
4129 },
4130 &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.
4131 &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.
4132 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
4133 { # Container message for hash values.
4134 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
4135 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
4136 },
4137 ],
4138 },
4139 },
4140 },
4141 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
4142 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
4143 },
4144 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
4145 },
4146 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
4147 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
4148 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
4149 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
4150 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
4151 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
4152 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
4153 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
4154 &quot;A String&quot;,
4155 ],
4156 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
4157 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
4158 },
4159 },
4160 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
4161 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
4162 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
4163 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
4164 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
4165 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
4166 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
4167 &quot;A String&quot;,
4168 ],
4169 &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.
4170 },
4171 &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.
4172 { # Layer holds metadata specific to a layer of a Docker image.
4173 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
4174 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
4175 },
4176 ],
4177 },
4178 },
4179 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
4180 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
4181 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
4182 &quot;analysisType&quot;: [
4183 &quot;A String&quot;,
4184 ],
4185 },
4186 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
4187 { # 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).
4188 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4189 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4190 {
4191 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4192 },
4193 ],
4194 &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.
4195 },
4196 ],
4197 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
4198 &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 is output only and populated by the API.
4199 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4200 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4201 {
4202 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4203 },
4204 ],
4205 &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.
4206 },
4207 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
4208 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
4209 {
4210 &quot;digest&quot;: {
4211 &quot;a_key&quot;: &quot;A String&quot;,
4212 },
4213 &quot;name&quot;: &quot;A String&quot;,
4214 },
4215 ],
4216 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
4217 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
4218 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
4219 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
4220 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
4221 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
4222 },
4223 },
4224 },
4225 &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
4226 &quot;payload&quot;: &quot;A String&quot;,
4227 &quot;payloadType&quot;: &quot;A String&quot;,
4228 &quot;signatures&quot;: [
4229 {
4230 &quot;keyid&quot;: &quot;A String&quot;,
4231 &quot;sig&quot;: &quot;A String&quot;,
4232 },
4233 ],
4234 },
4235 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
4236 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
4237 &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.
4238 &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.
4239 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
4240 &quot;comments&quot;: &quot;A String&quot;, # Comments
4241 &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;.
4242 },
4243 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
4244 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
4245 &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.
4246 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
4247 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
4248 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4249 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
4250 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
4251 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
4252 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4253 },
4254 },
4255 ],
4256 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
4257 &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.).
4258 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
4259 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4260 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
4261 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
4262 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
4263 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4264 },
4265 },
4266 },
4267 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
4268 &quot;signatures&quot;: [
4269 { # A signature object consists of the KeyID used and the signature itself.
4270 &quot;keyid&quot;: &quot;A String&quot;,
4271 &quot;sig&quot;: &quot;A String&quot;,
4272 },
4273 ],
4274 &quot;signed&quot;: { # This corresponds to an in-toto link.
4275 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
4276 &quot;customValues&quot;: {
4277 &quot;a_key&quot;: &quot;A String&quot;,
4278 },
4279 },
4280 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
4281 &quot;A String&quot;,
4282 ],
4283 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
4284 &quot;customValues&quot;: {
4285 &quot;a_key&quot;: &quot;A String&quot;,
4286 },
4287 },
4288 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
4289 {
4290 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
4291 &quot;sha256&quot;: &quot;A String&quot;,
4292 },
4293 &quot;resourceUri&quot;: &quot;A String&quot;,
4294 },
4295 ],
4296 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
4297 {
4298 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
4299 &quot;sha256&quot;: &quot;A String&quot;,
4300 },
4301 &quot;resourceUri&quot;: &quot;A String&quot;,
4302 },
4303 ],
4304 },
4305 },
4306 &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.
4307 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
4308 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
4309 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
4310 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
4311 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
4312 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
4313 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
4314 },
4315 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
4316 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
4317 },
4318 &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.
4319 &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
4320 &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
4321 &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
4322 &quot;A String&quot;,
4323 ],
4324 &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
4325 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
4326 &quot;A String&quot;,
4327 ],
4328 &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
4329 &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
4330 &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
4331 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
4332 },
4333 &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. # Describes a specific SBOM reference occurrences.
4334 &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.
4335 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
4336 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
4337 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
4338 &quot;a_key&quot;: &quot;A String&quot;,
4339 },
4340 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
4341 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
4342 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
4343 },
4344 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
4345 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
4346 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
4347 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
4348 &quot;a_key&quot;: &quot;A String&quot;,
4349 },
4350 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
4351 },
4352 ],
4353 },
4354 &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;.
4355 &quot;signatures&quot;: [ # The signatures over the payload.
4356 {
4357 &quot;keyid&quot;: &quot;A String&quot;,
4358 &quot;sig&quot;: &quot;A String&quot;,
4359 },
4360 ],
4361 },
4362 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
4363 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
4364 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
4365 { # The location of the secret.
4366 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
4367 &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.
4368 },
4369 },
4370 ],
4371 &quot;statuses&quot;: [ # Optional. Status of the secret.
4372 { # The status of the secret with a timestamp.
4373 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
4374 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
4375 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
4376 },
4377 ],
4378 },
4379 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
4380 &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
4381 &quot;A String&quot;,
4382 ],
4383 &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
4384 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
4385 &quot;A String&quot;,
4386 ],
4387 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
4388 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
4389 &quot;A String&quot;,
4390 ],
4391 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
4392 &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
4393 &quot;comments&quot;: &quot;A String&quot;, # Comments
4394 &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;.
4395 },
4396 &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
4397 },
4398 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
4399 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
4400 &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
4401 &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
4402 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
4403 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
4404 &quot;comments&quot;: &quot;A String&quot;, # Comments
4405 &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;.
4406 },
4407 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
4408 &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
4409 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
4410 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
4411 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
4412 },
4413 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
4414 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
4415 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
4416 &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
4417 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
4418 },
4419 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
4420 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
4421 &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.
4422 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
4423 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
4424 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
4425 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
4426 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
4427 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
4428 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
4429 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
4430 &quot;exploitabilityScore&quot;: 3.14,
4431 &quot;impactScore&quot;: 3.14,
4432 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
4433 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
4434 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
4435 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
4436 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
4437 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
4438 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
4439 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
4440 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
4441 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
4442 },
4443 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
4444 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
4445 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
4446 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
4447 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
4448 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
4449 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
4450 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
4451 &quot;exploitabilityScore&quot;: 3.14,
4452 &quot;impactScore&quot;: 3.14,
4453 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
4454 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
4455 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
4456 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
4457 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
4458 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
4459 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
4460 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
4461 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
4462 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
4463 },
4464 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
4465 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
4466 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
4467 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
4468 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
4469 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
4470 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
4471 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
4472 &quot;exploitabilityScore&quot;: 3.14,
4473 &quot;impactScore&quot;: 3.14,
4474 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
4475 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
4476 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
4477 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
4478 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
4479 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
4480 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
4481 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
4482 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
4483 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
4484 },
4485 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
4486 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
4487 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
4488 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
4489 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
4490 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
4491 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
4492 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
4493 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
4494 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
4495 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4496 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
4497 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
4498 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
4499 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4500 },
4501 },
4502 &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 it is not available.
4503 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
4504 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
4505 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
4506 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
4507 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4508 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
4509 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
4510 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
4511 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4512 },
4513 },
4514 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
4515 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
4516 },
4517 ],
4518 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
4519 { # Metadata for any related URL information.
4520 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
4521 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
4522 },
4523 ],
4524 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
4525 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
4526 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
4527 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
4528 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
4529 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
4530 &quot;A String&quot;,
4531 ],
4532 &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.
4533 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
4534 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
4535 },
4536 &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]`.
4537 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
4538 { # Metadata for any related URL information.
4539 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
4540 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
4541 },
4542 ],
4543 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
4544 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
4545 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
4546 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
4547 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
4548 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
4549 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
4550 },
4551 },
4552 ],
4553 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
4554 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
4555 },
4556 },
4557 },
4558 ],
4559 &quot;unreachable&quot;: [ # Unordered list. Unreachable regions. Populated for requests from the global region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]`
4560 &quot;A String&quot;,
4561 ],
4562 }</pre>
4563 </div>
4564
4565 <div class="method">
4566 <code class="details" id="list_next">list_next()</code>
4567 <pre>Retrieves the next page of results.
4568
4569 Args:
4570 previous_request: The request for the previous page. (required)
4571 previous_response: The response from the request for the previous page. (required)
4572
4573 Returns:
4574 A request object that you can call &#x27;execute()&#x27; on to request the next
4575 page. Returns None if there are no more items in the collection.
4576 </pre>
4577 </div>
4578
4579 <div class="method">
4580 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
4581 <pre>Updates the specified occurrence.
4582
4583 Args:
4584 name: string, Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. (required)
4585 body: object, The request body.
4586 The object takes the form of:
4587
4588 { # An instance of an analysis type that has been found on a resource.
4589 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
4590 &quot;findings&quot;: [ # Findings produced by the analysis.
4591 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
4592 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
4593 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
4594 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
4595 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
4596 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
4597 },
4598 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
4599 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
4600 },
4601 ],
4602 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
4603 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
4604 },
4605 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
4606 &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 authority 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). # Required. Attestation for the resource.
4607 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
4608 &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).
4609 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
4610 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
4611 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
4612 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
4613 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
4614 },
4615 ],
4616 },
4617 &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. # A PGP signed attestation.
4618 &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).
4619 &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`.
4620 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
4621 },
4622 },
4623 },
4624 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
4625 &quot;inTotoSlsaProvenanceV1&quot;: {
4626 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
4627 &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.
4628 &quot;buildDefinition&quot;: {
4629 &quot;buildType&quot;: &quot;A String&quot;,
4630 &quot;externalParameters&quot;: {
4631 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4632 },
4633 &quot;internalParameters&quot;: {
4634 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
4635 },
4636 &quot;resolvedDependencies&quot;: [
4637 {
4638 &quot;annotations&quot;: {
4639 &quot;a_key&quot;: &quot;&quot;,
4640 },
4641 &quot;content&quot;: &quot;A String&quot;,
4642 &quot;digest&quot;: {
4643 &quot;a_key&quot;: &quot;A String&quot;,
4644 },
4645 &quot;downloadLocation&quot;: &quot;A String&quot;,
4646 &quot;mediaType&quot;: &quot;A String&quot;,
4647 &quot;name&quot;: &quot;A String&quot;,
4648 &quot;uri&quot;: &quot;A String&quot;,
4649 },
4650 ],
4651 },
4652 &quot;runDetails&quot;: {
4653 &quot;builder&quot;: {
4654 &quot;builderDependencies&quot;: [
4655 {
4656 &quot;annotations&quot;: {
4657 &quot;a_key&quot;: &quot;&quot;,
4658 },
4659 &quot;content&quot;: &quot;A String&quot;,
4660 &quot;digest&quot;: {
4661 &quot;a_key&quot;: &quot;A String&quot;,
4662 },
4663 &quot;downloadLocation&quot;: &quot;A String&quot;,
4664 &quot;mediaType&quot;: &quot;A String&quot;,
4665 &quot;name&quot;: &quot;A String&quot;,
4666 &quot;uri&quot;: &quot;A String&quot;,
4667 },
4668 ],
4669 &quot;id&quot;: &quot;A String&quot;,
4670 &quot;version&quot;: {
4671 &quot;a_key&quot;: &quot;A String&quot;,
4672 },
4673 },
4674 &quot;byproducts&quot;: [
4675 {
4676 &quot;annotations&quot;: {
4677 &quot;a_key&quot;: &quot;&quot;,
4678 },
4679 &quot;content&quot;: &quot;A String&quot;,
4680 &quot;digest&quot;: {
4681 &quot;a_key&quot;: &quot;A String&quot;,
4682 },
4683 &quot;downloadLocation&quot;: &quot;A String&quot;,
4684 &quot;mediaType&quot;: &quot;A String&quot;,
4685 &quot;name&quot;: &quot;A String&quot;,
4686 &quot;uri&quot;: &quot;A String&quot;,
4687 },
4688 ],
4689 &quot;metadata&quot;: {
4690 &quot;finishedOn&quot;: &quot;A String&quot;,
4691 &quot;invocationId&quot;: &quot;A String&quot;,
4692 &quot;startedOn&quot;: &quot;A String&quot;,
4693 },
4694 },
4695 },
4696 &quot;predicateType&quot;: &quot;A String&quot;,
4697 &quot;subject&quot;: [
4698 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
4699 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
4700 &quot;a_key&quot;: &quot;A String&quot;,
4701 },
4702 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
4703 },
4704 ],
4705 },
4706 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
4707 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
4708 &quot;a_key&quot;: &quot;A String&quot;,
4709 },
4710 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
4711 &quot;builtArtifacts&quot;: [ # Output of the build.
4712 { # Artifact describes a build product.
4713 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
4714 &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`.
4715 &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.
4716 &quot;A String&quot;,
4717 ],
4718 },
4719 ],
4720 &quot;commands&quot;: [ # Commands requested by the build.
4721 { # Command describes a step performed as part of the build pipeline.
4722 &quot;args&quot;: [ # Command-line arguments used when executing this command.
4723 &quot;A String&quot;,
4724 ],
4725 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
4726 &quot;env&quot;: [ # Environment variables set before running this command.
4727 &quot;A String&quot;,
4728 ],
4729 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
4730 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
4731 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
4732 &quot;A String&quot;,
4733 ],
4734 },
4735 ],
4736 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
4737 &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.
4738 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
4739 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
4740 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
4741 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
4742 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
4743 &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.
4744 { # 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.
4745 &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.
4746 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4747 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4748 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4749 },
4750 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
4751 &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.
4752 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
4753 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
4754 },
4755 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
4756 },
4757 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
4758 },
4759 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
4760 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4761 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4762 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4763 },
4764 &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.
4765 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
4766 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
4767 },
4768 &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).
4769 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
4770 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
4771 },
4772 &quot;labels&quot;: { # Labels with user defined metadata.
4773 &quot;a_key&quot;: &quot;A String&quot;,
4774 },
4775 },
4776 ],
4777 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
4778 &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.
4779 &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.
4780 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4781 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4782 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4783 },
4784 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
4785 &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.
4786 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
4787 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
4788 },
4789 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
4790 },
4791 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
4792 },
4793 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
4794 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
4795 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
4796 &quot;name&quot;: &quot;A String&quot;, # The alias name.
4797 },
4798 &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.
4799 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
4800 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
4801 },
4802 &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).
4803 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
4804 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
4805 },
4806 &quot;labels&quot;: { # Labels with user defined metadata.
4807 &quot;a_key&quot;: &quot;A String&quot;,
4808 },
4809 },
4810 &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.
4811 &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.
4812 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
4813 { # Container message for hash values.
4814 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
4815 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
4816 },
4817 ],
4818 },
4819 },
4820 },
4821 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
4822 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
4823 },
4824 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
4825 },
4826 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
4827 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
4828 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
4829 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
4830 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
4831 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
4832 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
4833 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
4834 &quot;A String&quot;,
4835 ],
4836 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
4837 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
4838 },
4839 },
4840 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
4841 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
4842 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
4843 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
4844 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
4845 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
4846 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
4847 &quot;A String&quot;,
4848 ],
4849 &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.
4850 },
4851 &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.
4852 { # Layer holds metadata specific to a layer of a Docker image.
4853 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
4854 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
4855 },
4856 ],
4857 },
4858 },
4859 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
4860 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
4861 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
4862 &quot;analysisType&quot;: [
4863 &quot;A String&quot;,
4864 ],
4865 },
4866 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
4867 { # 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).
4868 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4869 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4870 {
4871 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4872 },
4873 ],
4874 &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.
4875 },
4876 ],
4877 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
4878 &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 is output only and populated by the API.
4879 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
4880 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
4881 {
4882 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
4883 },
4884 ],
4885 &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.
4886 },
4887 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
4888 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
4889 {
4890 &quot;digest&quot;: {
4891 &quot;a_key&quot;: &quot;A String&quot;,
4892 },
4893 &quot;name&quot;: &quot;A String&quot;,
4894 },
4895 ],
4896 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
4897 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
4898 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
4899 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
4900 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
4901 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
4902 },
4903 },
4904 },
4905 &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
4906 &quot;payload&quot;: &quot;A String&quot;,
4907 &quot;payloadType&quot;: &quot;A String&quot;,
4908 &quot;signatures&quot;: [
4909 {
4910 &quot;keyid&quot;: &quot;A String&quot;,
4911 &quot;sig&quot;: &quot;A String&quot;,
4912 },
4913 ],
4914 },
4915 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
4916 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
4917 &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.
4918 &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.
4919 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
4920 &quot;comments&quot;: &quot;A String&quot;, # Comments
4921 &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;.
4922 },
4923 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
4924 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
4925 &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.
4926 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
4927 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
4928 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4929 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
4930 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
4931 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
4932 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4933 },
4934 },
4935 ],
4936 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
4937 &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.).
4938 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
4939 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
4940 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
4941 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
4942 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
4943 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
4944 },
4945 },
4946 },
4947 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
4948 &quot;signatures&quot;: [
4949 { # A signature object consists of the KeyID used and the signature itself.
4950 &quot;keyid&quot;: &quot;A String&quot;,
4951 &quot;sig&quot;: &quot;A String&quot;,
4952 },
4953 ],
4954 &quot;signed&quot;: { # This corresponds to an in-toto link.
4955 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
4956 &quot;customValues&quot;: {
4957 &quot;a_key&quot;: &quot;A String&quot;,
4958 },
4959 },
4960 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
4961 &quot;A String&quot;,
4962 ],
4963 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
4964 &quot;customValues&quot;: {
4965 &quot;a_key&quot;: &quot;A String&quot;,
4966 },
4967 },
4968 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
4969 {
4970 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
4971 &quot;sha256&quot;: &quot;A String&quot;,
4972 },
4973 &quot;resourceUri&quot;: &quot;A String&quot;,
4974 },
4975 ],
4976 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
4977 {
4978 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
4979 &quot;sha256&quot;: &quot;A String&quot;,
4980 },
4981 &quot;resourceUri&quot;: &quot;A String&quot;,
4982 },
4983 ],
4984 },
4985 },
4986 &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.
4987 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
4988 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
4989 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
4990 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
4991 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
4992 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
4993 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
4994 },
4995 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
4996 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
4997 },
4998 &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.
4999 &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
5000 &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
5001 &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
5002 &quot;A String&quot;,
5003 ],
5004 &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
5005 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
5006 &quot;A String&quot;,
5007 ],
5008 &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
5009 &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
5010 &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
5011 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
5012 },
5013 &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. # Describes a specific SBOM reference occurrences.
5014 &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.
5015 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
5016 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
5017 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
5018 &quot;a_key&quot;: &quot;A String&quot;,
5019 },
5020 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
5021 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
5022 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
5023 },
5024 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
5025 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
5026 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
5027 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
5028 &quot;a_key&quot;: &quot;A String&quot;,
5029 },
5030 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
5031 },
5032 ],
5033 },
5034 &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;.
5035 &quot;signatures&quot;: [ # The signatures over the payload.
5036 {
5037 &quot;keyid&quot;: &quot;A String&quot;,
5038 &quot;sig&quot;: &quot;A String&quot;,
5039 },
5040 ],
5041 },
5042 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
5043 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
5044 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
5045 { # The location of the secret.
5046 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
5047 &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.
5048 },
5049 },
5050 ],
5051 &quot;statuses&quot;: [ # Optional. Status of the secret.
5052 { # The status of the secret with a timestamp.
5053 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
5054 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
5055 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
5056 },
5057 ],
5058 },
5059 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
5060 &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
5061 &quot;A String&quot;,
5062 ],
5063 &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
5064 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
5065 &quot;A String&quot;,
5066 ],
5067 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
5068 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
5069 &quot;A String&quot;,
5070 ],
5071 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
5072 &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
5073 &quot;comments&quot;: &quot;A String&quot;, # Comments
5074 &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;.
5075 },
5076 &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
5077 },
5078 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
5079 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
5080 &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
5081 &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
5082 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
5083 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
5084 &quot;comments&quot;: &quot;A String&quot;, # Comments
5085 &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;.
5086 },
5087 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
5088 &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
5089 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
5090 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
5091 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
5092 },
5093 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
5094 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
5095 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
5096 &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
5097 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
5098 },
5099 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
5100 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
5101 &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.
5102 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
5103 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5104 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
5105 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
5106 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
5107 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
5108 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
5109 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
5110 &quot;exploitabilityScore&quot;: 3.14,
5111 &quot;impactScore&quot;: 3.14,
5112 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
5113 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
5114 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
5115 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
5116 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5117 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5118 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
5119 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5120 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5121 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5122 },
5123 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
5124 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5125 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
5126 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
5127 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
5128 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
5129 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
5130 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
5131 &quot;exploitabilityScore&quot;: 3.14,
5132 &quot;impactScore&quot;: 3.14,
5133 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
5134 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
5135 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
5136 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
5137 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5138 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5139 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
5140 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5141 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5142 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5143 },
5144 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
5145 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5146 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
5147 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
5148 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
5149 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
5150 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
5151 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
5152 &quot;exploitabilityScore&quot;: 3.14,
5153 &quot;impactScore&quot;: 3.14,
5154 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
5155 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
5156 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
5157 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
5158 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5159 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5160 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
5161 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5162 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5163 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5164 },
5165 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
5166 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
5167 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
5168 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
5169 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
5170 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
5171 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
5172 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
5173 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
5174 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
5175 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5176 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
5177 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
5178 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
5179 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5180 },
5181 },
5182 &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 it is not available.
5183 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
5184 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
5185 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
5186 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
5187 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5188 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
5189 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
5190 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
5191 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5192 },
5193 },
5194 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
5195 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
5196 },
5197 ],
5198 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
5199 { # Metadata for any related URL information.
5200 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
5201 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
5202 },
5203 ],
5204 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
5205 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
5206 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
5207 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
5208 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
5209 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
5210 &quot;A String&quot;,
5211 ],
5212 &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.
5213 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
5214 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
5215 },
5216 &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]`.
5217 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
5218 { # Metadata for any related URL information.
5219 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
5220 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
5221 },
5222 ],
5223 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
5224 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
5225 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
5226 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
5227 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
5228 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
5229 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
5230 },
5231 },
5232 ],
5233 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
5234 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
5235 },
5236 },
5237 }
5238
5239 updateMask: string, The fields to update.
5240 x__xgafv: string, V1 error format.
5241 Allowed values
5242 1 - v1 error format
5243 2 - v2 error format
5244
5245 Returns:
5246 An object of the form:
5247
5248 { # An instance of an analysis type that has been found on a resource.
5249 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisOccurrence provides the results of an AI-based skill analysis. # Describes a specific AI Skill Analysis occurrence.
5250 &quot;findings&quot;: [ # Findings produced by the analysis.
5251 { # Finding provides details for a single finding within an AISkillAnalysisOccurrence.
5252 &quot;category&quot;: &quot;A String&quot;, # Category of the finding.
5253 &quot;details&quot;: &quot;A String&quot;, # Description of the finding category.
5254 &quot;location&quot;: { # Location details with file path and line number. # Location (path and line) where the finding was detected.
5255 &quot;filePath&quot;: &quot;A String&quot;, # Relative path of the file containing the finding.
5256 &quot;lineNumber&quot;: &quot;A String&quot;, # Line number (1-based), or 0 if whole File / unknown.
5257 },
5258 &quot;scanner&quot;: &quot;A String&quot;, # Scanner determines which engine (e.g. static, llm) emitted the finding.
5259 &quot;severity&quot;: &quot;A String&quot;, # Severity of the finding.
5260 },
5261 ],
5262 &quot;maxSeverity&quot;: &quot;A String&quot;, # Maximum severity found among findings.
5263 &quot;skillName&quot;: &quot;A String&quot;, # Name of the skill that produced this analysis.
5264 },
5265 &quot;attestation&quot;: { # Details of an attestation occurrence. # Describes an attestation of an artifact.
5266 &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 authority 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). # Required. Attestation for the resource.
5267 &quot;genericSignedAttestation&quot;: { # An attestation wrapper that uses the Grafeas `Signature` message. This attestation must define the `serialized_payload` that the `signatures` verify and any metadata necessary to interpret that plaintext. The signatures should always be over the `serialized_payload` bytestring.
5268 &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).
5269 &quot;serializedPayload&quot;: &quot;A String&quot;, # The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`.
5270 &quot;signatures&quot;: [ # One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.
5271 { # Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be &quot;attached&quot; (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any &quot;attached&quot; payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).
5272 &quot;publicKeyId&quot;: &quot;A String&quot;, # The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * &quot;openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA&quot; See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * &quot;ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU&quot; * &quot;nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5&quot;
5273 &quot;signature&quot;: &quot;A String&quot;, # The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.
5274 },
5275 ],
5276 },
5277 &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. # A PGP signed attestation.
5278 &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).
5279 &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`.
5280 &quot;signature&quot;: &quot;A String&quot;, # Required. 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.
5281 },
5282 },
5283 },
5284 &quot;build&quot;: { # Details of a build occurrence. # Describes a verifiable build.
5285 &quot;inTotoSlsaProvenanceV1&quot;: {
5286 &quot;_type&quot;: &quot;A String&quot;, # InToto spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement
5287 &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.
5288 &quot;buildDefinition&quot;: {
5289 &quot;buildType&quot;: &quot;A String&quot;,
5290 &quot;externalParameters&quot;: {
5291 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5292 },
5293 &quot;internalParameters&quot;: {
5294 &quot;a_key&quot;: &quot;&quot;, # Properties of the object.
5295 },
5296 &quot;resolvedDependencies&quot;: [
5297 {
5298 &quot;annotations&quot;: {
5299 &quot;a_key&quot;: &quot;&quot;,
5300 },
5301 &quot;content&quot;: &quot;A String&quot;,
5302 &quot;digest&quot;: {
5303 &quot;a_key&quot;: &quot;A String&quot;,
5304 },
5305 &quot;downloadLocation&quot;: &quot;A String&quot;,
5306 &quot;mediaType&quot;: &quot;A String&quot;,
5307 &quot;name&quot;: &quot;A String&quot;,
5308 &quot;uri&quot;: &quot;A String&quot;,
5309 },
5310 ],
5311 },
5312 &quot;runDetails&quot;: {
5313 &quot;builder&quot;: {
5314 &quot;builderDependencies&quot;: [
5315 {
5316 &quot;annotations&quot;: {
5317 &quot;a_key&quot;: &quot;&quot;,
5318 },
5319 &quot;content&quot;: &quot;A String&quot;,
5320 &quot;digest&quot;: {
5321 &quot;a_key&quot;: &quot;A String&quot;,
5322 },
5323 &quot;downloadLocation&quot;: &quot;A String&quot;,
5324 &quot;mediaType&quot;: &quot;A String&quot;,
5325 &quot;name&quot;: &quot;A String&quot;,
5326 &quot;uri&quot;: &quot;A String&quot;,
5327 },
5328 ],
5329 &quot;id&quot;: &quot;A String&quot;,
5330 &quot;version&quot;: {
5331 &quot;a_key&quot;: &quot;A String&quot;,
5332 },
5333 },
5334 &quot;byproducts&quot;: [
5335 {
5336 &quot;annotations&quot;: {
5337 &quot;a_key&quot;: &quot;&quot;,
5338 },
5339 &quot;content&quot;: &quot;A String&quot;,
5340 &quot;digest&quot;: {
5341 &quot;a_key&quot;: &quot;A String&quot;,
5342 },
5343 &quot;downloadLocation&quot;: &quot;A String&quot;,
5344 &quot;mediaType&quot;: &quot;A String&quot;,
5345 &quot;name&quot;: &quot;A String&quot;,
5346 &quot;uri&quot;: &quot;A String&quot;,
5347 },
5348 ],
5349 &quot;metadata&quot;: {
5350 &quot;finishedOn&quot;: &quot;A String&quot;,
5351 &quot;invocationId&quot;: &quot;A String&quot;,
5352 &quot;startedOn&quot;: &quot;A String&quot;,
5353 },
5354 },
5355 },
5356 &quot;predicateType&quot;: &quot;A String&quot;,
5357 &quot;subject&quot;: [
5358 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
5359 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
5360 &quot;a_key&quot;: &quot;A String&quot;,
5361 },
5362 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
5363 },
5364 ],
5365 },
5366 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full details about the build from source to completion. # Required. The actual provenance for the build.
5367 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.
5368 &quot;a_key&quot;: &quot;A String&quot;,
5369 },
5370 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
5371 &quot;builtArtifacts&quot;: [ # Output of the build.
5372 { # Artifact describes a build product.
5373 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.
5374 &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`.
5375 &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.
5376 &quot;A String&quot;,
5377 ],
5378 },
5379 ],
5380 &quot;commands&quot;: [ # Commands requested by the build.
5381 { # Command describes a step performed as part of the build pipeline.
5382 &quot;args&quot;: [ # Command-line arguments used when executing this command.
5383 &quot;A String&quot;,
5384 ],
5385 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running this command.
5386 &quot;env&quot;: [ # Environment variables set before running this command.
5387 &quot;A String&quot;,
5388 ],
5389 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this command, used in wait_for to reference this command as a dependency.
5390 &quot;name&quot;: &quot;A String&quot;, # Required. 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`.
5391 &quot;waitFor&quot;: [ # The ID(s) of the command(s) that this command depends on.
5392 &quot;A String&quot;,
5393 ],
5394 },
5395 ],
5396 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
5397 &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.
5398 &quot;endTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
5399 &quot;id&quot;: &quot;A String&quot;, # Required. Unique identifier of the build.
5400 &quot;logsUri&quot;: &quot;A String&quot;, # URI where any logs for this provenance were written.
5401 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
5402 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
5403 &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.
5404 { # 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.
5405 &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.
5406 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5407 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5408 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5409 },
5410 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
5411 &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.
5412 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
5413 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
5414 },
5415 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
5416 },
5417 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
5418 },
5419 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
5420 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5421 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5422 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5423 },
5424 &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.
5425 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
5426 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
5427 },
5428 &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).
5429 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
5430 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
5431 },
5432 &quot;labels&quot;: { # Labels with user defined metadata.
5433 &quot;a_key&quot;: &quot;A String&quot;,
5434 },
5435 },
5436 ],
5437 &quot;artifactStorageSourceUri&quot;: &quot;A String&quot;, # If provided, the input binary artifacts for the build came from this location.
5438 &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.
5439 &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.
5440 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5441 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5442 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5443 },
5444 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
5445 &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.
5446 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
5447 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
5448 },
5449 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
5450 },
5451 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
5452 },
5453 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
5454 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
5455 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
5456 &quot;name&quot;: &quot;A String&quot;, # The alias name.
5457 },
5458 &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.
5459 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
5460 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
5461 },
5462 &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).
5463 &quot;revisionId&quot;: &quot;A String&quot;, # Git commit hash.
5464 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
5465 },
5466 &quot;labels&quot;: { # Labels with user defined metadata.
5467 &quot;a_key&quot;: &quot;A String&quot;,
5468 },
5469 },
5470 &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.
5471 &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.
5472 &quot;fileHash&quot;: [ # Required. Collection of file hashes.
5473 { # Container message for hash values.
5474 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
5475 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
5476 },
5477 ],
5478 },
5479 },
5480 },
5481 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
5482 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
5483 },
5484 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. 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.
5485 },
5486 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was created.
5487 &quot;deployment&quot;: { # Details of a deployment occurrence. # Describes the deployment of an artifact on a runtime.
5488 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Required. Deployment history for the resource.
5489 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
5490 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
5491 &quot;deployTime&quot;: &quot;A String&quot;, # Required. Beginning of the lifetime of this deployment.
5492 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
5493 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.
5494 &quot;A String&quot;,
5495 ],
5496 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
5497 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
5498 },
5499 },
5500 &quot;derivedImage&quot;: { # Details of an image occurrence. # Describes how this resource derives from the basis in the associated note.
5501 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM . # Required. Immutable. The child image derived from the base image.
5502 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image occurrence.
5503 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the associated image basis.
5504 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. The fingerprint of the derived image.
5505 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
5506 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
5507 &quot;A String&quot;,
5508 ],
5509 &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.
5510 },
5511 &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.
5512 { # Layer holds metadata specific to a layer of a Docker image.
5513 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
5514 &quot;directive&quot;: &quot;A String&quot;, # Required. The recovered Dockerfile directive used to construct this layer.
5515 },
5516 ],
5517 },
5518 },
5519 &quot;discovered&quot;: { # Details of a discovery occurrence. # Describes when a resource was discovered.
5520 &quot;discovered&quot;: { # Provides information about the analysis status of a discovered resource. # Required. Analysis status for the discovered resource.
5521 &quot;analysisCompleted&quot;: { # Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.
5522 &quot;analysisType&quot;: [
5523 &quot;A String&quot;,
5524 ],
5525 },
5526 &quot;analysisError&quot;: [ # Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.
5527 { # 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).
5528 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
5529 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
5530 {
5531 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5532 },
5533 ],
5534 &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.
5535 },
5536 ],
5537 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
5538 &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 is output only and populated by the API.
5539 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
5540 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
5541 {
5542 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
5543 },
5544 ],
5545 &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.
5546 },
5547 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
5548 &quot;files&quot;: [ # Files that make up the resource described by the occurrence.
5549 {
5550 &quot;digest&quot;: {
5551 &quot;a_key&quot;: &quot;A String&quot;,
5552 },
5553 &quot;name&quot;: &quot;A String&quot;,
5554 },
5555 ],
5556 &quot;lastAnalysisTime&quot;: &quot;A String&quot;, # The last time continuous analysis was done for this resource. Deprecated, do not use.
5557 &quot;lastScanTime&quot;: &quot;A String&quot;, # The last time this resource was scanned.
5558 &quot;lastVulnerabilityUpdateTime&quot;: &quot;A String&quot;, # The last time vulnerability scan results changed.
5559 &quot;sbomStatus&quot;: { # The status of an SBOM generation. # The status of an SBOM generation.
5560 &quot;error&quot;: &quot;A String&quot;, # If there was an error generating an SBOM, this will indicate what that error was.
5561 &quot;sbomState&quot;: &quot;A String&quot;, # The progress of the SBOM generation.
5562 },
5563 },
5564 },
5565 &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
5566 &quot;payload&quot;: &quot;A String&quot;,
5567 &quot;payloadType&quot;: &quot;A String&quot;,
5568 &quot;signatures&quot;: [
5569 {
5570 &quot;keyid&quot;: &quot;A String&quot;,
5571 &quot;sig&quot;: &quot;A String&quot;,
5572 },
5573 ],
5574 },
5575 &quot;installation&quot;: { # Details of a package occurrence. # Describes the installation of a package on the linked resource.
5576 &quot;installation&quot;: { # This represents how a particular software package may be installed on a system. # Required. Where the package was installed.
5577 &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.
5578 &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.
5579 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
5580 &quot;comments&quot;: &quot;A String&quot;, # Comments
5581 &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;.
5582 },
5583 &quot;location&quot;: [ # All of the places within the filesystem versions of this package have been found.
5584 { # An occurrence of a particular package installation found within a system&#x27;s filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.
5585 &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.
5586 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
5587 &quot;version&quot;: { # Version contains structured information about the version of a package. # Deprecated. The version installed at this location.
5588 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5589 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
5590 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
5591 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
5592 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5593 },
5594 },
5595 ],
5596 &quot;name&quot;: &quot;A String&quot;, # Required. Output only. The name of the installed package.
5597 &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.).
5598 &quot;version&quot;: { # Version contains structured information about the version of a package. # Output only. The version of the package.
5599 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5600 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
5601 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
5602 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
5603 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5604 },
5605 },
5606 },
5607 &quot;intoto&quot;: { # This corresponds to a signed in-toto link - it is made up of one or more signatures and the in-toto link itself. This is used for occurrences of a Grafeas in-toto note. # Describes a specific in-toto link.
5608 &quot;signatures&quot;: [
5609 { # A signature object consists of the KeyID used and the signature itself.
5610 &quot;keyid&quot;: &quot;A String&quot;,
5611 &quot;sig&quot;: &quot;A String&quot;,
5612 },
5613 ],
5614 &quot;signed&quot;: { # This corresponds to an in-toto link.
5615 &quot;byproducts&quot;: { # Defines an object for the byproducts field in in-toto links. The suggested fields are &quot;stderr&quot;, &quot;stdout&quot;, and &quot;return-value&quot;. # ByProducts are data generated as part of a software supply chain step, but are not the actual result of the step.
5616 &quot;customValues&quot;: {
5617 &quot;a_key&quot;: &quot;A String&quot;,
5618 },
5619 },
5620 &quot;command&quot;: [ # This field contains the full command executed for the step. This can also be empty if links are generated for operations that aren&#x27;t directly mapped to a specific command. Each term in the command is an independent string in the list. An example of a command in the in-toto metadata field is: &quot;command&quot;: [&quot;git&quot;, &quot;clone&quot;, &quot;https://github.com/in-toto/demo-project.git&quot;]
5621 &quot;A String&quot;,
5622 ],
5623 &quot;environment&quot;: { # Defines an object for the environment field in in-toto links. The suggested fields are &quot;variables&quot;, &quot;filesystem&quot;, and &quot;workdir&quot;. # This is a field that can be used to capture information about the environment. It is suggested for this field to contain information that details environment variables, filesystem information, and the present working directory. The recommended structure of this field is: &quot;environment&quot;: { &quot;custom_values&quot;: { &quot;variables&quot;: &quot;&quot;, &quot;filesystem&quot;: &quot;&quot;, &quot;workdir&quot;: &quot;&quot;, &quot;&quot;: &quot;...&quot; } }
5624 &quot;customValues&quot;: {
5625 &quot;a_key&quot;: &quot;A String&quot;,
5626 },
5627 },
5628 &quot;materials&quot;: [ # Materials are the supply chain artifacts that go into the step and are used for the operation performed. The key of the map is the path of the artifact and the structure contains the recorded hash information. An example is: &quot;materials&quot;: [ { &quot;resource_uri&quot;: &quot;foo/bar&quot;, &quot;hashes&quot;: { &quot;sha256&quot;: &quot;ebebf...&quot;, : } } ]
5629 {
5630 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
5631 &quot;sha256&quot;: &quot;A String&quot;,
5632 },
5633 &quot;resourceUri&quot;: &quot;A String&quot;,
5634 },
5635 ],
5636 &quot;products&quot;: [ # Products are the supply chain artifacts generated as a result of the step. The structure is identical to that of materials.
5637 {
5638 &quot;hashes&quot;: { # Defines a hash object for use in Materials and Products.
5639 &quot;sha256&quot;: &quot;A String&quot;,
5640 },
5641 &quot;resourceUri&quot;: &quot;A String&quot;,
5642 },
5643 ],
5644 },
5645 },
5646 &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.
5647 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.
5648 &quot;noteName&quot;: &quot;A String&quot;, # Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.
5649 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the note.
5650 &quot;resource&quot;: { # An entity that can have metadata. For example, a Docker image. # Required. Immutable. The resource for which the occurrence applies.
5651 &quot;contentHash&quot;: { # Container message for hash values. # Deprecated, do not use. Use uri instead. The hash of the resource content. For example, the Docker digest.
5652 &quot;type&quot;: &quot;A String&quot;, # Required. The type of hash that was performed.
5653 &quot;value&quot;: &quot;A String&quot;, # Required. The hash value.
5654 },
5655 &quot;name&quot;: &quot;A String&quot;, # Deprecated, do not use. Use uri instead. The name of the resource. For example, the name of a Docker image - &quot;Debian&quot;.
5656 &quot;uri&quot;: &quot;A String&quot;, # Required. The unique URI of the resource. For example, `https://gcr.io/project/image@sha256:foo` for a Docker image.
5657 },
5658 &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.
5659 &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
5660 &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
5661 &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
5662 &quot;A String&quot;,
5663 ],
5664 &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
5665 &quot;externalDocumentRefs&quot;: [ # Identify any external SPDX documents referenced within this SPDX document
5666 &quot;A String&quot;,
5667 ],
5668 &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
5669 &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
5670 &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
5671 &quot;title&quot;: &quot;A String&quot;, # Identify name of this document as designated by creator
5672 },
5673 &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. # Describes a specific SBOM reference occurrences.
5674 &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.
5675 &quot;_type&quot;: &quot;A String&quot;, # Identifier for the schema of the Statement.
5676 &quot;predicate&quot;: { # A predicate which describes the SBOM being referenced. # Additional parameters of the Predicate. Includes the actual data about the SBOM.
5677 &quot;digest&quot;: { # A map of algorithm to digest of the contents of the SBOM.
5678 &quot;a_key&quot;: &quot;A String&quot;,
5679 },
5680 &quot;location&quot;: &quot;A String&quot;, # The location of the SBOM.
5681 &quot;mimeType&quot;: &quot;A String&quot;, # The mime type of the SBOM.
5682 &quot;referrerId&quot;: &quot;A String&quot;, # The person or system referring this predicate to the consumer.
5683 },
5684 &quot;predicateType&quot;: &quot;A String&quot;, # URI identifying the type of the Predicate.
5685 &quot;subject&quot;: [ # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
5686 { # Set of software artifacts that the attestation applies to. Each element represents a single software artifact.
5687 &quot;digest&quot;: { # `&quot;&quot;: &quot;&quot;` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet
5688 &quot;a_key&quot;: &quot;A String&quot;,
5689 },
5690 &quot;name&quot;: &quot;A String&quot;, # Identifier to distinguish this artifact from others within the subject.
5691 },
5692 ],
5693 },
5694 &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;.
5695 &quot;signatures&quot;: [ # The signatures over the payload.
5696 {
5697 &quot;keyid&quot;: &quot;A String&quot;,
5698 &quot;sig&quot;: &quot;A String&quot;,
5699 },
5700 ],
5701 },
5702 &quot;secret&quot;: { # The occurrence provides details of a secret. # Describes a secret.
5703 &quot;kind&quot;: &quot;A String&quot;, # Required. Type of secret.
5704 &quot;locations&quot;: [ # Optional. Locations where the secret is detected.
5705 { # The location of the secret.
5706 &quot;fileLocation&quot;: { # Indicates the location at which a package was found. # The secret is found from a file.
5707 &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.
5708 },
5709 },
5710 ],
5711 &quot;statuses&quot;: [ # Optional. Status of the secret.
5712 { # The status of the secret with a timestamp.
5713 &quot;message&quot;: &quot;A String&quot;, # Optional. Optional message about the status code.
5714 &quot;status&quot;: &quot;A String&quot;, # Optional. The status of the secret.
5715 &quot;updateTime&quot;: &quot;A String&quot;, # Optional. The time the secret status was last updated.
5716 },
5717 ],
5718 },
5719 &quot;spdxFile&quot;: { # FileOccurrence represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # Describes a specific SPDX File.
5720 &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
5721 &quot;A String&quot;,
5722 ],
5723 &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
5724 &quot;contributors&quot;: [ # This field provides a place for the SPDX file creator to record file contributors
5725 &quot;A String&quot;,
5726 ],
5727 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holder of the file, as well as any dates present
5728 &quot;filesLicenseInfo&quot;: [ # This field contains the license information actually found in the file, if any
5729 &quot;A String&quot;,
5730 ],
5731 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
5732 &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
5733 &quot;comments&quot;: &quot;A String&quot;, # Comments
5734 &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;.
5735 },
5736 &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
5737 },
5738 &quot;spdxPackage&quot;: { # PackageInfoOccurrence represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # Describes a specific SPDX Package.
5739 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the package being described
5740 &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
5741 &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
5742 &quot;id&quot;: &quot;A String&quot;, # Uniquely identify any element in an SPDX document which may be referenced by other elements
5743 &quot;licenseConcluded&quot;: { # License information. # package or alternative values, if the governing license cannot be determined
5744 &quot;comments&quot;: &quot;A String&quot;, # Comments
5745 &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;.
5746 },
5747 &quot;packageType&quot;: &quot;A String&quot;, # Output only. The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
5748 &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
5749 &quot;summaryDescription&quot;: &quot;A String&quot;, # Output only. A short description of the package
5750 &quot;title&quot;: &quot;A String&quot;, # Output only. Identify the full name of the package as given by the Package Originator
5751 &quot;version&quot;: &quot;A String&quot;, # Output only. Identify the version of the package
5752 },
5753 &quot;spdxRelationship&quot;: { # RelationshipOccurrence represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # Describes a specific SPDX Relationship.
5754 &quot;comment&quot;: &quot;A String&quot;, # A place for the SPDX file creator to record any general comments about the relationship
5755 &quot;source&quot;: &quot;A String&quot;, # Also referred to as SPDXRef-A The source SPDX element (file, package, etc)
5756 &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
5757 &quot;type&quot;: &quot;A String&quot;, # Output only. The type of relationship between the source and target SPDX elements
5758 },
5759 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this occurrence was last updated.
5760 &quot;vulnerability&quot;: { # Details of a vulnerability Occurrence. # Describes a security vulnerability.
5761 &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.
5762 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
5763 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5764 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
5765 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
5766 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
5767 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
5768 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
5769 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
5770 &quot;exploitabilityScore&quot;: 3.14,
5771 &quot;impactScore&quot;: 3.14,
5772 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
5773 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
5774 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
5775 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
5776 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5777 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5778 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
5779 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5780 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5781 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5782 },
5783 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 for the vulnerability.
5784 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5785 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
5786 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
5787 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
5788 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
5789 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
5790 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
5791 &quot;exploitabilityScore&quot;: 3.14,
5792 &quot;impactScore&quot;: 3.14,
5793 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
5794 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
5795 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
5796 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
5797 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5798 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5799 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
5800 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5801 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5802 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5803 },
5804 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. 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 v4 score of this vulnerability.
5805 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
5806 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
5807 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
5808 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
5809 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
5810 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
5811 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
5812 &quot;exploitabilityScore&quot;: 3.14,
5813 &quot;impactScore&quot;: 3.14,
5814 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
5815 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
5816 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
5817 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
5818 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
5819 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
5820 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
5821 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
5822 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
5823 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
5824 },
5825 &quot;cvssVersion&quot;: &quot;A String&quot;, # Output only. CVSS version used to populate cvss_score and severity.
5826 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.
5827 &quot;extraDetails&quot;: &quot;A String&quot;, # Occurrence-specific extra details about the vulnerability.
5828 &quot;longDescription&quot;: &quot;A String&quot;, # Output only. A detailed description of this vulnerability.
5829 &quot;packageIssue&quot;: [ # Required. The set of affected locations and their fixes (if available) within the associated resource.
5830 { # This message wraps a location affected by a vulnerability and its associated fix (if one is available).
5831 &quot;affectedLocation&quot;: { # The location of the vulnerability. # Required. The location of the vulnerability.
5832 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
5833 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
5834 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
5835 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5836 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
5837 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
5838 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
5839 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5840 },
5841 },
5842 &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 it is not available.
5843 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The location of the available fix for vulnerability.
5844 &quot;cpeUri&quot;: &quot;A String&quot;, # Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar.
5845 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
5846 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
5847 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
5848 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
5849 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
5850 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
5851 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
5852 },
5853 },
5854 &quot;packageType&quot;: &quot;A String&quot;, # The type of package (e.g. OS, MAVEN, GO).
5855 &quot;severityName&quot;: &quot;A String&quot;, # Deprecated, use Details.effective_severity instead The severity (e.g., distro assigned severity) for this vulnerability.
5856 },
5857 ],
5858 &quot;relatedUrls&quot;: [ # Output only. URLs related to this vulnerability.
5859 { # Metadata for any related URL information.
5860 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
5861 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
5862 },
5863 ],
5864 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
5865 &quot;shortDescription&quot;: &quot;A String&quot;, # Output only. A one sentence description of this vulnerability.
5866 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
5867 &quot;vexAssessment&quot;: { # VexAssessment provides all publisher provided Vex information that is related to this vulnerability.
5868 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
5869 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
5870 &quot;A String&quot;,
5871 ],
5872 &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.
5873 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
5874 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
5875 },
5876 &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]`.
5877 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment.
5878 { # Metadata for any related URL information.
5879 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
5880 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
5881 },
5882 ],
5883 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
5884 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
5885 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
5886 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
5887 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
5888 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
5889 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
5890 },
5891 },
5892 ],
5893 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
5894 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
5895 },
5896 },
5897 }</pre>
5898 </div>
5899
5900 <div class="method">
5901 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
5902 <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. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
5903
5904 Args:
5905 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)
5906 body: object, The request body.
5907 The object takes the form of:
5908
5909 { # Request message for `SetIamPolicy` method.
5910 &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.
5911 &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`.
5912 { # Associates `members`, or principals, with a `role`.
5913 &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).
5914 &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.
5915 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
5916 &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.
5917 &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.
5918 },
5919 &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`.
5920 &quot;A String&quot;,
5921 ],
5922 &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).
5923 },
5924 ],
5925 &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.
5926 &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).
5927 },
5928 }
5929
5930 x__xgafv: string, V1 error format.
5931 Allowed values
5932 1 - v1 error format
5933 2 - v2 error format
5934
5935 Returns:
5936 An object of the form:
5937
5938 { # 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/).
5939 &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`.
5940 { # Associates `members`, or principals, with a `role`.
5941 &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).
5942 &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.
5943 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
5944 &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.
5945 &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.
5946 },
5947 &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`.
5948 &quot;A String&quot;,
5949 ],
5950 &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).
5951 },
5952 ],
5953 &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.
5954 &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).
5955 }</pre>
5956 </div>
5957
5958 <div class="method">
5959 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
5960 <pre>Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.
5961
5962 Args:
5963 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)
5964 body: object, The request body.
5965 The object takes the form of:
5966
5967 { # Request message for `TestIamPermissions` method.
5968 &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).
5969 &quot;A String&quot;,
5970 ],
5971 }
5972
5973 x__xgafv: string, V1 error format.
5974 Allowed values
5975 1 - v1 error format
5976 2 - v2 error format
5977
5978 Returns:
5979 An object of the form:
5980
5981 { # Response message for `TestIamPermissions` method.
5982 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
5983 &quot;A String&quot;,
5984 ],
5985 }</pre>
5986 </div>
5987
5988 </body></html>