1{
2  "auth": {
3    "oauth2": {
4      "scopes": {
5        "https://www.googleapis.com/auth/cloud-platform": {
6          "description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
7        }
8      }
9    }
10  },
11  "basePath": "",
12  "baseUrl": "https://containeranalysis.googleapis.com/",
13  "batchPath": "batch",
14  "canonicalName": "Container Analysis",
15  "description": "An implementation of the Grafeas API, which stores, and enables querying and retrieval of critical metadata about all of your software artifacts.",
16  "discoveryVersion": "v1",
17  "documentationLink": "https://cloud.google.com/container-analysis/api/reference/rest/",
18  "fullyEncodeReservedExpansion": true,
19  "icons": {
20    "x16": "http://www.google.com/images/icons/product/search-16.gif",
21    "x32": "http://www.google.com/images/icons/product/search-32.gif"
22  },
23  "id": "containeranalysis:v1",
24  "kind": "discovery#restDescription",
25  "mtlsRootUrl": "https://containeranalysis.mtls.googleapis.com/",
26  "name": "containeranalysis",
27  "ownerDomain": "google.com",
28  "ownerName": "Google",
29  "parameters": {
30    "$.xgafv": {
31      "description": "V1 error format.",
32      "enum": [
33        "1",
34        "2"
35      ],
36      "enumDescriptions": [
37        "v1 error format",
38        "v2 error format"
39      ],
40      "location": "query",
41      "type": "string"
42    },
43    "access_token": {
44      "description": "OAuth access token.",
45      "location": "query",
46      "type": "string"
47    },
48    "alt": {
49      "default": "json",
50      "description": "Data format for response.",
51      "enum": [
52        "json",
53        "media",
54        "proto"
55      ],
56      "enumDescriptions": [
57        "Responses with Content-Type of application/json",
58        "Media download with context-dependent Content-Type",
59        "Responses with Content-Type of application/x-protobuf"
60      ],
61      "location": "query",
62      "type": "string"
63    },
64    "callback": {
65      "description": "JSONP",
66      "location": "query",
67      "type": "string"
68    },
69    "fields": {
70      "description": "Selector specifying which fields to include in a partial response.",
71      "location": "query",
72      "type": "string"
73    },
74    "key": {
75      "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
76      "location": "query",
77      "type": "string"
78    },
79    "oauth_token": {
80      "description": "OAuth 2.0 token for the current user.",
81      "location": "query",
82      "type": "string"
83    },
84    "prettyPrint": {
85      "default": "true",
86      "description": "Returns response with indentations and line breaks.",
87      "location": "query",
88      "type": "boolean"
89    },
90    "quotaUser": {
91      "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
92      "location": "query",
93      "type": "string"
94    },
95    "uploadType": {
96      "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
97      "location": "query",
98      "type": "string"
99    },
100    "upload_protocol": {
101      "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
102      "location": "query",
103      "type": "string"
104    }
105  },
106  "protocol": "rest",
107  "resources": {
108    "operations": {
109      "methods": {
110        "cancel": {
111          "description": "Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to `Code.CANCELLED`.",
112          "flatPath": "v1/operations/{operationsId}:cancel",
113          "httpMethod": "POST",
114          "id": "containeranalysis.operations.cancel",
115          "parameterOrder": [
116            "name"
117          ],
118          "parameters": {
119            "name": {
120              "description": "The name of the operation resource to be cancelled.",
121              "location": "path",
122              "pattern": "^operations/.*$",
123              "required": true,
124              "type": "string"
125            }
126          },
127          "path": "v1/{+name}:cancel",
128          "request": {
129            "$ref": "CancelOperationRequest"
130          },
131          "response": {
132            "$ref": "Empty"
133          },
134          "scopes": [
135            "https://www.googleapis.com/auth/cloud-platform"
136          ]
137        },
138        "delete": {
139          "description": "Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.",
140          "flatPath": "v1/operations/{operationsId}",
141          "httpMethod": "DELETE",
142          "id": "containeranalysis.operations.delete",
143          "parameterOrder": [
144            "name"
145          ],
146          "parameters": {
147            "name": {
148              "description": "The name of the operation resource to be deleted.",
149              "location": "path",
150              "pattern": "^operations/.*$",
151              "required": true,
152              "type": "string"
153            }
154          },
155          "path": "v1/{+name}",
156          "response": {
157            "$ref": "Empty"
158          },
159          "scopes": [
160            "https://www.googleapis.com/auth/cloud-platform"
161          ]
162        },
163        "get": {
164          "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
165          "flatPath": "v1/operations/{operationsId}",
166          "httpMethod": "GET",
167          "id": "containeranalysis.operations.get",
168          "parameterOrder": [
169            "name"
170          ],
171          "parameters": {
172            "name": {
173              "description": "The name of the operation resource.",
174              "location": "path",
175              "pattern": "^operations/.*$",
176              "required": true,
177              "type": "string"
178            }
179          },
180          "path": "v1/{+name}",
181          "response": {
182            "$ref": "Operation"
183          },
184          "scopes": [
185            "https://www.googleapis.com/auth/cloud-platform"
186          ]
187        },
188        "list": {
189          "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. NOTE: the `name` binding allows API services to override the binding to use different resource name schemes, such as `users/*/operations`. To override the binding, API services can add a binding such as `\"/v1/{name=users/*}/operations\"` to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
190          "flatPath": "v1/operations",
191          "httpMethod": "GET",
192          "id": "containeranalysis.operations.list",
193          "parameterOrder": [
194            "name"
195          ],
196          "parameters": {
197            "filter": {
198              "description": "The standard list filter.",
199              "location": "query",
200              "type": "string"
201            },
202            "name": {
203              "description": "The name of the operation's parent resource.",
204              "location": "path",
205              "pattern": "^operations$",
206              "required": true,
207              "type": "string"
208            },
209            "pageSize": {
210              "description": "The standard list page size.",
211              "format": "int32",
212              "location": "query",
213              "type": "integer"
214            },
215            "pageToken": {
216              "description": "The standard list page token.",
217              "location": "query",
218              "type": "string"
219            }
220          },
221          "path": "v1/{+name}",
222          "response": {
223            "$ref": "ListOperationsResponse"
224          },
225          "scopes": [
226            "https://www.googleapis.com/auth/cloud-platform"
227          ]
228        }
229      }
230    },
231    "projects": {
232      "resources": {
233        "notes": {
234          "methods": {
235            "batchCreate": {
236              "description": "Creates new notes in batch.",
237              "flatPath": "v1/projects/{projectsId}/notes:batchCreate",
238              "httpMethod": "POST",
239              "id": "containeranalysis.projects.notes.batchCreate",
240              "parameterOrder": [
241                "parent"
242              ],
243              "parameters": {
244                "parent": {
245                  "description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the notes are to be created.",
246                  "location": "path",
247                  "pattern": "^projects/[^/]+$",
248                  "required": true,
249                  "type": "string"
250                }
251              },
252              "path": "v1/{+parent}/notes:batchCreate",
253              "request": {
254                "$ref": "BatchCreateNotesRequest"
255              },
256              "response": {
257                "$ref": "BatchCreateNotesResponse"
258              },
259              "scopes": [
260                "https://www.googleapis.com/auth/cloud-platform"
261              ]
262            },
263            "create": {
264              "description": "Creates a new note.",
265              "flatPath": "v1/projects/{projectsId}/notes",
266              "httpMethod": "POST",
267              "id": "containeranalysis.projects.notes.create",
268              "parameterOrder": [
269                "parent"
270              ],
271              "parameters": {
272                "noteId": {
273                  "description": "Required. The ID to use for this note.",
274                  "location": "query",
275                  "type": "string"
276                },
277                "parent": {
278                  "description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the note is to be created.",
279                  "location": "path",
280                  "pattern": "^projects/[^/]+$",
281                  "required": true,
282                  "type": "string"
283                }
284              },
285              "path": "v1/{+parent}/notes",
286              "request": {
287                "$ref": "Note"
288              },
289              "response": {
290                "$ref": "Note"
291              },
292              "scopes": [
293                "https://www.googleapis.com/auth/cloud-platform"
294              ]
295            },
296            "delete": {
297              "description": "Deletes the specified note.",
298              "flatPath": "v1/projects/{projectsId}/notes/{notesId}",
299              "httpMethod": "DELETE",
300              "id": "containeranalysis.projects.notes.delete",
301              "parameterOrder": [
302                "name"
303              ],
304              "parameters": {
305                "name": {
306                  "description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.",
307                  "location": "path",
308                  "pattern": "^projects/[^/]+/notes/[^/]+$",
309                  "required": true,
310                  "type": "string"
311                }
312              },
313              "path": "v1/{+name}",
314              "response": {
315                "$ref": "Empty"
316              },
317              "scopes": [
318                "https://www.googleapis.com/auth/cloud-platform"
319              ]
320            },
321            "get": {
322              "description": "Gets the specified note.",
323              "flatPath": "v1/projects/{projectsId}/notes/{notesId}",
324              "httpMethod": "GET",
325              "id": "containeranalysis.projects.notes.get",
326              "parameterOrder": [
327                "name"
328              ],
329              "parameters": {
330                "name": {
331                  "description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.",
332                  "location": "path",
333                  "pattern": "^projects/[^/]+/notes/[^/]+$",
334                  "required": true,
335                  "type": "string"
336                }
337              },
338              "path": "v1/{+name}",
339              "response": {
340                "$ref": "Note"
341              },
342              "scopes": [
343                "https://www.googleapis.com/auth/cloud-platform"
344              ]
345            },
346            "getIamPolicy": {
347              "description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
348              "flatPath": "v1/projects/{projectsId}/notes/{notesId}:getIamPolicy",
349              "httpMethod": "POST",
350              "id": "containeranalysis.projects.notes.getIamPolicy",
351              "parameterOrder": [
352                "resource"
353              ],
354              "parameters": {
355                "resource": {
356                  "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
357                  "location": "path",
358                  "pattern": "^projects/[^/]+/notes/[^/]+$",
359                  "required": true,
360                  "type": "string"
361                }
362              },
363              "path": "v1/{+resource}:getIamPolicy",
364              "request": {
365                "$ref": "GetIamPolicyRequest"
366              },
367              "response": {
368                "$ref": "Policy"
369              },
370              "scopes": [
371                "https://www.googleapis.com/auth/cloud-platform"
372              ]
373            },
374            "list": {
375              "description": "Lists notes for the specified project.",
376              "flatPath": "v1/projects/{projectsId}/notes",
377              "httpMethod": "GET",
378              "id": "containeranalysis.projects.notes.list",
379              "parameterOrder": [
380                "parent"
381              ],
382              "parameters": {
383                "filter": {
384                  "description": "The filter expression.",
385                  "location": "query",
386                  "type": "string"
387                },
388                "pageSize": {
389                  "description": "Number of notes to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.",
390                  "format": "int32",
391                  "location": "query",
392                  "type": "integer"
393                },
394                "pageToken": {
395                  "description": "Token to provide to skip to a particular spot in the list.",
396                  "location": "query",
397                  "type": "string"
398                },
399                "parent": {
400                  "description": "Required. The name of the project to list notes for in the form of `projects/[PROJECT_ID]`.",
401                  "location": "path",
402                  "pattern": "^projects/[^/]+$",
403                  "required": true,
404                  "type": "string"
405                }
406              },
407              "path": "v1/{+parent}/notes",
408              "response": {
409                "$ref": "ListNotesResponse"
410              },
411              "scopes": [
412                "https://www.googleapis.com/auth/cloud-platform"
413              ]
414            },
415            "patch": {
416              "description": "Updates the specified note.",
417              "flatPath": "v1/projects/{projectsId}/notes/{notesId}",
418              "httpMethod": "PATCH",
419              "id": "containeranalysis.projects.notes.patch",
420              "parameterOrder": [
421                "name"
422              ],
423              "parameters": {
424                "name": {
425                  "description": "Required. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.",
426                  "location": "path",
427                  "pattern": "^projects/[^/]+/notes/[^/]+$",
428                  "required": true,
429                  "type": "string"
430                },
431                "updateMask": {
432                  "description": "The fields to update.",
433                  "format": "google-fieldmask",
434                  "location": "query",
435                  "type": "string"
436                }
437              },
438              "path": "v1/{+name}",
439              "request": {
440                "$ref": "Note"
441              },
442              "response": {
443                "$ref": "Note"
444              },
445              "scopes": [
446                "https://www.googleapis.com/auth/cloud-platform"
447              ]
448            },
449            "setIamPolicy": {
450              "description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
451              "flatPath": "v1/projects/{projectsId}/notes/{notesId}:setIamPolicy",
452              "httpMethod": "POST",
453              "id": "containeranalysis.projects.notes.setIamPolicy",
454              "parameterOrder": [
455                "resource"
456              ],
457              "parameters": {
458                "resource": {
459                  "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
460                  "location": "path",
461                  "pattern": "^projects/[^/]+/notes/[^/]+$",
462                  "required": true,
463                  "type": "string"
464                }
465              },
466              "path": "v1/{+resource}:setIamPolicy",
467              "request": {
468                "$ref": "SetIamPolicyRequest"
469              },
470              "response": {
471                "$ref": "Policy"
472              },
473              "scopes": [
474                "https://www.googleapis.com/auth/cloud-platform"
475              ]
476            },
477            "testIamPermissions": {
478              "description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
479              "flatPath": "v1/projects/{projectsId}/notes/{notesId}:testIamPermissions",
480              "httpMethod": "POST",
481              "id": "containeranalysis.projects.notes.testIamPermissions",
482              "parameterOrder": [
483                "resource"
484              ],
485              "parameters": {
486                "resource": {
487                  "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
488                  "location": "path",
489                  "pattern": "^projects/[^/]+/notes/[^/]+$",
490                  "required": true,
491                  "type": "string"
492                }
493              },
494              "path": "v1/{+resource}:testIamPermissions",
495              "request": {
496                "$ref": "TestIamPermissionsRequest"
497              },
498              "response": {
499                "$ref": "TestIamPermissionsResponse"
500              },
501              "scopes": [
502                "https://www.googleapis.com/auth/cloud-platform"
503              ]
504            }
505          },
506          "resources": {
507            "occurrences": {
508              "methods": {
509                "list": {
510                  "description": "Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.",
511                  "flatPath": "v1/projects/{projectsId}/notes/{notesId}/occurrences",
512                  "httpMethod": "GET",
513                  "id": "containeranalysis.projects.notes.occurrences.list",
514                  "parameterOrder": [
515                    "name"
516                  ],
517                  "parameters": {
518                    "filter": {
519                      "description": "The filter expression.",
520                      "location": "query",
521                      "type": "string"
522                    },
523                    "name": {
524                      "description": "Required. The name of the note to list occurrences for in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.",
525                      "location": "path",
526                      "pattern": "^projects/[^/]+/notes/[^/]+$",
527                      "required": true,
528                      "type": "string"
529                    },
530                    "pageSize": {
531                      "description": "Number of occurrences to return in the list.",
532                      "format": "int32",
533                      "location": "query",
534                      "type": "integer"
535                    },
536                    "pageToken": {
537                      "description": "Token to provide to skip to a particular spot in the list.",
538                      "location": "query",
539                      "type": "string"
540                    }
541                  },
542                  "path": "v1/{+name}/occurrences",
543                  "response": {
544                    "$ref": "ListNoteOccurrencesResponse"
545                  },
546                  "scopes": [
547                    "https://www.googleapis.com/auth/cloud-platform"
548                  ]
549                }
550              }
551            }
552          }
553        },
554        "occurrences": {
555          "methods": {
556            "batchCreate": {
557              "description": "Creates new occurrences in batch.",
558              "flatPath": "v1/projects/{projectsId}/occurrences:batchCreate",
559              "httpMethod": "POST",
560              "id": "containeranalysis.projects.occurrences.batchCreate",
561              "parameterOrder": [
562                "parent"
563              ],
564              "parameters": {
565                "parent": {
566                  "description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrences are to be created.",
567                  "location": "path",
568                  "pattern": "^projects/[^/]+$",
569                  "required": true,
570                  "type": "string"
571                }
572              },
573              "path": "v1/{+parent}/occurrences:batchCreate",
574              "request": {
575                "$ref": "BatchCreateOccurrencesRequest"
576              },
577              "response": {
578                "$ref": "BatchCreateOccurrencesResponse"
579              },
580              "scopes": [
581                "https://www.googleapis.com/auth/cloud-platform"
582              ]
583            },
584            "create": {
585              "description": "Creates a new occurrence.",
586              "flatPath": "v1/projects/{projectsId}/occurrences",
587              "httpMethod": "POST",
588              "id": "containeranalysis.projects.occurrences.create",
589              "parameterOrder": [
590                "parent"
591              ],
592              "parameters": {
593                "parent": {
594                  "description": "Required. The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.",
595                  "location": "path",
596                  "pattern": "^projects/[^/]+$",
597                  "required": true,
598                  "type": "string"
599                }
600              },
601              "path": "v1/{+parent}/occurrences",
602              "request": {
603                "$ref": "Occurrence"
604              },
605              "response": {
606                "$ref": "Occurrence"
607              },
608              "scopes": [
609                "https://www.googleapis.com/auth/cloud-platform"
610              ]
611            },
612            "delete": {
613              "description": "Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource.",
614              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}",
615              "httpMethod": "DELETE",
616              "id": "containeranalysis.projects.occurrences.delete",
617              "parameterOrder": [
618                "name"
619              ],
620              "parameters": {
621                "name": {
622                  "description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.",
623                  "location": "path",
624                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
625                  "required": true,
626                  "type": "string"
627                }
628              },
629              "path": "v1/{+name}",
630              "response": {
631                "$ref": "Empty"
632              },
633              "scopes": [
634                "https://www.googleapis.com/auth/cloud-platform"
635              ]
636            },
637            "get": {
638              "description": "Gets the specified occurrence.",
639              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}",
640              "httpMethod": "GET",
641              "id": "containeranalysis.projects.occurrences.get",
642              "parameterOrder": [
643                "name"
644              ],
645              "parameters": {
646                "name": {
647                  "description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.",
648                  "location": "path",
649                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
650                  "required": true,
651                  "type": "string"
652                }
653              },
654              "path": "v1/{+name}",
655              "response": {
656                "$ref": "Occurrence"
657              },
658              "scopes": [
659                "https://www.googleapis.com/auth/cloud-platform"
660              ]
661            },
662            "getIamPolicy": {
663              "description": "Gets the access control policy for a note or an occurrence resource. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
664              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}:getIamPolicy",
665              "httpMethod": "POST",
666              "id": "containeranalysis.projects.occurrences.getIamPolicy",
667              "parameterOrder": [
668                "resource"
669              ],
670              "parameters": {
671                "resource": {
672                  "description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
673                  "location": "path",
674                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
675                  "required": true,
676                  "type": "string"
677                }
678              },
679              "path": "v1/{+resource}:getIamPolicy",
680              "request": {
681                "$ref": "GetIamPolicyRequest"
682              },
683              "response": {
684                "$ref": "Policy"
685              },
686              "scopes": [
687                "https://www.googleapis.com/auth/cloud-platform"
688              ]
689            },
690            "getNotes": {
691              "description": "Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.",
692              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}/notes",
693              "httpMethod": "GET",
694              "id": "containeranalysis.projects.occurrences.getNotes",
695              "parameterOrder": [
696                "name"
697              ],
698              "parameters": {
699                "name": {
700                  "description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.",
701                  "location": "path",
702                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
703                  "required": true,
704                  "type": "string"
705                }
706              },
707              "path": "v1/{+name}/notes",
708              "response": {
709                "$ref": "Note"
710              },
711              "scopes": [
712                "https://www.googleapis.com/auth/cloud-platform"
713              ]
714            },
715            "getVulnerabilitySummary": {
716              "description": "Gets a summary of the number and severity of occurrences.",
717              "flatPath": "v1/projects/{projectsId}/occurrences:vulnerabilitySummary",
718              "httpMethod": "GET",
719              "id": "containeranalysis.projects.occurrences.getVulnerabilitySummary",
720              "parameterOrder": [
721                "parent"
722              ],
723              "parameters": {
724                "filter": {
725                  "description": "The filter expression.",
726                  "location": "query",
727                  "type": "string"
728                },
729                "parent": {
730                  "description": "Required. The name of the project to get a vulnerability summary for in the form of `projects/[PROJECT_ID]`.",
731                  "location": "path",
732                  "pattern": "^projects/[^/]+$",
733                  "required": true,
734                  "type": "string"
735                }
736              },
737              "path": "v1/{+parent}/occurrences:vulnerabilitySummary",
738              "response": {
739                "$ref": "VulnerabilityOccurrencesSummary"
740              },
741              "scopes": [
742                "https://www.googleapis.com/auth/cloud-platform"
743              ]
744            },
745            "list": {
746              "description": "Lists occurrences for the specified project.",
747              "flatPath": "v1/projects/{projectsId}/occurrences",
748              "httpMethod": "GET",
749              "id": "containeranalysis.projects.occurrences.list",
750              "parameterOrder": [
751                "parent"
752              ],
753              "parameters": {
754                "filter": {
755                  "description": "The filter expression.",
756                  "location": "query",
757                  "type": "string"
758                },
759                "pageSize": {
760                  "description": "Number of occurrences to return in the list. Must be positive. Max allowed page size is 1000. If not specified, page size defaults to 20.",
761                  "format": "int32",
762                  "location": "query",
763                  "type": "integer"
764                },
765                "pageToken": {
766                  "description": "Token to provide to skip to a particular spot in the list.",
767                  "location": "query",
768                  "type": "string"
769                },
770                "parent": {
771                  "description": "Required. The name of the project to list occurrences for in the form of `projects/[PROJECT_ID]`.",
772                  "location": "path",
773                  "pattern": "^projects/[^/]+$",
774                  "required": true,
775                  "type": "string"
776                }
777              },
778              "path": "v1/{+parent}/occurrences",
779              "response": {
780                "$ref": "ListOccurrencesResponse"
781              },
782              "scopes": [
783                "https://www.googleapis.com/auth/cloud-platform"
784              ]
785            },
786            "patch": {
787              "description": "Updates the specified occurrence.",
788              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}",
789              "httpMethod": "PATCH",
790              "id": "containeranalysis.projects.occurrences.patch",
791              "parameterOrder": [
792                "name"
793              ],
794              "parameters": {
795                "name": {
796                  "description": "Required. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.",
797                  "location": "path",
798                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
799                  "required": true,
800                  "type": "string"
801                },
802                "updateMask": {
803                  "description": "The fields to update.",
804                  "format": "google-fieldmask",
805                  "location": "query",
806                  "type": "string"
807                }
808              },
809              "path": "v1/{+name}",
810              "request": {
811                "$ref": "Occurrence"
812              },
813              "response": {
814                "$ref": "Occurrence"
815              },
816              "scopes": [
817                "https://www.googleapis.com/auth/cloud-platform"
818              ]
819            },
820            "setIamPolicy": {
821              "description": "Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the resource is a note or an occurrence, respectively. The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
822              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}:setIamPolicy",
823              "httpMethod": "POST",
824              "id": "containeranalysis.projects.occurrences.setIamPolicy",
825              "parameterOrder": [
826                "resource"
827              ],
828              "parameters": {
829                "resource": {
830                  "description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
831                  "location": "path",
832                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
833                  "required": true,
834                  "type": "string"
835                }
836              },
837              "path": "v1/{+resource}:setIamPolicy",
838              "request": {
839                "$ref": "SetIamPolicyRequest"
840              },
841              "response": {
842                "$ref": "Policy"
843              },
844              "scopes": [
845                "https://www.googleapis.com/auth/cloud-platform"
846              ]
847            },
848            "testIamPermissions": {
849              "description": "Returns the permissions that a caller has on the specified note or occurrence. Requires list permission on the project (for example, `containeranalysis.notes.list`). The resource takes the format `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences.",
850              "flatPath": "v1/projects/{projectsId}/occurrences/{occurrencesId}:testIamPermissions",
851              "httpMethod": "POST",
852              "id": "containeranalysis.projects.occurrences.testIamPermissions",
853              "parameterOrder": [
854                "resource"
855              ],
856              "parameters": {
857                "resource": {
858                  "description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
859                  "location": "path",
860                  "pattern": "^projects/[^/]+/occurrences/[^/]+$",
861                  "required": true,
862                  "type": "string"
863                }
864              },
865              "path": "v1/{+resource}:testIamPermissions",
866              "request": {
867                "$ref": "TestIamPermissionsRequest"
868              },
869              "response": {
870                "$ref": "TestIamPermissionsResponse"
871              },
872              "scopes": [
873                "https://www.googleapis.com/auth/cloud-platform"
874              ]
875            }
876          }
877        }
878      }
879    }
880  },
881  "revision": "20211015",
882  "rootUrl": "https://containeranalysis.googleapis.com/",
883  "schemas": {
884    "AliasContext": {
885      "description": "An alias to a repo revision.",
886      "id": "AliasContext",
887      "properties": {
888        "kind": {
889          "description": "The alias kind.",
890          "enum": [
891            "KIND_UNSPECIFIED",
892            "FIXED",
893            "MOVABLE",
894            "OTHER"
895          ],
896          "enumDescriptions": [
897            "Unknown.",
898            "Git tag.",
899            "Git branch.",
900            "Used to specify non-standard aliases. For example, if a Git repo has a ref named \"refs/foo/bar\"."
901          ],
902          "type": "string"
903        },
904        "name": {
905          "description": "The alias name.",
906          "type": "string"
907        }
908      },
909      "type": "object"
910    },
911    "Artifact": {
912      "description": "Artifact describes a build product.",
913      "id": "Artifact",
914      "properties": {
915        "checksum": {
916          "description": "Hash or checksum value of a binary, or Docker Registry 2.0 digest of a container.",
917          "type": "string"
918        },
919        "id": {
920          "description": "Artifact ID, if any; for container images, this will be a URL by digest like `gcr.io/projectID/imagename@sha256:123456`.",
921          "type": "string"
922        },
923        "names": {
924          "description": "Related artifact names. This may be the path to a binary or jar file, or in the case of a container build, the name used to push the container image to Google Container Registry, as presented to `docker push`. Note that a single Artifact ID can have multiple names, for example if two tags are applied to one image.",
925          "items": {
926            "type": "string"
927          },
928          "type": "array"
929        }
930      },
931      "type": "object"
932    },
933    "AttestationNote": {
934      "description": "Note kind that represents a logical attestation \"role\" or \"authority\". For example, an organization might have one `Authority` for \"QA\" and one for \"build\". 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't all live in the same project.",
935      "id": "AttestationNote",
936      "properties": {
937        "hint": {
938          "$ref": "Hint",
939          "description": "Hint hints at the purpose of the attestation authority."
940        }
941      },
942      "type": "object"
943    },
944    "AttestationOccurrence": {
945      "description": "Occurrence that represents a single \"attestation\". The authenticity of an attestation can be verified using the attached signature. If the verifier trusts the public key of the signer, then verifying the signature is sufficient to establish trust. In this circumstance, the authority to which this attestation is attached is primarily useful for lookup (how to find this attestation if you already know the authority and artifact to be verified) and intent (for which authority this attestation was intended to sign.",
946      "id": "AttestationOccurrence",
947      "properties": {
948        "jwts": {
949          "description": "One or more JWTs encoding a self-contained attestation. Each JWT encodes the payload that it verifies within the JWT itself. Verifier implementation SHOULD ignore the `serialized_payload` field when verifying these JWTs. If only JWTs are present on this AttestationOccurrence, then the `serialized_payload` SHOULD be left empty. Each JWT SHOULD encode a claim specific to the `resource_uri` of this Occurrence, but this is not validated by Grafeas metadata API implementations. The JWT itself is opaque to Grafeas.",
950          "items": {
951            "$ref": "Jwt"
952          },
953          "type": "array"
954        },
955        "serializedPayload": {
956          "description": "Required. The serialized payload that is verified by one or more `signatures`.",
957          "format": "byte",
958          "type": "string"
959        },
960        "signatures": {
961          "description": "One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification.",
962          "items": {
963            "$ref": "Signature"
964          },
965          "type": "array"
966        }
967      },
968      "type": "object"
969    },
970    "BatchCreateNotesRequest": {
971      "description": "Request to create notes in batch.",
972      "id": "BatchCreateNotesRequest",
973      "properties": {
974        "notes": {
975          "additionalProperties": {
976            "$ref": "Note"
977          },
978          "description": "Required. The notes to create. Max allowed length is 1000.",
979          "type": "object"
980        }
981      },
982      "type": "object"
983    },
984    "BatchCreateNotesResponse": {
985      "description": "Response for creating notes in batch.",
986      "id": "BatchCreateNotesResponse",
987      "properties": {
988        "notes": {
989          "description": "The notes that were created.",
990          "items": {
991            "$ref": "Note"
992          },
993          "type": "array"
994        }
995      },
996      "type": "object"
997    },
998    "BatchCreateOccurrencesRequest": {
999      "description": "Request to create occurrences in batch.",
1000      "id": "BatchCreateOccurrencesRequest",
1001      "properties": {
1002        "occurrences": {
1003          "description": "Required. The occurrences to create. Max allowed length is 1000.",
1004          "items": {
1005            "$ref": "Occurrence"
1006          },
1007          "type": "array"
1008        }
1009      },
1010      "type": "object"
1011    },
1012    "BatchCreateOccurrencesResponse": {
1013      "description": "Response for creating occurrences in batch.",
1014      "id": "BatchCreateOccurrencesResponse",
1015      "properties": {
1016        "occurrences": {
1017          "description": "The occurrences that were created.",
1018          "items": {
1019            "$ref": "Occurrence"
1020          },
1021          "type": "array"
1022        }
1023      },
1024      "type": "object"
1025    },
1026    "Binding": {
1027      "description": "Associates `members`, or principals, with a `role`.",
1028      "id": "Binding",
1029      "properties": {
1030        "condition": {
1031          "$ref": "Expr",
1032          "description": "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)."
1033        },
1034        "members": {
1035          "description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
1036          "items": {
1037            "type": "string"
1038          },
1039          "type": "array"
1040        },
1041        "role": {
1042          "description": "Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`.",
1043          "type": "string"
1044        }
1045      },
1046      "type": "object"
1047    },
1048    "BuildNote": {
1049      "description": "Note holding the version of the provider's builder and the signature of the provenance message in the build details occurrence.",
1050      "id": "BuildNote",
1051      "properties": {
1052        "builderVersion": {
1053          "description": "Required. Immutable. Version of the builder which produced this build.",
1054          "type": "string"
1055        }
1056      },
1057      "type": "object"
1058    },
1059    "BuildOccurrence": {
1060      "description": "Details of a build occurrence.",
1061      "id": "BuildOccurrence",
1062      "properties": {
1063        "intotoProvenance": {
1064          "$ref": "InTotoProvenance",
1065          "description": "In-toto Provenance representation as defined in spec."
1066        },
1067        "provenance": {
1068          "$ref": "BuildProvenance",
1069          "description": "Required. The actual provenance for the build."
1070        },
1071        "provenanceBytes": {
1072          "description": "Serialized JSON representation of the provenance, used in generating the build signature in the corresponding build note. After verifying the signature, `provenance_bytes` can be unmarshalled and compared to the provenance to confirm that it is unchanged. A base64-encoded string representation of the provenance bytes is used for the signature in order to interoperate with openssl which expects this format for signature verification. The serialized form is captured both to avoid ambiguity in how the provenance is marshalled to json as well to prevent incompatibilities with future changes.",
1073          "type": "string"
1074        }
1075      },
1076      "type": "object"
1077    },
1078    "BuildProvenance": {
1079      "description": "Provenance of a build. Contains all information needed to verify the full details about the build from source to completion.",
1080      "id": "BuildProvenance",
1081      "properties": {
1082        "buildOptions": {
1083          "additionalProperties": {
1084            "type": "string"
1085          },
1086          "description": "Special options applied to this build. This is a catch-all field where build providers can enter any desired additional details.",
1087          "type": "object"
1088        },
1089        "builderVersion": {
1090          "description": "Version string of the builder at the time this build was executed.",
1091          "type": "string"
1092        },
1093        "builtArtifacts": {
1094          "description": "Output of the build.",
1095          "items": {
1096            "$ref": "Artifact"
1097          },
1098          "type": "array"
1099        },
1100        "commands": {
1101          "description": "Commands requested by the build.",
1102          "items": {
1103            "$ref": "Command"
1104          },
1105          "type": "array"
1106        },
1107        "createTime": {
1108          "description": "Time at which the build was created.",
1109          "format": "google-datetime",
1110          "type": "string"
1111        },
1112        "creator": {
1113          "description": "E-mail address of the user who initiated this build. Note that this was the user's e-mail address at the time the build was initiated; this address may not represent the same end-user for all time.",
1114          "type": "string"
1115        },
1116        "endTime": {
1117          "description": "Time at which execution of the build was finished.",
1118          "format": "google-datetime",
1119          "type": "string"
1120        },
1121        "id": {
1122          "description": "Required. Unique identifier of the build.",
1123          "type": "string"
1124        },
1125        "logsUri": {
1126          "description": "URI where any logs for this provenance were written.",
1127          "type": "string"
1128        },
1129        "projectId": {
1130          "description": "ID of the project.",
1131          "type": "string"
1132        },
1133        "sourceProvenance": {
1134          "$ref": "Source",
1135          "description": "Details of the Source input to the build."
1136        },
1137        "startTime": {
1138          "description": "Time at which execution of the build was started.",
1139          "format": "google-datetime",
1140          "type": "string"
1141        },
1142        "triggerId": {
1143          "description": "Trigger identifier if the build was triggered automatically; empty if not.",
1144          "type": "string"
1145        }
1146      },
1147      "type": "object"
1148    },
1149    "BuildStep": {
1150      "description": "A step in the build pipeline.",
1151      "id": "BuildStep",
1152      "properties": {
1153        "args": {
1154          "description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.",
1155          "items": {
1156            "type": "string"
1157          },
1158          "type": "array"
1159        },
1160        "dir": {
1161          "description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.",
1162          "type": "string"
1163        },
1164        "entrypoint": {
1165          "description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.",
1166          "type": "string"
1167        },
1168        "env": {
1169          "description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".",
1170          "items": {
1171            "type": "string"
1172          },
1173          "type": "array"
1174        },
1175        "id": {
1176          "description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.",
1177          "type": "string"
1178        },
1179        "name": {
1180          "description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.",
1181          "type": "string"
1182        },
1183        "pullTiming": {
1184          "$ref": "TimeSpan",
1185          "description": "Output only. Stores timing information for pulling this build step's builder image only.",
1186          "readOnly": true
1187        },
1188        "script": {
1189          "description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.",
1190          "type": "string"
1191        },
1192        "secretEnv": {
1193          "description": "A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`.",
1194          "items": {
1195            "type": "string"
1196          },
1197          "type": "array"
1198        },
1199        "status": {
1200          "description": "Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.",
1201          "enum": [
1202            "STATUS_UNKNOWN",
1203            "PENDING",
1204            "QUEUED",
1205            "WORKING",
1206            "SUCCESS",
1207            "FAILURE",
1208            "INTERNAL_ERROR",
1209            "TIMEOUT",
1210            "CANCELLED",
1211            "EXPIRED"
1212          ],
1213          "enumDescriptions": [
1214            "Status of the build is unknown.",
1215            "Build has been created and is pending execution and queuing. It has not been queued.",
1216            "Build or step is queued; work has not yet begun.",
1217            "Build or step is being executed.",
1218            "Build or step finished successfully.",
1219            "Build or step failed to complete successfully.",
1220            "Build or step failed due to an internal cause.",
1221            "Build or step took longer than was allowed.",
1222            "Build or step was canceled by a user.",
1223            "Build was enqueued for longer than the value of `queue_ttl`."
1224          ],
1225          "readOnly": true,
1226          "type": "string"
1227        },
1228        "timeout": {
1229          "description": "Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.",
1230          "format": "google-duration",
1231          "type": "string"
1232        },
1233        "timing": {
1234          "$ref": "TimeSpan",
1235          "description": "Output only. Stores timing information for executing this build step.",
1236          "readOnly": true
1237        },
1238        "volumes": {
1239          "description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.",
1240          "items": {
1241            "$ref": "Volume"
1242          },
1243          "type": "array"
1244        },
1245        "waitFor": {
1246          "description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.",
1247          "items": {
1248            "type": "string"
1249          },
1250          "type": "array"
1251        }
1252      },
1253      "type": "object"
1254    },
1255    "BuilderConfig": {
1256      "id": "BuilderConfig",
1257      "properties": {
1258        "id": {
1259          "type": "string"
1260        }
1261      },
1262      "type": "object"
1263    },
1264    "CVSSv3": {
1265      "description": "Common Vulnerability Scoring System version 3. For details, see https://www.first.org/cvss/specification-document",
1266      "id": "CVSSv3",
1267      "properties": {
1268        "attackComplexity": {
1269          "enum": [
1270            "ATTACK_COMPLEXITY_UNSPECIFIED",
1271            "ATTACK_COMPLEXITY_LOW",
1272            "ATTACK_COMPLEXITY_HIGH"
1273          ],
1274          "enumDescriptions": [
1275            "",
1276            "",
1277            ""
1278          ],
1279          "type": "string"
1280        },
1281        "attackVector": {
1282          "description": "Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments.",
1283          "enum": [
1284            "ATTACK_VECTOR_UNSPECIFIED",
1285            "ATTACK_VECTOR_NETWORK",
1286            "ATTACK_VECTOR_ADJACENT",
1287            "ATTACK_VECTOR_LOCAL",
1288            "ATTACK_VECTOR_PHYSICAL"
1289          ],
1290          "enumDescriptions": [
1291            "",
1292            "",
1293            "",
1294            "",
1295            ""
1296          ],
1297          "type": "string"
1298        },
1299        "availabilityImpact": {
1300          "enum": [
1301            "IMPACT_UNSPECIFIED",
1302            "IMPACT_HIGH",
1303            "IMPACT_LOW",
1304            "IMPACT_NONE"
1305          ],
1306          "enumDescriptions": [
1307            "",
1308            "",
1309            "",
1310            ""
1311          ],
1312          "type": "string"
1313        },
1314        "baseScore": {
1315          "description": "The base score is a function of the base metric scores.",
1316          "format": "float",
1317          "type": "number"
1318        },
1319        "confidentialityImpact": {
1320          "enum": [
1321            "IMPACT_UNSPECIFIED",
1322            "IMPACT_HIGH",
1323            "IMPACT_LOW",
1324            "IMPACT_NONE"
1325          ],
1326          "enumDescriptions": [
1327            "",
1328            "",
1329            "",
1330            ""
1331          ],
1332          "type": "string"
1333        },
1334        "exploitabilityScore": {
1335          "format": "float",
1336          "type": "number"
1337        },
1338        "impactScore": {
1339          "format": "float",
1340          "type": "number"
1341        },
1342        "integrityImpact": {
1343          "enum": [
1344            "IMPACT_UNSPECIFIED",
1345            "IMPACT_HIGH",
1346            "IMPACT_LOW",
1347            "IMPACT_NONE"
1348          ],
1349          "enumDescriptions": [
1350            "",
1351            "",
1352            "",
1353            ""
1354          ],
1355          "type": "string"
1356        },
1357        "privilegesRequired": {
1358          "enum": [
1359            "PRIVILEGES_REQUIRED_UNSPECIFIED",
1360            "PRIVILEGES_REQUIRED_NONE",
1361            "PRIVILEGES_REQUIRED_LOW",
1362            "PRIVILEGES_REQUIRED_HIGH"
1363          ],
1364          "enumDescriptions": [
1365            "",
1366            "",
1367            "",
1368            ""
1369          ],
1370          "type": "string"
1371        },
1372        "scope": {
1373          "enum": [
1374            "SCOPE_UNSPECIFIED",
1375            "SCOPE_UNCHANGED",
1376            "SCOPE_CHANGED"
1377          ],
1378          "enumDescriptions": [
1379            "",
1380            "",
1381            ""
1382          ],
1383          "type": "string"
1384        },
1385        "userInteraction": {
1386          "enum": [
1387            "USER_INTERACTION_UNSPECIFIED",
1388            "USER_INTERACTION_NONE",
1389            "USER_INTERACTION_REQUIRED"
1390          ],
1391          "enumDescriptions": [
1392            "",
1393            "",
1394            ""
1395          ],
1396          "type": "string"
1397        }
1398      },
1399      "type": "object"
1400    },
1401    "CancelOperationRequest": {
1402      "description": "The request message for Operations.CancelOperation.",
1403      "id": "CancelOperationRequest",
1404      "properties": {},
1405      "type": "object"
1406    },
1407    "Category": {
1408      "description": "The category to which the update belongs.",
1409      "id": "Category",
1410      "properties": {
1411        "categoryId": {
1412          "description": "The identifier of the category.",
1413          "type": "string"
1414        },
1415        "name": {
1416          "description": "The localized name of the category.",
1417          "type": "string"
1418        }
1419      },
1420      "type": "object"
1421    },
1422    "CisBenchmark": {
1423      "description": "A compliance check that is a CIS benchmark.",
1424      "id": "CisBenchmark",
1425      "properties": {
1426        "profileLevel": {
1427          "format": "int32",
1428          "type": "integer"
1429        },
1430        "severity": {
1431          "enum": [
1432            "SEVERITY_UNSPECIFIED",
1433            "MINIMAL",
1434            "LOW",
1435            "MEDIUM",
1436            "HIGH",
1437            "CRITICAL"
1438          ],
1439          "enumDescriptions": [
1440            "Unknown.",
1441            "Minimal severity.",
1442            "Low severity.",
1443            "Medium severity.",
1444            "High severity.",
1445            "Critical severity."
1446          ],
1447          "type": "string"
1448        }
1449      },
1450      "type": "object"
1451    },
1452    "CloudRepoSourceContext": {
1453      "description": "A CloudRepoSourceContext denotes a particular revision in a Google Cloud Source Repo.",
1454      "id": "CloudRepoSourceContext",
1455      "properties": {
1456        "aliasContext": {
1457          "$ref": "AliasContext",
1458          "description": "An alias, which may be a branch or tag."
1459        },
1460        "repoId": {
1461          "$ref": "RepoId",
1462          "description": "The ID of the repo."
1463        },
1464        "revisionId": {
1465          "description": "A revision ID.",
1466          "type": "string"
1467        }
1468      },
1469      "type": "object"
1470    },
1471    "Command": {
1472      "description": "Command describes a step performed as part of the build pipeline.",
1473      "id": "Command",
1474      "properties": {
1475        "args": {
1476          "description": "Command-line arguments used when executing this command.",
1477          "items": {
1478            "type": "string"
1479          },
1480          "type": "array"
1481        },
1482        "dir": {
1483          "description": "Working directory (relative to project source root) used when running this command.",
1484          "type": "string"
1485        },
1486        "env": {
1487          "description": "Environment variables set before running this command.",
1488          "items": {
1489            "type": "string"
1490          },
1491          "type": "array"
1492        },
1493        "id": {
1494          "description": "Optional unique identifier for this command, used in wait_for to reference this command as a dependency.",
1495          "type": "string"
1496        },
1497        "name": {
1498          "description": "Required. Name of the command, as presented on the command line, or if the command is packaged as a Docker container, as presented to `docker pull`.",
1499          "type": "string"
1500        },
1501        "waitFor": {
1502          "description": "The ID(s) of the command(s) that this command depends on.",
1503          "items": {
1504            "type": "string"
1505          },
1506          "type": "array"
1507        }
1508      },
1509      "type": "object"
1510    },
1511    "Completeness": {
1512      "description": "Indicates that the builder claims certain fields in this message to be complete.",
1513      "id": "Completeness",
1514      "properties": {
1515        "arguments": {
1516          "description": "If true, the builder claims that recipe.arguments is complete, meaning that all external inputs are properly captured in the recipe.",
1517          "type": "boolean"
1518        },
1519        "environment": {
1520          "description": "If true, the builder claims that recipe.environment is claimed to be complete.",
1521          "type": "boolean"
1522        },
1523        "materials": {
1524          "description": "If true, the builder claims that materials are complete, usually through some controls to prevent network access. Sometimes called \"hermetic\".",
1525          "type": "boolean"
1526        }
1527      },
1528      "type": "object"
1529    },
1530    "ComplianceNote": {
1531      "id": "ComplianceNote",
1532      "properties": {
1533        "cisBenchmark": {
1534          "$ref": "CisBenchmark"
1535        },
1536        "description": {
1537          "description": "A description about this compliance check.",
1538          "type": "string"
1539        },
1540        "rationale": {
1541          "description": "A rationale for the existence of this compliance check.",
1542          "type": "string"
1543        },
1544        "remediation": {
1545          "description": "A description of remediation steps if the compliance check fails.",
1546          "type": "string"
1547        },
1548        "scanInstructions": {
1549          "description": "Serialized scan instructions with a predefined format.",
1550          "format": "byte",
1551          "type": "string"
1552        },
1553        "title": {
1554          "description": "The title that identifies this compliance check.",
1555          "type": "string"
1556        },
1557        "version": {
1558          "description": "The OS and config versions the benchmark applies to.",
1559          "items": {
1560            "$ref": "ComplianceVersion"
1561          },
1562          "type": "array"
1563        }
1564      },
1565      "type": "object"
1566    },
1567    "ComplianceOccurrence": {
1568      "description": "An indication that the compliance checks in the associated ComplianceNote were not satisfied for particular resources or a specified reason.",
1569      "id": "ComplianceOccurrence",
1570      "properties": {
1571        "nonComplianceReason": {
1572          "type": "string"
1573        },
1574        "nonCompliantFiles": {
1575          "items": {
1576            "$ref": "NonCompliantFile"
1577          },
1578          "type": "array"
1579        }
1580      },
1581      "type": "object"
1582    },
1583    "ComplianceVersion": {
1584      "description": "Describes the CIS benchmark version that is applicable to a given OS and os version.",
1585      "id": "ComplianceVersion",
1586      "properties": {
1587        "cpeUri": {
1588          "description": "The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.",
1589          "type": "string"
1590        },
1591        "version": {
1592          "description": "The version of the benchmark. This is set to the version of the OS-specific CIS document the benchmark is defined in.",
1593          "type": "string"
1594        }
1595      },
1596      "type": "object"
1597    },
1598    "DSSEAttestationNote": {
1599      "id": "DSSEAttestationNote",
1600      "properties": {
1601        "hint": {
1602          "$ref": "DSSEHint",
1603          "description": "DSSEHint hints at the purpose of the attestation authority."
1604        }
1605      },
1606      "type": "object"
1607    },
1608    "DSSEAttestationOccurrence": {
1609      "id": "DSSEAttestationOccurrence",
1610      "properties": {
1611        "envelope": {
1612          "$ref": "Envelope",
1613          "description": "If doing something security critical, make sure to verify the signatures in this metadata."
1614        },
1615        "statement": {
1616          "$ref": "InTotoStatement"
1617        }
1618      },
1619      "type": "object"
1620    },
1621    "DSSEHint": {
1622      "description": "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 \"readable\" 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.",
1623      "id": "DSSEHint",
1624      "properties": {
1625        "humanReadableName": {
1626          "description": "Required. The human readable name of this attestation authority, for example \"cloudbuild-prod\".",
1627          "type": "string"
1628        }
1629      },
1630      "type": "object"
1631    },
1632    "DeploymentNote": {
1633      "description": "An artifact that can be deployed in some runtime.",
1634      "id": "DeploymentNote",
1635      "properties": {
1636        "resourceUri": {
1637          "description": "Required. Resource URI for the artifact being deployed.",
1638          "items": {
1639            "type": "string"
1640          },
1641          "type": "array"
1642        }
1643      },
1644      "type": "object"
1645    },
1646    "DeploymentOccurrence": {
1647      "description": "The period during which some deployable was active in a runtime.",
1648      "id": "DeploymentOccurrence",
1649      "properties": {
1650        "address": {
1651          "description": "Address of the runtime element hosting this deployment.",
1652          "type": "string"
1653        },
1654        "config": {
1655          "description": "Configuration used to create this deployment.",
1656          "type": "string"
1657        },
1658        "deployTime": {
1659          "description": "Required. Beginning of the lifetime of this deployment.",
1660          "format": "google-datetime",
1661          "type": "string"
1662        },
1663        "platform": {
1664          "description": "Platform hosting this deployment.",
1665          "enum": [
1666            "PLATFORM_UNSPECIFIED",
1667            "GKE",
1668            "FLEX",
1669            "CUSTOM"
1670          ],
1671          "enumDescriptions": [
1672            "Unknown.",
1673            "Google Container Engine.",
1674            "Google App Engine: Flexible Environment.",
1675            "Custom user-defined platform."
1676          ],
1677          "type": "string"
1678        },
1679        "resourceUri": {
1680          "description": "Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name.",
1681          "items": {
1682            "type": "string"
1683          },
1684          "type": "array"
1685        },
1686        "undeployTime": {
1687          "description": "End of the lifetime of this deployment.",
1688          "format": "google-datetime",
1689          "type": "string"
1690        },
1691        "userEmail": {
1692          "description": "Identity of the user that triggered this deployment.",
1693          "type": "string"
1694        }
1695      },
1696      "type": "object"
1697    },
1698    "Detail": {
1699      "description": "A detail for a distro and package affected by this vulnerability and its associated fix (if one is available).",
1700      "id": "Detail",
1701      "properties": {
1702        "affectedCpeUri": {
1703          "description": "Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.",
1704          "type": "string"
1705        },
1706        "affectedPackage": {
1707          "description": "Required. The package this vulnerability affects.",
1708          "type": "string"
1709        },
1710        "affectedVersionEnd": {
1711          "$ref": "Version",
1712          "description": "The version number at the end of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail."
1713        },
1714        "affectedVersionStart": {
1715          "$ref": "Version",
1716          "description": "The version number at the start of an interval in which this vulnerability exists. A vulnerability can affect a package between version numbers that are disjoint sets of intervals (example: [1.0.0-1.1.0], [2.4.6-2.4.8] and [4.5.6-4.6.8]) each of which will be represented in its own Detail. If a specific affected version is provided by a vulnerability database, affected_version_start and affected_version_end will be the same in that Detail."
1717        },
1718        "description": {
1719          "description": "A vendor-specific description of this vulnerability.",
1720          "type": "string"
1721        },
1722        "fixedCpeUri": {
1723          "description": "The distro recommended [CPE URI](https://cpe.mitre.org/specification/) to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_cpe_uri.",
1724          "type": "string"
1725        },
1726        "fixedPackage": {
1727          "description": "The distro recommended package to update to that contains a fix for this vulnerability. It is possible for this to be different from the affected_package.",
1728          "type": "string"
1729        },
1730        "fixedVersion": {
1731          "$ref": "Version",
1732          "description": "The distro recommended version to update to that contains a fix for this vulnerability. Setting this to VersionKind.MAXIMUM means no such version is yet available."
1733        },
1734        "isObsolete": {
1735          "description": "Whether this detail is obsolete. Occurrences are expected not to point to obsolete details.",
1736          "type": "boolean"
1737        },
1738        "packageType": {
1739          "description": "The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).",
1740          "type": "string"
1741        },
1742        "severityName": {
1743          "description": "The distro assigned severity of this vulnerability.",
1744          "type": "string"
1745        },
1746        "source": {
1747          "description": "The source from which the information in this Detail was obtained.",
1748          "type": "string"
1749        },
1750        "sourceUpdateTime": {
1751          "description": "The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.",
1752          "format": "google-datetime",
1753          "type": "string"
1754        },
1755        "vendor": {
1756          "description": "The name of the vendor of the product.",
1757          "type": "string"
1758        }
1759      },
1760      "type": "object"
1761    },
1762    "DiscoveryNote": {
1763      "description": "A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.",
1764      "id": "DiscoveryNote",
1765      "properties": {
1766        "analysisKind": {
1767          "description": "Required. Immutable. The kind of analysis that is handled by this discovery.",
1768          "enum": [
1769            "NOTE_KIND_UNSPECIFIED",
1770            "VULNERABILITY",
1771            "BUILD",
1772            "IMAGE",
1773            "PACKAGE",
1774            "DEPLOYMENT",
1775            "DISCOVERY",
1776            "ATTESTATION",
1777            "UPGRADE",
1778            "COMPLIANCE",
1779            "DSSE_ATTESTATION"
1780          ],
1781          "enumDescriptions": [
1782            "Default value. This value is unused.",
1783            "The note and occurrence represent a package vulnerability.",
1784            "The note and occurrence assert build provenance.",
1785            "This represents an image basis relationship.",
1786            "This represents a package installed via a package manager.",
1787            "The note and occurrence track deployment events.",
1788            "The note and occurrence track the initial discovery status of a resource.",
1789            "This represents a logical \"role\" that can attest to artifacts.",
1790            "This represents an available package upgrade.",
1791            "This represents a Compliance Note",
1792            "This represents a DSSE attestation Note"
1793          ],
1794          "type": "string"
1795        }
1796      },
1797      "type": "object"
1798    },
1799    "DiscoveryOccurrence": {
1800      "description": "Provides information about the analysis status of a discovered resource.",
1801      "id": "DiscoveryOccurrence",
1802      "properties": {
1803        "analysisStatus": {
1804          "description": "The status of discovery for the resource.",
1805          "enum": [
1806            "ANALYSIS_STATUS_UNSPECIFIED",
1807            "PENDING",
1808            "SCANNING",
1809            "FINISHED_SUCCESS",
1810            "FINISHED_FAILED",
1811            "FINISHED_UNSUPPORTED"
1812          ],
1813          "enumDescriptions": [
1814            "Unknown.",
1815            "Resource is known but no action has been taken yet.",
1816            "Resource is being analyzed.",
1817            "Analysis has finished successfully.",
1818            "Analysis has finished unsuccessfully, the analysis itself is in a bad state.",
1819            "The resource is known not to be supported"
1820          ],
1821          "type": "string"
1822        },
1823        "analysisStatusError": {
1824          "$ref": "Status",
1825          "description": "When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API."
1826        },
1827        "continuousAnalysis": {
1828          "description": "Whether the resource is continuously analyzed.",
1829          "enum": [
1830            "CONTINUOUS_ANALYSIS_UNSPECIFIED",
1831            "ACTIVE",
1832            "INACTIVE"
1833          ],
1834          "enumDescriptions": [
1835            "Unknown.",
1836            "The resource is continuously analyzed.",
1837            "The resource is ignored for continuous analysis."
1838          ],
1839          "type": "string"
1840        },
1841        "cpe": {
1842          "description": "The CPE of the resource being scanned.",
1843          "type": "string"
1844        },
1845        "lastScanTime": {
1846          "description": "The last time this resource was scanned.",
1847          "format": "google-datetime",
1848          "type": "string"
1849        }
1850      },
1851      "type": "object"
1852    },
1853    "Distribution": {
1854      "description": "This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.",
1855      "id": "Distribution",
1856      "properties": {
1857        "architecture": {
1858          "description": "The CPU architecture for which packages in this distribution channel were built.",
1859          "enum": [
1860            "ARCHITECTURE_UNSPECIFIED",
1861            "X86",
1862            "X64"
1863          ],
1864          "enumDescriptions": [
1865            "Unknown architecture.",
1866            "X86 architecture.",
1867            "X64 architecture."
1868          ],
1869          "type": "string"
1870        },
1871        "cpeUri": {
1872          "description": "Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.",
1873          "type": "string"
1874        },
1875        "description": {
1876          "description": "The distribution channel-specific description of this package.",
1877          "type": "string"
1878        },
1879        "latestVersion": {
1880          "$ref": "Version",
1881          "description": "The latest available version of this package in this distribution channel."
1882        },
1883        "maintainer": {
1884          "description": "A freeform string denoting the maintainer of this package.",
1885          "type": "string"
1886        },
1887        "url": {
1888          "description": "The distribution channel-specific homepage for this package.",
1889          "type": "string"
1890        }
1891      },
1892      "type": "object"
1893    },
1894    "Empty": {
1895      "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
1896      "id": "Empty",
1897      "properties": {},
1898      "type": "object"
1899    },
1900    "Envelope": {
1901      "description": "MUST match https://github.com/secure-systems-lab/dsse/blob/master/envelope.proto. An authenticated message of arbitrary type.",
1902      "id": "Envelope",
1903      "properties": {
1904        "payload": {
1905          "format": "byte",
1906          "type": "string"
1907        },
1908        "payloadType": {
1909          "type": "string"
1910        },
1911        "signatures": {
1912          "items": {
1913            "$ref": "EnvelopeSignature"
1914          },
1915          "type": "array"
1916        }
1917      },
1918      "type": "object"
1919    },
1920    "EnvelopeSignature": {
1921      "id": "EnvelopeSignature",
1922      "properties": {
1923        "keyid": {
1924          "type": "string"
1925        },
1926        "sig": {
1927          "format": "byte",
1928          "type": "string"
1929        }
1930      },
1931      "type": "object"
1932    },
1933    "Expr": {
1934      "description": "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: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() \u003c 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' \u0026\u0026 document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" 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.",
1935      "id": "Expr",
1936      "properties": {
1937        "description": {
1938          "description": "Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI.",
1939          "type": "string"
1940        },
1941        "expression": {
1942          "description": "Textual representation of an expression in Common Expression Language syntax.",
1943          "type": "string"
1944        },
1945        "location": {
1946          "description": "Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file.",
1947          "type": "string"
1948        },
1949        "title": {
1950          "description": "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.",
1951          "type": "string"
1952        }
1953      },
1954      "type": "object"
1955    },
1956    "FileHashes": {
1957      "description": "Container message for hashes of byte content of files, used in source messages to verify integrity of source input to the build.",
1958      "id": "FileHashes",
1959      "properties": {
1960        "fileHash": {
1961          "description": "Required. Collection of file hashes.",
1962          "items": {
1963            "$ref": "Hash"
1964          },
1965          "type": "array"
1966        }
1967      },
1968      "type": "object"
1969    },
1970    "Fingerprint": {
1971      "description": "A set of properties that uniquely identify a given Docker image.",
1972      "id": "Fingerprint",
1973      "properties": {
1974        "v1Name": {
1975          "description": "Required. The layer ID of the final layer in the Docker image's v1 representation.",
1976          "type": "string"
1977        },
1978        "v2Blob": {
1979          "description": "Required. The ordered list of v2 blobs that represent a given image.",
1980          "items": {
1981            "type": "string"
1982          },
1983          "type": "array"
1984        },
1985        "v2Name": {
1986          "description": "Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blobbottom := sha256(v2_blob[N] + \" \" + v2_name[N+1]) Only the name of the final blob is kept.",
1987          "type": "string"
1988        }
1989      },
1990      "type": "object"
1991    },
1992    "FixableTotalByDigest": {
1993      "description": "Per resource and severity counts of fixable and total vulnerabilities.",
1994      "id": "FixableTotalByDigest",
1995      "properties": {
1996        "fixableCount": {
1997          "description": "The number of fixable vulnerabilities associated with this resource.",
1998          "format": "int64",
1999          "type": "string"
2000        },
2001        "resourceUri": {
2002          "description": "The affected resource.",
2003          "type": "string"
2004        },
2005        "severity": {
2006          "description": "The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities.",
2007          "enum": [
2008            "SEVERITY_UNSPECIFIED",
2009            "MINIMAL",
2010            "LOW",
2011            "MEDIUM",
2012            "HIGH",
2013            "CRITICAL"
2014          ],
2015          "enumDescriptions": [
2016            "Unknown.",
2017            "Minimal severity.",
2018            "Low severity.",
2019            "Medium severity.",
2020            "High severity.",
2021            "Critical severity."
2022          ],
2023          "type": "string"
2024        },
2025        "totalCount": {
2026          "description": "The total number of vulnerabilities associated with this resource.",
2027          "format": "int64",
2028          "type": "string"
2029        }
2030      },
2031      "type": "object"
2032    },
2033    "GerritSourceContext": {
2034      "description": "A SourceContext referring to a Gerrit project.",
2035      "id": "GerritSourceContext",
2036      "properties": {
2037        "aliasContext": {
2038          "$ref": "AliasContext",
2039          "description": "An alias, which may be a branch or tag."
2040        },
2041        "gerritProject": {
2042          "description": "The full project name within the host. Projects may be nested, so \"project/subproject\" is a valid project name. The \"repo name\" is the hostURI/project.",
2043          "type": "string"
2044        },
2045        "hostUri": {
2046          "description": "The URI of a running Gerrit instance.",
2047          "type": "string"
2048        },
2049        "revisionId": {
2050          "description": "A revision (commit) ID.",
2051          "type": "string"
2052        }
2053      },
2054      "type": "object"
2055    },
2056    "GetIamPolicyRequest": {
2057      "description": "Request message for `GetIamPolicy` method.",
2058      "id": "GetIamPolicyRequest",
2059      "properties": {
2060        "options": {
2061          "$ref": "GetPolicyOptions",
2062          "description": "OPTIONAL: A `GetPolicyOptions` object for specifying options to `GetIamPolicy`."
2063        }
2064      },
2065      "type": "object"
2066    },
2067    "GetPolicyOptions": {
2068      "description": "Encapsulates settings provided to GetIamPolicy.",
2069      "id": "GetPolicyOptions",
2070      "properties": {
2071        "requestedPolicyVersion": {
2072          "description": "Optional. The policy format version to be returned. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional bindings must specify version 3. Policies without any conditional bindings may specify any valid value or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).",
2073          "format": "int32",
2074          "type": "integer"
2075        }
2076      },
2077      "type": "object"
2078    },
2079    "GitSourceContext": {
2080      "description": "A GitSourceContext denotes a particular revision in a third party Git repository (e.g., GitHub).",
2081      "id": "GitSourceContext",
2082      "properties": {
2083        "revisionId": {
2084          "description": "Git commit hash.",
2085          "type": "string"
2086        },
2087        "url": {
2088          "description": "Git repository URL.",
2089          "type": "string"
2090        }
2091      },
2092      "type": "object"
2093    },
2094    "GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata": {
2095      "description": "Metadata for all operations used and required for all operations that created by Container Analysis Providers",
2096      "id": "GoogleDevtoolsContaineranalysisV1alpha1OperationMetadata",
2097      "properties": {
2098        "createTime": {
2099          "description": "Output only. The time this operation was created.",
2100          "format": "google-datetime",
2101          "type": "string"
2102        },
2103        "endTime": {
2104          "description": "Output only. The time that this operation was marked completed or failed.",
2105          "format": "google-datetime",
2106          "type": "string"
2107        }
2108      },
2109      "type": "object"
2110    },
2111    "Hash": {
2112      "description": "Container message for hash values.",
2113      "id": "Hash",
2114      "properties": {
2115        "type": {
2116          "description": "Required. The type of hash that was performed, e.g. \"SHA-256\".",
2117          "type": "string"
2118        },
2119        "value": {
2120          "description": "Required. The hash value.",
2121          "format": "byte",
2122          "type": "string"
2123        }
2124      },
2125      "type": "object"
2126    },
2127    "Hint": {
2128      "description": "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 \"readable\" 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.",
2129      "id": "Hint",
2130      "properties": {
2131        "humanReadableName": {
2132          "description": "Required. The human readable name of this attestation authority, for example \"qa\".",
2133          "type": "string"
2134        }
2135      },
2136      "type": "object"
2137    },
2138    "Identity": {
2139      "description": "The unique identifier of the update.",
2140      "id": "Identity",
2141      "properties": {
2142        "revision": {
2143          "description": "The revision number of the update.",
2144          "format": "int32",
2145          "type": "integer"
2146        },
2147        "updateId": {
2148          "description": "The revision independent identifier of the update.",
2149          "type": "string"
2150        }
2151      },
2152      "type": "object"
2153    },
2154    "ImageNote": {
2155      "description": "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.",
2156      "id": "ImageNote",
2157      "properties": {
2158        "fingerprint": {
2159          "$ref": "Fingerprint",
2160          "description": "Required. Immutable. The fingerprint of the base image."
2161        },
2162        "resourceUrl": {
2163          "description": "Required. Immutable. The resource_url for the resource representing the basis of associated occurrence images.",
2164          "type": "string"
2165        }
2166      },
2167      "type": "object"
2168    },
2169    "ImageOccurrence": {
2170      "description": "Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM .",
2171      "id": "ImageOccurrence",
2172      "properties": {
2173        "baseResourceUrl": {
2174          "description": "Output only. This contains the base image URL for the derived image occurrence.",
2175          "type": "string"
2176        },
2177        "distance": {
2178          "description": "Output only. The number of layers by which this image differs from the associated image basis.",
2179          "format": "int32",
2180          "type": "integer"
2181        },
2182        "fingerprint": {
2183          "$ref": "Fingerprint",
2184          "description": "Required. The fingerprint of the derived image."
2185        },
2186        "layerInfo": {
2187          "description": "This contains layer-specific metadata, if populated it has length \"distance\" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.",
2188          "items": {
2189            "$ref": "Layer"
2190          },
2191          "type": "array"
2192        }
2193      },
2194      "type": "object"
2195    },
2196    "InTotoProvenance": {
2197      "id": "InTotoProvenance",
2198      "properties": {
2199        "builderConfig": {
2200          "$ref": "BuilderConfig",
2201          "description": "required"
2202        },
2203        "materials": {
2204          "description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on. This is considered to be incomplete unless metadata.completeness.materials is true. Unset or null is equivalent to empty.",
2205          "items": {
2206            "type": "string"
2207          },
2208          "type": "array"
2209        },
2210        "metadata": {
2211          "$ref": "Metadata"
2212        },
2213        "recipe": {
2214          "$ref": "Recipe",
2215          "description": "Identifies the configuration used for the build. When combined with materials, this SHOULD fully describe the build, such that re-running this recipe results in bit-for-bit identical output (if the build is reproducible). required"
2216        }
2217      },
2218      "type": "object"
2219    },
2220    "InTotoStatement": {
2221      "description": "Spec defined at https://github.com/in-toto/attestation/tree/main/spec#statement The serialized InTotoStatement will be stored as Envelope.payload. Envelope.payloadType is always \"application/vnd.in-toto+json\".",
2222      "id": "InTotoStatement",
2223      "properties": {
2224        "predicateType": {
2225          "description": "\"https://in-toto.io/Provenance/v0.1\" for InTotoProvenance.",
2226          "type": "string"
2227        },
2228        "provenance": {
2229          "$ref": "InTotoProvenance"
2230        },
2231        "subject": {
2232          "items": {
2233            "$ref": "Subject"
2234          },
2235          "type": "array"
2236        },
2237        "type": {
2238          "description": "Always \"https://in-toto.io/Statement/v0.1\".",
2239          "type": "string"
2240        }
2241      },
2242      "type": "object"
2243    },
2244    "Jwt": {
2245      "id": "Jwt",
2246      "properties": {
2247        "compactJwt": {
2248          "description": "The compact encoding of a JWS, which is always three base64 encoded strings joined by periods. For details, see: https://tools.ietf.org/html/rfc7515.html#section-3.1",
2249          "type": "string"
2250        }
2251      },
2252      "type": "object"
2253    },
2254    "KnowledgeBase": {
2255      "id": "KnowledgeBase",
2256      "properties": {
2257        "name": {
2258          "description": "The KB name (generally of the form KB[0-9]+ (e.g., KB123456)).",
2259          "type": "string"
2260        },
2261        "url": {
2262          "description": "A link to the KB in the [Windows update catalog] (https://www.catalog.update.microsoft.com/).",
2263          "type": "string"
2264        }
2265      },
2266      "type": "object"
2267    },
2268    "Layer": {
2269      "description": "Layer holds metadata specific to a layer of a Docker image.",
2270      "id": "Layer",
2271      "properties": {
2272        "arguments": {
2273          "description": "The recovered arguments to the Dockerfile directive.",
2274          "type": "string"
2275        },
2276        "directive": {
2277          "description": "Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information.",
2278          "type": "string"
2279        }
2280      },
2281      "type": "object"
2282    },
2283    "ListNoteOccurrencesResponse": {
2284      "description": "Response for listing occurrences for a note.",
2285      "id": "ListNoteOccurrencesResponse",
2286      "properties": {
2287        "nextPageToken": {
2288          "description": "Token to provide to skip to a particular spot in the list.",
2289          "type": "string"
2290        },
2291        "occurrences": {
2292          "description": "The occurrences attached to the specified note.",
2293          "items": {
2294            "$ref": "Occurrence"
2295          },
2296          "type": "array"
2297        }
2298      },
2299      "type": "object"
2300    },
2301    "ListNotesResponse": {
2302      "description": "Response for listing notes.",
2303      "id": "ListNotesResponse",
2304      "properties": {
2305        "nextPageToken": {
2306          "description": "The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.",
2307          "type": "string"
2308        },
2309        "notes": {
2310          "description": "The notes requested.",
2311          "items": {
2312            "$ref": "Note"
2313          },
2314          "type": "array"
2315        }
2316      },
2317      "type": "object"
2318    },
2319    "ListOccurrencesResponse": {
2320      "description": "Response for listing occurrences.",
2321      "id": "ListOccurrencesResponse",
2322      "properties": {
2323        "nextPageToken": {
2324          "description": "The next pagination token in the list response. It should be used as `page_token` for the following request. An empty value means no more results.",
2325          "type": "string"
2326        },
2327        "occurrences": {
2328          "description": "The occurrences requested.",
2329          "items": {
2330            "$ref": "Occurrence"
2331          },
2332          "type": "array"
2333        }
2334      },
2335      "type": "object"
2336    },
2337    "ListOperationsResponse": {
2338      "description": "The response message for Operations.ListOperations.",
2339      "id": "ListOperationsResponse",
2340      "properties": {
2341        "nextPageToken": {
2342          "description": "The standard List next-page token.",
2343          "type": "string"
2344        },
2345        "operations": {
2346          "description": "A list of operations that matches the specified filter in the request.",
2347          "items": {
2348            "$ref": "Operation"
2349          },
2350          "type": "array"
2351        }
2352      },
2353      "type": "object"
2354    },
2355    "Location": {
2356      "description": "An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in `/var/lib/dpkg/status`.",
2357      "id": "Location",
2358      "properties": {
2359        "cpeUri": {
2360          "description": "Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.",
2361          "type": "string"
2362        },
2363        "path": {
2364          "description": "The path from which we gathered that this package/version is installed.",
2365          "type": "string"
2366        },
2367        "version": {
2368          "$ref": "Version",
2369          "description": "The version installed at this location."
2370        }
2371      },
2372      "type": "object"
2373    },
2374    "Metadata": {
2375      "description": "Other properties of the build.",
2376      "id": "Metadata",
2377      "properties": {
2378        "buildFinishedOn": {
2379          "description": "The timestamp of when the build completed.",
2380          "format": "google-datetime",
2381          "type": "string"
2382        },
2383        "buildInvocationId": {
2384          "description": "Identifies the particular build invocation, which can be useful for finding associated logs or other ad-hoc analysis. The value SHOULD be globally unique, per in-toto Provenance spec.",
2385          "type": "string"
2386        },
2387        "buildStartedOn": {
2388          "description": "The timestamp of when the build started.",
2389          "format": "google-datetime",
2390          "type": "string"
2391        },
2392        "completeness": {
2393          "$ref": "Completeness",
2394          "description": "Indicates that the builder claims certain fields in this message to be complete."
2395        },
2396        "reproducible": {
2397          "description": "If true, the builder claims that running the recipe on materials will produce bit-for-bit identical output.",
2398          "type": "boolean"
2399        }
2400      },
2401      "type": "object"
2402    },
2403    "NonCompliantFile": {
2404      "description": "Details about files that caused a compliance check to fail.",
2405      "id": "NonCompliantFile",
2406      "properties": {
2407        "displayCommand": {
2408          "description": "Command to display the non-compliant files.",
2409          "type": "string"
2410        },
2411        "path": {
2412          "description": "display_command is a single command that can be used to display a list of non compliant files. When there is no such command, we can also iterate a list of non compliant file using 'path'. Empty if `display_command` is set.",
2413          "type": "string"
2414        },
2415        "reason": {
2416          "description": "Explains why a file is non compliant for a CIS check.",
2417          "type": "string"
2418        }
2419      },
2420      "type": "object"
2421    },
2422    "Note": {
2423      "description": "A type of analysis that can be done for a resource.",
2424      "id": "Note",
2425      "properties": {
2426        "attestation": {
2427          "$ref": "AttestationNote",
2428          "description": "A note describing an attestation role."
2429        },
2430        "build": {
2431          "$ref": "BuildNote",
2432          "description": "A note describing build provenance for a verifiable build."
2433        },
2434        "compliance": {
2435          "$ref": "ComplianceNote",
2436          "description": "A note describing a compliance check."
2437        },
2438        "createTime": {
2439          "description": "Output only. The time this note was created. This field can be used as a filter in list requests.",
2440          "format": "google-datetime",
2441          "type": "string"
2442        },
2443        "deployment": {
2444          "$ref": "DeploymentNote",
2445          "description": "A note describing something that can be deployed."
2446        },
2447        "discovery": {
2448          "$ref": "DiscoveryNote",
2449          "description": "A note describing the initial analysis of a resource."
2450        },
2451        "dsseAttestation": {
2452          "$ref": "DSSEAttestationNote",
2453          "description": "A note describing a dsse attestation note."
2454        },
2455        "expirationTime": {
2456          "description": "Time of expiration for this note. Empty if note does not expire.",
2457          "format": "google-datetime",
2458          "type": "string"
2459        },
2460        "image": {
2461          "$ref": "ImageNote",
2462          "description": "A note describing a base image."
2463        },
2464        "kind": {
2465          "description": "Output only. The type of analysis. This field can be used as a filter in list requests.",
2466          "enum": [
2467            "NOTE_KIND_UNSPECIFIED",
2468            "VULNERABILITY",
2469            "BUILD",
2470            "IMAGE",
2471            "PACKAGE",
2472            "DEPLOYMENT",
2473            "DISCOVERY",
2474            "ATTESTATION",
2475            "UPGRADE",
2476            "COMPLIANCE",
2477            "DSSE_ATTESTATION"
2478          ],
2479          "enumDescriptions": [
2480            "Default value. This value is unused.",
2481            "The note and occurrence represent a package vulnerability.",
2482            "The note and occurrence assert build provenance.",
2483            "This represents an image basis relationship.",
2484            "This represents a package installed via a package manager.",
2485            "The note and occurrence track deployment events.",
2486            "The note and occurrence track the initial discovery status of a resource.",
2487            "This represents a logical \"role\" that can attest to artifacts.",
2488            "This represents an available package upgrade.",
2489            "This represents a Compliance Note",
2490            "This represents a DSSE attestation Note"
2491          ],
2492          "type": "string"
2493        },
2494        "longDescription": {
2495          "description": "A detailed description of this note.",
2496          "type": "string"
2497        },
2498        "name": {
2499          "description": "Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`.",
2500          "type": "string"
2501        },
2502        "package": {
2503          "$ref": "PackageNote",
2504          "description": "A note describing a package hosted by various package managers."
2505        },
2506        "relatedNoteNames": {
2507          "description": "Other notes related to this note.",
2508          "items": {
2509            "type": "string"
2510          },
2511          "type": "array"
2512        },
2513        "relatedUrl": {
2514          "description": "URLs associated with this note.",
2515          "items": {
2516            "$ref": "RelatedUrl"
2517          },
2518          "type": "array"
2519        },
2520        "shortDescription": {
2521          "description": "A one sentence description of this note.",
2522          "type": "string"
2523        },
2524        "updateTime": {
2525          "description": "Output only. The time this note was last updated. This field can be used as a filter in list requests.",
2526          "format": "google-datetime",
2527          "type": "string"
2528        },
2529        "upgrade": {
2530          "$ref": "UpgradeNote",
2531          "description": "A note describing available package upgrades."
2532        },
2533        "vulnerability": {
2534          "$ref": "VulnerabilityNote",
2535          "description": "A note describing a package vulnerability."
2536        }
2537      },
2538      "type": "object"
2539    },
2540    "Occurrence": {
2541      "description": "An instance of an analysis type that has been found on a resource.",
2542      "id": "Occurrence",
2543      "properties": {
2544        "attestation": {
2545          "$ref": "AttestationOccurrence",
2546          "description": "Describes an attestation of an artifact."
2547        },
2548        "build": {
2549          "$ref": "BuildOccurrence",
2550          "description": "Describes a verifiable build."
2551        },
2552        "compliance": {
2553          "$ref": "ComplianceOccurrence",
2554          "description": "Describes a compliance violation on a linked resource."
2555        },
2556        "createTime": {
2557          "description": "Output only. The time this occurrence was created.",
2558          "format": "google-datetime",
2559          "type": "string"
2560        },
2561        "deployment": {
2562          "$ref": "DeploymentOccurrence",
2563          "description": "Describes the deployment of an artifact on a runtime."
2564        },
2565        "discovery": {
2566          "$ref": "DiscoveryOccurrence",
2567          "description": "Describes when a resource was discovered."
2568        },
2569        "dsseAttestation": {
2570          "$ref": "DSSEAttestationOccurrence",
2571          "description": "Describes an attestation of an artifact using dsse."
2572        },
2573        "envelope": {
2574          "$ref": "Envelope",
2575          "description": "https://github.com/secure-systems-lab/dsse"
2576        },
2577        "image": {
2578          "$ref": "ImageOccurrence",
2579          "description": "Describes how this resource derives from the basis in the associated note."
2580        },
2581        "kind": {
2582          "description": "Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests.",
2583          "enum": [
2584            "NOTE_KIND_UNSPECIFIED",
2585            "VULNERABILITY",
2586            "BUILD",
2587            "IMAGE",
2588            "PACKAGE",
2589            "DEPLOYMENT",
2590            "DISCOVERY",
2591            "ATTESTATION",
2592            "UPGRADE",
2593            "COMPLIANCE",
2594            "DSSE_ATTESTATION"
2595          ],
2596          "enumDescriptions": [
2597            "Default value. This value is unused.",
2598            "The note and occurrence represent a package vulnerability.",
2599            "The note and occurrence assert build provenance.",
2600            "This represents an image basis relationship.",
2601            "This represents a package installed via a package manager.",
2602            "The note and occurrence track deployment events.",
2603            "The note and occurrence track the initial discovery status of a resource.",
2604            "This represents a logical \"role\" that can attest to artifacts.",
2605            "This represents an available package upgrade.",
2606            "This represents a Compliance Note",
2607            "This represents a DSSE attestation Note"
2608          ],
2609          "type": "string"
2610        },
2611        "name": {
2612          "description": "Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`.",
2613          "type": "string"
2614        },
2615        "noteName": {
2616          "description": "Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests.",
2617          "type": "string"
2618        },
2619        "package": {
2620          "$ref": "PackageOccurrence",
2621          "description": "Describes the installation of a package on the linked resource."
2622        },
2623        "remediation": {
2624          "description": "A description of actions that can be taken to remedy the note.",
2625          "type": "string"
2626        },
2627        "resourceUri": {
2628          "description": "Required. Immutable. A URI that represents the resource for which the occurrence applies. For example, `https://gcr.io/project/image@sha256:123abc` for a Docker image.",
2629          "type": "string"
2630        },
2631        "updateTime": {
2632          "description": "Output only. The time this occurrence was last updated.",
2633          "format": "google-datetime",
2634          "type": "string"
2635        },
2636        "upgrade": {
2637          "$ref": "UpgradeOccurrence",
2638          "description": "Describes an available package upgrade on the linked resource."
2639        },
2640        "vulnerability": {
2641          "$ref": "VulnerabilityOccurrence",
2642          "description": "Describes a security vulnerability."
2643        }
2644      },
2645      "type": "object"
2646    },
2647    "Operation": {
2648      "description": "This resource represents a long-running operation that is the result of a network API call.",
2649      "id": "Operation",
2650      "properties": {
2651        "done": {
2652          "description": "If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.",
2653          "type": "boolean"
2654        },
2655        "error": {
2656          "$ref": "Status",
2657          "description": "The error result of the operation in case of failure or cancellation."
2658        },
2659        "metadata": {
2660          "additionalProperties": {
2661            "description": "Properties of the object. Contains field @type with type URL.",
2662            "type": "any"
2663          },
2664          "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.",
2665          "type": "object"
2666        },
2667        "name": {
2668          "description": "The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.",
2669          "type": "string"
2670        },
2671        "response": {
2672          "additionalProperties": {
2673            "description": "Properties of the object. Contains field @type with type URL.",
2674            "type": "any"
2675          },
2676          "description": "The normal response of the operation in case of success. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.",
2677          "type": "object"
2678        }
2679      },
2680      "type": "object"
2681    },
2682    "PackageIssue": {
2683      "description": "A detail for a distro and package this vulnerability occurrence was found in and its associated fix (if one is available).",
2684      "id": "PackageIssue",
2685      "properties": {
2686        "affectedCpeUri": {
2687          "description": "Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was found in.",
2688          "type": "string"
2689        },
2690        "affectedPackage": {
2691          "description": "Required. The package this vulnerability was found in.",
2692          "type": "string"
2693        },
2694        "affectedVersion": {
2695          "$ref": "Version",
2696          "description": "Required. The version of the package that is installed on the resource affected by this vulnerability."
2697        },
2698        "effectiveSeverity": {
2699          "description": "Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available.",
2700          "enum": [
2701            "SEVERITY_UNSPECIFIED",
2702            "MINIMAL",
2703            "LOW",
2704            "MEDIUM",
2705            "HIGH",
2706            "CRITICAL"
2707          ],
2708          "enumDescriptions": [
2709            "Unknown.",
2710            "Minimal severity.",
2711            "Low severity.",
2712            "Medium severity.",
2713            "High severity.",
2714            "Critical severity."
2715          ],
2716          "readOnly": true,
2717          "type": "string"
2718        },
2719        "fixAvailable": {
2720          "description": "Output only. Whether a fix is available for this package.",
2721          "type": "boolean"
2722        },
2723        "fixedCpeUri": {
2724          "description": "The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability was fixed in. It is possible for this to be different from the affected_cpe_uri.",
2725          "type": "string"
2726        },
2727        "fixedPackage": {
2728          "description": "The package this vulnerability was fixed in. It is possible for this to be different from the affected_package.",
2729          "type": "string"
2730        },
2731        "fixedVersion": {
2732          "$ref": "Version",
2733          "description": "Required. The version of the package this vulnerability was fixed in. Setting this to VersionKind.MAXIMUM means no fix is yet available."
2734        },
2735        "packageType": {
2736          "description": "The type of package (e.g. OS, MAVEN, GO).",
2737          "type": "string"
2738        }
2739      },
2740      "type": "object"
2741    },
2742    "PackageNote": {
2743      "description": "This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.",
2744      "id": "PackageNote",
2745      "properties": {
2746        "distribution": {
2747          "description": "The various channels by which a package is distributed.",
2748          "items": {
2749            "$ref": "Distribution"
2750          },
2751          "type": "array"
2752        },
2753        "name": {
2754          "description": "Required. Immutable. The name of the package.",
2755          "type": "string"
2756        }
2757      },
2758      "type": "object"
2759    },
2760    "PackageOccurrence": {
2761      "description": "Details on how a particular software package was installed on a system.",
2762      "id": "PackageOccurrence",
2763      "properties": {
2764        "location": {
2765          "description": "Required. All of the places within the filesystem versions of this package have been found.",
2766          "items": {
2767            "$ref": "Location"
2768          },
2769          "type": "array"
2770        },
2771        "name": {
2772          "description": "Output only. The name of the installed package.",
2773          "type": "string"
2774        }
2775      },
2776      "type": "object"
2777    },
2778    "Policy": {
2779      "description": "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:** { \"bindings\": [ { \"role\": \"roles/resourcemanager.organizationAdmin\", \"members\": [ \"user:mike@example.com\", \"group:admins@example.com\", \"domain:google.com\", \"serviceAccount:my-project-id@appspot.gserviceaccount.com\" ] }, { \"role\": \"roles/resourcemanager.organizationViewer\", \"members\": [ \"user:eve@example.com\" ], \"condition\": { \"title\": \"expirable access\", \"description\": \"Does not grant access after Sep 2020\", \"expression\": \"request.time \u003c timestamp('2020-10-01T00:00:00.000Z')\", } } ], \"etag\": \"BwWWja0YfJA=\", \"version\": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time \u003c timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](https://cloud.google.com/iam/docs/).",
2780      "id": "Policy",
2781      "properties": {
2782        "bindings": {
2783          "description": "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:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`.",
2784          "items": {
2785            "$ref": "Binding"
2786          },
2787          "type": "array"
2788        },
2789        "etag": {
2790          "description": "`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.",
2791          "format": "byte",
2792          "type": "string"
2793        },
2794        "version": {
2795          "description": "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).",
2796          "format": "int32",
2797          "type": "integer"
2798        }
2799      },
2800      "type": "object"
2801    },
2802    "ProjectRepoId": {
2803      "description": "Selects a repo using a Google Cloud Platform project ID (e.g., winged-cargo-31) and a repo name within that project.",
2804      "id": "ProjectRepoId",
2805      "properties": {
2806        "projectId": {
2807          "description": "The ID of the project.",
2808          "type": "string"
2809        },
2810        "repoName": {
2811          "description": "The name of the repo. Leave empty for the default repo.",
2812          "type": "string"
2813        }
2814      },
2815      "type": "object"
2816    },
2817    "Recipe": {
2818      "description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.",
2819      "id": "Recipe",
2820      "properties": {
2821        "arguments": {
2822          "description": "Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were \"make\", then this might be the flags passed to make aside from the target, which is captured in recipe.entryPoint. Since the arguments field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".",
2823          "items": {
2824            "additionalProperties": {
2825              "description": "Properties of the object. Contains field @type with type URL.",
2826              "type": "any"
2827            },
2828            "type": "object"
2829          },
2830          "type": "array"
2831        },
2832        "definedInMaterial": {
2833          "description": "Index in materials containing the recipe steps that are not implied by recipe.type. For example, if the recipe type were \"make\", then this would point to the source containing the Makefile, not the make program itself. Set to -1 if the recipe doesn't come from a material, as zero is default unset value for int64.",
2834          "format": "int64",
2835          "type": "string"
2836        },
2837        "entryPoint": {
2838          "description": "String identifying the entry point into the build. This is often a path to a configuration file and/or a target label within that file. The syntax and meaning are defined by recipe.type. For example, if the recipe type were \"make\", then this would reference the directory in which to run make as well as which target to use.",
2839          "type": "string"
2840        },
2841        "environment": {
2842          "description": "Any other builder-controlled inputs necessary for correctly evaluating the recipe. Usually only needed for reproducing the build but not evaluated as part of policy. Since the environment field can greatly vary in structure, depending on the builder and recipe type, this is of form \"Any\".",
2843          "items": {
2844            "additionalProperties": {
2845              "description": "Properties of the object. Contains field @type with type URL.",
2846              "type": "any"
2847            },
2848            "type": "object"
2849          },
2850          "type": "array"
2851        },
2852        "type": {
2853          "description": "URI indicating what type of recipe was performed. It determines the meaning of recipe.entryPoint, recipe.arguments, recipe.environment, and materials.",
2854          "type": "string"
2855        }
2856      },
2857      "type": "object"
2858    },
2859    "RelatedUrl": {
2860      "description": "Metadata for any related URL information.",
2861      "id": "RelatedUrl",
2862      "properties": {
2863        "label": {
2864          "description": "Label to describe usage of the URL.",
2865          "type": "string"
2866        },
2867        "url": {
2868          "description": "Specific URL associated with the resource.",
2869          "type": "string"
2870        }
2871      },
2872      "type": "object"
2873    },
2874    "RepoId": {
2875      "description": "A unique identifier for a Cloud Repo.",
2876      "id": "RepoId",
2877      "properties": {
2878        "projectRepoId": {
2879          "$ref": "ProjectRepoId",
2880          "description": "A combination of a project ID and a repo name."
2881        },
2882        "uid": {
2883          "description": "A server-assigned, globally unique identifier.",
2884          "type": "string"
2885        }
2886      },
2887      "type": "object"
2888    },
2889    "SetIamPolicyRequest": {
2890      "description": "Request message for `SetIamPolicy` method.",
2891      "id": "SetIamPolicyRequest",
2892      "properties": {
2893        "policy": {
2894          "$ref": "Policy",
2895          "description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
2896        }
2897      },
2898      "type": "object"
2899    },
2900    "Signature": {
2901      "description": "Verifiers (e.g. Kritis implementations) MUST verify signatures with respect to the trust anchors defined in policy (e.g. a Kritis policy). Typically this means that the verifier has been configured with a map from `public_key_id` to public key material (and any required parameters, e.g. signing algorithm). In particular, verification implementations MUST NOT treat the signature `public_key_id` as anything more than a key lookup hint. The `public_key_id` DOES NOT validate or authenticate a public key; it only provides a mechanism for quickly selecting a public key ALREADY CONFIGURED on the verifier through a trusted channel. Verification implementations MUST reject signatures in any of the following circumstances: * The `public_key_id` is not recognized by the verifier. * The public key that `public_key_id` refers to does not verify the signature with respect to the payload. The `signature` contents SHOULD NOT be \"attached\" (where the payload is included with the serialized `signature` bytes). Verifiers MUST ignore any \"attached\" payload and only verify signatures with respect to explicitly provided payload (e.g. a `payload` field on the proto message that holds this Signature, or the canonical serialization of the proto message that holds this signature).",
2902      "id": "Signature",
2903      "properties": {
2904        "publicKeyId": {
2905          "description": "The identifier for the public key that verifies this signature. * The `public_key_id` is required. * The `public_key_id` SHOULD be an RFC3986 conformant URI. * When possible, the `public_key_id` SHOULD be an immutable reference, such as a cryptographic digest. Examples of valid `public_key_id`s: OpenPGP V4 public key fingerprint: * \"openpgp4fpr:74FAF3B861BDA0870C7B6DEF607E48D2A663AEEA\" See https://www.iana.org/assignments/uri-schemes/prov/openpgp4fpr for more details on this scheme. RFC6920 digest-named SubjectPublicKeyInfo (digest of the DER serialization): * \"ni:///sha-256;cD9o9Cq6LG3jD0iKXqEi_vdjJGecm_iXkbqVoScViaU\" * \"nih:///sha-256;703f68f42aba2c6de30f488a5ea122fef76324679c9bf89791ba95a1271589a5\"",
2906          "type": "string"
2907        },
2908        "signature": {
2909          "description": "The content of the signature, an opaque bytestring. The payload that this signature verifies MUST be unambiguously provided with the Signature during verification. A wrapper message might provide the payload explicitly. Alternatively, a message might have a canonical serialization that can always be unambiguously computed to derive the payload.",
2910          "format": "byte",
2911          "type": "string"
2912        }
2913      },
2914      "type": "object"
2915    },
2916    "Source": {
2917      "description": "Source describes the location of the source used for the build.",
2918      "id": "Source",
2919      "properties": {
2920        "additionalContexts": {
2921          "description": "If provided, some of the source code used for the build may be found in these locations, in the case where the source repository had multiple remotes or submodules. This list will not include the context specified in the context field.",
2922          "items": {
2923            "$ref": "SourceContext"
2924          },
2925          "type": "array"
2926        },
2927        "artifactStorageSourceUri": {
2928          "description": "If provided, the input binary artifacts for the build came from this location.",
2929          "type": "string"
2930        },
2931        "context": {
2932          "$ref": "SourceContext",
2933          "description": "If provided, the source code used for the build came from this location."
2934        },
2935        "fileHashes": {
2936          "additionalProperties": {
2937            "$ref": "FileHashes"
2938          },
2939          "description": "Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz), the FileHash will be for the single path to that file.",
2940          "type": "object"
2941        }
2942      },
2943      "type": "object"
2944    },
2945    "SourceContext": {
2946      "description": "A SourceContext is a reference to a tree of files. A SourceContext together with a path point to a unique revision of a single file or directory.",
2947      "id": "SourceContext",
2948      "properties": {
2949        "cloudRepo": {
2950          "$ref": "CloudRepoSourceContext",
2951          "description": "A SourceContext referring to a revision in a Google Cloud Source Repo."
2952        },
2953        "gerrit": {
2954          "$ref": "GerritSourceContext",
2955          "description": "A SourceContext referring to a Gerrit project."
2956        },
2957        "git": {
2958          "$ref": "GitSourceContext",
2959          "description": "A SourceContext referring to any third party Git repo (e.g., GitHub)."
2960        },
2961        "labels": {
2962          "additionalProperties": {
2963            "type": "string"
2964          },
2965          "description": "Labels with user defined metadata.",
2966          "type": "object"
2967        }
2968      },
2969      "type": "object"
2970    },
2971    "Status": {
2972      "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
2973      "id": "Status",
2974      "properties": {
2975        "code": {
2976          "description": "The status code, which should be an enum value of google.rpc.Code.",
2977          "format": "int32",
2978          "type": "integer"
2979        },
2980        "details": {
2981          "description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
2982          "items": {
2983            "additionalProperties": {
2984              "description": "Properties of the object. Contains field @type with type URL.",
2985              "type": "any"
2986            },
2987            "type": "object"
2988          },
2989          "type": "array"
2990        },
2991        "message": {
2992          "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
2993          "type": "string"
2994        }
2995      },
2996      "type": "object"
2997    },
2998    "Subject": {
2999      "id": "Subject",
3000      "properties": {
3001        "digest": {
3002          "additionalProperties": {
3003            "type": "string"
3004          },
3005          "description": "\"\": \"\"",
3006          "type": "object"
3007        },
3008        "name": {
3009          "type": "string"
3010        }
3011      },
3012      "type": "object"
3013    },
3014    "TestIamPermissionsRequest": {
3015      "description": "Request message for `TestIamPermissions` method.",
3016      "id": "TestIamPermissionsRequest",
3017      "properties": {
3018        "permissions": {
3019          "description": "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).",
3020          "items": {
3021            "type": "string"
3022          },
3023          "type": "array"
3024        }
3025      },
3026      "type": "object"
3027    },
3028    "TestIamPermissionsResponse": {
3029      "description": "Response message for `TestIamPermissions` method.",
3030      "id": "TestIamPermissionsResponse",
3031      "properties": {
3032        "permissions": {
3033          "description": "A subset of `TestPermissionsRequest.permissions` that the caller is allowed.",
3034          "items": {
3035            "type": "string"
3036          },
3037          "type": "array"
3038        }
3039      },
3040      "type": "object"
3041    },
3042    "TimeSpan": {
3043      "description": "Start and end times for a build execution phase.",
3044      "id": "TimeSpan",
3045      "properties": {
3046        "endTime": {
3047          "description": "End of time span.",
3048          "format": "google-datetime",
3049          "type": "string"
3050        },
3051        "startTime": {
3052          "description": "Start of time span.",
3053          "format": "google-datetime",
3054          "type": "string"
3055        }
3056      },
3057      "type": "object"
3058    },
3059    "UpgradeDistribution": {
3060      "description": "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.",
3061      "id": "UpgradeDistribution",
3062      "properties": {
3063        "classification": {
3064          "description": "The operating system classification of this Upgrade, as specified by the upstream operating system upgrade feed. For Windows the classification is one of the category_ids listed at https://docs.microsoft.com/en-us/previous-versions/windows/desktop/ff357803(v=vs.85)",
3065          "type": "string"
3066        },
3067        "cpeUri": {
3068          "description": "Required - The specific operating system this metadata applies to. See https://cpe.mitre.org/specification/.",
3069          "type": "string"
3070        },
3071        "cve": {
3072          "description": "The cve tied to this Upgrade.",
3073          "items": {
3074            "type": "string"
3075          },
3076          "type": "array"
3077        },
3078        "severity": {
3079          "description": "The severity as specified by the upstream operating system.",
3080          "type": "string"
3081        }
3082      },
3083      "type": "object"
3084    },
3085    "UpgradeNote": {
3086      "description": "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 an Upgrade Note. For Windows, windows_update field represents the information related to the update.",
3087      "id": "UpgradeNote",
3088      "properties": {
3089        "distributions": {
3090          "description": "Metadata about the upgrade for each specific operating system.",
3091          "items": {
3092            "$ref": "UpgradeDistribution"
3093          },
3094          "type": "array"
3095        },
3096        "package": {
3097          "description": "Required for non-Windows OS. The package this Upgrade is for.",
3098          "type": "string"
3099        },
3100        "version": {
3101          "$ref": "Version",
3102          "description": "Required for non-Windows OS. The version of the package in machine + human readable form."
3103        },
3104        "windowsUpdate": {
3105          "$ref": "WindowsUpdate",
3106          "description": "Required for Windows OS. Represents the metadata about the Windows update."
3107        }
3108      },
3109      "type": "object"
3110    },
3111    "UpgradeOccurrence": {
3112      "description": "An Upgrade Occurrence represents that a specific resource_url could install a specific upgrade. This presence is supplied via local sources (i.e. it is present in the mirror and the running system has noticed its availability). For Windows, both distribution and windows_update contain information for the Windows update.",
3113      "id": "UpgradeOccurrence",
3114      "properties": {
3115        "distribution": {
3116          "$ref": "UpgradeDistribution",
3117          "description": "Metadata about the upgrade for available for the specific operating system for the resource_url. This allows efficient filtering, as well as making it easier to use the occurrence."
3118        },
3119        "package": {
3120          "description": "Required for non-Windows OS. The package this Upgrade is for.",
3121          "type": "string"
3122        },
3123        "parsedVersion": {
3124          "$ref": "Version",
3125          "description": "Required for non-Windows OS. The version of the package in a machine + human readable form."
3126        },
3127        "windowsUpdate": {
3128          "$ref": "WindowsUpdate",
3129          "description": "Required for Windows OS. Represents the metadata about the Windows update."
3130        }
3131      },
3132      "type": "object"
3133    },
3134    "Version": {
3135      "description": "Version contains structured information about the version of a package.",
3136      "id": "Version",
3137      "properties": {
3138        "epoch": {
3139          "description": "Used to correct mistakes in the version numbering scheme.",
3140          "format": "int32",
3141          "type": "integer"
3142        },
3143        "fullName": {
3144          "description": "Human readable version string. This string is of the form :- and is only set when kind is NORMAL.",
3145          "type": "string"
3146        },
3147        "inclusive": {
3148          "description": "Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range.",
3149          "type": "boolean"
3150        },
3151        "kind": {
3152          "description": "Required. Distinguishes between sentinel MIN/MAX versions and normal versions.",
3153          "enum": [
3154            "VERSION_KIND_UNSPECIFIED",
3155            "NORMAL",
3156            "MINIMUM",
3157            "MAXIMUM"
3158          ],
3159          "enumDescriptions": [
3160            "Unknown.",
3161            "A standard package version.",
3162            "A special version representing negative infinity.",
3163            "A special version representing positive infinity."
3164          ],
3165          "type": "string"
3166        },
3167        "name": {
3168          "description": "Required only when version kind is NORMAL. The main part of the version name.",
3169          "type": "string"
3170        },
3171        "revision": {
3172          "description": "The iteration of the package build from the above version.",
3173          "type": "string"
3174        }
3175      },
3176      "type": "object"
3177    },
3178    "Volume": {
3179      "description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
3180      "id": "Volume",
3181      "properties": {
3182        "name": {
3183          "description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.",
3184          "type": "string"
3185        },
3186        "path": {
3187          "description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.",
3188          "type": "string"
3189        }
3190      },
3191      "type": "object"
3192    },
3193    "VulnerabilityNote": {
3194      "description": "A security vulnerability that can be found in resources.",
3195      "id": "VulnerabilityNote",
3196      "properties": {
3197        "cvssScore": {
3198          "description": "The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.",
3199          "format": "float",
3200          "type": "number"
3201        },
3202        "cvssV3": {
3203          "$ref": "CVSSv3",
3204          "description": "The full description of the CVSSv3 for this vulnerability."
3205        },
3206        "details": {
3207          "description": "Details of all known distros and packages affected by this vulnerability.",
3208          "items": {
3209            "$ref": "Detail"
3210          },
3211          "type": "array"
3212        },
3213        "severity": {
3214          "description": "The note provider assigned severity of this vulnerability.",
3215          "enum": [
3216            "SEVERITY_UNSPECIFIED",
3217            "MINIMAL",
3218            "LOW",
3219            "MEDIUM",
3220            "HIGH",
3221            "CRITICAL"
3222          ],
3223          "enumDescriptions": [
3224            "Unknown.",
3225            "Minimal severity.",
3226            "Low severity.",
3227            "Medium severity.",
3228            "High severity.",
3229            "Critical severity."
3230          ],
3231          "type": "string"
3232        },
3233        "sourceUpdateTime": {
3234          "description": "The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker.",
3235          "format": "google-datetime",
3236          "type": "string"
3237        },
3238        "windowsDetails": {
3239          "description": "Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version.",
3240          "items": {
3241            "$ref": "WindowsDetail"
3242          },
3243          "type": "array"
3244        }
3245      },
3246      "type": "object"
3247    },
3248    "VulnerabilityOccurrence": {
3249      "description": "An occurrence of a severity vulnerability on a resource.",
3250      "id": "VulnerabilityOccurrence",
3251      "properties": {
3252        "cvssScore": {
3253          "description": "Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0 - 10 where 0 indicates low severity and 10 indicates high severity.",
3254          "format": "float",
3255          "type": "number"
3256        },
3257        "effectiveSeverity": {
3258          "description": "The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues.",
3259          "enum": [
3260            "SEVERITY_UNSPECIFIED",
3261            "MINIMAL",
3262            "LOW",
3263            "MEDIUM",
3264            "HIGH",
3265            "CRITICAL"
3266          ],
3267          "enumDescriptions": [
3268            "Unknown.",
3269            "Minimal severity.",
3270            "Low severity.",
3271            "Medium severity.",
3272            "High severity.",
3273            "Critical severity."
3274          ],
3275          "type": "string"
3276        },
3277        "fixAvailable": {
3278          "description": "Output only. Whether at least one of the affected packages has a fix available.",
3279          "type": "boolean"
3280        },
3281        "longDescription": {
3282          "description": "Output only. A detailed description of this vulnerability.",
3283          "type": "string"
3284        },
3285        "packageIssue": {
3286          "description": "Required. The set of affected locations and their fixes (if available) within the associated resource.",
3287          "items": {
3288            "$ref": "PackageIssue"
3289          },
3290          "type": "array"
3291        },
3292        "relatedUrls": {
3293          "description": "Output only. URLs related to this vulnerability.",
3294          "items": {
3295            "$ref": "RelatedUrl"
3296          },
3297          "type": "array"
3298        },
3299        "severity": {
3300          "description": "Output only. The note provider assigned severity of this vulnerability.",
3301          "enum": [
3302            "SEVERITY_UNSPECIFIED",
3303            "MINIMAL",
3304            "LOW",
3305            "MEDIUM",
3306            "HIGH",
3307            "CRITICAL"
3308          ],
3309          "enumDescriptions": [
3310            "Unknown.",
3311            "Minimal severity.",
3312            "Low severity.",
3313            "Medium severity.",
3314            "High severity.",
3315            "Critical severity."
3316          ],
3317          "type": "string"
3318        },
3319        "shortDescription": {
3320          "description": "Output only. A one sentence description of this vulnerability.",
3321          "type": "string"
3322        },
3323        "type": {
3324          "description": "The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).",
3325          "type": "string"
3326        }
3327      },
3328      "type": "object"
3329    },
3330    "VulnerabilityOccurrencesSummary": {
3331      "description": "A summary of how many vulnerability occurrences there are per resource and severity type.",
3332      "id": "VulnerabilityOccurrencesSummary",
3333      "properties": {
3334        "counts": {
3335          "description": "A listing by resource of the number of fixable and total vulnerabilities.",
3336          "items": {
3337            "$ref": "FixableTotalByDigest"
3338          },
3339          "type": "array"
3340        }
3341      },
3342      "type": "object"
3343    },
3344    "WindowsDetail": {
3345      "id": "WindowsDetail",
3346      "properties": {
3347        "cpeUri": {
3348          "description": "Required. The [CPE URI](https://cpe.mitre.org/specification/) this vulnerability affects.",
3349          "type": "string"
3350        },
3351        "description": {
3352          "description": "The description of this vulnerability.",
3353          "type": "string"
3354        },
3355        "fixingKbs": {
3356          "description": "Required. The names of the KBs which have hotfixes to mitigate this vulnerability. Note that there may be multiple hotfixes (and thus multiple KBs) that mitigate a given vulnerability. Currently any listed KBs presence is considered a fix.",
3357          "items": {
3358            "$ref": "KnowledgeBase"
3359          },
3360          "type": "array"
3361        },
3362        "name": {
3363          "description": "Required. The name of this vulnerability.",
3364          "type": "string"
3365        }
3366      },
3367      "type": "object"
3368    },
3369    "WindowsUpdate": {
3370      "description": "Windows Update represents the metadata about the update for the Windows operating system. The fields in this message come from the Windows Update API documented at https://docs.microsoft.com/en-us/windows/win32/api/wuapi/nn-wuapi-iupdate.",
3371      "id": "WindowsUpdate",
3372      "properties": {
3373        "categories": {
3374          "description": "The list of categories to which the update belongs.",
3375          "items": {
3376            "$ref": "Category"
3377          },
3378          "type": "array"
3379        },
3380        "description": {
3381          "description": "The localized description of the update.",
3382          "type": "string"
3383        },
3384        "identity": {
3385          "$ref": "Identity",
3386          "description": "Required - The unique identifier for the update."
3387        },
3388        "kbArticleIds": {
3389          "description": "The Microsoft Knowledge Base article IDs that are associated with the update.",
3390          "items": {
3391            "type": "string"
3392          },
3393          "type": "array"
3394        },
3395        "lastPublishedTimestamp": {
3396          "description": "The last published timestamp of the update.",
3397          "format": "google-datetime",
3398          "type": "string"
3399        },
3400        "supportUrl": {
3401          "description": "The hyperlink to the support information for the update.",
3402          "type": "string"
3403        },
3404        "title": {
3405          "description": "The localized title of the update.",
3406          "type": "string"
3407        }
3408      },
3409      "type": "object"
3410    }
3411  },
3412  "servicePath": "",
3413  "title": "Container Analysis API",
3414  "version": "v1",
3415  "version_module": true
3416}