blob: c49fe609958c6f380a83ac2f2451e2fa2ebac3ad [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54 margin-top: 0.5em;
55}
56
57.firstline {
58 margin-left: 2 em;
59}
60
61.method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66}
67
68.details {
69 font-weight: bold;
70 font-size: 14px;
71}
72
73</style>
74
75<h1><a href="containeranalysis_v1alpha1.html">Container Analysis API</a> . <a href="containeranalysis_v1alpha1.projects.html">projects</a> . <a href="containeranalysis_v1alpha1.projects.notes.html">notes</a> . <a href="containeranalysis_v1alpha1.projects.notes.occurrences.html">occurrences</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070078 <code><a href="#list">list(name, pageSize=None, filter=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070079<p class="firstline">Lists `Occurrences` referencing the specified `Note`. Use this method to</p>
80<p class="toc_element">
81 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
82<p class="firstline">Retrieves the next page of results.</p>
83<h3>Method Details</h3>
84<div class="method">
Bu Sun Kimd059ad82020-07-22 17:02:09 -070085 <code class="details" id="list">list(name, pageSize=None, filter=None, pageToken=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086 <pre>Lists `Occurrences` referencing the specified `Note`. Use this method to
87get all occurrences referencing your `Note` across all your customer
88projects.
89
90Args:
91 name: string, The name field will contain the note name for example:
Bu Sun Kim65020912020-05-20 12:08:20 -070092 &quot;provider/{provider_id}/notes/{note_id}&quot; (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -070093 pageSize: integer, Number of notes to return in the list.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -070094 filter: string, The filter expression.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070095 pageToken: string, Token to provide to skip to a particular spot in the list.
96 x__xgafv: string, V1 error format.
97 Allowed values
98 1 - v1 error format
99 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100
101Returns:
102 An object of the form:
103
104 { # Response including listed occurrences for a note.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700105 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to receive the next page of notes.
Bu Sun Kim65020912020-05-20 12:08:20 -0700106 &quot;occurrences&quot;: [ # The occurrences attached to the specified note.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700107 { # `Occurrence` includes information about analysis occurrences for an image.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700108 &quot;resource&quot;: { # #
109 # The resource for which the `Occurrence` applies.
110 # Resource is an entity that can have metadata. E.g., a Docker image.
111 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g.,
112 # &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
113 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
114 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
115 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
116 &quot;value&quot;: &quot;A String&quot;, # The hash value.
117 },
118 },
119 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how # Details of a security vulnerability note.
120 # to fix it.
121 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within
122 # the associated resource.
123 { # This message wraps a location affected by a vulnerability and its
124 # associated fix (if one is available).
125 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
126 &quot;version&quot;: { # Version contains structured information about the version of the package. # The version of the package being described. This field can be used as a
127 # filter in list requests.
128 # For a discussion of this in Debian/Ubuntu:
129 # http://serverfault.com/questions/604541/debian-packages-version-convention
130 # For a discussion of this in Redhat/Fedora/Centos:
131 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
132 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
133 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
134 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
135 # If kind is not NORMAL, then the other fields are ignored.
136 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
137 },
138 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/)
139 # format. Examples include distro or storage location for vulnerable jar.
140 # This field can be used as a filter in list requests.
141 &quot;package&quot;: &quot;A String&quot;, # The package being described.
142 },
143 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
144 &quot;version&quot;: { # Version contains structured information about the version of the package. # The version of the package being described. This field can be used as a
145 # filter in list requests.
146 # For a discussion of this in Debian/Ubuntu:
147 # http://serverfault.com/questions/604541/debian-packages-version-convention
148 # For a discussion of this in Redhat/Fedora/Centos:
149 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
150 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
151 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
152 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
153 # If kind is not NORMAL, then the other fields are ignored.
154 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
155 },
156 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/)
157 # format. Examples include distro or storage location for vulnerable jar.
158 # This field can be used as a filter in list requests.
159 &quot;package&quot;: &quot;A String&quot;, # The package being described.
160 },
161 &quot;severityName&quot;: &quot;A String&quot;,
162 },
163 ],
164 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is
165 # available and note provider assigned severity when distro has not yet
166 # assigned a severity for this vulnerability.
167 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems,
168 # node.js packages etc)
169 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
170 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a
171 # scale of 0-10 where 0 indicates low severity and 10 indicates high
172 # severity.
173 },
174 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an # Describes an attestation of an artifact.
175 # Attestation can be verified using the attached signature. If the verifier
176 # trusts the public key of the signer, then verifying the signature is
177 # sufficient to establish trust. In this circumstance, the
178 # AttestationAuthority to which this Attestation is attached is primarily
179 # useful for look-up (how to find this Attestation if you already know the
180 # Authority and artifact to be verified) and intent (which authority was this
181 # attestation intended to sign for).
182 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature.
183 # This message only supports `ATTACHED` signatures, where the payload that is
184 # signed is included alongside the signature itself in the same file.
185 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature,
186 # as output by, e.g. `gpg --list-keys`. This should be the version 4, full
187 # 160-bit fingerprint, expressed as a 40 character hexadecimal string. See
188 # https://tools.ietf.org/html/rfc4880#section-12.2 for details.
189 # Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other
190 # abbreviated key IDs, but only the full fingerprint is guaranteed to work.
191 # In gpg, the full fingerprint can be retrieved from the `fpr` field
192 # returned when calling --list-keys with --with-colons. For example:
193 # ```
194 # gpg --with-colons --with-fingerprint --force-v4-certs \
195 # --list-keys attester@example.com
196 # tru::1:1513631572:0:3:1:5
197 # pub:...&lt;SNIP&gt;...
198 # fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB:
199 # ```
200 # Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
201 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or
202 # equivalent. Since this message only supports attached signatures, the
203 # payload that was signed must be attached. While the signature format
204 # supported is dependent on the verification implementation, currently only
205 # ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than
206 # `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor
207 # --output=signature.gpg payload.json` will create the signature content
208 # expected in this field in `signature.gpg` for the `payload.json`
209 # attestation payload.
210 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed.
211 # The verifier must ensure that the provided type is one that the verifier
212 # supports, and that the attestation payload is a valid instantiation of that
213 # type (for example by validating a JSON schema).
214 },
215 },
216 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are
217 # specified. This field can be used as a filter in list requests.
Bu Sun Kim65020912020-05-20 12:08:20 -0700218 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
Bu Sun Kim65020912020-05-20 12:08:20 -0700219 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full # The actual provenance
220 # details about the build from source to completion.
Bu Sun Kim65020912020-05-20 12:08:20 -0700221 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700222 &quot;context&quot;: { # A SourceContext is a reference to a tree of files. A SourceContext together # If provided, the source code used for the build came from this location.
223 # with a path point to a unique revision of a single file or directory.
224 &quot;labels&quot;: { # Labels with user defined metadata.
225 &quot;a_key&quot;: &quot;A String&quot;,
226 },
227 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g., GitHub).
228 # repository (e.g., GitHub).
229 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
230 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
231 },
232 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud # A SourceContext referring to a revision in a Google Cloud Source Repo.
233 # Source Repo.
234 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
235 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
236 &quot;name&quot;: &quot;A String&quot;, # The alias name.
237 },
238 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
239 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
240 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., # A combination of a project ID and a repo name.
241 # winged-cargo-31) and a repo name within that project.
242 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
243 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
244 },
245 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
246 },
247 },
248 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
249 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
250 # &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is
251 # the hostURI/project.
252 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
253 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
254 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
255 &quot;name&quot;: &quot;A String&quot;, # The alias name.
256 },
257 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
258 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700259 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700260 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in
261 # these locations, in the case where the source repository had multiple
262 # remotes or submodules. This list will not include the context specified in
263 # the context field.
264 { # A SourceContext is a reference to a tree of files. A SourceContext together
265 # with a path point to a unique revision of a single file or directory.
266 &quot;labels&quot;: { # Labels with user defined metadata.
267 &quot;a_key&quot;: &quot;A String&quot;,
268 },
269 &quot;git&quot;: { # A GitSourceContext denotes a particular revision in a third party Git # A SourceContext referring to any third party Git repo (e.g., GitHub).
270 # repository (e.g., GitHub).
271 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
272 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
273 },
274 &quot;cloudRepo&quot;: { # A CloudRepoSourceContext denotes a particular revision in a Google Cloud # A SourceContext referring to a revision in a Google Cloud Source Repo.
275 # Source Repo.
276 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
277 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
278 &quot;name&quot;: &quot;A String&quot;, # The alias name.
279 },
280 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
281 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
282 &quot;projectRepoId&quot;: { # Selects a repo using a Google Cloud Platform project ID (e.g., # A combination of a project ID and a repo name.
283 # winged-cargo-31) and a repo name within that project.
284 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
285 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
286 },
287 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
288 },
289 },
290 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
291 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
292 # &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is
293 # the hostURI/project.
294 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
295 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
296 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
297 &quot;name&quot;: &quot;A String&quot;, # The alias name.
298 },
299 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
300 },
301 },
302 ],
303 &quot;artifactStorageSource&quot;: { # StorageSource describes the location of the source in an archive file in # If provided, the input binary artifacts for the build came from this
304 # location.
Bu Sun Kim65020912020-05-20 12:08:20 -0700305 # Google Cloud Storage.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700306 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700307 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
Bu Sun Kim65020912020-05-20 12:08:20 -0700308 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name
309 # Requirements]
310 # (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700311 },
312 &quot;repoSource&quot;: { # RepoSource describes the location of the source in a Google Cloud Source # If provided, get source from this location in a Cloud Repo.
313 # Repository.
314 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
315 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
316 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
317 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
318 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 },
320 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original
321 # source integrity was maintained in the build.
322 #
323 # The keys to this map are file paths used as build source and the values
324 # contain the hash values for those files.
325 #
326 # If the build source came in a single package such as a gzipped tarfile
327 # (.tar.gz), the FileHash will be for the single path to that file.
328 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source
329 # messages to verify integrity of source input to the build.
330 &quot;fileHash&quot;: [ # Collection of file hashes.
331 { # Container message for hash values.
332 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
333 &quot;value&quot;: &quot;A String&quot;, # The hash value.
334 },
335 ],
336 },
337 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700338 &quot;storageSource&quot;: { # StorageSource describes the location of the source in an archive file in # If provided, get the source from this location in in Google Cloud
339 # Storage.
Bu Sun Kim65020912020-05-20 12:08:20 -0700340 # Google Cloud Storage.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700341 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700342 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
Bu Sun Kim65020912020-05-20 12:08:20 -0700343 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name
344 # Requirements]
345 # (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
Bu Sun Kim65020912020-05-20 12:08:20 -0700346 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700347 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700348 &quot;builtArtifacts&quot;: [ # Output of the build.
349 { # Artifact describes a build product.
Bu Sun Kim65020912020-05-20 12:08:20 -0700350 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in
351 # the case of a container build, the name used to push the container image to
352 # Google Container Registry, as presented to `docker push`.
353 #
354 # This field is deprecated in favor of the plural `names` field; it continues
355 # to exist here to allow existing BuildProvenance serialized to json in
356 # google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to
357 # deserialize back into proto.
358 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
359 # container.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700360 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in
361 # the case of a container build, the name used to push the container image to
362 # Google Container Registry, as presented to `docker push`. Note that a
363 # single Artifact ID can have multiple names, for example if two tags are
364 # applied to one image.
365 &quot;A String&quot;,
366 ],
367 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest
368 # like gcr.io/projectID/imagename@sha256:123456
Bu Sun Kim65020912020-05-20 12:08:20 -0700369 },
370 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700371 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
372 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
373 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where
374 # build providers can enter any desired additional details.
375 &quot;a_key&quot;: &quot;A String&quot;,
376 },
377 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
378 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
379 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the
380 # user&#x27;s e-mail address at the time the build was initiated; this address may
381 # not represent the same end-user for all time.
382 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
383 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
384 &quot;commands&quot;: [ # Commands requested by the build.
385 { # Command describes a step performed as part of the build pipeline.
386 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running
387 # this Command.
388 &quot;env&quot;: [ # Environment variables set before running this Command.
389 &quot;A String&quot;,
390 ],
391 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
392 &quot;A String&quot;,
393 ],
394 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference
395 # this Command as a dependency.
396 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is
397 # packaged as a Docker container, as presented to `docker pull`.
398 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
399 &quot;A String&quot;,
400 ],
401 },
402 ],
403 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
404 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700405 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700406 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the
407 # `BuildSignature` in the corresponding Result. After verifying the
408 # signature, `provenance_bytes` can be unmarshalled and compared to the
409 # provenance to confirm that it is unchanged. A base64-encoded string
410 # representation of the provenance bytes is used for the signature in order
411 # to interoperate with openssl which expects this format for signature
412 # verification.
413 #
414 # The serialized form is captured both to avoid ambiguity in how the
415 # provenance is marshalled to json as well to prevent incompatibilities with
416 # future changes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700417 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700418 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form
419 # &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
420 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
421 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
422 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
423 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
424 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
425 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
426 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the
427 # deployable field with the same name.
428 &quot;A String&quot;,
429 ],
430 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
431 },
432 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a # Describes an upgrade.
433 # specific upgrade. This presence is supplied via local sources (i.e. it is
434 # present in the mirror and the running system has noticed its availability).
435 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
436 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each # Metadata about the upgrade for available for the specific operating system
437 # for the resource_url. This allows efficient filtering, as well as
438 # making it easier to use the occurrence.
439 # operating system (CPE). Some distributions have additional metadata around
440 # updates, classifying them into various categories and severities.
441 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the
442 # upstream operating system upgrade feed.
443 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See
444 # https://cpe.mitre.org/specification/.
445 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
446 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
447 &quot;A String&quot;,
448 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700449 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700450 &quot;parsedVersion&quot;: { # Version contains structured information about the version of the package. # Required - The version of the package in a machine + human readable form.
451 # For a discussion of this in Debian/Ubuntu:
452 # http://serverfault.com/questions/604541/debian-packages-version-convention
453 # For a discussion of this in Redhat/Fedora/Centos:
454 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
455 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
456 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
457 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
458 # If kind is not NORMAL, then the other fields are ignored.
459 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
460 },
461 },
462 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the # Describes how this resource derives from the basis
463 # in the associated note.
464 # DockerImage relationship. This image would be produced from a Dockerfile
465 # with FROM &lt;DockerImage.Basis in attached Note&gt;.
466 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
467 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via:
468 # [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1])
469 # Only the name of the final blob is kept.
470 # This field can be used as a filter in list requests.
471 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
472 &quot;A String&quot;,
473 ],
474 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1
475 # representation.
476 # This field can be used as a filter in list requests.
477 },
478 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length
479 # &quot;distance&quot; and is ordered with [distance] being the layer immediately
480 # following the base image and [1] being the final layer.
481 { # Layer holds metadata specific to a layer of a Docker image.
482 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
483 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
484 },
485 ],
486 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image
487 # occurrence.
488 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the
489 # associated image basis.
Bu Sun Kim65020912020-05-20 12:08:20 -0700490 },
491 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence`
492 # applies. For example, https://gcr.io/project/image@sha256:foo This field
493 # can be used as a filter in list requests.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700494 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
Bu Sun Kim65020912020-05-20 12:08:20 -0700495 &quot;installation&quot;: { # This represents how a particular software package may be installed on # Describes the installation of a package on the linked resource.
496 # a system.
497 &quot;location&quot;: [ # All of the places within the filesystem versions of this package
498 # have been found.
499 { # An occurrence of a particular package installation found within a
500 # system&#x27;s filesystem.
501 # e.g. glibc was found in /var/lib/dpkg/status
502 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
503 # denoting the package manager version distributing a package.
504 &quot;version&quot;: { # Version contains structured information about the version of the package. # The version installed at this location.
505 # For a discussion of this in Debian/Ubuntu:
506 # http://serverfault.com/questions/604541/debian-packages-version-convention
507 # For a discussion of this in Redhat/Fedora/Centos:
508 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
509 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700510 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
Bu Sun Kim65020912020-05-20 12:08:20 -0700511 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
512 # If kind is not NORMAL, then the other fields are ignored.
513 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim65020912020-05-20 12:08:20 -0700514 },
515 &quot;path&quot;: &quot;A String&quot;, # The path from which we gathered that this package/version is installed.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700516 },
517 ],
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700518 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
Bu Sun Kim65020912020-05-20 12:08:20 -0700519 },
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700520 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form
521 # &quot;providers/{provider_id}/notes/{NOTE_ID}&quot;
522 # This field can be used as a filter in list requests.
Bu Sun Kim65020912020-05-20 12:08:20 -0700523 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700524 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
525 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
526 &quot;analysisStatusError&quot;: { # The `Status` type defines a logical error model that is suitable for # When an error is encountered this will contain a LocalizedMessage under
527 # details to show to the user. The LocalizedMessage output only and
528 # populated by the API.
529 # different programming environments, including REST APIs and RPC APIs. It is
530 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
531 # three pieces of data: error code, error message, and error details.
532 #
533 # You can find out more about this error model and how to work with it in the
534 # [API Design Guide](https://cloud.google.com/apis/design/errors).
535 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
536 # user-facing error message should be localized and sent in the
537 # google.rpc.Status.details field, or localized by the client.
538 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
539 # message types for APIs to use.
540 {
541 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
542 },
543 ],
544 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
545 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700546 &quot;operation&quot;: { # This resource represents a long-running operation that is the result of a # Output only. An operation that indicates the status of the current scan.
547 # This field is deprecated, do not use.
548 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700549 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
550 # method returns no data on success, such as `Delete`, the response is
551 # `google.protobuf.Empty`. If the original method is standard
552 # `Get`/`Create`/`Update`, the response should be the resource. For other
553 # methods, the response should have the type `XxxResponse`, where `Xxx`
554 # is the original method name. For example, if the original method name
555 # is `TakeSnapshot()`, the inferred response type is
556 # `TakeSnapshotResponse`.
557 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
558 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700559 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
560 # originally returns it. If you use the default HTTP mapping, the
561 # `name` should be a resource name ending with `operations/{unique_id}`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700562 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
563 # contains progress information and common metadata such as create time.
564 # Some services might not provide such metadata. Any method that returns a
565 # long-running operation should document the metadata type, if any.
566 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
567 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700568 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for # The error result of the operation in case of failure or cancellation.
569 # different programming environments, including REST APIs and RPC APIs. It is
570 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
571 # three pieces of data: error code, error message, and error details.
572 #
573 # You can find out more about this error model and how to work with it in the
574 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700575 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
576 # user-facing error message should be localized and sent in the
577 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700578 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
579 # message types for APIs to use.
580 {
581 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
582 },
583 ],
584 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700585 },
586 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
587 # If `true`, the operation is completed, and either `error` or `response` is
588 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700589 },
590 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700591 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700592 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700593 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700594 },
595 ],
596 }</pre>
597</div>
598
599<div class="method">
600 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
601 <pre>Retrieves the next page of results.
602
603Args:
604 previous_request: The request for the previous page. (required)
605 previous_response: The response from the request for the previous page. (required)
606
607Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -0700608 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700609 page. Returns None if there are no more items in the collection.
610 </pre>
611</div>
612
613</body></html>