Debian Codegraph @

docs/dyn/containeranalysis_v1beta1.projects.notes.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="containeranalysis_v1beta1.html">Container Analysis API</a> . <a href="containeranalysis_v1beta1.projects.html">projects</a> . <a href="containeranalysis_v1beta1.projects.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">
83 <code><a href="#batchCreate">batchCreate(parent, body=None, x__xgafv=None)</a></code></p>
84 <p class="firstline">Creates new notes in batch.</p>
85 <p class="toc_element">
86 <code><a href="#close">close()</a></code></p>
87 <p class="firstline">Close httplib2 connections.</p>
88 <p class="toc_element">
89 <code><a href="#create">create(parent, body=None, noteId=None, x__xgafv=None)</a></code></p>
90 <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>
99 <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>
100 <p class="toc_element">
101 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Lists notes for the specified project.</p>
103 <p class="toc_element">
104 <code><a href="#list_next">list_next()</a></code></p>
105 <p class="firstline">Retrieves the next page of results.</p>
106 <p class="toc_element">
107 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
108 <p class="firstline">Updates the specified note.</p>
109 <p class="toc_element">
110 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
111 <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>
112 <p class="toc_element">
113 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
114 <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>
115 <h3>Method Details</h3>
116 <div class="method">
117 <code class="details" id="batchCreate">batchCreate(parent, body=None, x__xgafv=None)</code>
118 <pre>Creates new notes in batch.
119
120 Args:
121 parent: string, Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created. (required)
122 body: object, The request body.
123 The object takes the form of:
124
125 { # Request to create notes in batch.
126 &quot;notes&quot;: { # Required. The notes to create, the key is expected to be the note ID. Max allowed length is 1000.
127 &quot;a_key&quot;: { # A type of analysis that can be done for a resource.
128 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
129 },
130 &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.
131 &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.
132 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
133 },
134 },
135 &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.
136 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
137 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
138 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
139 &quot;A String&quot;,
140 ],
141 &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.
142 },
143 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
144 },
145 &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.
146 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
147 &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.
148 &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).
149 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
150 &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`
151 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
152 },
153 },
154 &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.
155 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
156 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
157 &quot;A String&quot;,
158 ],
159 },
160 &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.
161 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
162 },
163 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
164 &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.
165 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
166 &quot;A String&quot;,
167 ],
168 &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.
169 { # Defines an object to declare an in-toto artifact rule
170 &quot;artifactRule&quot;: [
171 &quot;A String&quot;,
172 ],
173 },
174 ],
175 &quot;expectedProducts&quot;: [
176 { # Defines an object to declare an in-toto artifact rule
177 &quot;artifactRule&quot;: [
178 &quot;A String&quot;,
179 ],
180 },
181 ],
182 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
183 { # 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.
184 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
185 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
186 &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;.
187 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
188 },
189 ],
190 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
191 &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.
192 },
193 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
194 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
195 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
196 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
197 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
198 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
199 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
200 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
201 { # Digest information.
202 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
203 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
204 },
205 ],
206 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
207 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
208 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
209 &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.
210 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
211 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
212 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
213 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
214 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
215 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
216 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
217 },
218 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
219 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
220 },
221 ],
222 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
223 &quot;comments&quot;: &quot;A String&quot;, # Comments
224 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
225 },
226 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
227 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
228 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
229 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
230 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
231 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
232 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
233 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
234 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
235 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
236 },
237 },
238 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
239 &quot;A String&quot;,
240 ],
241 &quot;relatedUrl&quot;: [ # URLs associated with this note.
242 { # Metadata for any related URL information.
243 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
244 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
245 },
246 ],
247 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
248 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
249 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
250 },
251 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
252 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
253 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
254 },
255 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
256 },
257 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
258 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
259 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
260 &quot;A String&quot;,
261 ],
262 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
263 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
264 },
265 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
266 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
267 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
268 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
269 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
270 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
271 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
272 &quot;externalRefs&quot;: [ # ExternalRef
273 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
274 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
275 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
276 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
277 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
278 },
279 ],
280 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
281 &quot;A String&quot;,
282 ],
283 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
284 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
285 &quot;comments&quot;: &quot;A String&quot;, # Comments
286 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
287 },
288 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
289 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
290 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
291 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
292 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
293 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
294 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
295 },
296 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
297 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
298 },
299 &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.
300 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
301 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
302 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
303 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
304 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
305 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
306 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
307 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
308 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
309 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
310 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
311 &quot;exploitabilityScore&quot;: 3.14,
312 &quot;impactScore&quot;: 3.14,
313 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
314 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
315 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
316 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
317 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
318 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
319 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
320 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
321 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
322 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
323 },
324 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
325 &quot;attackComplexity&quot;: &quot;A String&quot;,
326 &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.
327 &quot;availabilityImpact&quot;: &quot;A String&quot;,
328 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
329 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
330 &quot;exploitabilityScore&quot;: 3.14,
331 &quot;impactScore&quot;: 3.14,
332 &quot;integrityImpact&quot;: &quot;A String&quot;,
333 &quot;privilegesRequired&quot;: &quot;A String&quot;,
334 &quot;scope&quot;: &quot;A String&quot;,
335 &quot;userInteraction&quot;: &quot;A String&quot;,
336 },
337 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
338 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
339 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
340 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
341 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
342 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
343 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
344 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
345 &quot;exploitabilityScore&quot;: 3.14,
346 &quot;impactScore&quot;: 3.14,
347 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
348 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
349 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
350 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
351 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
352 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
353 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
354 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
355 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
356 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
357 },
358 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
359 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
360 &quot;A String&quot;,
361 ],
362 &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.
363 { # 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
364 &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.
365 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
366 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
367 &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.
368 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
369 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
370 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
371 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
372 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
373 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
374 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
375 },
376 },
377 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
378 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
379 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
380 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
381 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
382 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
383 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
384 },
385 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
386 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
387 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
388 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
389 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
390 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
391 },
392 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
393 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
394 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
395 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
396 &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.
397 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
398 },
399 ],
400 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
401 &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.
402 &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.
403 {
404 &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.
405 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
406 &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.
407 {
408 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
409 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
410 },
411 ],
412 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
413 },
414 ],
415 },
416 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
417 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
418 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
419 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
420 &quot;A String&quot;,
421 ],
422 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
423 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
424 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
425 },
426 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
427 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
428 { # Metadata for any related URL information.
429 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
430 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
431 },
432 ],
433 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
434 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
435 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
436 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
437 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
438 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
439 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
440 },
441 },
442 ],
443 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
444 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
445 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
446 },
447 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
448 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
449 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
450 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
451 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
452 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
453 },
454 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
455 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
456 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
457 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
458 },
459 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
460 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
461 },
462 },
463 },
464 }
465
466 x__xgafv: string, V1 error format.
467 Allowed values
468 1 - v1 error format
469 2 - v2 error format
470
471 Returns:
472 An object of the form:
473
474 { # Response for creating notes in batch.
475 &quot;notes&quot;: [ # The notes that were created.
476 { # A type of analysis that can be done for a resource.
477 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
478 },
479 &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.
480 &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.
481 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
482 },
483 },
484 &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.
485 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
486 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
487 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
488 &quot;A String&quot;,
489 ],
490 &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.
491 },
492 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
493 },
494 &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.
495 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
496 &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.
497 &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).
498 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
499 &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`
500 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
501 },
502 },
503 &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.
504 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
505 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
506 &quot;A String&quot;,
507 ],
508 },
509 &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.
510 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
511 },
512 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
513 &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.
514 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
515 &quot;A String&quot;,
516 ],
517 &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.
518 { # Defines an object to declare an in-toto artifact rule
519 &quot;artifactRule&quot;: [
520 &quot;A String&quot;,
521 ],
522 },
523 ],
524 &quot;expectedProducts&quot;: [
525 { # Defines an object to declare an in-toto artifact rule
526 &quot;artifactRule&quot;: [
527 &quot;A String&quot;,
528 ],
529 },
530 ],
531 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
532 { # 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.
533 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
534 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
535 &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;.
536 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
537 },
538 ],
539 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
540 &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.
541 },
542 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
543 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
544 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
545 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
546 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
547 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
548 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
549 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
550 { # Digest information.
551 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
552 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
553 },
554 ],
555 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
556 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
557 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
558 &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.
559 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
560 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
561 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
562 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
563 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
564 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
565 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
566 },
567 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
568 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
569 },
570 ],
571 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
572 &quot;comments&quot;: &quot;A String&quot;, # Comments
573 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
574 },
575 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
576 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
577 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
578 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
579 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
580 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
581 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
582 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
583 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
584 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
585 },
586 },
587 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
588 &quot;A String&quot;,
589 ],
590 &quot;relatedUrl&quot;: [ # URLs associated with this note.
591 { # Metadata for any related URL information.
592 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
593 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
594 },
595 ],
596 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
597 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
598 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
599 },
600 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
601 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
602 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
603 },
604 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
605 },
606 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
607 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
608 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
609 &quot;A String&quot;,
610 ],
611 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
612 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
613 },
614 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
615 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
616 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
617 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
618 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
619 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
620 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
621 &quot;externalRefs&quot;: [ # ExternalRef
622 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
623 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
624 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
625 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
626 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
627 },
628 ],
629 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
630 &quot;A String&quot;,
631 ],
632 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
633 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
634 &quot;comments&quot;: &quot;A String&quot;, # Comments
635 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
636 },
637 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
638 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
639 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
640 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
641 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
642 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
643 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
644 },
645 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
646 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
647 },
648 &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.
649 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
650 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
651 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
652 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
653 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
654 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
655 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
656 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
657 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
658 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
659 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
660 &quot;exploitabilityScore&quot;: 3.14,
661 &quot;impactScore&quot;: 3.14,
662 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
663 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
664 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
665 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
666 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
667 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
668 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
669 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
670 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
671 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
672 },
673 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
674 &quot;attackComplexity&quot;: &quot;A String&quot;,
675 &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.
676 &quot;availabilityImpact&quot;: &quot;A String&quot;,
677 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
678 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
679 &quot;exploitabilityScore&quot;: 3.14,
680 &quot;impactScore&quot;: 3.14,
681 &quot;integrityImpact&quot;: &quot;A String&quot;,
682 &quot;privilegesRequired&quot;: &quot;A String&quot;,
683 &quot;scope&quot;: &quot;A String&quot;,
684 &quot;userInteraction&quot;: &quot;A String&quot;,
685 },
686 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
687 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
688 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
689 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
690 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
691 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
692 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
693 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
694 &quot;exploitabilityScore&quot;: 3.14,
695 &quot;impactScore&quot;: 3.14,
696 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
697 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
698 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
699 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
700 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
701 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
702 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
703 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
704 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
705 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
706 },
707 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
708 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
709 &quot;A String&quot;,
710 ],
711 &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.
712 { # 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
713 &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.
714 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
715 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
716 &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.
717 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
718 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
719 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
720 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
721 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
722 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
723 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
724 },
725 },
726 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
727 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
728 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
729 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
730 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
731 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
732 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
733 },
734 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
735 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
736 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
737 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
738 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
739 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
740 },
741 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
742 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
743 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
744 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
745 &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.
746 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
747 },
748 ],
749 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
750 &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.
751 &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.
752 {
753 &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.
754 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
755 &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.
756 {
757 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
758 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
759 },
760 ],
761 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
762 },
763 ],
764 },
765 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
766 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
767 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
768 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
769 &quot;A String&quot;,
770 ],
771 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
772 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
773 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
774 },
775 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
776 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
777 { # Metadata for any related URL information.
778 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
779 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
780 },
781 ],
782 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
783 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
784 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
785 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
786 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
787 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
788 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
789 },
790 },
791 ],
792 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
793 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
794 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
795 },
796 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
797 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
798 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
799 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
800 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
801 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
802 },
803 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
804 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
805 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
806 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
807 },
808 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
809 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
810 },
811 },
812 ],
813 }</pre>
814 </div>
815
816 <div class="method">
817 <code class="details" id="close">close()</code>
818 <pre>Close httplib2 connections.</pre>
819 </div>
820
821 <div class="method">
822 <code class="details" id="create">create(parent, body=None, noteId=None, x__xgafv=None)</code>
823 <pre>Creates a new note.
824
825 Args:
826 parent: string, Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created. (required)
827 body: object, The request body.
828 The object takes the form of:
829
830 { # A type of analysis that can be done for a resource.
831 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
832 },
833 &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.
834 &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.
835 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
836 },
837 },
838 &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.
839 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
840 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
841 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
842 &quot;A String&quot;,
843 ],
844 &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.
845 },
846 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
847 },
848 &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.
849 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
850 &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.
851 &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).
852 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
853 &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`
854 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
855 },
856 },
857 &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.
858 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
859 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
860 &quot;A String&quot;,
861 ],
862 },
863 &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.
864 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
865 },
866 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
867 &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.
868 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
869 &quot;A String&quot;,
870 ],
871 &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.
872 { # Defines an object to declare an in-toto artifact rule
873 &quot;artifactRule&quot;: [
874 &quot;A String&quot;,
875 ],
876 },
877 ],
878 &quot;expectedProducts&quot;: [
879 { # Defines an object to declare an in-toto artifact rule
880 &quot;artifactRule&quot;: [
881 &quot;A String&quot;,
882 ],
883 },
884 ],
885 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
886 { # 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.
887 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
888 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
889 &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;.
890 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
891 },
892 ],
893 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
894 &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.
895 },
896 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
897 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
898 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
899 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
900 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
901 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
902 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
903 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
904 { # Digest information.
905 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
906 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
907 },
908 ],
909 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
910 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
911 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
912 &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.
913 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
914 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
915 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
916 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
917 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
918 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
919 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
920 },
921 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
922 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
923 },
924 ],
925 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
926 &quot;comments&quot;: &quot;A String&quot;, # Comments
927 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
928 },
929 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
930 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
931 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
932 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
933 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
934 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
935 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
936 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
937 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
938 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
939 },
940 },
941 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
942 &quot;A String&quot;,
943 ],
944 &quot;relatedUrl&quot;: [ # URLs associated with this note.
945 { # Metadata for any related URL information.
946 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
947 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
948 },
949 ],
950 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
951 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
952 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
953 },
954 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
955 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
956 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
957 },
958 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
959 },
960 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
961 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
962 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
963 &quot;A String&quot;,
964 ],
965 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
966 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
967 },
968 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
969 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
970 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
971 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
972 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
973 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
974 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
975 &quot;externalRefs&quot;: [ # ExternalRef
976 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
977 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
978 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
979 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
980 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
981 },
982 ],
983 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
984 &quot;A String&quot;,
985 ],
986 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
987 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
988 &quot;comments&quot;: &quot;A String&quot;, # Comments
989 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
990 },
991 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
992 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
993 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
994 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
995 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
996 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
997 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
998 },
999 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
1000 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
1001 },
1002 &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.
1003 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
1004 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
1005 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
1006 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
1007 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1008 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1009 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1010 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1011 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1012 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1013 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1014 &quot;exploitabilityScore&quot;: 3.14,
1015 &quot;impactScore&quot;: 3.14,
1016 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1017 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1018 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1019 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1020 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1021 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1022 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1023 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1024 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1025 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1026 },
1027 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
1028 &quot;attackComplexity&quot;: &quot;A String&quot;,
1029 &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.
1030 &quot;availabilityImpact&quot;: &quot;A String&quot;,
1031 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1032 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
1033 &quot;exploitabilityScore&quot;: 3.14,
1034 &quot;impactScore&quot;: 3.14,
1035 &quot;integrityImpact&quot;: &quot;A String&quot;,
1036 &quot;privilegesRequired&quot;: &quot;A String&quot;,
1037 &quot;scope&quot;: &quot;A String&quot;,
1038 &quot;userInteraction&quot;: &quot;A String&quot;,
1039 },
1040 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
1041 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1042 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1043 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1044 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1045 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1046 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1047 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1048 &quot;exploitabilityScore&quot;: 3.14,
1049 &quot;impactScore&quot;: 3.14,
1050 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1051 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1052 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1053 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1054 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1055 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1056 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1057 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1058 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1059 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1060 },
1061 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
1062 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
1063 &quot;A String&quot;,
1064 ],
1065 &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.
1066 { # 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
1067 &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.
1068 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1069 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
1070 &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.
1071 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1072 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1073 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1074 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1075 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1076 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1077 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1078 },
1079 },
1080 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
1081 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
1082 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1083 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1084 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1085 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1086 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1087 },
1088 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
1089 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1090 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1091 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1092 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1093 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1094 },
1095 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
1096 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
1097 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1098 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
1099 &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.
1100 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
1101 },
1102 ],
1103 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
1104 &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.
1105 &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.
1106 {
1107 &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.
1108 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
1109 &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.
1110 {
1111 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1112 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
1113 },
1114 ],
1115 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
1116 },
1117 ],
1118 },
1119 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
1120 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
1121 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
1122 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1123 &quot;A String&quot;,
1124 ],
1125 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
1126 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1127 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1128 },
1129 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1130 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
1131 { # Metadata for any related URL information.
1132 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1133 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1134 },
1135 ],
1136 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1137 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1138 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1139 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1140 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
1141 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1142 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1143 },
1144 },
1145 ],
1146 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1147 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1148 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1149 },
1150 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
1151 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1152 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
1153 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
1154 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
1155 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
1156 },
1157 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
1158 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
1159 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
1160 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
1161 },
1162 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1163 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
1164 },
1165 }
1166
1167 noteId: string, Required. The ID to use for this note.
1168 x__xgafv: string, V1 error format.
1169 Allowed values
1170 1 - v1 error format
1171 2 - v2 error format
1172
1173 Returns:
1174 An object of the form:
1175
1176 { # A type of analysis that can be done for a resource.
1177 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
1178 },
1179 &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.
1180 &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.
1181 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
1182 },
1183 },
1184 &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.
1185 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
1186 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1187 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1188 &quot;A String&quot;,
1189 ],
1190 &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.
1191 },
1192 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
1193 },
1194 &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.
1195 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
1196 &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.
1197 &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).
1198 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
1199 &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`
1200 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
1201 },
1202 },
1203 &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.
1204 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1205 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
1206 &quot;A String&quot;,
1207 ],
1208 },
1209 &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.
1210 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
1211 },
1212 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
1213 &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.
1214 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
1215 &quot;A String&quot;,
1216 ],
1217 &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.
1218 { # Defines an object to declare an in-toto artifact rule
1219 &quot;artifactRule&quot;: [
1220 &quot;A String&quot;,
1221 ],
1222 },
1223 ],
1224 &quot;expectedProducts&quot;: [
1225 { # Defines an object to declare an in-toto artifact rule
1226 &quot;artifactRule&quot;: [
1227 &quot;A String&quot;,
1228 ],
1229 },
1230 ],
1231 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
1232 { # 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.
1233 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
1234 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
1235 &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;.
1236 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
1237 },
1238 ],
1239 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
1240 &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.
1241 },
1242 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
1243 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
1244 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
1245 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
1246 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
1247 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
1248 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
1249 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
1250 { # Digest information.
1251 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
1252 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
1253 },
1254 ],
1255 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1256 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
1257 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
1258 &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.
1259 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1260 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
1261 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1262 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1263 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1264 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1265 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1266 },
1267 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1268 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1269 },
1270 ],
1271 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1272 &quot;comments&quot;: &quot;A String&quot;, # Comments
1273 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1274 },
1275 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
1276 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
1277 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
1278 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
1279 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
1280 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1281 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1282 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1283 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1284 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1285 },
1286 },
1287 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
1288 &quot;A String&quot;,
1289 ],
1290 &quot;relatedUrl&quot;: [ # URLs associated with this note.
1291 { # Metadata for any related URL information.
1292 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1293 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1294 },
1295 ],
1296 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
1297 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
1298 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
1299 },
1300 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
1301 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1302 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
1303 },
1304 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1305 },
1306 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
1307 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
1308 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
1309 &quot;A String&quot;,
1310 ],
1311 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
1312 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
1313 },
1314 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
1315 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
1316 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
1317 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
1318 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
1319 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
1320 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
1321 &quot;externalRefs&quot;: [ # ExternalRef
1322 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
1323 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
1324 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
1325 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
1326 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
1327 },
1328 ],
1329 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
1330 &quot;A String&quot;,
1331 ],
1332 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
1333 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
1334 &quot;comments&quot;: &quot;A String&quot;, # Comments
1335 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1336 },
1337 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
1338 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1339 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
1340 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
1341 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
1342 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
1343 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
1344 },
1345 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
1346 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
1347 },
1348 &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.
1349 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
1350 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
1351 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
1352 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
1353 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1354 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1355 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1356 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1357 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1358 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1359 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1360 &quot;exploitabilityScore&quot;: 3.14,
1361 &quot;impactScore&quot;: 3.14,
1362 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1363 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1364 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1365 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1366 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1367 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1368 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1369 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1370 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1371 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1372 },
1373 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
1374 &quot;attackComplexity&quot;: &quot;A String&quot;,
1375 &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.
1376 &quot;availabilityImpact&quot;: &quot;A String&quot;,
1377 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1378 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
1379 &quot;exploitabilityScore&quot;: 3.14,
1380 &quot;impactScore&quot;: 3.14,
1381 &quot;integrityImpact&quot;: &quot;A String&quot;,
1382 &quot;privilegesRequired&quot;: &quot;A String&quot;,
1383 &quot;scope&quot;: &quot;A String&quot;,
1384 &quot;userInteraction&quot;: &quot;A String&quot;,
1385 },
1386 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
1387 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1388 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1389 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1390 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1391 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1392 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1393 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1394 &quot;exploitabilityScore&quot;: 3.14,
1395 &quot;impactScore&quot;: 3.14,
1396 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1397 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1398 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1399 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1400 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1401 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1402 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1403 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1404 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1405 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1406 },
1407 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
1408 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
1409 &quot;A String&quot;,
1410 ],
1411 &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.
1412 { # 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
1413 &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.
1414 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1415 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
1416 &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.
1417 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1418 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1419 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1420 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1421 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1422 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1423 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1424 },
1425 },
1426 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
1427 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
1428 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1429 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1430 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1431 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1432 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1433 },
1434 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
1435 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1436 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1437 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1438 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1439 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1440 },
1441 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
1442 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
1443 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1444 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
1445 &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.
1446 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
1447 },
1448 ],
1449 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
1450 &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.
1451 &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.
1452 {
1453 &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.
1454 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
1455 &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.
1456 {
1457 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1458 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
1459 },
1460 ],
1461 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
1462 },
1463 ],
1464 },
1465 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
1466 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
1467 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
1468 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1469 &quot;A String&quot;,
1470 ],
1471 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
1472 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1473 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1474 },
1475 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1476 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
1477 { # Metadata for any related URL information.
1478 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1479 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1480 },
1481 ],
1482 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1483 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1484 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1485 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1486 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
1487 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1488 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1489 },
1490 },
1491 ],
1492 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1493 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1494 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1495 },
1496 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
1497 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1498 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
1499 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
1500 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
1501 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
1502 },
1503 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
1504 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
1505 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
1506 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
1507 },
1508 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1509 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
1510 },
1511 }</pre>
1512 </div>
1513
1514 <div class="method">
1515 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
1516 <pre>Deletes the specified note.
1517
1518 Args:
1519 name: string, Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. (required)
1520 x__xgafv: string, V1 error format.
1521 Allowed values
1522 1 - v1 error format
1523 2 - v2 error format
1524
1525 Returns:
1526 An object of the form:
1527
1528 { # 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); }
1529 }</pre>
1530 </div>
1531
1532 <div class="method">
1533 <code class="details" id="get">get(name, x__xgafv=None)</code>
1534 <pre>Gets the specified note.
1535
1536 Args:
1537 name: string, Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. (required)
1538 x__xgafv: string, V1 error format.
1539 Allowed values
1540 1 - v1 error format
1541 2 - v2 error format
1542
1543 Returns:
1544 An object of the form:
1545
1546 { # A type of analysis that can be done for a resource.
1547 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
1548 },
1549 &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.
1550 &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.
1551 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
1552 },
1553 },
1554 &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.
1555 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
1556 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1557 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1558 &quot;A String&quot;,
1559 ],
1560 &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.
1561 },
1562 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
1563 },
1564 &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.
1565 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
1566 &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.
1567 &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).
1568 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
1569 &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`
1570 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
1571 },
1572 },
1573 &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.
1574 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1575 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
1576 &quot;A String&quot;,
1577 ],
1578 },
1579 &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.
1580 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
1581 },
1582 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
1583 &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.
1584 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
1585 &quot;A String&quot;,
1586 ],
1587 &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.
1588 { # Defines an object to declare an in-toto artifact rule
1589 &quot;artifactRule&quot;: [
1590 &quot;A String&quot;,
1591 ],
1592 },
1593 ],
1594 &quot;expectedProducts&quot;: [
1595 { # Defines an object to declare an in-toto artifact rule
1596 &quot;artifactRule&quot;: [
1597 &quot;A String&quot;,
1598 ],
1599 },
1600 ],
1601 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
1602 { # 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.
1603 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
1604 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
1605 &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;.
1606 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
1607 },
1608 ],
1609 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
1610 &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.
1611 },
1612 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
1613 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
1614 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
1615 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
1616 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
1617 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
1618 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
1619 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
1620 { # Digest information.
1621 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
1622 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
1623 },
1624 ],
1625 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1626 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
1627 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
1628 &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.
1629 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1630 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
1631 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1632 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1633 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1634 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1635 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1636 },
1637 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1638 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1639 },
1640 ],
1641 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1642 &quot;comments&quot;: &quot;A String&quot;, # Comments
1643 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1644 },
1645 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
1646 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
1647 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
1648 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
1649 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
1650 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1651 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1652 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1653 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1654 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1655 },
1656 },
1657 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
1658 &quot;A String&quot;,
1659 ],
1660 &quot;relatedUrl&quot;: [ # URLs associated with this note.
1661 { # Metadata for any related URL information.
1662 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1663 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1664 },
1665 ],
1666 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
1667 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
1668 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
1669 },
1670 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
1671 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1672 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
1673 },
1674 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1675 },
1676 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
1677 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
1678 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
1679 &quot;A String&quot;,
1680 ],
1681 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
1682 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
1683 },
1684 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
1685 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
1686 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
1687 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
1688 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
1689 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
1690 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
1691 &quot;externalRefs&quot;: [ # ExternalRef
1692 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
1693 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
1694 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
1695 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
1696 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
1697 },
1698 ],
1699 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
1700 &quot;A String&quot;,
1701 ],
1702 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
1703 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
1704 &quot;comments&quot;: &quot;A String&quot;, # Comments
1705 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
1706 },
1707 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
1708 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1709 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
1710 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
1711 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
1712 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
1713 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
1714 },
1715 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
1716 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
1717 },
1718 &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.
1719 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
1720 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
1721 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
1722 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
1723 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1724 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1725 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1726 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1727 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1728 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1729 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1730 &quot;exploitabilityScore&quot;: 3.14,
1731 &quot;impactScore&quot;: 3.14,
1732 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1733 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1734 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1735 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1736 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1737 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1738 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1739 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1740 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1741 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1742 },
1743 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
1744 &quot;attackComplexity&quot;: &quot;A String&quot;,
1745 &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.
1746 &quot;availabilityImpact&quot;: &quot;A String&quot;,
1747 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1748 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
1749 &quot;exploitabilityScore&quot;: 3.14,
1750 &quot;impactScore&quot;: 3.14,
1751 &quot;integrityImpact&quot;: &quot;A String&quot;,
1752 &quot;privilegesRequired&quot;: &quot;A String&quot;,
1753 &quot;scope&quot;: &quot;A String&quot;,
1754 &quot;userInteraction&quot;: &quot;A String&quot;,
1755 },
1756 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
1757 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1758 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
1759 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
1760 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
1761 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
1762 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
1763 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
1764 &quot;exploitabilityScore&quot;: 3.14,
1765 &quot;impactScore&quot;: 3.14,
1766 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
1767 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
1768 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
1769 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
1770 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1771 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1772 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
1773 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1774 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1775 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1776 },
1777 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
1778 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
1779 &quot;A String&quot;,
1780 ],
1781 &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.
1782 { # 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
1783 &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.
1784 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1785 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
1786 &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.
1787 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
1788 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
1789 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1790 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1791 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1792 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1793 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1794 },
1795 },
1796 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
1797 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
1798 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1799 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1800 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1801 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1802 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1803 },
1804 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
1805 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1806 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
1807 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
1808 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
1809 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1810 },
1811 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
1812 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
1813 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1814 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
1815 &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.
1816 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
1817 },
1818 ],
1819 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
1820 &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.
1821 &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.
1822 {
1823 &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.
1824 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
1825 &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.
1826 {
1827 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
1828 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
1829 },
1830 ],
1831 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
1832 },
1833 ],
1834 },
1835 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
1836 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
1837 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
1838 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1839 &quot;A String&quot;,
1840 ],
1841 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
1842 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1843 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1844 },
1845 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1846 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
1847 { # Metadata for any related URL information.
1848 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1849 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1850 },
1851 ],
1852 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1853 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1854 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1855 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1856 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
1857 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
1858 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
1859 },
1860 },
1861 ],
1862 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1863 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1864 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1865 },
1866 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
1867 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1868 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
1869 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
1870 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
1871 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
1872 },
1873 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
1874 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
1875 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
1876 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
1877 },
1878 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1879 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
1880 },
1881 }</pre>
1882 </div>
1883
1884 <div class="method">
1885 <code class="details" id="getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</code>
1886 <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.
1887
1888 Args:
1889 resource: string, REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
1890 body: object, The request body.
1891 The object takes the form of:
1892
1893 { # Request message for `GetIamPolicy` method.
1894 &quot;options&quot;: { # Encapsulates settings provided to GetIamPolicy. # OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
1895 &quot;requestedPolicyVersion&quot;: 42, # Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1896 },
1897 }
1898
1899 x__xgafv: string, V1 error format.
1900 Allowed values
1901 1 - v1 error format
1902 2 - v2 error format
1903
1904 Returns:
1905 An object of the form:
1906
1907 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
1908 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
1909 { # Associates `members`, or principals, with a `role`.
1910 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
1911 &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.
1912 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
1913 &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.
1914 &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.
1915 },
1916 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
1917 &quot;A String&quot;,
1918 ],
1919 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
1920 },
1921 ],
1922 &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.
1923 &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).
1924 }</pre>
1925 </div>
1926
1927 <div class="method">
1928 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, returnPartialSuccess=None, x__xgafv=None)</code>
1929 <pre>Lists notes for the specified project.
1930
1931 Args:
1932 parent: string, Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`. (required)
1933 filter: string, The filter expression.
1934 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.
1935 pageToken: string, Token to provide to skip to a particular spot in the list.
1936 returnPartialSuccess: boolean, If set, the request will return all reachable Notes and report all unreachable regions in the `unreachable` field in the response. Only applicable for requests in the global region.
1937 x__xgafv: string, V1 error format.
1938 Allowed values
1939 1 - v1 error format
1940 2 - v2 error format
1941
1942 Returns:
1943 An object of the form:
1944
1945 { # Response for listing notes.
1946 &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.
1947 &quot;notes&quot;: [ # The notes requested.
1948 { # A type of analysis that can be done for a resource.
1949 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
1950 },
1951 &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.
1952 &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.
1953 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
1954 },
1955 },
1956 &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.
1957 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
1958 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
1959 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
1960 &quot;A String&quot;,
1961 ],
1962 &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.
1963 },
1964 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
1965 },
1966 &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.
1967 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
1968 &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.
1969 &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).
1970 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
1971 &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`
1972 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
1973 },
1974 },
1975 &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.
1976 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1977 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
1978 &quot;A String&quot;,
1979 ],
1980 },
1981 &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.
1982 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
1983 },
1984 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
1985 &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.
1986 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
1987 &quot;A String&quot;,
1988 ],
1989 &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.
1990 { # Defines an object to declare an in-toto artifact rule
1991 &quot;artifactRule&quot;: [
1992 &quot;A String&quot;,
1993 ],
1994 },
1995 ],
1996 &quot;expectedProducts&quot;: [
1997 { # Defines an object to declare an in-toto artifact rule
1998 &quot;artifactRule&quot;: [
1999 &quot;A String&quot;,
2000 ],
2001 },
2002 ],
2003 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
2004 { # 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.
2005 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
2006 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
2007 &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;.
2008 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
2009 },
2010 ],
2011 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
2012 &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.
2013 },
2014 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
2015 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
2016 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
2017 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
2018 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
2019 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
2020 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
2021 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
2022 { # Digest information.
2023 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
2024 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
2025 },
2026 ],
2027 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
2028 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
2029 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
2030 &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.
2031 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
2032 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
2033 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2034 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2035 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2036 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2037 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2038 },
2039 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
2040 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
2041 },
2042 ],
2043 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
2044 &quot;comments&quot;: &quot;A String&quot;, # Comments
2045 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2046 },
2047 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
2048 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
2049 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
2050 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
2051 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
2052 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2053 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2054 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2055 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2056 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2057 },
2058 },
2059 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
2060 &quot;A String&quot;,
2061 ],
2062 &quot;relatedUrl&quot;: [ # URLs associated with this note.
2063 { # Metadata for any related URL information.
2064 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2065 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2066 },
2067 ],
2068 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
2069 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
2070 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
2071 },
2072 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
2073 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
2074 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
2075 },
2076 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
2077 },
2078 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
2079 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
2080 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
2081 &quot;A String&quot;,
2082 ],
2083 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
2084 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
2085 },
2086 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
2087 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
2088 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
2089 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
2090 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
2091 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
2092 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
2093 &quot;externalRefs&quot;: [ # ExternalRef
2094 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
2095 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
2096 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
2097 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
2098 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
2099 },
2100 ],
2101 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
2102 &quot;A String&quot;,
2103 ],
2104 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
2105 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
2106 &quot;comments&quot;: &quot;A String&quot;, # Comments
2107 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2108 },
2109 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
2110 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
2111 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
2112 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
2113 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
2114 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
2115 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
2116 },
2117 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
2118 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
2119 },
2120 &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.
2121 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
2122 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
2123 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
2124 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
2125 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2126 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2127 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2128 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2129 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2130 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2131 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2132 &quot;exploitabilityScore&quot;: 3.14,
2133 &quot;impactScore&quot;: 3.14,
2134 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2135 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2136 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2137 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2138 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2139 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2140 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2141 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2142 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2143 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2144 },
2145 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
2146 &quot;attackComplexity&quot;: &quot;A String&quot;,
2147 &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.
2148 &quot;availabilityImpact&quot;: &quot;A String&quot;,
2149 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2150 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
2151 &quot;exploitabilityScore&quot;: 3.14,
2152 &quot;impactScore&quot;: 3.14,
2153 &quot;integrityImpact&quot;: &quot;A String&quot;,
2154 &quot;privilegesRequired&quot;: &quot;A String&quot;,
2155 &quot;scope&quot;: &quot;A String&quot;,
2156 &quot;userInteraction&quot;: &quot;A String&quot;,
2157 },
2158 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
2159 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2160 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2161 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2162 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2163 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2164 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2165 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2166 &quot;exploitabilityScore&quot;: 3.14,
2167 &quot;impactScore&quot;: 3.14,
2168 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2169 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2170 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2171 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2172 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2173 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2174 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2175 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2176 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2177 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2178 },
2179 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
2180 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
2181 &quot;A String&quot;,
2182 ],
2183 &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.
2184 { # 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
2185 &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.
2186 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
2187 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
2188 &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.
2189 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2190 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2191 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2192 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2193 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2194 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2195 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2196 },
2197 },
2198 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
2199 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
2200 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2201 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2202 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2203 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2204 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2205 },
2206 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
2207 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2208 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2209 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2210 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2211 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2212 },
2213 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
2214 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
2215 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
2216 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
2217 &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.
2218 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
2219 },
2220 ],
2221 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
2222 &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.
2223 &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.
2224 {
2225 &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.
2226 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
2227 &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.
2228 {
2229 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
2230 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
2231 },
2232 ],
2233 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
2234 },
2235 ],
2236 },
2237 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
2238 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
2239 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
2240 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2241 &quot;A String&quot;,
2242 ],
2243 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
2244 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2245 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2246 },
2247 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2248 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
2249 { # Metadata for any related URL information.
2250 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2251 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2252 },
2253 ],
2254 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2255 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2256 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2257 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2258 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
2259 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2260 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2261 },
2262 },
2263 ],
2264 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2265 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2266 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2267 },
2268 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
2269 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2270 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
2271 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
2272 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
2273 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
2274 },
2275 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
2276 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
2277 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
2278 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
2279 },
2280 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2281 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
2282 },
2283 },
2284 ],
2285 &quot;unreachable&quot;: [ # Unordered list. Unreachable regions. Populated for requests from the global region when `return_partial_success` is set. Format: `projects/[PROJECT_ID]/locations/[LOCATION]`
2286 &quot;A String&quot;,
2287 ],
2288 }</pre>
2289 </div>
2290
2291 <div class="method">
2292 <code class="details" id="list_next">list_next()</code>
2293 <pre>Retrieves the next page of results.
2294
2295 Args:
2296 previous_request: The request for the previous page. (required)
2297 previous_response: The response from the request for the previous page. (required)
2298
2299 Returns:
2300 A request object that you can call &#x27;execute()&#x27; on to request the next
2301 page. Returns None if there are no more items in the collection.
2302 </pre>
2303 </div>
2304
2305 <div class="method">
2306 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
2307 <pre>Updates the specified note.
2308
2309 Args:
2310 name: string, Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. (required)
2311 body: object, The request body.
2312 The object takes the form of:
2313
2314 { # A type of analysis that can be done for a resource.
2315 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
2316 },
2317 &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.
2318 &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.
2319 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
2320 },
2321 },
2322 &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.
2323 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
2324 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
2325 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
2326 &quot;A String&quot;,
2327 ],
2328 &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.
2329 },
2330 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
2331 },
2332 &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.
2333 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
2334 &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.
2335 &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).
2336 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
2337 &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`
2338 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
2339 },
2340 },
2341 &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.
2342 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
2343 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
2344 &quot;A String&quot;,
2345 ],
2346 },
2347 &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.
2348 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
2349 },
2350 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
2351 &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.
2352 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
2353 &quot;A String&quot;,
2354 ],
2355 &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.
2356 { # Defines an object to declare an in-toto artifact rule
2357 &quot;artifactRule&quot;: [
2358 &quot;A String&quot;,
2359 ],
2360 },
2361 ],
2362 &quot;expectedProducts&quot;: [
2363 { # Defines an object to declare an in-toto artifact rule
2364 &quot;artifactRule&quot;: [
2365 &quot;A String&quot;,
2366 ],
2367 },
2368 ],
2369 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
2370 { # 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.
2371 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
2372 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
2373 &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;.
2374 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
2375 },
2376 ],
2377 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
2378 &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.
2379 },
2380 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
2381 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
2382 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
2383 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
2384 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
2385 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
2386 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
2387 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
2388 { # Digest information.
2389 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
2390 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
2391 },
2392 ],
2393 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
2394 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
2395 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
2396 &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.
2397 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
2398 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
2399 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2400 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2401 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2402 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2403 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2404 },
2405 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
2406 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
2407 },
2408 ],
2409 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
2410 &quot;comments&quot;: &quot;A String&quot;, # Comments
2411 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2412 },
2413 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
2414 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
2415 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
2416 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
2417 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
2418 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2419 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2420 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2421 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2422 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2423 },
2424 },
2425 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
2426 &quot;A String&quot;,
2427 ],
2428 &quot;relatedUrl&quot;: [ # URLs associated with this note.
2429 { # Metadata for any related URL information.
2430 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2431 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2432 },
2433 ],
2434 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
2435 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
2436 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
2437 },
2438 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
2439 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
2440 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
2441 },
2442 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
2443 },
2444 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
2445 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
2446 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
2447 &quot;A String&quot;,
2448 ],
2449 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
2450 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
2451 },
2452 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
2453 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
2454 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
2455 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
2456 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
2457 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
2458 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
2459 &quot;externalRefs&quot;: [ # ExternalRef
2460 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
2461 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
2462 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
2463 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
2464 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
2465 },
2466 ],
2467 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
2468 &quot;A String&quot;,
2469 ],
2470 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
2471 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
2472 &quot;comments&quot;: &quot;A String&quot;, # Comments
2473 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2474 },
2475 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
2476 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
2477 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
2478 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
2479 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
2480 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
2481 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
2482 },
2483 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
2484 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
2485 },
2486 &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.
2487 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
2488 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
2489 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
2490 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
2491 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2492 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2493 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2494 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2495 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2496 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2497 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2498 &quot;exploitabilityScore&quot;: 3.14,
2499 &quot;impactScore&quot;: 3.14,
2500 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2501 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2502 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2503 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2504 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2505 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2506 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2507 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2508 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2509 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2510 },
2511 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
2512 &quot;attackComplexity&quot;: &quot;A String&quot;,
2513 &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.
2514 &quot;availabilityImpact&quot;: &quot;A String&quot;,
2515 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2516 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
2517 &quot;exploitabilityScore&quot;: 3.14,
2518 &quot;impactScore&quot;: 3.14,
2519 &quot;integrityImpact&quot;: &quot;A String&quot;,
2520 &quot;privilegesRequired&quot;: &quot;A String&quot;,
2521 &quot;scope&quot;: &quot;A String&quot;,
2522 &quot;userInteraction&quot;: &quot;A String&quot;,
2523 },
2524 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
2525 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2526 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2527 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2528 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2529 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2530 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2531 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2532 &quot;exploitabilityScore&quot;: 3.14,
2533 &quot;impactScore&quot;: 3.14,
2534 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2535 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2536 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2537 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2538 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2539 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2540 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2541 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2542 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2543 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2544 },
2545 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
2546 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
2547 &quot;A String&quot;,
2548 ],
2549 &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.
2550 { # 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
2551 &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.
2552 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
2553 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
2554 &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.
2555 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2556 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2557 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2558 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2559 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2560 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2561 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2562 },
2563 },
2564 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
2565 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
2566 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2567 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2568 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2569 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2570 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2571 },
2572 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
2573 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2574 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2575 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2576 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2577 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2578 },
2579 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
2580 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
2581 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
2582 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
2583 &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.
2584 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
2585 },
2586 ],
2587 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
2588 &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.
2589 &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.
2590 {
2591 &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.
2592 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
2593 &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.
2594 {
2595 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
2596 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
2597 },
2598 ],
2599 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
2600 },
2601 ],
2602 },
2603 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
2604 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
2605 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
2606 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2607 &quot;A String&quot;,
2608 ],
2609 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
2610 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2611 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2612 },
2613 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2614 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
2615 { # Metadata for any related URL information.
2616 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2617 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2618 },
2619 ],
2620 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2621 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2622 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2623 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2624 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
2625 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2626 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2627 },
2628 },
2629 ],
2630 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2631 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2632 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2633 },
2634 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
2635 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2636 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
2637 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
2638 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
2639 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
2640 },
2641 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
2642 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
2643 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
2644 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
2645 },
2646 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2647 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
2648 },
2649 }
2650
2651 updateMask: string, The fields to update.
2652 x__xgafv: string, V1 error format.
2653 Allowed values
2654 1 - v1 error format
2655 2 - v2 error format
2656
2657 Returns:
2658 An object of the form:
2659
2660 { # A type of analysis that can be done for a resource.
2661 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI Skill analysis.
2662 },
2663 &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.
2664 &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.
2665 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;qa&quot;.
2666 },
2667 },
2668 &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.
2669 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # Required. Immutable. The fingerprint of the base image.
2670 &quot;v1Name&quot;: &quot;A String&quot;, # Required. The layer ID of the final layer in the Docker image&#x27;s v1 representation.
2671 &quot;v2Blob&quot;: [ # Required. The ordered list of v2 blobs that represent a given image.
2672 &quot;A String&quot;,
2673 ],
2674 &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.
2675 },
2676 &quot;resourceUrl&quot;: &quot;A String&quot;, # Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.
2677 },
2678 &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.
2679 &quot;builderVersion&quot;: &quot;A String&quot;, # Required. Immutable. Version of the builder which produced this build.
2680 &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.
2681 &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).
2682 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`.
2683 &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`
2684 &quot;signature&quot;: &quot;A String&quot;, # Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded.
2685 },
2686 },
2687 &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.
2688 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
2689 &quot;resourceUri&quot;: [ # Required. Resource URI for the artifact being deployed.
2690 &quot;A String&quot;,
2691 ],
2692 },
2693 &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.
2694 &quot;analysisKind&quot;: &quot;A String&quot;, # Required. Immutable. The kind of analysis that is handled by this discovery.
2695 },
2696 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note. Empty if note does not expire.
2697 &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.
2698 &quot;expectedCommand&quot;: [ # This field contains the expected command used to perform the step.
2699 &quot;A String&quot;,
2700 ],
2701 &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.
2702 { # Defines an object to declare an in-toto artifact rule
2703 &quot;artifactRule&quot;: [
2704 &quot;A String&quot;,
2705 ],
2706 },
2707 ],
2708 &quot;expectedProducts&quot;: [
2709 { # Defines an object to declare an in-toto artifact rule
2710 &quot;artifactRule&quot;: [
2711 &quot;A String&quot;,
2712 ],
2713 },
2714 ],
2715 &quot;signingKeys&quot;: [ # This field contains the public keys that can be used to verify the signatures on the step metadata.
2716 { # 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.
2717 &quot;keyId&quot;: &quot;A String&quot;, # key_id is an identifier for the signing key.
2718 &quot;keyScheme&quot;: &quot;A String&quot;, # This field contains the corresponding signature scheme. Eg: &quot;rsassa-pss-sha256&quot;.
2719 &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;.
2720 &quot;publicKeyValue&quot;: &quot;A String&quot;, # This field contains the actual public key.
2721 },
2722 ],
2723 &quot;stepName&quot;: &quot;A String&quot;, # This field identifies the name of the step in the supply chain.
2724 &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.
2725 },
2726 &quot;kind&quot;: &quot;A String&quot;, # Output only. The type of analysis. This field can be used as a filter in list requests.
2727 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this note.
2728 &quot;name&quot;: &quot;A String&quot;, # Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.
2729 &quot;package&quot;: { # Package represents a particular package version. # A note describing a package hosted by various package managers.
2730 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.
2731 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages.
2732 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
2733 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
2734 { # Digest information.
2735 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
2736 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
2737 },
2738 ],
2739 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
2740 { # This represents a particular channel of distribution for a given package. E.g., Debian&#x27;s jessie-backports dpkg mirror.
2741 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built.
2742 &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.
2743 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
2744 &quot;latestVersion&quot;: { # Version contains structured information about the version of a package. # The latest available version of this package in this distribution channel.
2745 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2746 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2747 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2748 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2749 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2750 },
2751 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
2752 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
2753 },
2754 ],
2755 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
2756 &quot;comments&quot;: &quot;A String&quot;, # Comments
2757 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2758 },
2759 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
2760 &quot;name&quot;: &quot;A String&quot;, # Required. Immutable. The name of the package.
2761 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
2762 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
2763 &quot;version&quot;: { # Version contains structured information about the version of a package. # The version of the package.
2764 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2765 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2766 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2767 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2768 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2769 },
2770 },
2771 &quot;relatedNoteNames&quot;: [ # Other notes related to this note.
2772 &quot;A String&quot;,
2773 ],
2774 &quot;relatedUrl&quot;: [ # URLs associated with this note.
2775 { # Metadata for any related URL information.
2776 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2777 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2778 },
2779 ],
2780 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Information section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
2781 &quot;dataLicence&quot;: &quot;A String&quot;, # Compliance with the SPDX specification includes populating the SPDX fields therein with data related to such fields (&quot;SPDX-Metadata&quot;)
2782 &quot;spdxVersion&quot;: &quot;A String&quot;, # Provide a reference number that can be used to understand how to parse and interpret the rest of the file
2783 },
2784 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing an SBOM reference.
2785 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
2786 &quot;version&quot;: &quot;A String&quot;, # The version of the format that the SBOM takes. E.g. if the format is spdx, the version may be 2.3.
2787 },
2788 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
2789 },
2790 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this note.
2791 &quot;spdxFile&quot;: { # FileNote represents an SPDX File Information section: https://spdx.github.io/spdx-spec/4-file-information/ # A note describing an SPDX File.
2792 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
2793 &quot;A String&quot;,
2794 ],
2795 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
2796 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
2797 },
2798 &quot;spdxPackage&quot;: { # PackageInfoNote represents an SPDX Package Information section: https://spdx.github.io/spdx-spec/3-package-information/ # A note describing an SPDX Package.
2799 &quot;analyzed&quot;: True or False, # Indicates whether the file content of this package has been available for or subjected to analysis when creating the SPDX document
2800 &quot;attribution&quot;: &quot;A String&quot;, # A place for the SPDX data creator to record, at the package level, acknowledgements that may be needed to be communicated in some contexts
2801 &quot;checksum&quot;: &quot;A String&quot;, # Provide an independently reproducible mechanism that permits unique identification of a specific package that correlates to the data in this SPDX file
2802 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
2803 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
2804 &quot;downloadLocation&quot;: &quot;A String&quot;, # This section identifies the download Universal Resource Locator (URL), or a specific location within a version control system (VCS) for the package at the time that the SPDX file was created
2805 &quot;externalRefs&quot;: [ # ExternalRef
2806 { # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
2807 &quot;category&quot;: &quot;A String&quot;, # An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package
2808 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
2809 &quot;locator&quot;: &quot;A String&quot;, # The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location
2810 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
2811 },
2812 ],
2813 &quot;filesLicenseInfo&quot;: [ # Contain the license the SPDX file creator has concluded as governing the This field is to contain a list of all licenses found in the package. The relationship between licenses (i.e., conjunctive, disjunctive) is not specified in this field – it is simply a listing of all licenses found
2814 &quot;A String&quot;,
2815 ],
2816 &quot;homePage&quot;: &quot;A String&quot;, # Provide a place for the SPDX file creator to record a web site that serves as the package&#x27;s home page
2817 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
2818 &quot;comments&quot;: &quot;A String&quot;, # Comments
2819 &quot;expression&quot;: &quot;A String&quot;, # Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: &quot;LGPL-2.1-only OR MIT&quot;, &quot;LGPL-2.1-only AND MIT&quot;, &quot;GPL-2.0-or-later WITH Bison-exception-2.2&quot;.
2820 },
2821 &quot;originator&quot;: &quot;A String&quot;, # If the package identified in the SPDX file originated from a different person or organization than identified as Package Supplier, this field identifies from where or whom the package originally came
2822 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
2823 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
2824 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
2825 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
2826 &quot;verificationCode&quot;: &quot;A String&quot;, # This field provides an independently reproducible mechanism identifying specific contents of a package based on the actual files (except the SPDX file itself, if it is included in the package) that make up each package and that correlates to the data in this SPDX file
2827 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
2828 },
2829 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing an SPDX File.
2830 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
2831 },
2832 &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.
2833 &quot;vulnerability&quot;: { # Vulnerability provides metadata about a security vulnerability in a Note. # A note describing a package vulnerability.
2834 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # The time this advisory was published by the source.
2835 &quot;cvssScore&quot;: 3.14, # The CVSS score for this vulnerability.
2836 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 2.
2837 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2838 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2839 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2840 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2841 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2842 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2843 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2844 &quot;exploitabilityScore&quot;: 3.14,
2845 &quot;impactScore&quot;: 3.14,
2846 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2847 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2848 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2849 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2850 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2851 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2852 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2853 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2854 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2855 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2856 },
2857 &quot;cvssV3&quot;: { # Deprecated. Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document # The full description of the CVSS for version 3.
2858 &quot;attackComplexity&quot;: &quot;A String&quot;,
2859 &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.
2860 &quot;availabilityImpact&quot;: &quot;A String&quot;,
2861 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2862 &quot;confidentialityImpact&quot;: &quot;A String&quot;,
2863 &quot;exploitabilityScore&quot;: 3.14,
2864 &quot;impactScore&quot;: 3.14,
2865 &quot;integrityImpact&quot;: &quot;A String&quot;,
2866 &quot;privilegesRequired&quot;: &quot;A String&quot;,
2867 &quot;scope&quot;: &quot;A String&quot;,
2868 &quot;userInteraction&quot;: &quot;A String&quot;,
2869 },
2870 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2, v3, and v4. For CVSS v2 details, see https://www.first.org/cvss/v2/guide CVSS v2 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v2-calculator For CVSS v3 details, see https://www.first.org/cvss/specification-document CVSS v3 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator For CVSS v4 details, see https://www.first.org/cvss/v4.0/user-guide CVSS v4 calculator: https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator # The full description of the CVSS for version 4.
2871 &quot;attackComplexity&quot;: &quot;A String&quot;, # Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2872 &quot;attackRequirements&quot;: &quot;A String&quot;, # Attack Requirements (AT). Defined in CVSS v4.
2873 &quot;attackVector&quot;: &quot;A String&quot;, # Attack Vector (AV). Defined in CVSS v2, v3, v4.
2874 &quot;authentication&quot;: &quot;A String&quot;, # Authentication (Au). Defined in CVSS v2.
2875 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Availability Impact (A). Defined in CVSS v2, v3.
2876 &quot;baseScore&quot;: 3.14, # The base score is a function of the base metric scores.
2877 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Confidentiality Impact (C). Defined in CVSS v2, v3.
2878 &quot;exploitabilityScore&quot;: 3.14,
2879 &quot;impactScore&quot;: 3.14,
2880 &quot;integrityImpact&quot;: &quot;A String&quot;, # Integrity Impact (I). Defined in CVSS v2, v3.
2881 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Privileges Required (PR). Defined in CVSS v3, v4.
2882 &quot;scope&quot;: &quot;A String&quot;, # Scope (S). Defined in CVSS v3.
2883 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Subsequent System Availability Impact (SA). Defined in CVSS v4.
2884 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2885 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2886 &quot;userInteraction&quot;: &quot;A String&quot;, # User Interaction (UI). Defined in CVSS v3, v4.
2887 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2888 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2889 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2890 },
2891 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
2892 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
2893 &quot;A String&quot;,
2894 ],
2895 &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.
2896 { # 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
2897 &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.
2898 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
2899 &quot;fixedLocation&quot;: { # The location of the vulnerability. # The fix for this specific package version.
2900 &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.
2901 &quot;package&quot;: &quot;A String&quot;, # Required. The package being described.
2902 &quot;version&quot;: { # Version contains structured information about the version of a package. # Required. The version of the package being described.
2903 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2904 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2905 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2906 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2907 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2908 },
2909 },
2910 &quot;isObsolete&quot;: True or False, # Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.
2911 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The max version of the package in which the vulnerability exists.
2912 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2913 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2914 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2915 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2916 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2917 },
2918 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of a package. # The min version of the package in which the vulnerability exists.
2919 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2920 &quot;inclusive&quot;: True or False, # Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.
2921 &quot;kind&quot;: &quot;A String&quot;, # Required. Distinguishes between sentinel MIN/MAX versions and normal versions.
2922 &quot;name&quot;: &quot;A String&quot;, # Required only when version kind is NORMAL. The main part of the version name.
2923 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2924 },
2925 &quot;package&quot;: &quot;A String&quot;, # Required. The name of the package where the vulnerability was found.
2926 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc).
2927 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
2928 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
2929 &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.
2930 &quot;vendor&quot;: &quot;A String&quot;, # The name of the vendor of the product.
2931 },
2932 ],
2933 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability.
2934 &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.
2935 &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.
2936 {
2937 &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.
2938 &quot;description&quot;: &quot;A String&quot;, # The description of the vulnerability.
2939 &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.
2940 {
2941 &quot;name&quot;: &quot;A String&quot;, # The KB name (generally of the form KB[0-9]+ i.e. KB123456).
2942 &quot;url&quot;: &quot;A String&quot;, # A link to the KB in the Windows update catalog - https://www.catalog.update.microsoft.com/
2943 },
2944 ],
2945 &quot;name&quot;: &quot;A String&quot;, # Required. The name of the vulnerability.
2946 },
2947 ],
2948 },
2949 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. # A note describing a vulnerability assessment.
2950 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
2951 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs.
2952 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2953 &quot;A String&quot;,
2954 ],
2955 &quot;justification&quot;: { # Justification provides the justification when the state of the assessment if NOT_AFFECTED. # Justification provides the justification when the state of the assessment if NOT_AFFECTED.
2956 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2957 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2958 },
2959 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2960 &quot;relatedUris&quot;: [ # Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g. Link to a document which details how this assessment concluded the state of this vulnerability.
2961 { # Metadata for any related URL information.
2962 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2963 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2964 },
2965 ],
2966 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2967 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2968 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2969 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2970 &quot;remediationUri&quot;: { # Metadata for any related URL information. # Contains the URL where to obtain the remediation.
2971 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL.
2972 &quot;url&quot;: &quot;A String&quot;, # Specific URL associated with the resource.
2973 },
2974 },
2975 ],
2976 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2977 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2978 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2979 },
2980 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
2981 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2982 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
2983 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
2984 &quot;id&quot;: &quot;A String&quot;, # Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the context of the current document.
2985 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
2986 },
2987 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
2988 &quot;issuingAuthority&quot;: &quot;A String&quot;, # Provides information about the authority of the issuing party to release the document, in particular, the party&#x27;s constituency and responsibilities or other obligations.
2989 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
2990 &quot;publisherNamespace&quot;: &quot;A String&quot;, # The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io
2991 },
2992 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2993 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
2994 },
2995 }</pre>
2996 </div>
2997
2998 <div class="method">
2999 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
3000 <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.
3001
3002 Args:
3003 resource: string, REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
3004 body: object, The request body.
3005 The object takes the form of:
3006
3007 { # Request message for `SetIamPolicy` method.
3008 &quot;policy&quot;: { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/). # REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
3009 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
3010 { # Associates `members`, or principals, with a `role`.
3011 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3012 &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.
3013 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
3014 &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.
3015 &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.
3016 },
3017 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
3018 &quot;A String&quot;,
3019 ],
3020 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
3021 },
3022 ],
3023 &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.
3024 &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).
3025 },
3026 }
3027
3028 x__xgafv: string, V1 error format.
3029 Allowed values
3030 1 - v1 error format
3031 2 - v2 error format
3032
3033 Returns:
3034 An object of the form:
3035
3036 { # An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). **JSON example:** ``` { &quot;bindings&quot;: [ { &quot;role&quot;: &quot;roles/resourcemanager.organizationAdmin&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot;, &quot;group:[email protected]&quot;, &quot;domain:google.com&quot;, &quot;serviceAccount:[email protected]&quot; ] }, { &quot;role&quot;: &quot;roles/resourcemanager.organizationViewer&quot;, &quot;members&quot;: [ &quot;user:[email protected]&quot; ], &quot;condition&quot;: { &quot;title&quot;: &quot;expirable access&quot;, &quot;description&quot;: &quot;Does not grant access after Sep 2020&quot;, &quot;expression&quot;: &quot;request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;)&quot;, } } ], &quot;etag&quot;: &quot;BwWWja0YfJA=&quot;, &quot;version&quot;: 3 } ``` **YAML example:** ``` bindings: - members: - user:[email protected] - group:[email protected] - domain:google.com - serviceAccount:[email protected] role: roles/resourcemanager.organizationAdmin - members: - user:[email protected] role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time &lt; timestamp(&#x27;2020-10-01T00:00:00.000Z&#x27;) etag: BwWWja0YfJA= version: 3 ``` For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).
3037 &quot;bindings&quot;: [ # Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:[email protected]`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.
3038 { # Associates `members`, or principals, with a `role`.
3039 &quot;condition&quot;: { # Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: &quot;Summary size limit&quot; description: &quot;Determines if a summary is less than 100 chars&quot; expression: &quot;document.summary.size() &lt; 100&quot; Example (Equality): title: &quot;Requestor is owner&quot; description: &quot;Determines if requestor is the document owner&quot; expression: &quot;document.owner == request.auth.claims.email&quot; Example (Logic): title: &quot;Public documents&quot; description: &quot;Determine whether the document should be publicly visible&quot; expression: &quot;document.type != &#x27;private&#x27; &amp;&amp; document.type != &#x27;internal&#x27;&quot; Example (Data Manipulation): title: &quot;Notification string&quot; description: &quot;Create a notification string with a timestamp.&quot; expression: &quot;&#x27;New message received at &#x27; + string(document.create_time)&quot; The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. # The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
3040 &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.
3041 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
3042 &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.
3043 &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.
3044 },
3045 &quot;members&quot;: [ # Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `[email protected]` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `[email protected]`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `[email protected]`. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. * `principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workforce identity pool. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/group/{group_id}`: All workforce identities in a group. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All workforce identities with a specific attribute value. * `principalSet://iam.googleapis.com/locations/global/workforcePools/{pool_id}/*`: All identities in a workforce identity pool. * `principal://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/subject/{subject_attribute_value}`: A single identity in a workload identity pool. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/group/{group_id}`: A workload identity pool group. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/attribute.{attribute_name}/{attribute_value}`: All identities in a workload identity pool with a certain attribute. * `principalSet://iam.googleapis.com/projects/{project_number}/locations/global/workloadIdentityPools/{pool_id}/*`: All identities in a workload identity pool. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `[email protected]?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `deleted:principal://iam.googleapis.com/locations/global/workforcePools/{pool_id}/subject/{subject_attribute_value}`: Deleted single identity in a workforce identity pool. For example, `deleted:principal://iam.googleapis.com/locations/global/workforcePools/my-pool-id/subject/my-subject-attribute-value`.
3046 &quot;A String&quot;,
3047 ],
3048 &quot;role&quot;: &quot;A String&quot;, # Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM roles and permissions, see the [IAM documentation](https://cloud.google.com/iam/docs/roles-overview). For a list of the available pre-defined roles, see [here](https://cloud.google.com/iam/docs/understanding-roles).
3049 },
3050 ],
3051 &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.
3052 &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).
3053 }</pre>
3054 </div>
3055
3056 <div class="method">
3057 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
3058 <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.
3059
3060 Args:
3061 resource: string, REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field. (required)
3062 body: object, The request body.
3063 The object takes the form of:
3064
3065 { # Request message for `TestIamPermissions` method.
3066 &quot;permissions&quot;: [ # The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).
3067 &quot;A String&quot;,
3068 ],
3069 }
3070
3071 x__xgafv: string, V1 error format.
3072 Allowed values
3073 1 - v1 error format
3074 2 - v2 error format
3075
3076 Returns:
3077 An object of the form:
3078
3079 { # Response message for `TestIamPermissions` method.
3080 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
3081 &quot;A String&quot;,
3082 ],
3083 }</pre>
3084 </div>
3085
3086 </body></html>