blob: edcb7386b9e60759577963aef0599e90654517ea [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 Kim4ed7d3f2020-05-27 12:20:54 -070078 <code><a href="#list">list(name, filter=None, pageToken=None, pageSize=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 Kim4ed7d3f2020-05-27 12:20:54 -070085 <code class="details" id="list">list(name, filter=None, pageToken=None, pageSize=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 Kim4ed7d3f2020-05-27 12:20:54 -070093 filter: string, The filter expression.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070094 pageToken: string, Token to provide to skip to a particular spot in the list.
Bu Sun Kim65020912020-05-20 12:08:20 -070095 pageSize: integer, Number of notes to return in the list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070096 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 Kim65020912020-05-20 12:08:20 -0700105 &quot;occurrences&quot;: [ # The occurrences attached to the specified note.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700106 { # `Occurrence` includes information about analysis occurrences for an image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700107 &quot;buildDetails&quot;: { # Message encapsulating build provenance details. # Build details for a verifiable build.
Bu Sun Kim65020912020-05-20 12:08:20 -0700108 &quot;provenance&quot;: { # Provenance of a build. Contains all information needed to verify the full # The actual provenance
109 # details about the build from source to completion.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700110 &quot;id&quot;: &quot;A String&quot;, # Unique identifier of the build.
111 &quot;buildOptions&quot;: { # Special options applied to this build. This is a catch-all field where
112 # build providers can enter any desired additional details.
113 &quot;a_key&quot;: &quot;A String&quot;,
114 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700115 &quot;startTime&quot;: &quot;A String&quot;, # Time at which execution of the build was started.
116 &quot;triggerId&quot;: &quot;A String&quot;, # Trigger identifier if the build was triggered automatically; empty if not.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700117 &quot;createTime&quot;: &quot;A String&quot;, # Time at which the build was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700118 &quot;sourceProvenance&quot;: { # Source describes the location of the source used for the build. # Details of the Source input to the build.
119 &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.
120 # Repository.
121 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project that owns the repo.
122 &quot;repoName&quot;: &quot;A String&quot;, # Name of the repo.
123 &quot;branchName&quot;: &quot;A String&quot;, # Name of the branch to build.
124 &quot;tagName&quot;: &quot;A String&quot;, # Name of the tag to build.
125 &quot;commitSha&quot;: &quot;A String&quot;, # Explicit commit SHA to build.
126 },
127 &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
128 # Storage.
129 # Google Cloud Storage.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700130 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
Bu Sun Kim65020912020-05-20 12:08:20 -0700131 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name
132 # Requirements]
133 # (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
134 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
Bu Sun Kim65020912020-05-20 12:08:20 -0700135 },
136 &quot;fileHashes&quot;: { # Hash(es) of the build source, which can be used to verify that the original
137 # source integrity was maintained in the build.
138 #
139 # The keys to this map are file paths used as build source and the values
140 # contain the hash values for those files.
141 #
142 # If the build source came in a single package such as a gzipped tarfile
143 # (.tar.gz), the FileHash will be for the single path to that file.
144 &quot;a_key&quot;: { # Container message for hashes of byte content of files, used in Source
145 # messages to verify integrity of source input to the build.
146 &quot;fileHash&quot;: [ # Collection of file hashes.
147 { # Container message for hash values.
148 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
149 &quot;value&quot;: &quot;A String&quot;, # The hash value.
150 },
151 ],
152 },
153 },
154 &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
155 # location.
156 # Google Cloud Storage.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700157 &quot;generation&quot;: &quot;A String&quot;, # Google Cloud Storage generation for the object.
Bu Sun Kim65020912020-05-20 12:08:20 -0700158 &quot;bucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket containing source (see [Bucket Name
159 # Requirements]
160 # (https://cloud.google.com/storage/docs/bucket-naming#requirements)).
161 &quot;object&quot;: &quot;A String&quot;, # Google Cloud Storage object containing source.
Bu Sun Kim65020912020-05-20 12:08:20 -0700162 },
163 &quot;additionalContexts&quot;: [ # If provided, some of the source code used for the build may be found in
164 # these locations, in the case where the source repository had multiple
165 # remotes or submodules. This list will not include the context specified in
166 # the context field.
167 { # A SourceContext is a reference to a tree of files. A SourceContext together
168 # with a path point to a unique revision of a single file or directory.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700169 &quot;labels&quot;: { # Labels with user defined metadata.
170 &quot;a_key&quot;: &quot;A String&quot;,
171 },
172 &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).
173 # repository (e.g., GitHub).
174 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
175 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
176 },
177 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
178 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
179 # &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is
180 # the hostURI/project.
181 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
182 &quot;name&quot;: &quot;A String&quot;, # The alias name.
183 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
184 },
185 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
186 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
187 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700188 &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.
189 # Source Repo.
Bu Sun Kim65020912020-05-20 12:08:20 -0700190 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
191 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
192 &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.
193 # winged-cargo-31) and a repo name within that project.
194 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
195 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
196 },
197 },
198 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
199 &quot;name&quot;: &quot;A String&quot;, # The alias name.
200 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
201 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700202 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700203 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700204 },
205 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700206 &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.
207 # with a path point to a unique revision of a single file or directory.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700208 &quot;labels&quot;: { # Labels with user defined metadata.
209 &quot;a_key&quot;: &quot;A String&quot;,
210 },
211 &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).
212 # repository (e.g., GitHub).
213 &quot;revisionId&quot;: &quot;A String&quot;, # Required. Git commit hash.
214 &quot;url&quot;: &quot;A String&quot;, # Git repository URL.
215 },
216 &quot;gerrit&quot;: { # A SourceContext referring to a Gerrit project. # A SourceContext referring to a Gerrit project.
217 &quot;gerritProject&quot;: &quot;A String&quot;, # The full project name within the host. Projects may be nested, so
218 # &quot;project/subproject&quot; is a valid project name. The &quot;repo name&quot; is
219 # the hostURI/project.
220 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
221 &quot;name&quot;: &quot;A String&quot;, # The alias name.
222 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
223 },
224 &quot;hostUri&quot;: &quot;A String&quot;, # The URI of a running Gerrit instance.
225 &quot;revisionId&quot;: &quot;A String&quot;, # A revision (commit) ID.
226 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700227 &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.
228 # Source Repo.
Bu Sun Kim65020912020-05-20 12:08:20 -0700229 &quot;repoId&quot;: { # A unique identifier for a Cloud Repo. # The ID of the repo.
230 &quot;uid&quot;: &quot;A String&quot;, # A server-assigned, globally unique identifier.
231 &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.
232 # winged-cargo-31) and a repo name within that project.
233 &quot;projectId&quot;: &quot;A String&quot;, # The ID of the project.
234 &quot;repoName&quot;: &quot;A String&quot;, # The name of the repo. Leave empty for the default repo.
235 },
236 },
237 &quot;aliasContext&quot;: { # An alias to a repo revision. # An alias, which may be a branch or tag.
238 &quot;name&quot;: &quot;A String&quot;, # The alias name.
239 &quot;kind&quot;: &quot;A String&quot;, # The alias kind.
240 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700241 &quot;revisionId&quot;: &quot;A String&quot;, # A revision ID.
Bu Sun Kim65020912020-05-20 12:08:20 -0700242 },
243 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700244 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700245 &quot;projectId&quot;: &quot;A String&quot;, # ID of the project.
246 &quot;finishTime&quot;: &quot;A String&quot;, # Time at which execution of the build was finished.
247 &quot;creator&quot;: &quot;A String&quot;, # E-mail address of the user who initiated this build. Note that this was the
248 # user&#x27;s e-mail address at the time the build was initiated; this address may
249 # not represent the same end-user for all time.
250 &quot;logsBucket&quot;: &quot;A String&quot;, # Google Cloud Storage bucket where logs were written.
251 &quot;builderVersion&quot;: &quot;A String&quot;, # Version string of the builder at the time this build was executed.
252 &quot;commands&quot;: [ # Commands requested by the build.
253 { # Command describes a step performed as part of the build pipeline.
254 &quot;name&quot;: &quot;A String&quot;, # Name of the command, as presented on the command line, or if the command is
255 # packaged as a Docker container, as presented to `docker pull`.
256 &quot;id&quot;: &quot;A String&quot;, # Optional unique identifier for this Command, used in wait_for to reference
257 # this Command as a dependency.
258 &quot;dir&quot;: &quot;A String&quot;, # Working directory (relative to project source root) used when running
259 # this Command.
260 &quot;waitFor&quot;: [ # The ID(s) of the Command(s) that this Command depends on.
261 &quot;A String&quot;,
262 ],
263 &quot;env&quot;: [ # Environment variables set before running this Command.
264 &quot;A String&quot;,
265 ],
266 &quot;args&quot;: [ # Command-line arguments used when executing this Command.
267 &quot;A String&quot;,
268 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700269 },
270 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700271 &quot;builtArtifacts&quot;: [ # Output of the build.
272 { # Artifact describes a build product.
273 &quot;id&quot;: &quot;A String&quot;, # Artifact ID, if any; for container images, this will be a URL by digest
274 # like gcr.io/projectID/imagename@sha256:123456
275 &quot;names&quot;: [ # Related artifact names. This may be the path to a binary or jar file, or in
276 # the case of a container build, the name used to push the container image to
277 # Google Container Registry, as presented to `docker push`. Note that a
278 # single Artifact ID can have multiple names, for example if two tags are
279 # applied to one image.
280 &quot;A String&quot;,
281 ],
282 &quot;name&quot;: &quot;A String&quot;, # Name of the artifact. This may be the path to a binary or jar file, or in
283 # the case of a container build, the name used to push the container image to
284 # Google Container Registry, as presented to `docker push`.
285 #
286 # This field is deprecated in favor of the plural `names` field; it continues
287 # to exist here to allow existing BuildProvenance serialized to json in
288 # google.devtools.containeranalysis.v1alpha1.BuildDetails.provenance_bytes to
289 # deserialize back into proto.
290 &quot;checksum&quot;: &quot;A String&quot;, # Hash or checksum value of a binary, or Docker Registry 2.0 digest of a
291 # container.
292 },
293 ],
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700294 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700295 &quot;provenanceBytes&quot;: &quot;A String&quot;, # Serialized JSON representation of the provenance, used in generating the
296 # `BuildSignature` in the corresponding Result. After verifying the
297 # signature, `provenance_bytes` can be unmarshalled and compared to the
298 # provenance to confirm that it is unchanged. A base64-encoded string
299 # representation of the provenance bytes is used for the signature in order
300 # to interoperate with openssl which expects this format for signature
301 # verification.
302 #
303 # The serialized form is captured both to avoid ambiguity in how the
304 # provenance is marshalled to json as well to prevent incompatibilities with
305 # future changes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700306 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700307 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which of the `Occurrence` details are
308 # specified. This field can be used as a filter in list requests.
309 &quot;resource&quot;: { # #
310 # The resource for which the `Occurrence` applies.
311 # Resource is an entity that can have metadata. E.g., a Docker image.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700312 &quot;uri&quot;: &quot;A String&quot;, # The unique URI of the resource. E.g.,
313 # &quot;https://gcr.io/project/image@sha256:foo&quot; for a Docker image.
Bu Sun Kim65020912020-05-20 12:08:20 -0700314 &quot;name&quot;: &quot;A String&quot;, # The name of the resource. E.g., the name of a Docker image - &quot;Debian&quot;.
315 &quot;contentHash&quot;: { # Container message for hash values. # The hash of the resource content. E.g., the Docker digest.
316 &quot;type&quot;: &quot;A String&quot;, # The type of hash that was performed.
317 &quot;value&quot;: &quot;A String&quot;, # The hash value.
318 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700319 },
320 &quot;resourceUrl&quot;: &quot;A String&quot;, # The unique URL of the image or the container for which the `Occurrence`
321 # applies. For example, https://gcr.io/project/image@sha256:foo This field
322 # can be used as a filter in list requests.
323 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the `Occurrence` in the form
324 # &quot;projects/{project_id}/occurrences/{OCCURRENCE_ID}&quot;
325 &quot;attestation&quot;: { # Occurrence that represents a single &quot;attestation&quot;. The authenticity of an # Describes an attestation of an artifact.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700326 # Attestation can be verified using the attached signature. If the verifier
327 # trusts the public key of the signer, then verifying the signature is
328 # sufficient to establish trust. In this circumstance, the
329 # AttestationAuthority to which this Attestation is attached is primarily
330 # useful for look-up (how to find this Attestation if you already know the
331 # Authority and artifact to be verified) and intent (which authority was this
332 # attestation intended to sign for).
Bu Sun Kim65020912020-05-20 12:08:20 -0700333 &quot;pgpSignedAttestation&quot;: { # An attestation wrapper with a PGP-compatible signature.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700334 # This message only supports `ATTACHED` signatures, where the payload that is
335 # signed is included alongside the signature itself in the same file.
Bu Sun Kim65020912020-05-20 12:08:20 -0700336 &quot;signature&quot;: &quot;A String&quot;, # The raw content of the signature, as output by GNU Privacy Guard (GPG) or
337 # equivalent. Since this message only supports attached signatures, the
338 # payload that was signed must be attached. While the signature format
339 # supported is dependent on the verification implementation, currently only
340 # ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than
341 # `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor
342 # --output=signature.gpg payload.json` will create the signature content
343 # expected in this field in `signature.gpg` for the `payload.json`
344 # attestation payload.
345 &quot;pgpKeyId&quot;: &quot;A String&quot;, # The cryptographic fingerprint of the key used to generate the signature,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700346 # as output by, e.g. `gpg --list-keys`. This should be the version 4, full
347 # 160-bit fingerprint, expressed as a 40 character hexadecimal string. See
348 # https://tools.ietf.org/html/rfc4880#section-12.2 for details.
Bu Sun Kim65020912020-05-20 12:08:20 -0700349 # Implementations may choose to acknowledge &quot;LONG&quot;, &quot;SHORT&quot;, or other
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700350 # abbreviated key IDs, but only the full fingerprint is guaranteed to work.
351 # In gpg, the full fingerprint can be retrieved from the `fpr` field
352 # returned when calling --list-keys with --with-colons. For example:
353 # ```
354 # gpg --with-colons --with-fingerprint --force-v4-certs \
355 # --list-keys attester@example.com
356 # tru::1:1513631572:0:3:1:5
Dan O'Mearadd494642020-05-01 07:42:23 -0700357 # pub:...&lt;SNIP&gt;...
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700358 # fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB:
359 # ```
360 # Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`.
Bu Sun Kim65020912020-05-20 12:08:20 -0700361 &quot;contentType&quot;: &quot;A String&quot;, # Type (for example schema) of the attestation payload that was signed.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700362 # The verifier must ensure that the provided type is one that the verifier
363 # supports, and that the attestation payload is a valid instantiation of that
364 # type (for example by validating a JSON schema).
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700365 },
366 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700367 &quot;installation&quot;: { # This represents how a particular software package may be installed on # Describes the installation of a package on the linked resource.
368 # a system.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700369 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the installed package.
Bu Sun Kim65020912020-05-20 12:08:20 -0700370 &quot;location&quot;: [ # All of the places within the filesystem versions of this package
371 # have been found.
372 { # An occurrence of a particular package installation found within a
373 # system&#x27;s filesystem.
374 # e.g. glibc was found in /var/lib/dpkg/status
375 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format](https://cpe.mitre.org/specification/)
376 # denoting the package manager version distributing a package.
377 &quot;version&quot;: { # Version contains structured information about the version of the package. # The version installed at this location.
378 # For a discussion of this in Debian/Ubuntu:
379 # http://serverfault.com/questions/604541/debian-packages-version-convention
380 # For a discussion of this in Redhat/Fedora/Centos:
381 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
382 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
383 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
384 # If kind is not NORMAL, then the other fields are ignored.
385 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
386 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
387 },
388 &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 -0700389 },
390 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700391 },
392 &quot;upgrade&quot;: { # An Upgrade Occurrence represents that a specific resource_url could install a # Describes an upgrade.
393 # specific upgrade. This presence is supplied via local sources (i.e. it is
394 # present in the mirror and the running system has noticed its availability).
Bu Sun Kim65020912020-05-20 12:08:20 -0700395 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
396 &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.
397 # For a discussion of this in Debian/Ubuntu:
398 # http://serverfault.com/questions/604541/debian-packages-version-convention
399 # For a discussion of this in Redhat/Fedora/Centos:
400 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
401 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
402 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
403 # If kind is not NORMAL, then the other fields are ignored.
404 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
405 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700406 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700407 &quot;distribution&quot;: { # The Upgrade Distribution represents metadata about the Upgrade for each # Metadata about the upgrade for available for the specific operating system
408 # for the resource_url. This allows efficient filtering, as well as
409 # making it easier to use the occurrence.
410 # operating system (CPE). Some distributions have additional metadata around
411 # updates, classifying them into various categories and severities.
412 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the
413 # upstream operating system upgrade feed.
414 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
415 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See
416 # https://cpe.mitre.org/specification/.
417 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
418 &quot;A String&quot;,
419 ],
420 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700421 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700422 &quot;discovered&quot;: { # Provides information about the scan status of a discovered resource. # Describes the initial scan status for this resource.
423 &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.
424 # This field is deprecated, do not use.
425 # network API call.
Bu Sun Kim65020912020-05-20 12:08:20 -0700426 &quot;response&quot;: { # The normal response of the operation in case of success. If the original
427 # method returns no data on success, such as `Delete`, the response is
428 # `google.protobuf.Empty`. If the original method is standard
429 # `Get`/`Create`/`Update`, the response should be the resource. For other
430 # methods, the response should have the type `XxxResponse`, where `Xxx`
431 # is the original method name. For example, if the original method name
432 # is `TakeSnapshot()`, the inferred response type is
433 # `TakeSnapshotResponse`.
434 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
435 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700436 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that
437 # originally returns it. If you use the default HTTP mapping, the
438 # `name` should be a resource name ending with `operations/{unique_id}`.
439 &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.
440 # different programming environments, including REST APIs and RPC APIs. It is
441 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
442 # three pieces of data: error code, error message, and error details.
443 #
444 # You can find out more about this error model and how to work with it in the
445 # [API Design Guide](https://cloud.google.com/apis/design/errors).
446 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
447 # message types for APIs to use.
448 {
449 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
450 },
451 ],
452 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
453 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
454 # user-facing error message should be localized and sent in the
455 # google.rpc.Status.details field, or localized by the client.
456 },
457 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically
458 # contains progress information and common metadata such as create time.
459 # Some services might not provide such metadata. Any method that returns a
460 # long-running operation should document the metadata type, if any.
461 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
462 },
463 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress.
464 # If `true`, the operation is completed, and either `error` or `response` is
465 # available.
Bu Sun Kim65020912020-05-20 12:08:20 -0700466 },
467 &quot;analysisStatus&quot;: &quot;A String&quot;, # The status of discovery for the resource.
468 &quot;continuousAnalysis&quot;: &quot;A String&quot;, # Whether the resource is continuously analyzed.
469 &quot;cpe&quot;: &quot;A String&quot;, # The CPE of the resource being scanned.
470 &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
471 # details to show to the user. The LocalizedMessage output only and
472 # populated by the API.
473 # different programming environments, including REST APIs and RPC APIs. It is
474 # used by [gRPC](https://github.com/grpc). Each `Status` message contains
475 # three pieces of data: error code, error message, and error details.
476 #
477 # You can find out more about this error model and how to work with it in the
478 # [API Design Guide](https://cloud.google.com/apis/design/errors).
Bu Sun Kim65020912020-05-20 12:08:20 -0700479 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of
480 # message types for APIs to use.
481 {
482 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
483 },
484 ],
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700485 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
486 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any
487 # user-facing error message should be localized and sent in the
488 # google.rpc.Status.details field, or localized by the client.
Bu Sun Kim65020912020-05-20 12:08:20 -0700489 },
490 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700491 &quot;noteName&quot;: &quot;A String&quot;, # An analysis note associated with this image, in the form
492 # &quot;providers/{provider_id}/notes/{NOTE_ID}&quot;
493 # This field can be used as a filter in list requests.
Bu Sun Kim65020912020-05-20 12:08:20 -0700494 &quot;deployment&quot;: { # The period during which some deployable was active in a runtime. # Describes the deployment of an artifact on a runtime.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700495 &quot;deployTime&quot;: &quot;A String&quot;, # Beginning of the lifetime of this deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700496 &quot;address&quot;: &quot;A String&quot;, # Address of the runtime element hosting this deployment.
497 &quot;resourceUri&quot;: [ # Output only. Resource URI for the artifact being deployed taken from the
498 # deployable field with the same name.
499 &quot;A String&quot;,
500 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700501 &quot;config&quot;: &quot;A String&quot;, # Configuration used to create this deployment.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700502 &quot;userEmail&quot;: &quot;A String&quot;, # Identity of the user that triggered this deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700503 &quot;undeployTime&quot;: &quot;A String&quot;, # End of the lifetime of this deployment.
504 &quot;platform&quot;: &quot;A String&quot;, # Platform hosting this deployment.
Bu Sun Kim65020912020-05-20 12:08:20 -0700505 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700506 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was created.
Bu Sun Kim65020912020-05-20 12:08:20 -0700507 &quot;vulnerabilityDetails&quot;: { # Used by Occurrence to point to where the vulnerability exists and how # Details of a security vulnerability note.
508 # to fix it.
Bu Sun Kim65020912020-05-20 12:08:20 -0700509 &quot;effectiveSeverity&quot;: &quot;A String&quot;, # The distro assigned severity for this vulnerability when that is
510 # available and note provider assigned severity when distro has not yet
511 # assigned a severity for this vulnerability.
512 &quot;packageIssue&quot;: [ # The set of affected locations and their fixes (if available) within
513 # the associated resource.
514 { # This message wraps a location affected by a vulnerability and its
515 # associated fix (if one is available).
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700516 &quot;severityName&quot;: &quot;A String&quot;,
Bu Sun Kim65020912020-05-20 12:08:20 -0700517 &quot;affectedLocation&quot;: { # The location of the vulnerability # The location of the vulnerability.
Bu Sun Kim65020912020-05-20 12:08:20 -0700518 &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
519 # filter in list requests.
520 # For a discussion of this in Debian/Ubuntu:
521 # http://serverfault.com/questions/604541/debian-packages-version-convention
522 # For a discussion of this in Redhat/Fedora/Centos:
523 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
524 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
525 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
526 # If kind is not NORMAL, then the other fields are ignored.
527 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
528 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
529 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700530 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/)
531 # format. Examples include distro or storage location for vulnerable jar.
532 # This field can be used as a filter in list requests.
533 &quot;package&quot;: &quot;A String&quot;, # The package being described.
Bu Sun Kim65020912020-05-20 12:08:20 -0700534 },
535 &quot;fixedLocation&quot;: { # The location of the vulnerability # The location of the available fix for vulnerability.
Bu Sun Kim65020912020-05-20 12:08:20 -0700536 &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
537 # filter in list requests.
538 # For a discussion of this in Debian/Ubuntu:
539 # http://serverfault.com/questions/604541/debian-packages-version-convention
540 # For a discussion of this in Redhat/Fedora/Centos:
541 # http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/
542 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
543 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions.
544 # If kind is not NORMAL, then the other fields are ignored.
545 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
546 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
547 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700548 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/)
549 # format. Examples include distro or storage location for vulnerable jar.
550 # This field can be used as a filter in list requests.
551 &quot;package&quot;: &quot;A String&quot;, # The package being described.
Bu Sun Kim65020912020-05-20 12:08:20 -0700552 },
Bu Sun Kim65020912020-05-20 12:08:20 -0700553 },
554 ],
555 &quot;severity&quot;: &quot;A String&quot;, # Output only. The note provider assigned Severity of the vulnerability.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700556 &quot;cvssScore&quot;: 3.14, # Output only. The CVSS score of this vulnerability. CVSS score is on a
557 # scale of 0-10 where 0 indicates low severity and 10 indicates high
558 # severity.
559 &quot;type&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems,
560 # node.js packages etc)
Bu Sun Kim65020912020-05-20 12:08:20 -0700561 },
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700562 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time this `Occurrence` was last updated.
563 &quot;remediation&quot;: &quot;A String&quot;, # A description of actions that can be taken to remedy the `Note`
564 &quot;derivedImage&quot;: { # Derived describes the derived image portion (Occurrence) of the # Describes how this resource derives from the basis
565 # in the associated note.
566 # DockerImage relationship. This image would be produced from a Dockerfile
567 # with FROM &lt;DockerImage.Basis in attached Note&gt;.
568 &quot;distance&quot;: 42, # Output only. The number of layers by which this image differs from the
569 # associated image basis.
570 &quot;baseResourceUrl&quot;: &quot;A String&quot;, # Output only. This contains the base image URL for the derived image
571 # occurrence.
572 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the derived image.
573 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
574 &quot;A String&quot;,
575 ],
576 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1
577 # representation.
578 # This field can be used as a filter in list requests.
579 &quot;v2Name&quot;: &quot;A String&quot;, # Output only. The name of the image&#x27;s v2 blobs computed via:
580 # [bottom] := v2_blobbottom := sha256(v2_blob[N] + &quot; &quot; + v2_name[N+1])
581 # Only the name of the final blob is kept.
582 # This field can be used as a filter in list requests.
583 },
584 &quot;layerInfo&quot;: [ # This contains layer-specific metadata, if populated it has length
585 # &quot;distance&quot; and is ordered with [distance] being the layer immediately
586 # following the base image and [1] being the final layer.
587 { # Layer holds metadata specific to a layer of a Docker image.
588 &quot;directive&quot;: &quot;A String&quot;, # The recovered Dockerfile directive used to construct this layer.
589 &quot;arguments&quot;: &quot;A String&quot;, # The recovered arguments to the Dockerfile directive.
590 },
591 ],
592 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700593 },
594 ],
Bu Sun Kim65020912020-05-20 12:08:20 -0700595 &quot;nextPageToken&quot;: &quot;A String&quot;, # Token to receive the next page of notes.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700596 }</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>