blob: 74b8d55e61fe1bc03ade60e95b01612b445aaa2d [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_v1beta1.html">Container Analysis API</a> . <a href="containeranalysis_v1beta1.projects.html">projects</a> . <a href="containeranalysis_v1beta1.projects.notes.html">notes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="containeranalysis_v1beta1.projects.notes.occurrences.html">occurrences()</a></code>
79</p>
80<p class="firstline">Returns the occurrences Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="#batchCreate">batchCreate(parent, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084<p class="firstline">Creates new notes in batch.</p>
85<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070086 <code><a href="#close">close()</a></code></p>
87<p class="firstline">Close httplib2 connections.</p>
88<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070089 <code><a href="#create">create(parent, body=None, noteId=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070090<p class="firstline">Creates a new note.</p>
91<p class="toc_element">
92 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
93<p class="firstline">Deletes the specified note.</p>
94<p class="toc_element">
95 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
96<p class="firstline">Gets the specified note.</p>
97<p class="toc_element">
98 <code><a href="#getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070099<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700100<p class="toc_element">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700101 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700102<p class="firstline">Lists notes for the specified project.</p>
103<p class="toc_element">
104 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
105<p class="firstline">Retrieves the next page of results.</p>
106<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700107 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108<p class="firstline">Updates the specified note.</p>
109<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700110 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700111<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700112<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700113 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700114<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>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700115<h3>Method Details</h3>
116<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700117 <code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700118 <pre>Creates new notes in batch.
119
120Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700121 parent: string, Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700122 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700123 The object takes the form of:
124
125{ # Request to create notes in batch.
Bu Sun Kim65020912020-05-20 12:08:20 -0700126 &quot;notes&quot;: { # Required. The notes to create. Max allowed length is 1000.
127 &quot;a_key&quot;: { # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700128 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
129 &quot;A String&quot;,
130 ],
131 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
132 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700133 &quot;relatedUrl&quot;: [ # URLs associated with this note.
134 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700135 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700136 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700137 },
138 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700139 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700140 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700141 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700142 &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.
143 &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).
144 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
145 &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`
146 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700147 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700148 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700149 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700150 &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.
151 &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.
152 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
153 },
154 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700155 &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.
156 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
157 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
158 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
159 &quot;A String&quot;,
160 ],
161 &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.
162 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
163 },
164 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700165 &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.
166 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
167 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700168 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
169 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
170 &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.
171 {
172 &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.
173 {
174 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
175 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
176 },
177 ],
178 &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.
179 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
180 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
181 },
182 ],
183 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
184 &quot;userInteraction&quot;: &quot;A String&quot;,
185 &quot;integrityImpact&quot;: &quot;A String&quot;,
186 &quot;exploitabilityScore&quot;: 3.14,
187 &quot;impactScore&quot;: 3.14,
188 &quot;availabilityImpact&quot;: &quot;A String&quot;,
189 &quot;attackComplexity&quot;: &quot;A String&quot;,
190 &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.
191 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
192 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
193 &quot;privilegesRequired&quot;: &quot;A String&quot;,
194 &quot;scope&quot;: &quot;A String&quot;,
195 },
196 &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.
197 { # 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
198 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
199 &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.
200 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
201 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700202 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700203 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700204 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
205 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700206 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700207 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
208 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
209 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
210 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
211 &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.
212 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
213 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
214 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
215 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
216 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
217 },
218 },
219 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
220 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
221 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
222 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
223 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
224 },
225 &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.
226 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700227 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700228 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700229 &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.
230 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700231 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700232 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700233 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700234 &quot;expectedProducts&quot;: [
235 { # Defines an object to declare an in-toto artifact rule
236 &quot;artifactRule&quot;: [
237 &quot;A String&quot;,
238 ],
239 },
240 ],
241 &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.
242 { # Defines an object to declare an in-toto artifact rule
243 &quot;artifactRule&quot;: [
244 &quot;A String&quot;,
245 ],
246 },
247 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700248 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
249 &quot;A String&quot;,
250 ],
251 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
252 { # 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.
253 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
254 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
255 &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;.
256 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
257 },
258 ],
259 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700260 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
261 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700262 &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.
263 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
264 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
265 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700266 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700267 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700268 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
269 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
270 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
271 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
272 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
273 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
274 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
275 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
276 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
277 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
278 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
279 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
280 },
281 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
282 &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.
283 },
284 ],
285 },
286 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700287 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700288 },
289 }
290
291 x__xgafv: string, V1 error format.
292 Allowed values
293 1 - v1 error format
294 2 - v2 error format
295
296Returns:
297 An object of the form:
298
299 { # Response for creating notes in batch.
Bu Sun Kim65020912020-05-20 12:08:20 -0700300 &quot;notes&quot;: [ # The notes that were created.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700301 { # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700302 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
303 &quot;A String&quot;,
304 ],
305 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
306 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700307 &quot;relatedUrl&quot;: [ # URLs associated with this note.
308 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700309 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700310 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700311 },
312 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700313 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700314 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700315 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700316 &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.
317 &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).
318 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
319 &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`
320 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700321 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700322 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700323 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700324 &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.
325 &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.
326 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
327 },
328 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700329 &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.
330 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
331 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
332 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
333 &quot;A String&quot;,
334 ],
335 &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.
336 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
337 },
338 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700339 &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.
340 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
341 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700342 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
343 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
344 &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.
345 {
346 &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.
347 {
348 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
349 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
350 },
351 ],
352 &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.
353 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
354 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
355 },
356 ],
357 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
358 &quot;userInteraction&quot;: &quot;A String&quot;,
359 &quot;integrityImpact&quot;: &quot;A String&quot;,
360 &quot;exploitabilityScore&quot;: 3.14,
361 &quot;impactScore&quot;: 3.14,
362 &quot;availabilityImpact&quot;: &quot;A String&quot;,
363 &quot;attackComplexity&quot;: &quot;A String&quot;,
364 &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.
365 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
366 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
367 &quot;privilegesRequired&quot;: &quot;A String&quot;,
368 &quot;scope&quot;: &quot;A String&quot;,
369 },
370 &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.
371 { # 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
372 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
373 &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.
374 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
375 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700376 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700377 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700378 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
379 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700380 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700381 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
382 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
383 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
384 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
385 &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.
386 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
387 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
388 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
389 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
390 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
391 },
392 },
393 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
394 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
395 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
396 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
397 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
398 },
399 &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.
400 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700401 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700402 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700403 &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.
404 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700405 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700406 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700407 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700408 &quot;expectedProducts&quot;: [
409 { # Defines an object to declare an in-toto artifact rule
410 &quot;artifactRule&quot;: [
411 &quot;A String&quot;,
412 ],
413 },
414 ],
415 &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.
416 { # Defines an object to declare an in-toto artifact rule
417 &quot;artifactRule&quot;: [
418 &quot;A String&quot;,
419 ],
420 },
421 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700422 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
423 &quot;A String&quot;,
424 ],
425 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
426 { # 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.
427 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
428 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
429 &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;.
430 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
431 },
432 ],
433 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700434 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
435 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700436 &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.
437 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
438 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
439 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700440 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700441 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700442 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
443 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
444 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
445 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
446 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
447 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
448 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
449 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
450 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
451 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
452 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
453 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
454 },
455 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
456 &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.
457 },
458 ],
459 },
460 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -0700461 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700462 ],
463 }</pre>
464</div>
465
466<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700467 <code class="details" id="close">close()</code>
468 <pre>Close httplib2 connections.</pre>
469</div>
470
471<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700472 <code class="details" id="create">create(parent, body=None, noteId=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700473 <pre>Creates a new note.
474
475Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700476 parent: string, Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700477 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700478 The object takes the form of:
479
480{ # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700481 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
482 &quot;A String&quot;,
483 ],
484 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
485 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700486 &quot;relatedUrl&quot;: [ # URLs associated with this note.
487 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700488 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700489 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700490 },
491 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700492 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700493 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700494 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700495 &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.
496 &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).
497 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
498 &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`
499 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700500 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700501 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700502 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700503 &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.
504 &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.
505 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
506 },
507 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700508 &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.
509 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
510 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
511 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
512 &quot;A String&quot;,
513 ],
514 &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.
515 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
516 },
517 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700518 &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.
519 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
520 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700521 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
522 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
523 &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.
524 {
525 &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.
526 {
527 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
528 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
529 },
530 ],
531 &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.
532 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
533 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
534 },
535 ],
536 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
537 &quot;userInteraction&quot;: &quot;A String&quot;,
538 &quot;integrityImpact&quot;: &quot;A String&quot;,
539 &quot;exploitabilityScore&quot;: 3.14,
540 &quot;impactScore&quot;: 3.14,
541 &quot;availabilityImpact&quot;: &quot;A String&quot;,
542 &quot;attackComplexity&quot;: &quot;A String&quot;,
543 &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.
544 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
545 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
546 &quot;privilegesRequired&quot;: &quot;A String&quot;,
547 &quot;scope&quot;: &quot;A String&quot;,
548 },
549 &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.
550 { # 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
551 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
552 &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.
553 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
554 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700555 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700556 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700557 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
558 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700559 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700560 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
561 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
562 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
563 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
564 &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.
565 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
566 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
567 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
568 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
569 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
570 },
571 },
572 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
573 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
574 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
575 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
576 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
577 },
578 &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.
579 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700580 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700581 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700582 &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.
583 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700584 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700585 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700586 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700587 &quot;expectedProducts&quot;: [
588 { # Defines an object to declare an in-toto artifact rule
589 &quot;artifactRule&quot;: [
590 &quot;A String&quot;,
591 ],
592 },
593 ],
594 &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.
595 { # Defines an object to declare an in-toto artifact rule
596 &quot;artifactRule&quot;: [
597 &quot;A String&quot;,
598 ],
599 },
600 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700601 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
602 &quot;A String&quot;,
603 ],
604 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
605 { # 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.
606 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
607 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
608 &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;.
609 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
610 },
611 ],
612 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700613 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
614 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700615 &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.
616 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
617 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
618 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700619 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700620 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700621 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
622 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
623 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
624 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
625 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
626 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
627 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
628 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
629 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
630 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
631 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
632 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
633 },
634 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
635 &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.
636 },
637 ],
638 },
639 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700640 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700641
Dan O'Mearadd494642020-05-01 07:42:23 -0700642 noteId: string, Required. The ID to use for this note.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700643 x__xgafv: string, V1 error format.
644 Allowed values
645 1 - v1 error format
646 2 - v2 error format
647
648Returns:
649 An object of the form:
650
651 { # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700652 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
653 &quot;A String&quot;,
654 ],
655 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
656 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700657 &quot;relatedUrl&quot;: [ # URLs associated with this note.
658 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700659 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700660 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700661 },
662 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700663 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700664 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700665 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700666 &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.
667 &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).
668 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
669 &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`
670 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700671 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700672 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700673 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700674 &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.
675 &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.
676 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
677 },
678 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700679 &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.
680 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
681 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
682 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
683 &quot;A String&quot;,
684 ],
685 &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.
686 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
687 },
688 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700689 &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.
690 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
691 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700692 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
693 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
694 &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.
695 {
696 &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.
697 {
698 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
699 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
700 },
701 ],
702 &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.
703 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
704 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
705 },
706 ],
707 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
708 &quot;userInteraction&quot;: &quot;A String&quot;,
709 &quot;integrityImpact&quot;: &quot;A String&quot;,
710 &quot;exploitabilityScore&quot;: 3.14,
711 &quot;impactScore&quot;: 3.14,
712 &quot;availabilityImpact&quot;: &quot;A String&quot;,
713 &quot;attackComplexity&quot;: &quot;A String&quot;,
714 &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.
715 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
716 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
717 &quot;privilegesRequired&quot;: &quot;A String&quot;,
718 &quot;scope&quot;: &quot;A String&quot;,
719 },
720 &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.
721 { # 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
722 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
723 &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.
724 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
725 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700726 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700727 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700728 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
729 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700730 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700731 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
732 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
733 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
734 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
735 &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.
736 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
737 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
738 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
739 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
740 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
741 },
742 },
743 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
744 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
745 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
746 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
747 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
748 },
749 &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.
750 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700751 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700752 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700753 &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.
754 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700755 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700756 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700757 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700758 &quot;expectedProducts&quot;: [
759 { # Defines an object to declare an in-toto artifact rule
760 &quot;artifactRule&quot;: [
761 &quot;A String&quot;,
762 ],
763 },
764 ],
765 &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.
766 { # Defines an object to declare an in-toto artifact rule
767 &quot;artifactRule&quot;: [
768 &quot;A String&quot;,
769 ],
770 },
771 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700772 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
773 &quot;A String&quot;,
774 ],
775 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
776 { # 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.
777 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
778 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
779 &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;.
780 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
781 },
782 ],
783 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700784 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
785 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700786 &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.
787 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
788 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
789 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700790 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700791 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700792 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
793 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
794 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
795 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
796 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
797 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
798 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
799 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
800 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
801 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
802 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
803 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
804 },
805 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
806 &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.
807 },
808 ],
809 },
810 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700811 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700812</div>
813
814<div class="method">
815 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
816 <pre>Deletes the specified note.
817
818Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700819 name: string, Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700820 x__xgafv: string, V1 error format.
821 Allowed values
822 1 - v1 error format
823 2 - v2 error format
824
825Returns:
826 An object of the form:
827
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700828 { # 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); } The JSON representation for `Empty` is empty JSON object `{}`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700829 }</pre>
830</div>
831
832<div class="method">
833 <code class="details" id="get">get(name, x__xgafv=None)</code>
834 <pre>Gets the specified note.
835
836Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700837 name: string, Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700838 x__xgafv: string, V1 error format.
839 Allowed values
840 1 - v1 error format
841 2 - v2 error format
842
843Returns:
844 An object of the form:
845
846 { # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700847 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
848 &quot;A String&quot;,
849 ],
850 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
851 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700852 &quot;relatedUrl&quot;: [ # URLs associated with this note.
853 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700854 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700855 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -0700856 },
857 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700858 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700859 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700860 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700861 &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.
862 &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).
863 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
864 &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`
865 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700866 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700867 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700868 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700869 &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.
870 &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.
871 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
872 },
873 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700874 &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.
875 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
876 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
877 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
878 &quot;A String&quot;,
879 ],
880 &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.
881 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
882 },
883 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700884 &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.
885 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
886 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700887 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
888 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
889 &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.
890 {
891 &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.
892 {
893 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
894 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
895 },
896 ],
897 &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.
898 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
899 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
900 },
901 ],
902 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
903 &quot;userInteraction&quot;: &quot;A String&quot;,
904 &quot;integrityImpact&quot;: &quot;A String&quot;,
905 &quot;exploitabilityScore&quot;: 3.14,
906 &quot;impactScore&quot;: 3.14,
907 &quot;availabilityImpact&quot;: &quot;A String&quot;,
908 &quot;attackComplexity&quot;: &quot;A String&quot;,
909 &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.
910 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
911 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
912 &quot;privilegesRequired&quot;: &quot;A String&quot;,
913 &quot;scope&quot;: &quot;A String&quot;,
914 },
915 &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.
916 { # 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
917 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
918 &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.
919 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
920 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700921 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700922 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700923 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
924 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700925 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700926 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
927 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
928 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
929 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
930 &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.
931 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
932 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
933 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
934 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
935 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
936 },
937 },
938 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
939 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
940 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
941 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
942 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
943 },
944 &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.
945 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700946 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700947 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700948 &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.
949 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -0700950 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700951 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700952 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700953 &quot;expectedProducts&quot;: [
954 { # Defines an object to declare an in-toto artifact rule
955 &quot;artifactRule&quot;: [
956 &quot;A String&quot;,
957 ],
958 },
959 ],
960 &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.
961 { # Defines an object to declare an in-toto artifact rule
962 &quot;artifactRule&quot;: [
963 &quot;A String&quot;,
964 ],
965 },
966 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700967 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
968 &quot;A String&quot;,
969 ],
970 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
971 { # 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.
972 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
973 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
974 &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;.
975 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
976 },
977 ],
978 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700979 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
980 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700981 &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.
982 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
983 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
984 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700985 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700986 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -0700987 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
988 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
989 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
990 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
991 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
992 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
993 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
994 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
995 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
996 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
997 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
998 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
999 },
1000 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
1001 &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.
1002 },
1003 ],
1004 },
1005 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001006 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001007</div>
1008
1009<div class="method">
1010 <code class="details" id="getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001011 <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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001012
1013Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001014 resource: string, REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. (required)
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001015 body: object, The request body.
1016 The object takes the form of:
1017
1018{ # Request message for `GetIamPolicy` method.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001019 &quot;options&quot;: { # Encapsulates settings provided to GetIamPolicy. # OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
1020 &quot;requestedPolicyVersion&quot;: 42, # Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value 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).
Dan O'Mearadd494642020-05-01 07:42:23 -07001021 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001022 }
1023
1024 x__xgafv: string, V1 error format.
1025 Allowed values
1026 1 - v1 error format
1027 2 - v2 error format
1028
1029Returns:
1030 An object of the form:
1031
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001032 { # 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` to a single `role`. Members 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:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&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:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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/).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001033 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001034 &quot;bindings&quot;: [ # Associates a list of `members` to 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 member.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001035 { # Associates `members` with a `role`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001036 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?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, `my-other-app@appspot.gserviceaccount.com?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, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001037 &quot;A String&quot;,
1038 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001039 &quot;bindingId&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001040 &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 members 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).
1041 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001042 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001043 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001044 &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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001045 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001046 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001047 },
1048 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001049 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001050 }</pre>
1051</div>
1052
1053<div class="method">
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001054 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001055 <pre>Lists notes for the specified project.
1056
1057Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001058 parent: string, Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. (required)
Bu Sun Kim65020912020-05-20 12:08:20 -07001059 filter: string, The filter expression.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001060 pageSize: integer, Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001061 pageToken: string, Token to provide to skip to a particular spot in the list.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001062 x__xgafv: string, V1 error format.
1063 Allowed values
1064 1 - v1 error format
1065 2 - v2 error format
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001066
1067Returns:
1068 An object of the form:
1069
1070 { # Response for listing notes.
Bu Sun Kim65020912020-05-20 12:08:20 -07001071 &quot;notes&quot;: [ # The notes requested.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001072 { # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001073 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
1074 &quot;A String&quot;,
1075 ],
1076 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
1077 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001078 &quot;relatedUrl&quot;: [ # URLs associated with this note.
1079 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001080 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001081 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001082 },
1083 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001084 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001085 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001086 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001087 &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.
1088 &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).
1089 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
1090 &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`
1091 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001092 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001093 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001094 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001095 &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.
1096 &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.
1097 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
1098 },
1099 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001100 &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.
1101 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
1102 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
1103 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1104 &quot;A String&quot;,
1105 ],
1106 &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.
1107 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1108 },
1109 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001110 &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.
1111 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
1112 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001113 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
1114 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
1115 &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.
1116 {
1117 &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.
1118 {
1119 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1120 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
1121 },
1122 ],
1123 &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.
1124 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
1125 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
1126 },
1127 ],
1128 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
1129 &quot;userInteraction&quot;: &quot;A String&quot;,
1130 &quot;integrityImpact&quot;: &quot;A String&quot;,
1131 &quot;exploitabilityScore&quot;: 3.14,
1132 &quot;impactScore&quot;: 3.14,
1133 &quot;availabilityImpact&quot;: &quot;A String&quot;,
1134 &quot;attackComplexity&quot;: &quot;A String&quot;,
1135 &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.
1136 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1137 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
1138 &quot;privilegesRequired&quot;: &quot;A String&quot;,
1139 &quot;scope&quot;: &quot;A String&quot;,
1140 },
1141 &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.
1142 { # 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
1143 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1144 &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.
1145 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1146 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001147 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001148 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001149 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1150 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001151 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001152 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
1153 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
1154 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
1155 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1156 &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.
1157 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1158 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1159 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1160 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1161 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1162 },
1163 },
1164 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
1165 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1166 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1167 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1168 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1169 },
1170 &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.
1171 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001172 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001173 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001174 &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.
1175 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001176 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001177 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001178 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001179 &quot;expectedProducts&quot;: [
1180 { # Defines an object to declare an in-toto artifact rule
1181 &quot;artifactRule&quot;: [
1182 &quot;A String&quot;,
1183 ],
1184 },
1185 ],
1186 &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.
1187 { # Defines an object to declare an in-toto artifact rule
1188 &quot;artifactRule&quot;: [
1189 &quot;A String&quot;,
1190 ],
1191 },
1192 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001193 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
1194 &quot;A String&quot;,
1195 ],
1196 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
1197 { # 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.
1198 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
1199 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
1200 &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;.
1201 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
1202 },
1203 ],
1204 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001205 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
1206 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001207 &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.
1208 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1209 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
1210 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001211 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001212 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001213 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
1214 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
1215 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1216 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
1217 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1218 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1219 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1220 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
1221 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1222 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1223 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1224 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1225 },
1226 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
1227 &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.
1228 },
1229 ],
1230 },
1231 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001232 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001233 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001234 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001235 }</pre>
1236</div>
1237
1238<div class="method">
1239 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1240 <pre>Retrieves the next page of results.
1241
1242Args:
1243 previous_request: The request for the previous page. (required)
1244 previous_response: The response from the request for the previous page. (required)
1245
1246Returns:
Bu Sun Kim65020912020-05-20 12:08:20 -07001247 A request object that you can call &#x27;execute()&#x27; on to request the next
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001248 page. Returns None if there are no more items in the collection.
1249 </pre>
1250</div>
1251
1252<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001253 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001254 <pre>Updates the specified note.
1255
1256Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001257 name: string, Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001258 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001259 The object takes the form of:
1260
1261{ # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001262 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
1263 &quot;A String&quot;,
1264 ],
1265 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
1266 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001267 &quot;relatedUrl&quot;: [ # URLs associated with this note.
1268 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001269 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001270 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001271 },
1272 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001273 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001274 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001275 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001276 &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.
1277 &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).
1278 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
1279 &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`
1280 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001281 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001282 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001283 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001284 &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.
1285 &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.
1286 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
1287 },
1288 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001289 &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.
1290 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
1291 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
1292 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1293 &quot;A String&quot;,
1294 ],
1295 &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.
1296 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1297 },
1298 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001299 &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.
1300 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
1301 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001302 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
1303 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
1304 &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.
1305 {
1306 &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.
1307 {
1308 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1309 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
1310 },
1311 ],
1312 &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.
1313 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
1314 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
1315 },
1316 ],
1317 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
1318 &quot;userInteraction&quot;: &quot;A String&quot;,
1319 &quot;integrityImpact&quot;: &quot;A String&quot;,
1320 &quot;exploitabilityScore&quot;: 3.14,
1321 &quot;impactScore&quot;: 3.14,
1322 &quot;availabilityImpact&quot;: &quot;A String&quot;,
1323 &quot;attackComplexity&quot;: &quot;A String&quot;,
1324 &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.
1325 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1326 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
1327 &quot;privilegesRequired&quot;: &quot;A String&quot;,
1328 &quot;scope&quot;: &quot;A String&quot;,
1329 },
1330 &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.
1331 { # 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
1332 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1333 &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.
1334 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1335 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001336 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001337 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001338 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1339 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001340 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001341 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
1342 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
1343 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
1344 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1345 &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.
1346 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1347 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1348 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1349 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1350 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1351 },
1352 },
1353 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
1354 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1355 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1356 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1357 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1358 },
1359 &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.
1360 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001361 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001362 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001363 &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.
1364 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001365 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001366 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001367 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001368 &quot;expectedProducts&quot;: [
1369 { # Defines an object to declare an in-toto artifact rule
1370 &quot;artifactRule&quot;: [
1371 &quot;A String&quot;,
1372 ],
1373 },
1374 ],
1375 &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.
1376 { # Defines an object to declare an in-toto artifact rule
1377 &quot;artifactRule&quot;: [
1378 &quot;A String&quot;,
1379 ],
1380 },
1381 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001382 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
1383 &quot;A String&quot;,
1384 ],
1385 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
1386 { # 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.
1387 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
1388 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
1389 &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;.
1390 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
1391 },
1392 ],
1393 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001394 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
1395 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001396 &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.
1397 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1398 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
1399 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001400 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001401 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001402 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
1403 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
1404 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1405 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
1406 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1407 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1408 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1409 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
1410 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1411 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1412 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1413 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1414 },
1415 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
1416 &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.
1417 },
1418 ],
1419 },
1420 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001421 }
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001422
1423 updateMask: string, The fields to update.
1424 x__xgafv: string, V1 error format.
1425 Allowed values
1426 1 - v1 error format
1427 2 - v2 error format
1428
1429Returns:
1430 An object of the form:
1431
1432 { # A type of analysis that can be done for a resource.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001433 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
1434 &quot;A String&quot;,
1435 ],
1436 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
1437 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001438 &quot;relatedUrl&quot;: [ # URLs associated with this note.
1439 { # Metadata for any related URL information.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001440 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001441 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
Bu Sun Kim65020912020-05-20 12:08:20 -07001442 },
1443 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001444 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001445 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001446 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001447 &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.
1448 &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).
1449 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
1450 &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`
1451 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001452 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001453 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001454 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001455 &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.
1456 &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.
1457 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
1458 },
1459 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001460 &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.
1461 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
1462 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
1463 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1464 &quot;A String&quot;,
1465 ],
1466 &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.
1467 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1468 },
1469 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001470 &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.
1471 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
1472 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001473 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
1474 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
1475 &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.
1476 {
1477 &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.
1478 {
1479 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1480 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
1481 },
1482 ],
1483 &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.
1484 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
1485 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
1486 },
1487 ],
1488 &quot;cvssV3&quot;: { # Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSSv3.
1489 &quot;userInteraction&quot;: &quot;A String&quot;,
1490 &quot;integrityImpact&quot;: &quot;A String&quot;,
1491 &quot;exploitabilityScore&quot;: 3.14,
1492 &quot;impactScore&quot;: 3.14,
1493 &quot;availabilityImpact&quot;: &quot;A String&quot;,
1494 &quot;attackComplexity&quot;: &quot;A String&quot;,
1495 &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.
1496 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1497 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
1498 &quot;privilegesRequired&quot;: &quot;A String&quot;,
1499 &quot;scope&quot;: &quot;A String&quot;,
1500 },
1501 &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.
1502 { # 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
1503 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1504 &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.
1505 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1506 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001507 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001508 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001509 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1510 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001511 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001512 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
1513 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
1514 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
1515 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1516 &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.
1517 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1518 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1519 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1520 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1521 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1522 },
1523 },
1524 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
1525 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1526 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1527 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1528 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1529 },
1530 &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.
1531 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001532 },
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001533 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001534 &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.
1535 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001536 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001537 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001538 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001539 &quot;expectedProducts&quot;: [
1540 { # Defines an object to declare an in-toto artifact rule
1541 &quot;artifactRule&quot;: [
1542 &quot;A String&quot;,
1543 ],
1544 },
1545 ],
1546 &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.
1547 { # Defines an object to declare an in-toto artifact rule
1548 &quot;artifactRule&quot;: [
1549 &quot;A String&quot;,
1550 ],
1551 },
1552 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001553 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
1554 &quot;A String&quot;,
1555 ],
1556 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
1557 { # 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.
1558 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
1559 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
1560 &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;.
1561 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
1562 },
1563 ],
1564 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001565 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
1566 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001567 &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.
1568 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1569 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
1570 &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001571 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001572 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001573 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
1574 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
1575 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1576 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
1577 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1578 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1579 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1580 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
1581 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1582 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1583 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1584 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1585 },
1586 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
1587 &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.
1588 },
1589 ],
1590 },
1591 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001592 }</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001593</div>
1594
1595<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001596 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001597 <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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001598
1599Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001600 resource: string, REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001601 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001602 The object takes the form of:
1603
1604{ # Request message for `SetIamPolicy` method.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001605 &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` to a single `role`. Members 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:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&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:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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 Cloud Platform services (such as Projects) might reject them.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001606 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001607 &quot;bindings&quot;: [ # Associates a list of `members` to 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 member.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001608 { # Associates `members` with a `role`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001609 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?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, `my-other-app@appspot.gserviceaccount.com?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, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001610 &quot;A String&quot;,
1611 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001612 &quot;bindingId&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001613 &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 members 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).
1614 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001615 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001616 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001617 &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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001618 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001619 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001620 },
1621 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001622 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001623 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001624 }
1625
1626 x__xgafv: string, V1 error format.
1627 Allowed values
1628 1 - v1 error format
1629 2 - v2 error format
1630
1631Returns:
1632 An object of the form:
1633
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001634 { # 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` to a single `role`. Members 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:mike@example.com&quot;, &quot;group:admins@example.com&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:my-project-id@appspot.gserviceaccount.com&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:eve@example.com&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:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com 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/).
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001635 &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).
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001636 &quot;bindings&quot;: [ # Associates a list of `members` to 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 member.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001637 { # Associates `members` with a `role`.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001638 &quot;members&quot;: [ # Specifies the identities requesting access for a Cloud Platform 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. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?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, `my-other-app@appspot.gserviceaccount.com?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, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001639 &quot;A String&quot;,
1640 ],
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001641 &quot;bindingId&quot;: &quot;A String&quot;,
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001642 &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 members 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).
1643 &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.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001644 &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.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001645 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001646 &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.
Bu Sun Kim4ed7d3f2020-05-27 12:20:54 -07001647 },
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001648 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to `members`. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001649 },
1650 ],
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001651 &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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001652 }</pre>
1653</div>
1654
1655<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001656 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001657 <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.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001658
1659Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001660 resource: string, REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001661 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001662 The object takes the form of:
1663
1664{ # Request message for `TestIamPermissions` method.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001665 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as &#x27;*&#x27; or &#x27;storage.*&#x27;) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
Bu Sun Kim65020912020-05-20 12:08:20 -07001666 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001667 ],
1668 }
1669
1670 x__xgafv: string, V1 error format.
1671 Allowed values
1672 1 - v1 error format
1673 2 - v2 error format
1674
1675Returns:
1676 An object of the form:
1677
1678 { # Response message for `TestIamPermissions` method.
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001679 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
Bu Sun Kim65020912020-05-20 12:08:20 -07001680 &quot;A String&quot;,
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001681 ],
1682 }</pre>
1683</div>
1684
1685</body></html>