Debian Codegraph @

docs/dyn/containeranalysis_v1alpha1.providers.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_v1alpha1.html">Container Analysis API</a> . <a href="containeranalysis_v1alpha1.providers.html">providers</a> . <a href="containeranalysis_v1alpha1.providers.notes.html">notes</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="containeranalysis_v1alpha1.providers.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="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(name, body=None, noteId=None, parent=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new `Note`.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes the given `Note` from the system.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns the requested `Note`.</p>
94 <p class="toc_element">
95 <code><a href="#getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
96 <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. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes</p>
97 <p class="toc_element">
98 <code><a href="#list">list(name, filter=None, pageSize=None, pageToken=None, parent=None, x__xgafv=None)</a></code></p>
99 <p class="firstline">Lists all `Notes` for a given project.</p>
100 <p class="toc_element">
101 <code><a href="#list_next">list_next()</a></code></p>
102 <p class="firstline">Retrieves the next page of results.</p>
103 <p class="toc_element">
104 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
105 <p class="firstline">Updates an existing `Note`.</p>
106 <p class="toc_element">
107 <code><a href="#setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</a></code></p>
108 <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. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes</p>
109 <p class="toc_element">
110 <code><a href="#testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</a></code></p>
111 <p class="firstline">Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, "storage.objects.list" on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`</p>
112 <h3>Method Details</h3>
113 <div class="method">
114 <code class="details" id="close">close()</code>
115 <pre>Close httplib2 connections.</pre>
116 </div>
117
118 <div class="method">
119 <code class="details" id="create">create(name, body=None, noteId=None, parent=None, x__xgafv=None)</code>
120 <pre>Creates a new `Note`.
121
122 Args:
123 name: string, The name of the project. Should be of the form &quot;providers/{provider_id}&quot;. @Deprecated (required)
124 body: object, The request body.
125 The object takes the form of:
126
127 { # Provides a detailed description of a `Note`.
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 `AttestationAuthority` 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 AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
132 &quot;humanReadableName&quot;: &quot;A String&quot;, # 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. # The fingerprint of the base image.
137 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
138 &quot;v2Blob&quot;: [ # 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. This field can be used as a filter in list requests.
142 },
143 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
144 },
145 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
146 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
147 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
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;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
152 },
153 },
154 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
155 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
156 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
157 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
158 },
159 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
160 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
161 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
162 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
163 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
164 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
165 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
166 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
167 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
168 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
169 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
170 },
171 ],
172 },
173 &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.
174 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
175 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
176 &quot;A String&quot;,
177 ],
178 },
179 &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. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
180 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
181 },
182 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
183 &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. # DSSEHint hints at the purpose of the attestation authority.
184 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
185 },
186 },
187 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
188 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.
189 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this `Note`.
190 &quot;name&quot;: &quot;A String&quot;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
191 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
192 &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.
193 &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.
194 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
195 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
196 { # Digest information.
197 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
198 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
199 },
200 ],
201 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
202 { # This represents a particular channel of distribution for a given package. e.g. Debian&#x27;s jessie-backports dpkg mirror
203 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built
204 &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.
205 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
206 &quot;latestVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The latest available version of this package in this distribution channel.
207 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
208 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
209 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
210 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
211 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
212 },
213 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
214 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
215 },
216 ],
217 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
218 &quot;comments&quot;: &quot;A String&quot;, # Comments
219 &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;.
220 },
221 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
222 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
223 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
224 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
225 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package.
226 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
227 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
228 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
229 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
230 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
231 },
232 },
233 &quot;relatedUrl&quot;: [ # URLs associated with this note
234 { # Metadata for any related URL information
235 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
236 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
237 },
238 ],
239 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
240 &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;)
241 &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
242 },
243 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
244 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
245 &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.
246 },
247 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
248 },
249 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
250 &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.
251 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
252 &quot;A String&quot;,
253 ],
254 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
255 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
256 },
257 &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.
258 &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
259 &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
260 &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
261 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
262 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
263 &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
264 &quot;externalRefs&quot;: [ # ExternalRef
265 { # 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
266 &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
267 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
268 &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
269 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
270 },
271 ],
272 &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
273 &quot;A String&quot;,
274 ],
275 &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
276 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
277 &quot;comments&quot;: &quot;A String&quot;, # Comments
278 &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;.
279 },
280 &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
281 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
282 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
283 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
284 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
285 &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
286 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
287 },
288 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
289 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
290 },
291 &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.
292 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
293 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
294 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
295 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
296 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
297 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
298 &quot;A String&quot;,
299 ],
300 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
301 },
302 ],
303 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
304 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
305 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
306 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
307 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
308 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
309 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
310 },
311 },
312 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
313 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
314 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
315 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
316 &quot;A String&quot;,
317 ],
318 &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.
319 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
320 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
321 },
322 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
323 &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.
324 { # An URI message.
325 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
326 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
327 },
328 ],
329 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
330 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
331 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
332 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
333 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
334 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
335 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
336 },
337 },
338 ],
339 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
340 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
341 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
342 },
343 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
344 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
345 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
346 &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.
347 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
348 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
349 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
350 },
351 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
352 },
353 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
354 &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.
355 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
356 &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
357 },
358 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
359 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
360 },
361 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
362 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
363 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
364 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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.
365 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
366 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
367 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
368 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
369 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
370 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
371 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
372 &quot;exploitabilityScore&quot;: 3.14,
373 &quot;impactScore&quot;: 3.14,
374 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
375 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
376 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
377 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
378 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
379 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
380 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
381 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
382 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
383 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
384 },
385 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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 # Optional. The full description of the CVSS for version 4.
386 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
387 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
388 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
389 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
390 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
391 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
392 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
393 &quot;exploitabilityScore&quot;: 3.14,
394 &quot;impactScore&quot;: 3.14,
395 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
396 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
397 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
398 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
399 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
400 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
401 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
402 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
403 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
404 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
405 },
406 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
407 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
408 &quot;A String&quot;,
409 ],
410 &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.
411 { # Identifies all occurrences 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
412 &quot;cpeUri&quot;: &quot;A String&quot;, # 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. This field can be used as a filter in list requests.
413 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
414 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
415 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
416 &quot;fileLocation&quot;: [ # The file location at which this package was found.
417 { # Indicates the location at which a package was found.
418 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
419 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
420 &quot;baseImages&quot;: [ # The base images the layer is found within.
421 { # BaseImage describes a base image of a container image.
422 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
423 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
424 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
425 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
426 },
427 ],
428 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
429 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
430 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
431 &quot;index&quot;: 42, # The index of the layer in the container image.
432 },
433 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
434 },
435 ],
436 &quot;package&quot;: &quot;A String&quot;, # The package being described.
437 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
438 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
439 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
440 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
441 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
442 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
443 },
444 },
445 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
446 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
447 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
448 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
449 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
450 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
451 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
452 },
453 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
454 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
455 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
456 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
457 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
458 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
459 },
460 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
461 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
462 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
463 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
464 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
465 },
466 ],
467 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
468 },
469 }
470
471 noteId: string, The ID to use for this note.
472 parent: string, This field contains the project Id for example: &quot;projects/{project_id}
473 x__xgafv: string, V1 error format.
474 Allowed values
475 1 - v1 error format
476 2 - v2 error format
477
478 Returns:
479 An object of the form:
480
481 { # Provides a detailed description of a `Note`.
482 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI skill analysis.
483 },
484 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `AttestationAuthority` 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.
485 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
486 &quot;humanReadableName&quot;: &quot;A String&quot;, # The human readable name of this Attestation Authority, for example &quot;qa&quot;.
487 },
488 },
489 &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.
490 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the base image.
491 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
492 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
493 &quot;A String&quot;,
494 ],
495 &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. This field can be used as a filter in list requests.
496 },
497 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
498 },
499 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
500 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
501 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
502 &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).
503 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`
504 &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`
505 &quot;signature&quot;: &quot;A String&quot;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
506 },
507 },
508 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
509 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
510 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
511 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
512 },
513 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
514 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
515 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
516 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
517 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
518 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
519 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
520 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
521 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
522 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
523 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
524 },
525 ],
526 },
527 &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.
528 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
529 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
530 &quot;A String&quot;,
531 ],
532 },
533 &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. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
534 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
535 },
536 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
537 &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. # DSSEHint hints at the purpose of the attestation authority.
538 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
539 },
540 },
541 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
542 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. 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;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
545 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
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;, # 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 the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # 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 vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
563 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
564 &quot;name&quot;: &quot;A String&quot;, # 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;, # 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 the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # 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 vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
582 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
583 &quot;name&quot;: &quot;A String&quot;, # 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;relatedUrl&quot;: [ # URLs associated with this note
588 { # Metadata for any related URL information
589 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
590 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
591 },
592 ],
593 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
594 &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;)
595 &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
596 },
597 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
598 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
599 &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.
600 },
601 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
602 },
603 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
604 &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.
605 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
606 &quot;A String&quot;,
607 ],
608 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
609 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
610 },
611 &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.
612 &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
613 &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
614 &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
615 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
616 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
617 &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
618 &quot;externalRefs&quot;: [ # ExternalRef
619 { # 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
620 &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
621 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
622 &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
623 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
624 },
625 ],
626 &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
627 &quot;A String&quot;,
628 ],
629 &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
630 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
631 &quot;comments&quot;: &quot;A String&quot;, # Comments
632 &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;.
633 },
634 &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
635 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
636 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
637 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
638 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
639 &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
640 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
641 },
642 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
643 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
644 },
645 &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.
646 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
647 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
648 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
649 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
650 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
651 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
652 &quot;A String&quot;,
653 ],
654 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
655 },
656 ],
657 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
658 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
659 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
660 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
661 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
662 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
663 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
664 },
665 },
666 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
667 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
668 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
669 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
670 &quot;A String&quot;,
671 ],
672 &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.
673 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
674 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
675 },
676 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
677 &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.
678 { # An URI message.
679 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
680 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
681 },
682 ],
683 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
684 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
685 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
686 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
687 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
688 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
689 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
690 },
691 },
692 ],
693 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
694 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
695 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
696 },
697 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
698 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
699 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
700 &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.
701 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
702 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
703 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
704 },
705 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
706 },
707 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
708 &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.
709 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
710 &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
711 },
712 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
713 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
714 },
715 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
716 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
717 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
718 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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.
719 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
720 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
721 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
722 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
723 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
724 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
725 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
726 &quot;exploitabilityScore&quot;: 3.14,
727 &quot;impactScore&quot;: 3.14,
728 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
729 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
730 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
731 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
732 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
733 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
734 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
735 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
736 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
737 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
738 },
739 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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 # Optional. The full description of the CVSS for version 4.
740 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
741 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
742 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
743 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
744 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
745 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
746 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
747 &quot;exploitabilityScore&quot;: 3.14,
748 &quot;impactScore&quot;: 3.14,
749 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
750 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
751 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
752 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
753 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
754 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
755 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
756 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
757 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
758 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
759 },
760 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
761 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
762 &quot;A String&quot;,
763 ],
764 &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.
765 { # Identifies all occurrences 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
766 &quot;cpeUri&quot;: &quot;A String&quot;, # 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. This field can be used as a filter in list requests.
767 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
768 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
769 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
770 &quot;fileLocation&quot;: [ # The file location at which this package was found.
771 { # Indicates the location at which a package was found.
772 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
773 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
774 &quot;baseImages&quot;: [ # The base images the layer is found within.
775 { # BaseImage describes a base image of a container image.
776 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
777 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
778 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
779 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
780 },
781 ],
782 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
783 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
784 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
785 &quot;index&quot;: 42, # The index of the layer in the container image.
786 },
787 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
788 },
789 ],
790 &quot;package&quot;: &quot;A String&quot;, # The package being described.
791 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
792 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
793 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
794 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
795 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
796 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
797 },
798 },
799 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
800 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
801 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
802 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
803 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
804 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
805 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
806 },
807 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
808 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
809 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
810 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
811 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
812 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
813 },
814 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
815 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
816 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
817 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
818 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
819 },
820 ],
821 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
822 },
823 }</pre>
824 </div>
825
826 <div class="method">
827 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
828 <pre>Deletes the given `Note` from the system.
829
830 Args:
831 name: string, The name of the note in the form of &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; (required)
832 x__xgafv: string, V1 error format.
833 Allowed values
834 1 - v1 error format
835 2 - v2 error format
836
837 Returns:
838 An object of the form:
839
840 { # 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); }
841 }</pre>
842 </div>
843
844 <div class="method">
845 <code class="details" id="get">get(name, x__xgafv=None)</code>
846 <pre>Returns the requested `Note`.
847
848 Args:
849 name: string, The name of the note in the form of &quot;providers/{provider_id}/notes/{NOTE_ID}&quot; (required)
850 x__xgafv: string, V1 error format.
851 Allowed values
852 1 - v1 error format
853 2 - v2 error format
854
855 Returns:
856 An object of the form:
857
858 { # Provides a detailed description of a `Note`.
859 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI skill analysis.
860 },
861 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `AttestationAuthority` 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.
862 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
863 &quot;humanReadableName&quot;: &quot;A String&quot;, # The human readable name of this Attestation Authority, for example &quot;qa&quot;.
864 },
865 },
866 &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.
867 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the base image.
868 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
869 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
870 &quot;A String&quot;,
871 ],
872 &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. This field can be used as a filter in list requests.
873 },
874 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
875 },
876 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
877 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
878 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
879 &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).
880 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`
881 &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`
882 &quot;signature&quot;: &quot;A String&quot;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
883 },
884 },
885 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
886 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
887 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
888 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
889 },
890 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
891 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
892 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
893 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
894 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
895 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
896 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
897 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
898 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
899 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
900 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
901 },
902 ],
903 },
904 &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.
905 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
906 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
907 &quot;A String&quot;,
908 ],
909 },
910 &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. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
911 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
912 },
913 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
914 &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. # DSSEHint hints at the purpose of the attestation authority.
915 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
916 },
917 },
918 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
919 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.
920 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this `Note`.
921 &quot;name&quot;: &quot;A String&quot;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
922 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
923 &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.
924 &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.
925 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
926 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
927 { # Digest information.
928 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
929 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
930 },
931 ],
932 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
933 { # This represents a particular channel of distribution for a given package. e.g. Debian&#x27;s jessie-backports dpkg mirror
934 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built
935 &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.
936 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
937 &quot;latestVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The latest available version of this package in this distribution channel.
938 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
939 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
940 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
941 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
942 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
943 },
944 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
945 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
946 },
947 ],
948 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
949 &quot;comments&quot;: &quot;A String&quot;, # Comments
950 &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;.
951 },
952 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
953 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
954 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
955 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
956 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package.
957 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
958 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
959 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
960 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
961 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
962 },
963 },
964 &quot;relatedUrl&quot;: [ # URLs associated with this note
965 { # Metadata for any related URL information
966 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
967 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
968 },
969 ],
970 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
971 &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;)
972 &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
973 },
974 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
975 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
976 &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.
977 },
978 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
979 },
980 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
981 &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.
982 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
983 &quot;A String&quot;,
984 ],
985 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
986 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
987 },
988 &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.
989 &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
990 &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
991 &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
992 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
993 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
994 &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
995 &quot;externalRefs&quot;: [ # ExternalRef
996 { # 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
997 &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
998 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
999 &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
1000 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
1001 },
1002 ],
1003 &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
1004 &quot;A String&quot;,
1005 ],
1006 &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
1007 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
1008 &quot;comments&quot;: &quot;A String&quot;, # Comments
1009 &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;.
1010 },
1011 &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
1012 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1013 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
1014 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
1015 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
1016 &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
1017 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
1018 },
1019 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
1020 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
1021 },
1022 &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.
1023 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
1024 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
1025 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
1026 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
1027 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
1028 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
1029 &quot;A String&quot;,
1030 ],
1031 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
1032 },
1033 ],
1034 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
1035 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
1036 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1037 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1038 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1039 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1040 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1041 },
1042 },
1043 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
1044 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
1045 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
1046 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1047 &quot;A String&quot;,
1048 ],
1049 &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.
1050 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1051 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1052 },
1053 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1054 &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.
1055 { # An URI message.
1056 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1057 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1058 },
1059 ],
1060 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1061 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1062 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1063 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1064 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
1065 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1066 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1067 },
1068 },
1069 ],
1070 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1071 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1072 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1073 },
1074 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
1075 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1076 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
1077 &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.
1078 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
1079 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
1080 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
1081 },
1082 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
1083 },
1084 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
1085 &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.
1086 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
1087 &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
1088 },
1089 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1090 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
1091 },
1092 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
1093 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
1094 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
1095 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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.
1096 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1097 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1098 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1099 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1100 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1101 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1102 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1103 &quot;exploitabilityScore&quot;: 3.14,
1104 &quot;impactScore&quot;: 3.14,
1105 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1106 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1107 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1108 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1109 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1110 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1111 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1112 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1113 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1114 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1115 },
1116 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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 # Optional. The full description of the CVSS for version 4.
1117 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1118 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1119 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1120 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1121 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1122 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1123 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1124 &quot;exploitabilityScore&quot;: 3.14,
1125 &quot;impactScore&quot;: 3.14,
1126 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1127 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1128 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1129 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1130 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1131 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1132 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1133 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1134 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1135 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1136 },
1137 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
1138 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
1139 &quot;A String&quot;,
1140 ],
1141 &quot;details&quot;: [ # All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in.
1142 { # Identifies all occurrences of this vulnerability in the package for a specific distro/location For example: glibc in cpe:/o:debian:debian_linux:8 for versions 2.1 - 2.2
1143 &quot;cpeUri&quot;: &quot;A String&quot;, # 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. This field can be used as a filter in list requests.
1144 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1145 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
1146 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
1147 &quot;fileLocation&quot;: [ # The file location at which this package was found.
1148 { # Indicates the location at which a package was found.
1149 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
1150 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
1151 &quot;baseImages&quot;: [ # The base images the layer is found within.
1152 { # BaseImage describes a base image of a container image.
1153 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1154 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1155 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
1156 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1157 },
1158 ],
1159 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
1160 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
1161 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
1162 &quot;index&quot;: 42, # The index of the layer in the container image.
1163 },
1164 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
1165 },
1166 ],
1167 &quot;package&quot;: &quot;A String&quot;, # The package being described.
1168 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
1169 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1170 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1171 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1172 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1173 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1174 },
1175 },
1176 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
1177 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
1178 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1179 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1180 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1181 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1182 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1183 },
1184 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
1185 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1186 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1187 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1188 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1189 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1190 },
1191 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
1192 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
1193 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1194 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
1195 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
1196 },
1197 ],
1198 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
1199 },
1200 }</pre>
1201 </div>
1202
1203 <div class="method">
1204 <code class="details" id="getIamPolicy">getIamPolicy(resource, body=None, x__xgafv=None)</code>
1205 <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. Attempting to call this method on a resource without the required permission will result in a `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for occurrences and projects/{PROJECT_ID}/notes/{NOTE_ID} for notes
1206
1207 Args:
1208 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)
1209 body: object, The request body.
1210 The object takes the form of:
1211
1212 { # Request message for `GetIamPolicy` method.
1213 &quot;options&quot;: { # Encapsulates settings provided to GetIamPolicy. # OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`.
1214 &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).
1215 },
1216 }
1217
1218 x__xgafv: string, V1 error format.
1219 Allowed values
1220 1 - v1 error format
1221 2 - v2 error format
1222
1223 Returns:
1224 An object of the form:
1225
1226 { # 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/).
1227 &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`.
1228 { # Associates `members`, or principals, with a `role`.
1229 &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).
1230 &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.
1231 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
1232 &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.
1233 &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.
1234 },
1235 &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`.
1236 &quot;A String&quot;,
1237 ],
1238 &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).
1239 },
1240 ],
1241 &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.
1242 &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).
1243 }</pre>
1244 </div>
1245
1246 <div class="method">
1247 <code class="details" id="list">list(name, filter=None, pageSize=None, pageToken=None, parent=None, x__xgafv=None)</code>
1248 <pre>Lists all `Notes` for a given project.
1249
1250 Args:
1251 name: string, The name field will contain the project Id for example: &quot;providers/{provider_id} @Deprecated (required)
1252 filter: string, The filter expression.
1253 pageSize: integer, Number of notes to return in the list.
1254 pageToken: string, Token to provide to skip to a particular spot in the list.
1255 parent: string, This field contains the project Id for example: &quot;projects/{PROJECT_ID}&quot;.
1256 x__xgafv: string, V1 error format.
1257 Allowed values
1258 1 - v1 error format
1259 2 - v2 error format
1260
1261 Returns:
1262 An object of the form:
1263
1264 { # Response including listed notes.
1265 &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 result.
1266 &quot;notes&quot;: [ # The occurrences requested
1267 { # Provides a detailed description of a `Note`.
1268 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI skill analysis.
1269 },
1270 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `AttestationAuthority` 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.
1271 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
1272 &quot;humanReadableName&quot;: &quot;A String&quot;, # The human readable name of this Attestation Authority, for example &quot;qa&quot;.
1273 },
1274 },
1275 &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.
1276 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the base image.
1277 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
1278 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
1279 &quot;A String&quot;,
1280 ],
1281 &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. This field can be used as a filter in list requests.
1282 },
1283 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
1284 },
1285 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
1286 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
1287 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
1288 &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).
1289 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`
1290 &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`
1291 &quot;signature&quot;: &quot;A String&quot;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
1292 },
1293 },
1294 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
1295 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
1296 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
1297 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
1298 },
1299 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
1300 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
1301 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
1302 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
1303 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
1304 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
1305 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
1306 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
1307 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
1308 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
1309 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
1310 },
1311 ],
1312 },
1313 &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.
1314 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1315 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
1316 &quot;A String&quot;,
1317 ],
1318 },
1319 &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. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
1320 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
1321 },
1322 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
1323 &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. # DSSEHint hints at the purpose of the attestation authority.
1324 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
1325 },
1326 },
1327 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
1328 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.
1329 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this `Note`.
1330 &quot;name&quot;: &quot;A String&quot;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
1331 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
1332 &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.
1333 &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.
1334 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
1335 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
1336 { # Digest information.
1337 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
1338 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
1339 },
1340 ],
1341 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1342 { # This represents a particular channel of distribution for a given package. e.g. Debian&#x27;s jessie-backports dpkg mirror
1343 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built
1344 &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.
1345 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1346 &quot;latestVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The latest available version of this package in this distribution channel.
1347 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1348 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1349 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1350 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1351 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1352 },
1353 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1354 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1355 },
1356 ],
1357 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1358 &quot;comments&quot;: &quot;A String&quot;, # Comments
1359 &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;.
1360 },
1361 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
1362 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1363 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
1364 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
1365 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package.
1366 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1367 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1368 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1369 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1370 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1371 },
1372 },
1373 &quot;relatedUrl&quot;: [ # URLs associated with this note
1374 { # Metadata for any related URL information
1375 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
1376 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
1377 },
1378 ],
1379 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
1380 &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;)
1381 &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
1382 },
1383 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
1384 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1385 &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.
1386 },
1387 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1388 },
1389 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
1390 &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.
1391 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
1392 &quot;A String&quot;,
1393 ],
1394 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
1395 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
1396 },
1397 &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.
1398 &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
1399 &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
1400 &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
1401 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
1402 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
1403 &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
1404 &quot;externalRefs&quot;: [ # ExternalRef
1405 { # 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
1406 &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
1407 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
1408 &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
1409 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
1410 },
1411 ],
1412 &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
1413 &quot;A String&quot;,
1414 ],
1415 &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
1416 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
1417 &quot;comments&quot;: &quot;A String&quot;, # Comments
1418 &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;.
1419 },
1420 &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
1421 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1422 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
1423 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
1424 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
1425 &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
1426 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
1427 },
1428 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
1429 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
1430 },
1431 &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.
1432 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
1433 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
1434 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
1435 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
1436 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
1437 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
1438 &quot;A String&quot;,
1439 ],
1440 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
1441 },
1442 ],
1443 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
1444 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
1445 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1446 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1447 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1448 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1449 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1450 },
1451 },
1452 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
1453 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
1454 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
1455 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1456 &quot;A String&quot;,
1457 ],
1458 &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.
1459 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1460 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1461 },
1462 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1463 &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.
1464 { # An URI message.
1465 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1466 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1467 },
1468 ],
1469 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1470 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1471 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1472 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1473 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
1474 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1475 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1476 },
1477 },
1478 ],
1479 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1480 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1481 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1482 },
1483 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
1484 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1485 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
1486 &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.
1487 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
1488 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
1489 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
1490 },
1491 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
1492 },
1493 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
1494 &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.
1495 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
1496 &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
1497 },
1498 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1499 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
1500 },
1501 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
1502 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
1503 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
1504 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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.
1505 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1506 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1507 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1508 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1509 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1510 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1511 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1512 &quot;exploitabilityScore&quot;: 3.14,
1513 &quot;impactScore&quot;: 3.14,
1514 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1515 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1516 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1517 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1518 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1519 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1520 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1521 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1522 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1523 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1524 },
1525 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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 # Optional. The full description of the CVSS for version 4.
1526 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1527 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1528 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1529 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1530 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1531 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1532 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1533 &quot;exploitabilityScore&quot;: 3.14,
1534 &quot;impactScore&quot;: 3.14,
1535 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1536 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1537 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1538 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1539 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1540 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1541 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1542 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1543 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1544 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1545 },
1546 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
1547 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
1548 &quot;A String&quot;,
1549 ],
1550 &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.
1551 { # Identifies all occurrences 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
1552 &quot;cpeUri&quot;: &quot;A String&quot;, # 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. This field can be used as a filter in list requests.
1553 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1554 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
1555 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
1556 &quot;fileLocation&quot;: [ # The file location at which this package was found.
1557 { # Indicates the location at which a package was found.
1558 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
1559 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
1560 &quot;baseImages&quot;: [ # The base images the layer is found within.
1561 { # BaseImage describes a base image of a container image.
1562 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1563 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1564 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
1565 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1566 },
1567 ],
1568 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
1569 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
1570 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
1571 &quot;index&quot;: 42, # The index of the layer in the container image.
1572 },
1573 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
1574 },
1575 ],
1576 &quot;package&quot;: &quot;A String&quot;, # The package being described.
1577 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
1578 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1579 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1580 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1581 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1582 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1583 },
1584 },
1585 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
1586 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
1587 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1588 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1589 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1590 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1591 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1592 },
1593 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
1594 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1595 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1596 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1597 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1598 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1599 },
1600 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
1601 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
1602 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1603 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
1604 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
1605 },
1606 ],
1607 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
1608 },
1609 },
1610 ],
1611 }</pre>
1612 </div>
1613
1614 <div class="method">
1615 <code class="details" id="list_next">list_next()</code>
1616 <pre>Retrieves the next page of results.
1617
1618 Args:
1619 previous_request: The request for the previous page. (required)
1620 previous_response: The response from the request for the previous page. (required)
1621
1622 Returns:
1623 A request object that you can call &#x27;execute()&#x27; on to request the next
1624 page. Returns None if there are no more items in the collection.
1625 </pre>
1626 </div>
1627
1628 <div class="method">
1629 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
1630 <pre>Updates an existing `Note`.
1631
1632 Args:
1633 name: string, The name of the note. Should be of the form &quot;projects/{provider_id}/notes/{note_id}&quot;. (required)
1634 body: object, The request body.
1635 The object takes the form of:
1636
1637 { # Provides a detailed description of a `Note`.
1638 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI skill analysis.
1639 },
1640 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `AttestationAuthority` 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.
1641 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
1642 &quot;humanReadableName&quot;: &quot;A String&quot;, # The human readable name of this Attestation Authority, for example &quot;qa&quot;.
1643 },
1644 },
1645 &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.
1646 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the base image.
1647 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
1648 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
1649 &quot;A String&quot;,
1650 ],
1651 &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. This field can be used as a filter in list requests.
1652 },
1653 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
1654 },
1655 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
1656 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
1657 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
1658 &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).
1659 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`
1660 &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`
1661 &quot;signature&quot;: &quot;A String&quot;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
1662 },
1663 },
1664 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
1665 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
1666 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
1667 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
1668 },
1669 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
1670 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
1671 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
1672 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
1673 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
1674 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
1675 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
1676 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
1677 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
1678 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
1679 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
1680 },
1681 ],
1682 },
1683 &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.
1684 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
1685 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
1686 &quot;A String&quot;,
1687 ],
1688 },
1689 &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. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
1690 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
1691 },
1692 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
1693 &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. # DSSEHint hints at the purpose of the attestation authority.
1694 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
1695 },
1696 },
1697 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
1698 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.
1699 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this `Note`.
1700 &quot;name&quot;: &quot;A String&quot;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
1701 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
1702 &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.
1703 &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.
1704 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
1705 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
1706 { # Digest information.
1707 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
1708 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
1709 },
1710 ],
1711 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
1712 { # This represents a particular channel of distribution for a given package. e.g. Debian&#x27;s jessie-backports dpkg mirror
1713 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built
1714 &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.
1715 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
1716 &quot;latestVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The latest available version of this package in this distribution channel.
1717 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1718 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1719 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1720 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1721 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1722 },
1723 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
1724 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
1725 },
1726 ],
1727 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
1728 &quot;comments&quot;: &quot;A String&quot;, # Comments
1729 &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;.
1730 },
1731 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
1732 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
1733 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
1734 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
1735 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package.
1736 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1737 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1738 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1739 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1740 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1741 },
1742 },
1743 &quot;relatedUrl&quot;: [ # URLs associated with this note
1744 { # Metadata for any related URL information
1745 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
1746 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
1747 },
1748 ],
1749 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
1750 &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;)
1751 &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
1752 },
1753 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
1754 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
1755 &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.
1756 },
1757 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
1758 },
1759 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
1760 &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.
1761 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
1762 &quot;A String&quot;,
1763 ],
1764 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
1765 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
1766 },
1767 &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.
1768 &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
1769 &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
1770 &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
1771 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
1772 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
1773 &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
1774 &quot;externalRefs&quot;: [ # ExternalRef
1775 { # 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
1776 &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
1777 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
1778 &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
1779 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
1780 },
1781 ],
1782 &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
1783 &quot;A String&quot;,
1784 ],
1785 &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
1786 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
1787 &quot;comments&quot;: &quot;A String&quot;, # Comments
1788 &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;.
1789 },
1790 &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
1791 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
1792 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
1793 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
1794 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
1795 &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
1796 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
1797 },
1798 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
1799 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
1800 },
1801 &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.
1802 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
1803 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
1804 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
1805 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
1806 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
1807 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
1808 &quot;A String&quot;,
1809 ],
1810 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
1811 },
1812 ],
1813 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
1814 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
1815 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1816 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1817 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1818 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1819 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1820 },
1821 },
1822 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
1823 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
1824 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
1825 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
1826 &quot;A String&quot;,
1827 ],
1828 &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.
1829 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
1830 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
1831 },
1832 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1833 &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.
1834 { # An URI message.
1835 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1836 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1837 },
1838 ],
1839 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
1840 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
1841 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
1842 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
1843 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
1844 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
1845 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
1846 },
1847 },
1848 ],
1849 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1850 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
1851 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
1852 },
1853 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
1854 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
1855 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
1856 &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.
1857 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
1858 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
1859 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
1860 },
1861 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
1862 },
1863 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
1864 &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.
1865 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
1866 &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
1867 },
1868 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
1869 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
1870 },
1871 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
1872 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
1873 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
1874 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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.
1875 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1876 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1877 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1878 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1879 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1880 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1881 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1882 &quot;exploitabilityScore&quot;: 3.14,
1883 &quot;impactScore&quot;: 3.14,
1884 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1885 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1886 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1887 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1888 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1889 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1890 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1891 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1892 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1893 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1894 },
1895 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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 # Optional. The full description of the CVSS for version 4.
1896 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
1897 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
1898 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
1899 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
1900 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
1901 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
1902 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
1903 &quot;exploitabilityScore&quot;: 3.14,
1904 &quot;impactScore&quot;: 3.14,
1905 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
1906 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
1907 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
1908 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
1909 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
1910 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
1911 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
1912 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
1913 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
1914 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
1915 },
1916 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
1917 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
1918 &quot;A String&quot;,
1919 ],
1920 &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.
1921 { # Identifies all occurrences 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
1922 &quot;cpeUri&quot;: &quot;A String&quot;, # 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. This field can be used as a filter in list requests.
1923 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
1924 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
1925 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
1926 &quot;fileLocation&quot;: [ # The file location at which this package was found.
1927 { # Indicates the location at which a package was found.
1928 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
1929 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
1930 &quot;baseImages&quot;: [ # The base images the layer is found within.
1931 { # BaseImage describes a base image of a container image.
1932 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
1933 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
1934 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
1935 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
1936 },
1937 ],
1938 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
1939 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
1940 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
1941 &quot;index&quot;: 42, # The index of the layer in the container image.
1942 },
1943 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
1944 },
1945 ],
1946 &quot;package&quot;: &quot;A String&quot;, # The package being described.
1947 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
1948 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1949 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1950 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1951 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1952 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1953 },
1954 },
1955 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
1956 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
1957 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1958 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1959 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1960 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1961 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1962 },
1963 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
1964 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
1965 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
1966 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
1967 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
1968 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
1969 },
1970 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
1971 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
1972 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
1973 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
1974 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
1975 },
1976 ],
1977 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
1978 },
1979 }
1980
1981 updateMask: string, The fields to update.
1982 x__xgafv: string, V1 error format.
1983 Allowed values
1984 1 - v1 error format
1985 2 - v2 error format
1986
1987 Returns:
1988 An object of the form:
1989
1990 { # Provides a detailed description of a `Note`.
1991 &quot;aiSkillAnalysis&quot;: { # AISkillAnalysisNote provides the metadata of an AI-based skill analysis. # A note describing an AI skill analysis.
1992 },
1993 &quot;attestationAuthority&quot;: { # Note kind that represents a logical attestation &quot;role&quot; or &quot;authority&quot;. For example, an organization might have one `AttestationAuthority` 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.
1994 &quot;hint&quot;: { # This submessage provides human-readable hints about the purpose of the AttestationAuthority. 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 AttestationAuthorities in security sensitive contexts, such as when looking up Attestations to verify.
1995 &quot;humanReadableName&quot;: &quot;A String&quot;, # The human readable name of this Attestation Authority, for example &quot;qa&quot;.
1996 },
1997 },
1998 &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.
1999 &quot;fingerprint&quot;: { # A set of properties that uniquely identify a given Docker image. # The fingerprint of the base image.
2000 &quot;v1Name&quot;: &quot;A String&quot;, # The layer-id of the final layer in the Docker image&#x27;s v1 representation. This field can be used as a filter in list requests.
2001 &quot;v2Blob&quot;: [ # The ordered list of v2 blobs that represent a given image.
2002 &quot;A String&quot;,
2003 ],
2004 &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. This field can be used as a filter in list requests.
2005 },
2006 &quot;resourceUrl&quot;: &quot;A String&quot;, # The resource_url for the resource representing the basis of associated occurrence images.
2007 },
2008 &quot;buildType&quot;: { # Note holding the version of the provider&#x27;s builder and the signature of the provenance message in linked BuildDetails. # Build provenance type for a verifiable build.
2009 &quot;builderVersion&quot;: &quot;A String&quot;, # Version of the builder which produced this Note.
2010 &quot;signature&quot;: { # Message encapsulating the signature of the verified build. # Signature of the build in Occurrences pointing to the Note containing this `BuilderDetails`.
2011 &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).
2012 &quot;keyType&quot;: &quot;A String&quot;, # The type of the key, either stored in `public_key` or referenced in `key_id`
2013 &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`
2014 &quot;signature&quot;: &quot;A String&quot;, # Signature of the related `BuildProvenance`, encoded in a base64 string.
2015 },
2016 },
2017 &quot;compliance&quot;: { # ComplianceNote encapsulates all information about a specific compliance check. # A note describing a compliance check.
2018 &quot;cisBenchmark&quot;: { # A compliance check that is a CIS benchmark. # Right now we only have one compliance type, but we may add additional types in the future.
2019 &quot;profileLevel&quot;: 42, # The profile level of this CIS benchmark check.
2020 &quot;severity&quot;: &quot;A String&quot;, # The severity level of this CIS benchmark check.
2021 },
2022 &quot;description&quot;: &quot;A String&quot;, # A description about this compliance check.
2023 &quot;impact&quot;: &quot;A String&quot;, # Potential impact of the suggested remediation
2024 &quot;rationale&quot;: &quot;A String&quot;, # A rationale for the existence of this compliance check.
2025 &quot;remediation&quot;: &quot;A String&quot;, # A description of remediation steps if the compliance check fails.
2026 &quot;scanInstructions&quot;: &quot;A String&quot;, # Serialized scan instructions with a predefined format.
2027 &quot;title&quot;: &quot;A String&quot;, # The title that identifies this compliance check.
2028 &quot;version&quot;: [ # The OS and config versions the benchmark applies to.
2029 { # Describes the CIS benchmark version that is applicable to a given OS and os version.
2030 &quot;benchmarkDocument&quot;: &quot;A String&quot;, # The name of the document that defines this benchmark, e.g. &quot;CIS Container-Optimized OS&quot;.
2031 &quot;cpeUri&quot;: &quot;A String&quot;, # The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.
2032 &quot;version&quot;: &quot;A String&quot;, # The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.
2033 },
2034 ],
2035 },
2036 &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.
2037 &quot;deployable&quot;: { # An artifact that can be deployed in some runtime. # A note describing something that can be deployed.
2038 &quot;resourceUri&quot;: [ # Resource URI for the artifact being deployed.
2039 &quot;A String&quot;,
2040 ],
2041 },
2042 &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. The occurrence&#x27;s operation will indicate the status of the analysis. Absence of an occurrence linked to this note for a resource indicates that analysis hasn&#x27;t started. # A note describing a provider/analysis type.
2043 &quot;analysisKind&quot;: &quot;A String&quot;, # The kind of analysis that is handled by this discovery.
2044 },
2045 &quot;dsseAttestation&quot;: { # A note describing an attestation # A note describing a dsse attestation note.
2046 &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. # DSSEHint hints at the purpose of the attestation authority.
2047 &quot;humanReadableName&quot;: &quot;A String&quot;, # Required. The human readable name of this attestation authority, for example &quot;cloudbuild-prod&quot;.
2048 },
2049 },
2050 &quot;expirationTime&quot;: &quot;A String&quot;, # Time of expiration for this note, null if note does not expire.
2051 &quot;kind&quot;: &quot;A String&quot;, # Output only. This explicitly denotes which kind of note is specified. This field can be used as a filter in list requests.
2052 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this `Note`.
2053 &quot;name&quot;: &quot;A String&quot;, # The name of the note in the form &quot;projects/{provider_project_id}/notes/{NOTE_ID}&quot;
2054 &quot;package&quot;: { # This represents a particular package that is distributed over various channels. e.g. glibc (aka libc6) is distributed by many, at various versions. # A note describing a package hosted by various package managers.
2055 &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.
2056 &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.
2057 &quot;description&quot;: &quot;A String&quot;, # The description of this package.
2058 &quot;digest&quot;: [ # Hash value, typically a file digest, that allows unique identification a specific package.
2059 { # Digest information.
2060 &quot;algo&quot;: &quot;A String&quot;, # `SHA1`, `SHA512` etc.
2061 &quot;digestBytes&quot;: &quot;A String&quot;, # Value of the digest.
2062 },
2063 ],
2064 &quot;distribution&quot;: [ # The various channels by which a package is distributed.
2065 { # This represents a particular channel of distribution for a given package. e.g. Debian&#x27;s jessie-backports dpkg mirror
2066 &quot;architecture&quot;: &quot;A String&quot;, # The CPU architecture for which packages in this distribution channel were built
2067 &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.
2068 &quot;description&quot;: &quot;A String&quot;, # The distribution channel-specific description of this package.
2069 &quot;latestVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The latest available version of this package in this distribution channel.
2070 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2071 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2072 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2073 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2074 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2075 },
2076 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform string denoting the maintainer of this package.
2077 &quot;url&quot;: &quot;A String&quot;, # The distribution channel-specific homepage for this package.
2078 },
2079 ],
2080 &quot;license&quot;: { # License information. # Licenses that have been declared by the authors of the package.
2081 &quot;comments&quot;: &quot;A String&quot;, # Comments
2082 &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;.
2083 },
2084 &quot;maintainer&quot;: &quot;A String&quot;, # A freeform text denoting the maintainer of this package.
2085 &quot;name&quot;: &quot;A String&quot;, # The name of the package.
2086 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).
2087 &quot;url&quot;: &quot;A String&quot;, # The homepage for this package.
2088 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package.
2089 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2090 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2091 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2092 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2093 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2094 },
2095 },
2096 &quot;relatedUrl&quot;: [ # URLs associated with this note
2097 { # Metadata for any related URL information
2098 &quot;label&quot;: &quot;A String&quot;, # Label to describe usage of the URL
2099 &quot;url&quot;: &quot;A String&quot;, # Specific URL to associate with the note
2100 },
2101 ],
2102 &quot;sbom&quot;: { # DocumentNote represents an SPDX Document Creation Infromation section: https://spdx.github.io/spdx-spec/2-document-creation-information/ # A note describing a software bill of materials.
2103 &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;)
2104 &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
2105 },
2106 &quot;sbomReference&quot;: { # The note representing an SBOM reference. # A note describing a reference to an SBOM.
2107 &quot;format&quot;: &quot;A String&quot;, # The format that SBOM takes. E.g. may be spdx, cyclonedx, etc...
2108 &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.
2109 },
2110 &quot;secret&quot;: { # The note representing a secret. # A note describing a secret.
2111 },
2112 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this `Note`.
2113 &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.
2114 &quot;checksum&quot;: [ # Provide a unique identifier to match analysis information on each specific file in a package
2115 &quot;A String&quot;,
2116 ],
2117 &quot;fileType&quot;: &quot;A String&quot;, # This field provides information about the type of file identified
2118 &quot;title&quot;: &quot;A String&quot;, # Identify the full path and filename that corresponds to the file information in this section
2119 },
2120 &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.
2121 &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
2122 &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
2123 &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
2124 &quot;copyright&quot;: &quot;A String&quot;, # Identify the copyright holders of the package, as well as any dates present
2125 &quot;detailedDescription&quot;: &quot;A String&quot;, # A more detailed description of the package
2126 &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
2127 &quot;externalRefs&quot;: [ # ExternalRef
2128 { # 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
2129 &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
2130 &quot;comment&quot;: &quot;A String&quot;, # Human-readable information about the purpose and target of the reference
2131 &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
2132 &quot;type&quot;: &quot;A String&quot;, # Type of category (e.g. &#x27;npm&#x27; for the PACKAGE_MANAGER category)
2133 },
2134 ],
2135 &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
2136 &quot;A String&quot;,
2137 ],
2138 &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
2139 &quot;licenseDeclared&quot;: { # License information. # List the licenses that have been declared by the authors of the package
2140 &quot;comments&quot;: &quot;A String&quot;, # Comments
2141 &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;.
2142 },
2143 &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
2144 &quot;packageType&quot;: &quot;A String&quot;, # The type of package: OS, MAVEN, GO, GO_STDLIB, etc.
2145 &quot;summaryDescription&quot;: &quot;A String&quot;, # A short description of the package
2146 &quot;supplier&quot;: &quot;A String&quot;, # Identify the actual distribution source for the package/directory identified in the SPDX file
2147 &quot;title&quot;: &quot;A String&quot;, # Identify the full name of the package as given by the Package Originator
2148 &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
2149 &quot;version&quot;: &quot;A String&quot;, # Identify the version of the package
2150 },
2151 &quot;spdxRelationship&quot;: { # RelationshipNote represents an SPDX Relationship section: https://spdx.github.io/spdx-spec/7-relationships-between-SPDX-elements/ # A note describing a relationship between SPDX elements.
2152 &quot;type&quot;: &quot;A String&quot;, # The type of relationship between the source and target SPDX elements
2153 },
2154 &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.
2155 &quot;upgrade&quot;: { # An Upgrade Note represents a potential upgrade of a package to a given version. For each package version combination (i.e. bash 4.0, bash 4.1, bash 4.1.2), there will be a Upgrade Note. # A note describing an upgrade.
2156 &quot;distributions&quot;: [ # Metadata about the upgrade for each specific operating system.
2157 { # The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.
2158 &quot;classification&quot;: &quot;A String&quot;, # The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed.
2159 &quot;cpeUri&quot;: &quot;A String&quot;, # Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.
2160 &quot;cve&quot;: [ # The cve that would be resolved by this upgrade.
2161 &quot;A String&quot;,
2162 ],
2163 &quot;severity&quot;: &quot;A String&quot;, # The severity as specified by the upstream operating system.
2164 },
2165 ],
2166 &quot;package&quot;: &quot;A String&quot;, # Required - The package this Upgrade is for.
2167 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # Required - The version of the package in machine + human readable form.
2168 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2169 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2170 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2171 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2172 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2173 },
2174 },
2175 &quot;vulnerabilityAssessment&quot;: { # A single VulnerabilityAssessmentNote represents one particular product&#x27;s vulnerability assessment for one CVE. Multiple VulnerabilityAssessmentNotes together form a Vex statement. Please go/sds-vex-example for a sample Vex statement in the CSAF format. # A note describing a vulnerability assessment.
2176 &quot;assessment&quot;: { # Assessment provides all information that is related to a single vulnerability for this product. # Represents a vulnerability assessment for the product.
2177 &quot;cve&quot;: &quot;A String&quot;, # Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability.
2178 &quot;impacts&quot;: [ # Contains information about the impact of this vulnerability, this will change with time.
2179 &quot;A String&quot;,
2180 ],
2181 &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.
2182 &quot;details&quot;: &quot;A String&quot;, # Additional details on why this justification was chosen.
2183 &quot;justificationType&quot;: &quot;A String&quot;, # The justification type for this vulnerability.
2184 },
2185 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2186 &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.
2187 { # An URI message.
2188 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
2189 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
2190 },
2191 ],
2192 &quot;remediations&quot;: [ # Specifies details on how to handle (and presumably, fix) a vulnerability.
2193 { # Specifies details on how to handle (and presumably, fix) a vulnerability.
2194 &quot;details&quot;: &quot;A String&quot;, # Contains a comprehensive human-readable discussion of the remediation.
2195 &quot;remediationType&quot;: &quot;A String&quot;, # The type of remediation that can be applied.
2196 &quot;remediationUri&quot;: { # An URI message. # Contains the URL where to obtain the remediation.
2197 &quot;label&quot;: &quot;A String&quot;, # A label for the URI.
2198 &quot;uri&quot;: &quot;A String&quot;, # The unique resource identifier.
2199 },
2200 },
2201 ],
2202 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2203 &quot;state&quot;: &quot;A String&quot;, # Provides the state of this Vulnerability assessment.
2204 &quot;vulnerabilityId&quot;: &quot;A String&quot;, # The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc.
2205 },
2206 &quot;languageCode&quot;: &quot;A String&quot;, # Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646.
2207 &quot;longDescription&quot;: &quot;A String&quot;, # A detailed description of this Vex.
2208 &quot;product&quot;: { # Product contains information about a product and how to uniquely identify it. # The product affected by this vex.
2209 &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.
2210 &quot;identifierHelper&quot;: { # Helps in identifying the underlying product. This should be treated like a one-of field. Only one field should be set in this proto. This is a workaround because spanner indexes on one-of fields restrict addition and deletion of fields. # Helps in identifying the underlying product.
2211 &quot;field&quot;: &quot;A String&quot;, # The field that is set in the API proto.
2212 &quot;genericUri&quot;: &quot;A String&quot;, # Contains a URI which is vendor-specific. Example: The artifact repository URL of an image.
2213 },
2214 &quot;name&quot;: &quot;A String&quot;, # Name of the product.
2215 },
2216 &quot;publisher&quot;: { # Publisher contains information about the publisher of this Note. # Publisher details of this Note.
2217 &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.
2218 &quot;name&quot;: &quot;A String&quot;, # Name of the publisher. Examples: &#x27;Google&#x27;, &#x27;Google Cloud Platform&#x27;.
2219 &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
2220 },
2221 &quot;shortDescription&quot;: &quot;A String&quot;, # A one sentence description of this Vex.
2222 &quot;title&quot;: &quot;A String&quot;, # The title of the note. E.g. `Vex-Debian-11.4`
2223 },
2224 &quot;vulnerabilityType&quot;: { # VulnerabilityType provides metadata about a security vulnerability. # A package vulnerability type of note.
2225 &quot;advisoryPublishTime&quot;: &quot;A String&quot;, # Time this advisory was published by the source.
2226 &quot;cvssScore&quot;: 3.14, # The CVSS score for this Vulnerability.
2227 &quot;cvssV2&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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.
2228 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2229 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
2230 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
2231 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
2232 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
2233 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
2234 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
2235 &quot;exploitabilityScore&quot;: 3.14,
2236 &quot;impactScore&quot;: 3.14,
2237 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
2238 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
2239 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
2240 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
2241 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2242 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2243 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
2244 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2245 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2246 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2247 },
2248 &quot;cvssV4&quot;: { # Common Vulnerability Scoring System. This message is compatible with CVSS v2 and v3. 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 # Optional. The full description of the CVSS for version 4.
2249 &quot;attackComplexity&quot;: &quot;A String&quot;, # Optional. Attack Complexity (AC). Defined in CVSS v2, v3, v4.
2250 &quot;attackRequirements&quot;: &quot;A String&quot;, # Optional. Attack Requirements (AT). Defined in CVSS v4.
2251 &quot;attackVector&quot;: &quot;A String&quot;, # Optional. Attack Vector (AV). Defined in CVSS v2, v3, v4.
2252 &quot;authentication&quot;: &quot;A String&quot;, # Optional. Authentication (Au). Defined in CVSS v2.
2253 &quot;availabilityImpact&quot;: &quot;A String&quot;, # Optional. Availability Impact (A). Defined in CVSS v2, v3.
2254 &quot;baseScore&quot;: 3.14, # Optional. The base score is a function of the base metric scores.
2255 &quot;confidentialityImpact&quot;: &quot;A String&quot;, # Optional. Confidentiality Impact (C). Defined in CVSS v2, v3.
2256 &quot;exploitabilityScore&quot;: 3.14,
2257 &quot;impactScore&quot;: 3.14,
2258 &quot;integrityImpact&quot;: &quot;A String&quot;, # Optional. Integrity Impact (I). Defined in CVSS v2, v3.
2259 &quot;privilegesRequired&quot;: &quot;A String&quot;, # Optional. Privileges Required (PR). Defined in CVSS v3, v4.
2260 &quot;scope&quot;: &quot;A String&quot;, # Optional. Scope (S). Defined in CVSS v3.
2261 &quot;subsequentSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Availability Impact (SA). Defined in CVSS v4.
2262 &quot;subsequentSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Confidentiality Impact (SC). Defined in CVSS v4.
2263 &quot;subsequentSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Subsequent System Integrity Impact (SI). Defined in CVSS v4.
2264 &quot;userInteraction&quot;: &quot;A String&quot;, # Optional. User Interaction (UI). Defined in CVSS v3, v4.
2265 &quot;vulnerableSystemAvailabilityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Availability Impact (VA). Defined in CVSS v4.
2266 &quot;vulnerableSystemConfidentialityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Confidentiality Impact (VC). Defined in CVSS v4.
2267 &quot;vulnerableSystemIntegrityImpact&quot;: &quot;A String&quot;, # Optional. Vulnerable System Integrity Impact (VI). Defined in CVSS v4.
2268 },
2269 &quot;cvssVersion&quot;: &quot;A String&quot;, # CVSS version used to populate cvss_score and severity.
2270 &quot;cwe&quot;: [ # A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html
2271 &quot;A String&quot;,
2272 ],
2273 &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.
2274 { # Identifies all occurrences 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
2275 &quot;cpeUri&quot;: &quot;A String&quot;, # 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. This field can be used as a filter in list requests.
2276 &quot;description&quot;: &quot;A String&quot;, # A vendor-specific description of this note.
2277 &quot;fixedLocation&quot;: { # The location of the vulnerability # The fix for this specific package version.
2278 &quot;cpeUri&quot;: &quot;A String&quot;, # The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. This field can be used as a filter in list requests.
2279 &quot;fileLocation&quot;: [ # The file location at which this package was found.
2280 { # Indicates the location at which a package was found.
2281 &quot;filePath&quot;: &quot;A String&quot;, # For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.
2282 &quot;layerDetails&quot;: { # Details about the layer a package was found in. # Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package).
2283 &quot;baseImages&quot;: [ # The base images the layer is found within.
2284 { # BaseImage describes a base image of a container image.
2285 &quot;layerCount&quot;: 42, # The number of layers that the base image is composed of.
2286 &quot;name&quot;: &quot;A String&quot;, # The name of the base image.
2287 &quot;registry&quot;: &quot;A String&quot;, # The registry of the base image.
2288 &quot;repository&quot;: &quot;A String&quot;, # The repository name in which the base image is from.
2289 },
2290 ],
2291 &quot;chainId&quot;: &quot;A String&quot;, # The chain ID of the layer in the container image.
2292 &quot;command&quot;: &quot;A String&quot;, # The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built.
2293 &quot;diffId&quot;: &quot;A String&quot;, # The diff ID (sha256 hash) of the layer in the container image.
2294 &quot;index&quot;: 42, # The index of the layer in the container image.
2295 },
2296 &quot;lineNumber&quot;: 42, # Line number in the file where the package is found. Optional field that only applies to source repository scanning.
2297 },
2298 ],
2299 &quot;package&quot;: &quot;A String&quot;, # The package being described.
2300 &quot;version&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The version of the package being described. This field can be used as a filter in list requests.
2301 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2302 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2303 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2304 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2305 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2306 },
2307 },
2308 &quot;isObsolete&quot;: True or False, # Whether this Detail is obsolete. Occurrences are expected not to point to obsolete details.
2309 &quot;maxAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The max version of the package in which the vulnerability exists.
2310 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2311 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2312 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2313 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2314 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2315 },
2316 &quot;minAffectedVersion&quot;: { # Version contains structured information about the version of the package. For a discussion of this in Debian/Ubuntu: http://serverfault.com/questions/604541/debian-packages-version-convention For a discussion of this in Redhat/Fedora/Centos: http://blog.jasonantman.com/2014/07/how-yum-and-rpm-compare-versions/ # The min version of the package in which the vulnerability exists.
2317 &quot;epoch&quot;: 42, # Used to correct mistakes in the version numbering scheme.
2318 &quot;inclusive&quot;: True or False, # Whether this version is vulnerable, when defining the version bounds. For example, if the minimum version is 2.0, inclusive=true would say 2.0 is vulnerable, while inclusive=false would say it&#x27;s not
2319 &quot;kind&quot;: &quot;A String&quot;, # Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.
2320 &quot;name&quot;: &quot;A String&quot;, # The main part of the version name.
2321 &quot;revision&quot;: &quot;A String&quot;, # The iteration of the package build from the above version.
2322 },
2323 &quot;package&quot;: &quot;A String&quot;, # The name of the package where the vulnerability was found. This field can be used as a filter in list requests.
2324 &quot;packageType&quot;: &quot;A String&quot;, # The type of package; whether native or non native(ruby gems, node.js packages etc)
2325 &quot;severityName&quot;: &quot;A String&quot;, # The severity (eg: distro assigned severity) for this vulnerability.
2326 &quot;source&quot;: &quot;A String&quot;, # The source from which the information in this Detail was obtained.
2327 &quot;vendor&quot;: &quot;A String&quot;, # The vendor of the product. e.g. &quot;google&quot;
2328 },
2329 ],
2330 &quot;severity&quot;: &quot;A String&quot;, # Note provider assigned impact of the vulnerability
2331 },
2332 }</pre>
2333 </div>
2334
2335 <div class="method">
2336 <code class="details" id="setIamPolicy">setIamPolicy(resource, body=None, x__xgafv=None)</code>
2337 <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. Attempting to call this method without these permissions will result in a ` `PERMISSION_DENIED` error. Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has `containeranalysis.notes.list` permission on a `Note` or `containeranalysis.occurrences.list` on an `Occurrence`, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{projectid}/occurrences/{occurrenceid}` for occurrences and projects/{projectid}/notes/{noteid} for notes
2338
2339 Args:
2340 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)
2341 body: object, The request body.
2342 The object takes the form of:
2343
2344 { # Request message for `SetIamPolicy` method.
2345 &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.
2346 &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`.
2347 { # Associates `members`, or principals, with a `role`.
2348 &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).
2349 &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.
2350 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
2351 &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.
2352 &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.
2353 },
2354 &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`.
2355 &quot;A String&quot;,
2356 ],
2357 &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).
2358 },
2359 ],
2360 &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.
2361 &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).
2362 },
2363 }
2364
2365 x__xgafv: string, V1 error format.
2366 Allowed values
2367 1 - v1 error format
2368 2 - v2 error format
2369
2370 Returns:
2371 An object of the form:
2372
2373 { # 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/).
2374 &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`.
2375 { # Associates `members`, or principals, with a `role`.
2376 &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).
2377 &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.
2378 &quot;expression&quot;: &quot;A String&quot;, # Textual representation of an expression in Common Expression Language syntax.
2379 &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.
2380 &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.
2381 },
2382 &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`.
2383 &quot;A String&quot;,
2384 ],
2385 &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).
2386 },
2387 ],
2388 &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.
2389 &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).
2390 }</pre>
2391 </div>
2392
2393 <div class="method">
2394 <code class="details" id="testIamPermissions">testIamPermissions(resource, body=None, x__xgafv=None)</code>
2395 <pre>Returns the permissions that a caller has on the specified note or occurrence resource. Requires list permission on the project (for example, &quot;storage.objects.list&quot; on the containing bucket for testing permission of an object). Attempting to call this method on a non-existent resource will result in a `NOT_FOUND` error if the user has list permission on the project, or a `PERMISSION_DENIED` error otherwise. The resource takes the following formats: `projects/{PROJECT_ID}/occurrences/{OCCURRENCE_ID}` for `Occurrences` and `projects/{PROJECT_ID}/notes/{NOTE_ID}` for `Notes`
2396
2397 Args:
2398 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)
2399 body: object, The request body.
2400 The object takes the form of:
2401
2402 { # Request message for `TestIamPermissions` method.
2403 &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).
2404 &quot;A String&quot;,
2405 ],
2406 }
2407
2408 x__xgafv: string, V1 error format.
2409 Allowed values
2410 1 - v1 error format
2411 2 - v2 error format
2412
2413 Returns:
2414 An object of the form:
2415
2416 { # Response message for `TestIamPermissions` method.
2417 &quot;permissions&quot;: [ # A subset of `TestPermissionsRequest.permissions` that the caller is allowed.
2418 &quot;A String&quot;,
2419 ],
2420 }</pre>
2421 </div>
2422
2423 </body></html>