@google-cloud/containeranalysis 3.3.0 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (32) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +17 -17
  3. package/build/protos/google/devtools/containeranalysis/v1/containeranalysis.proto +12 -18
  4. package/build/protos/grafeas/v1/common.proto +29 -0
  5. package/build/protos/grafeas/v1/compliance.proto +4 -1
  6. package/build/protos/grafeas/v1/cvss.proto +74 -0
  7. package/build/protos/grafeas/v1/discovery.proto +5 -0
  8. package/build/protos/grafeas/v1/dsse_attestation.proto +1 -1
  9. package/build/protos/grafeas/v1/intoto_provenance.proto +1 -0
  10. package/build/protos/grafeas/v1/intoto_statement.proto +3 -0
  11. package/build/protos/grafeas/v1/package.proto +72 -12
  12. package/build/protos/grafeas/v1/severity.proto +38 -0
  13. package/build/protos/grafeas/v1/slsa_provenance.proto +2 -1
  14. package/build/protos/grafeas/v1/slsa_provenance_zero_two.proto +82 -0
  15. package/build/protos/grafeas/v1/vulnerability.proto +10 -30
  16. package/build/protos/protos.d.ts +7815 -6050
  17. package/build/protos/protos.js +21805 -16953
  18. package/build/protos/protos.json +1076 -608
  19. package/build/src/v1/container_analysis_client.d.ts +28 -6
  20. package/build/src/v1/container_analysis_client.js +2 -3
  21. package/build/src/v1/container_analysis_client.js.map +1 -1
  22. package/build/src/v1/index.js +1 -0
  23. package/build/src/v1/index.js.map +1 -1
  24. package/build/src/v1beta1/container_analysis_v1_beta1_client.d.ts +37 -7
  25. package/build/src/v1beta1/container_analysis_v1_beta1_client.js +2 -3
  26. package/build/src/v1beta1/container_analysis_v1_beta1_client.js.map +1 -1
  27. package/build/src/v1beta1/grafeas_v1_beta1_client.d.ts +75 -15
  28. package/build/src/v1beta1/grafeas_v1_beta1_client.js +2 -3
  29. package/build/src/v1beta1/grafeas_v1_beta1_client.js.map +1 -1
  30. package/build/src/v1beta1/index.js +1 -0
  31. package/build/src/v1beta1/index.js.map +1 -1
  32. package/package.json +8 -8
@@ -8,6 +8,7 @@
8
8
  "java_multiple_files": true,
9
9
  "java_package": "io.grafeas.v1",
10
10
  "objc_class_prefix": "GRA",
11
+ "java_outer_classname": "CVSSProto",
11
12
  "(google.api.resource_definition).type": "grafeas.io/Project",
12
13
  "(google.api.resource_definition).pattern": "projects/{project}"
13
14
  },
@@ -22,233 +23,47 @@
22
23
  "CRITICAL": 5
23
24
  }
24
25
  },
25
- "VulnerabilityNote": {
26
+ "AttestationNote": {
26
27
  "fields": {
27
- "cvssScore": {
28
- "type": "float",
28
+ "hint": {
29
+ "type": "Hint",
29
30
  "id": 1
30
- },
31
- "severity": {
32
- "type": "Severity",
33
- "id": 2
34
- },
35
- "details": {
36
- "rule": "repeated",
37
- "type": "Detail",
38
- "id": 3
39
- },
40
- "cvssV3": {
41
- "type": "CVSSv3",
42
- "id": 4
43
- },
44
- "windowsDetails": {
45
- "rule": "repeated",
46
- "type": "WindowsDetail",
47
- "id": 5
48
- },
49
- "sourceUpdateTime": {
50
- "type": "google.protobuf.Timestamp",
51
- "id": 6
52
31
  }
53
32
  },
54
33
  "nested": {
55
- "Detail": {
56
- "fields": {
57
- "severityName": {
58
- "type": "string",
59
- "id": 1
60
- },
61
- "description": {
62
- "type": "string",
63
- "id": 2
64
- },
65
- "packageType": {
66
- "type": "string",
67
- "id": 3
68
- },
69
- "affectedCpeUri": {
70
- "type": "string",
71
- "id": 4
72
- },
73
- "affectedPackage": {
74
- "type": "string",
75
- "id": 5
76
- },
77
- "affectedVersionStart": {
78
- "type": "grafeas.v1.Version",
79
- "id": 6
80
- },
81
- "affectedVersionEnd": {
82
- "type": "grafeas.v1.Version",
83
- "id": 7
84
- },
85
- "fixedCpeUri": {
86
- "type": "string",
87
- "id": 8
88
- },
89
- "fixedPackage": {
90
- "type": "string",
91
- "id": 9
92
- },
93
- "fixedVersion": {
94
- "type": "grafeas.v1.Version",
95
- "id": 10
96
- },
97
- "isObsolete": {
98
- "type": "bool",
99
- "id": 11
100
- },
101
- "sourceUpdateTime": {
102
- "type": "google.protobuf.Timestamp",
103
- "id": 12
104
- },
105
- "source": {
106
- "type": "string",
107
- "id": 13
108
- },
109
- "vendor": {
110
- "type": "string",
111
- "id": 14
112
- }
113
- }
114
- },
115
- "WindowsDetail": {
34
+ "Hint": {
116
35
  "fields": {
117
- "cpeUri": {
36
+ "humanReadableName": {
118
37
  "type": "string",
119
38
  "id": 1
120
- },
121
- "name": {
122
- "type": "string",
123
- "id": 2
124
- },
125
- "description": {
126
- "type": "string",
127
- "id": 3
128
- },
129
- "fixingKbs": {
130
- "rule": "repeated",
131
- "type": "KnowledgeBase",
132
- "id": 4
133
- }
134
- },
135
- "nested": {
136
- "KnowledgeBase": {
137
- "fields": {
138
- "name": {
139
- "type": "string",
140
- "id": 1
141
- },
142
- "url": {
143
- "type": "string",
144
- "id": 2
145
- }
146
- }
147
39
  }
148
40
  }
149
41
  }
150
42
  }
151
43
  },
152
- "VulnerabilityOccurrence": {
44
+ "Jwt": {
153
45
  "fields": {
154
- "type": {
46
+ "compactJwt": {
155
47
  "type": "string",
156
48
  "id": 1
49
+ }
50
+ }
51
+ },
52
+ "AttestationOccurrence": {
53
+ "fields": {
54
+ "serializedPayload": {
55
+ "type": "bytes",
56
+ "id": 1
157
57
  },
158
- "severity": {
159
- "type": "Severity",
160
- "id": 2
161
- },
162
- "cvssScore": {
163
- "type": "float",
164
- "id": 3
165
- },
166
- "cvssv3": {
167
- "type": "CVSSV3",
168
- "id": 10
169
- },
170
- "packageIssue": {
58
+ "signatures": {
171
59
  "rule": "repeated",
172
- "type": "PackageIssue",
173
- "id": 4
174
- },
175
- "shortDescription": {
176
- "type": "string",
177
- "id": 5
178
- },
179
- "longDescription": {
180
- "type": "string",
181
- "id": 6
60
+ "type": "Signature",
61
+ "id": 2
182
62
  },
183
- "relatedUrls": {
63
+ "jwts": {
184
64
  "rule": "repeated",
185
- "type": "grafeas.v1.RelatedUrl",
186
- "id": 7
187
- },
188
- "effectiveSeverity": {
189
- "type": "Severity",
190
- "id": 8
191
- },
192
- "fixAvailable": {
193
- "type": "bool",
194
- "id": 9
195
- }
196
- },
197
- "nested": {
198
- "CVSSV3": {
199
- "fields": {
200
- "baseScore": {
201
- "type": "float",
202
- "id": 1
203
- },
204
- "severity": {
205
- "type": "Severity",
206
- "id": 2
207
- }
208
- }
209
- },
210
- "PackageIssue": {
211
- "fields": {
212
- "affectedCpeUri": {
213
- "type": "string",
214
- "id": 1
215
- },
216
- "affectedPackage": {
217
- "type": "string",
218
- "id": 2
219
- },
220
- "affectedVersion": {
221
- "type": "grafeas.v1.Version",
222
- "id": 3
223
- },
224
- "fixedCpeUri": {
225
- "type": "string",
226
- "id": 4
227
- },
228
- "fixedPackage": {
229
- "type": "string",
230
- "id": 5
231
- },
232
- "fixedVersion": {
233
- "type": "grafeas.v1.Version",
234
- "id": 6
235
- },
236
- "fixAvailable": {
237
- "type": "bool",
238
- "id": 7
239
- },
240
- "packageType": {
241
- "type": "string",
242
- "id": 8
243
- },
244
- "effectiveSeverity": {
245
- "type": "Severity",
246
- "id": 9,
247
- "options": {
248
- "(google.api.field_behavior)": "OUTPUT_ONLY"
249
- }
250
- }
251
- }
65
+ "type": "Jwt",
66
+ "id": 3
252
67
  }
253
68
  }
254
69
  },
@@ -320,258 +135,35 @@
320
135
  }
321
136
  }
322
137
  },
323
- "CVSSv3": {
138
+ "FileLocation": {
324
139
  "fields": {
325
- "baseScore": {
326
- "type": "float",
140
+ "filePath": {
141
+ "type": "string",
142
+ "id": 1
143
+ }
144
+ }
145
+ },
146
+ "License": {
147
+ "fields": {
148
+ "expression": {
149
+ "type": "string",
327
150
  "id": 1
328
151
  },
329
- "exploitabilityScore": {
330
- "type": "float",
152
+ "comments": {
153
+ "type": "string",
331
154
  "id": 2
155
+ }
156
+ }
157
+ },
158
+ "Digest": {
159
+ "fields": {
160
+ "algo": {
161
+ "type": "string",
162
+ "id": 1
332
163
  },
333
- "impactScore": {
334
- "type": "float",
335
- "id": 3
336
- },
337
- "attackVector": {
338
- "type": "AttackVector",
339
- "id": 5
340
- },
341
- "attackComplexity": {
342
- "type": "AttackComplexity",
343
- "id": 6
344
- },
345
- "privilegesRequired": {
346
- "type": "PrivilegesRequired",
347
- "id": 7
348
- },
349
- "userInteraction": {
350
- "type": "UserInteraction",
351
- "id": 8
352
- },
353
- "scope": {
354
- "type": "Scope",
355
- "id": 9
356
- },
357
- "confidentialityImpact": {
358
- "type": "Impact",
359
- "id": 10
360
- },
361
- "integrityImpact": {
362
- "type": "Impact",
363
- "id": 11
364
- },
365
- "availabilityImpact": {
366
- "type": "Impact",
367
- "id": 12
368
- }
369
- },
370
- "nested": {
371
- "AttackVector": {
372
- "values": {
373
- "ATTACK_VECTOR_UNSPECIFIED": 0,
374
- "ATTACK_VECTOR_NETWORK": 1,
375
- "ATTACK_VECTOR_ADJACENT": 2,
376
- "ATTACK_VECTOR_LOCAL": 3,
377
- "ATTACK_VECTOR_PHYSICAL": 4
378
- }
379
- },
380
- "AttackComplexity": {
381
- "values": {
382
- "ATTACK_COMPLEXITY_UNSPECIFIED": 0,
383
- "ATTACK_COMPLEXITY_LOW": 1,
384
- "ATTACK_COMPLEXITY_HIGH": 2
385
- }
386
- },
387
- "PrivilegesRequired": {
388
- "values": {
389
- "PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
390
- "PRIVILEGES_REQUIRED_NONE": 1,
391
- "PRIVILEGES_REQUIRED_LOW": 2,
392
- "PRIVILEGES_REQUIRED_HIGH": 3
393
- }
394
- },
395
- "UserInteraction": {
396
- "values": {
397
- "USER_INTERACTION_UNSPECIFIED": 0,
398
- "USER_INTERACTION_NONE": 1,
399
- "USER_INTERACTION_REQUIRED": 2
400
- }
401
- },
402
- "Scope": {
403
- "values": {
404
- "SCOPE_UNSPECIFIED": 0,
405
- "SCOPE_UNCHANGED": 1,
406
- "SCOPE_CHANGED": 2
407
- }
408
- },
409
- "Impact": {
410
- "values": {
411
- "IMPACT_UNSPECIFIED": 0,
412
- "IMPACT_HIGH": 1,
413
- "IMPACT_LOW": 2,
414
- "IMPACT_NONE": 3
415
- }
416
- }
417
- }
418
- },
419
- "Architecture": {
420
- "values": {
421
- "ARCHITECTURE_UNSPECIFIED": 0,
422
- "X86": 1,
423
- "X64": 2
424
- }
425
- },
426
- "Distribution": {
427
- "fields": {
428
- "cpeUri": {
429
- "type": "string",
430
- "id": 1
431
- },
432
- "architecture": {
433
- "type": "Architecture",
434
- "id": 2
435
- },
436
- "latestVersion": {
437
- "type": "Version",
438
- "id": 3
439
- },
440
- "maintainer": {
441
- "type": "string",
442
- "id": 4
443
- },
444
- "url": {
445
- "type": "string",
446
- "id": 5
447
- },
448
- "description": {
449
- "type": "string",
450
- "id": 6
451
- }
452
- }
453
- },
454
- "Location": {
455
- "fields": {
456
- "cpeUri": {
457
- "type": "string",
458
- "id": 1
459
- },
460
- "version": {
461
- "type": "Version",
462
- "id": 2
463
- },
464
- "path": {
465
- "type": "string",
466
- "id": 3
467
- }
468
- }
469
- },
470
- "PackageNote": {
471
- "fields": {
472
- "name": {
473
- "type": "string",
474
- "id": 1
475
- },
476
- "distribution": {
477
- "rule": "repeated",
478
- "type": "Distribution",
479
- "id": 10
480
- }
481
- }
482
- },
483
- "PackageOccurrence": {
484
- "fields": {
485
- "name": {
486
- "type": "string",
487
- "id": 1
488
- },
489
- "location": {
490
- "rule": "repeated",
491
- "type": "Location",
492
- "id": 2
493
- }
494
- }
495
- },
496
- "Version": {
497
- "fields": {
498
- "epoch": {
499
- "type": "int32",
500
- "id": 1
501
- },
502
- "name": {
503
- "type": "string",
504
- "id": 2
505
- },
506
- "revision": {
507
- "type": "string",
508
- "id": 3
509
- },
510
- "inclusive": {
511
- "type": "bool",
512
- "id": 6
513
- },
514
- "kind": {
515
- "type": "VersionKind",
516
- "id": 4
517
- },
518
- "fullName": {
519
- "type": "string",
520
- "id": 5
521
- }
522
- },
523
- "nested": {
524
- "VersionKind": {
525
- "values": {
526
- "VERSION_KIND_UNSPECIFIED": 0,
527
- "NORMAL": 1,
528
- "MINIMUM": 2,
529
- "MAXIMUM": 3
530
- }
531
- }
532
- }
533
- },
534
- "AttestationNote": {
535
- "fields": {
536
- "hint": {
537
- "type": "Hint",
538
- "id": 1
539
- }
540
- },
541
- "nested": {
542
- "Hint": {
543
- "fields": {
544
- "humanReadableName": {
545
- "type": "string",
546
- "id": 1
547
- }
548
- }
549
- }
550
- }
551
- },
552
- "Jwt": {
553
- "fields": {
554
- "compactJwt": {
555
- "type": "string",
556
- "id": 1
557
- }
558
- }
559
- },
560
- "AttestationOccurrence": {
561
- "fields": {
562
- "serializedPayload": {
164
+ "digestBytes": {
563
165
  "type": "bytes",
564
- "id": 1
565
- },
566
- "signatures": {
567
- "rule": "repeated",
568
- "type": "Signature",
569
166
  "id": 2
570
- },
571
- "jwts": {
572
- "rule": "repeated",
573
- "type": "Jwt",
574
- "id": 3
575
167
  }
576
168
  }
577
169
  },
@@ -703,7 +295,8 @@
703
295
  "predicate": {
704
296
  "oneof": [
705
297
  "provenance",
706
- "slsaProvenance"
298
+ "slsaProvenance",
299
+ "slsaProvenanceZeroTwo"
707
300
  ]
708
301
  }
709
302
  },
@@ -731,6 +324,10 @@
731
324
  "slsaProvenance": {
732
325
  "type": "SlsaProvenance",
733
326
  "id": 5
327
+ },
328
+ "slsaProvenanceZeroTwo": {
329
+ "type": "SlsaProvenanceZeroTwo",
330
+ "id": 6
734
331
  }
735
332
  }
736
333
  },
@@ -855,40 +452,165 @@
855
452
  }
856
453
  }
857
454
  },
858
- "BuildProvenance": {
455
+ "SlsaProvenanceZeroTwo": {
859
456
  "fields": {
860
- "id": {
861
- "type": "string",
457
+ "builder": {
458
+ "type": "SlsaBuilder",
862
459
  "id": 1
863
460
  },
864
- "projectId": {
461
+ "buildType": {
865
462
  "type": "string",
866
463
  "id": 2
867
464
  },
868
- "commands": {
869
- "rule": "repeated",
870
- "type": "Command",
465
+ "invocation": {
466
+ "type": "SlsaInvocation",
871
467
  "id": 3
872
468
  },
873
- "builtArtifacts": {
874
- "rule": "repeated",
875
- "type": "Artifact",
469
+ "buildConfig": {
470
+ "type": "google.protobuf.Struct",
876
471
  "id": 4
877
472
  },
878
- "createTime": {
879
- "type": "google.protobuf.Timestamp",
473
+ "metadata": {
474
+ "type": "SlsaMetadata",
880
475
  "id": 5
881
476
  },
882
- "startTime": {
883
- "type": "google.protobuf.Timestamp",
477
+ "materials": {
478
+ "rule": "repeated",
479
+ "type": "SlsaMaterial",
884
480
  "id": 6
885
- },
886
- "endTime": {
887
- "type": "google.protobuf.Timestamp",
888
- "id": 7
889
- },
890
- "creator": {
891
- "type": "string",
481
+ }
482
+ },
483
+ "nested": {
484
+ "SlsaBuilder": {
485
+ "fields": {
486
+ "id": {
487
+ "type": "string",
488
+ "id": 1
489
+ }
490
+ }
491
+ },
492
+ "SlsaMaterial": {
493
+ "fields": {
494
+ "uri": {
495
+ "type": "string",
496
+ "id": 1
497
+ },
498
+ "digest": {
499
+ "keyType": "string",
500
+ "type": "string",
501
+ "id": 2
502
+ }
503
+ }
504
+ },
505
+ "SlsaInvocation": {
506
+ "fields": {
507
+ "configSource": {
508
+ "type": "SlsaConfigSource",
509
+ "id": 1
510
+ },
511
+ "parameters": {
512
+ "type": "google.protobuf.Struct",
513
+ "id": 2
514
+ },
515
+ "environment": {
516
+ "type": "google.protobuf.Struct",
517
+ "id": 3
518
+ }
519
+ }
520
+ },
521
+ "SlsaConfigSource": {
522
+ "fields": {
523
+ "uri": {
524
+ "type": "string",
525
+ "id": 1
526
+ },
527
+ "digest": {
528
+ "keyType": "string",
529
+ "type": "string",
530
+ "id": 2
531
+ },
532
+ "entryPoint": {
533
+ "type": "string",
534
+ "id": 3
535
+ }
536
+ }
537
+ },
538
+ "SlsaMetadata": {
539
+ "fields": {
540
+ "buildInvocationId": {
541
+ "type": "string",
542
+ "id": 1
543
+ },
544
+ "buildStartedOn": {
545
+ "type": "google.protobuf.Timestamp",
546
+ "id": 2
547
+ },
548
+ "buildFinishedOn": {
549
+ "type": "google.protobuf.Timestamp",
550
+ "id": 3
551
+ },
552
+ "completeness": {
553
+ "type": "SlsaCompleteness",
554
+ "id": 4
555
+ },
556
+ "reproducible": {
557
+ "type": "bool",
558
+ "id": 5
559
+ }
560
+ }
561
+ },
562
+ "SlsaCompleteness": {
563
+ "fields": {
564
+ "parameters": {
565
+ "type": "bool",
566
+ "id": 1
567
+ },
568
+ "environment": {
569
+ "type": "bool",
570
+ "id": 2
571
+ },
572
+ "materials": {
573
+ "type": "bool",
574
+ "id": 3
575
+ }
576
+ }
577
+ }
578
+ }
579
+ },
580
+ "BuildProvenance": {
581
+ "fields": {
582
+ "id": {
583
+ "type": "string",
584
+ "id": 1
585
+ },
586
+ "projectId": {
587
+ "type": "string",
588
+ "id": 2
589
+ },
590
+ "commands": {
591
+ "rule": "repeated",
592
+ "type": "Command",
593
+ "id": 3
594
+ },
595
+ "builtArtifacts": {
596
+ "rule": "repeated",
597
+ "type": "Artifact",
598
+ "id": 4
599
+ },
600
+ "createTime": {
601
+ "type": "google.protobuf.Timestamp",
602
+ "id": 5
603
+ },
604
+ "startTime": {
605
+ "type": "google.protobuf.Timestamp",
606
+ "id": 6
607
+ },
608
+ "endTime": {
609
+ "type": "google.protobuf.Timestamp",
610
+ "id": 7
611
+ },
612
+ "creator": {
613
+ "type": "string",
892
614
  "id": 8
893
615
  },
894
616
  "logsUri": {
@@ -1213,6 +935,10 @@
1213
935
  "type": "string",
1214
936
  "id": 1
1215
937
  },
938
+ "benchmarkDocument": {
939
+ "type": "string",
940
+ "id": 3
941
+ },
1216
942
  "version": {
1217
943
  "type": "string",
1218
944
  "id": 2
@@ -1248,78 +974,282 @@
1248
974
  }
1249
975
  }
1250
976
  },
1251
- "DeploymentNote": {
1252
- "fields": {
1253
- "resourceUri": {
1254
- "rule": "repeated",
1255
- "type": "string",
1256
- "id": 1
1257
- }
1258
- }
1259
- },
1260
- "DeploymentOccurrence": {
977
+ "CVSSv3": {
1261
978
  "fields": {
1262
- "userEmail": {
1263
- "type": "string",
979
+ "baseScore": {
980
+ "type": "float",
1264
981
  "id": 1
1265
982
  },
1266
- "deployTime": {
1267
- "type": "google.protobuf.Timestamp",
983
+ "exploitabilityScore": {
984
+ "type": "float",
1268
985
  "id": 2
1269
986
  },
1270
- "undeployTime": {
1271
- "type": "google.protobuf.Timestamp",
987
+ "impactScore": {
988
+ "type": "float",
1272
989
  "id": 3
1273
990
  },
1274
- "config": {
1275
- "type": "string",
1276
- "id": 4
1277
- },
1278
- "address": {
1279
- "type": "string",
991
+ "attackVector": {
992
+ "type": "AttackVector",
1280
993
  "id": 5
1281
994
  },
1282
- "resourceUri": {
1283
- "rule": "repeated",
1284
- "type": "string",
995
+ "attackComplexity": {
996
+ "type": "AttackComplexity",
1285
997
  "id": 6
1286
998
  },
1287
- "platform": {
1288
- "type": "Platform",
999
+ "privilegesRequired": {
1000
+ "type": "PrivilegesRequired",
1289
1001
  "id": 7
1002
+ },
1003
+ "userInteraction": {
1004
+ "type": "UserInteraction",
1005
+ "id": 8
1006
+ },
1007
+ "scope": {
1008
+ "type": "Scope",
1009
+ "id": 9
1010
+ },
1011
+ "confidentialityImpact": {
1012
+ "type": "Impact",
1013
+ "id": 10
1014
+ },
1015
+ "integrityImpact": {
1016
+ "type": "Impact",
1017
+ "id": 11
1018
+ },
1019
+ "availabilityImpact": {
1020
+ "type": "Impact",
1021
+ "id": 12
1290
1022
  }
1291
1023
  },
1292
1024
  "nested": {
1293
- "Platform": {
1025
+ "AttackVector": {
1294
1026
  "values": {
1295
- "PLATFORM_UNSPECIFIED": 0,
1296
- "GKE": 1,
1297
- "FLEX": 2,
1298
- "CUSTOM": 3
1027
+ "ATTACK_VECTOR_UNSPECIFIED": 0,
1028
+ "ATTACK_VECTOR_NETWORK": 1,
1029
+ "ATTACK_VECTOR_ADJACENT": 2,
1030
+ "ATTACK_VECTOR_LOCAL": 3,
1031
+ "ATTACK_VECTOR_PHYSICAL": 4
1032
+ }
1033
+ },
1034
+ "AttackComplexity": {
1035
+ "values": {
1036
+ "ATTACK_COMPLEXITY_UNSPECIFIED": 0,
1037
+ "ATTACK_COMPLEXITY_LOW": 1,
1038
+ "ATTACK_COMPLEXITY_HIGH": 2
1039
+ }
1040
+ },
1041
+ "PrivilegesRequired": {
1042
+ "values": {
1043
+ "PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
1044
+ "PRIVILEGES_REQUIRED_NONE": 1,
1045
+ "PRIVILEGES_REQUIRED_LOW": 2,
1046
+ "PRIVILEGES_REQUIRED_HIGH": 3
1047
+ }
1048
+ },
1049
+ "UserInteraction": {
1050
+ "values": {
1051
+ "USER_INTERACTION_UNSPECIFIED": 0,
1052
+ "USER_INTERACTION_NONE": 1,
1053
+ "USER_INTERACTION_REQUIRED": 2
1054
+ }
1055
+ },
1056
+ "Scope": {
1057
+ "values": {
1058
+ "SCOPE_UNSPECIFIED": 0,
1059
+ "SCOPE_UNCHANGED": 1,
1060
+ "SCOPE_CHANGED": 2
1061
+ }
1062
+ },
1063
+ "Impact": {
1064
+ "values": {
1065
+ "IMPACT_UNSPECIFIED": 0,
1066
+ "IMPACT_HIGH": 1,
1067
+ "IMPACT_LOW": 2,
1068
+ "IMPACT_NONE": 3
1299
1069
  }
1300
1070
  }
1301
1071
  }
1302
1072
  },
1303
- "DiscoveryNote": {
1304
- "fields": {
1305
- "analysisKind": {
1306
- "type": "grafeas.v1.NoteKind",
1307
- "id": 1
1308
- }
1309
- }
1310
- },
1311
- "DiscoveryOccurrence": {
1073
+ "CVSS": {
1312
1074
  "fields": {
1313
- "continuousAnalysis": {
1314
- "type": "ContinuousAnalysis",
1075
+ "baseScore": {
1076
+ "type": "float",
1315
1077
  "id": 1
1316
1078
  },
1317
- "analysisStatus": {
1318
- "type": "AnalysisStatus",
1079
+ "exploitabilityScore": {
1080
+ "type": "float",
1319
1081
  "id": 2
1320
1082
  },
1321
- "analysisStatusError": {
1322
- "type": "google.rpc.Status",
1083
+ "impactScore": {
1084
+ "type": "float",
1085
+ "id": 3
1086
+ },
1087
+ "attackVector": {
1088
+ "type": "AttackVector",
1089
+ "id": 4
1090
+ },
1091
+ "attackComplexity": {
1092
+ "type": "AttackComplexity",
1093
+ "id": 5
1094
+ },
1095
+ "authentication": {
1096
+ "type": "Authentication",
1097
+ "id": 6
1098
+ },
1099
+ "privilegesRequired": {
1100
+ "type": "PrivilegesRequired",
1101
+ "id": 7
1102
+ },
1103
+ "userInteraction": {
1104
+ "type": "UserInteraction",
1105
+ "id": 8
1106
+ },
1107
+ "scope": {
1108
+ "type": "Scope",
1109
+ "id": 9
1110
+ },
1111
+ "confidentialityImpact": {
1112
+ "type": "Impact",
1113
+ "id": 10
1114
+ },
1115
+ "integrityImpact": {
1116
+ "type": "Impact",
1117
+ "id": 11
1118
+ },
1119
+ "availabilityImpact": {
1120
+ "type": "Impact",
1121
+ "id": 12
1122
+ }
1123
+ },
1124
+ "nested": {
1125
+ "AttackVector": {
1126
+ "values": {
1127
+ "ATTACK_VECTOR_UNSPECIFIED": 0,
1128
+ "ATTACK_VECTOR_NETWORK": 1,
1129
+ "ATTACK_VECTOR_ADJACENT": 2,
1130
+ "ATTACK_VECTOR_LOCAL": 3,
1131
+ "ATTACK_VECTOR_PHYSICAL": 4
1132
+ }
1133
+ },
1134
+ "AttackComplexity": {
1135
+ "values": {
1136
+ "ATTACK_COMPLEXITY_UNSPECIFIED": 0,
1137
+ "ATTACK_COMPLEXITY_LOW": 1,
1138
+ "ATTACK_COMPLEXITY_HIGH": 2
1139
+ }
1140
+ },
1141
+ "Authentication": {
1142
+ "values": {
1143
+ "AUTHENTICATION_UNSPECIFIED": 0,
1144
+ "AUTHENTICATION_MULTIPLE": 1,
1145
+ "AUTHENTICATION_SINGLE": 2,
1146
+ "AUTHENTICATION_NONE": 3
1147
+ }
1148
+ },
1149
+ "PrivilegesRequired": {
1150
+ "values": {
1151
+ "PRIVILEGES_REQUIRED_UNSPECIFIED": 0,
1152
+ "PRIVILEGES_REQUIRED_NONE": 1,
1153
+ "PRIVILEGES_REQUIRED_LOW": 2,
1154
+ "PRIVILEGES_REQUIRED_HIGH": 3
1155
+ }
1156
+ },
1157
+ "UserInteraction": {
1158
+ "values": {
1159
+ "USER_INTERACTION_UNSPECIFIED": 0,
1160
+ "USER_INTERACTION_NONE": 1,
1161
+ "USER_INTERACTION_REQUIRED": 2
1162
+ }
1163
+ },
1164
+ "Scope": {
1165
+ "values": {
1166
+ "SCOPE_UNSPECIFIED": 0,
1167
+ "SCOPE_UNCHANGED": 1,
1168
+ "SCOPE_CHANGED": 2
1169
+ }
1170
+ },
1171
+ "Impact": {
1172
+ "values": {
1173
+ "IMPACT_UNSPECIFIED": 0,
1174
+ "IMPACT_HIGH": 1,
1175
+ "IMPACT_LOW": 2,
1176
+ "IMPACT_NONE": 3
1177
+ }
1178
+ }
1179
+ }
1180
+ },
1181
+ "DeploymentNote": {
1182
+ "fields": {
1183
+ "resourceUri": {
1184
+ "rule": "repeated",
1185
+ "type": "string",
1186
+ "id": 1
1187
+ }
1188
+ }
1189
+ },
1190
+ "DeploymentOccurrence": {
1191
+ "fields": {
1192
+ "userEmail": {
1193
+ "type": "string",
1194
+ "id": 1
1195
+ },
1196
+ "deployTime": {
1197
+ "type": "google.protobuf.Timestamp",
1198
+ "id": 2
1199
+ },
1200
+ "undeployTime": {
1201
+ "type": "google.protobuf.Timestamp",
1202
+ "id": 3
1203
+ },
1204
+ "config": {
1205
+ "type": "string",
1206
+ "id": 4
1207
+ },
1208
+ "address": {
1209
+ "type": "string",
1210
+ "id": 5
1211
+ },
1212
+ "resourceUri": {
1213
+ "rule": "repeated",
1214
+ "type": "string",
1215
+ "id": 6
1216
+ },
1217
+ "platform": {
1218
+ "type": "Platform",
1219
+ "id": 7
1220
+ }
1221
+ },
1222
+ "nested": {
1223
+ "Platform": {
1224
+ "values": {
1225
+ "PLATFORM_UNSPECIFIED": 0,
1226
+ "GKE": 1,
1227
+ "FLEX": 2,
1228
+ "CUSTOM": 3
1229
+ }
1230
+ }
1231
+ }
1232
+ },
1233
+ "DiscoveryNote": {
1234
+ "fields": {
1235
+ "analysisKind": {
1236
+ "type": "grafeas.v1.NoteKind",
1237
+ "id": 1
1238
+ }
1239
+ }
1240
+ },
1241
+ "DiscoveryOccurrence": {
1242
+ "fields": {
1243
+ "continuousAnalysis": {
1244
+ "type": "ContinuousAnalysis",
1245
+ "id": 1
1246
+ },
1247
+ "analysisStatus": {
1248
+ "type": "AnalysisStatus",
1249
+ "id": 2
1250
+ },
1251
+ "analysisStatusError": {
1252
+ "type": "google.rpc.Status",
1323
1253
  "id": 3
1324
1254
  },
1325
1255
  "cpe": {
@@ -1329,6 +1259,13 @@
1329
1259
  "lastScanTime": {
1330
1260
  "type": "google.protobuf.Timestamp",
1331
1261
  "id": 5
1262
+ },
1263
+ "archiveTime": {
1264
+ "type": "google.protobuf.Timestamp",
1265
+ "id": 6,
1266
+ "options": {
1267
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
1268
+ }
1332
1269
  }
1333
1270
  },
1334
1271
  "nested": {
@@ -2239,127 +2176,543 @@
2239
2176
  }
2240
2177
  }
2241
2178
  },
2242
- "UpgradeNote": {
2179
+ "Architecture": {
2180
+ "values": {
2181
+ "ARCHITECTURE_UNSPECIFIED": 0,
2182
+ "X86": 1,
2183
+ "X64": 2
2184
+ }
2185
+ },
2186
+ "Distribution": {
2243
2187
  "fields": {
2244
- "package": {
2188
+ "cpeUri": {
2189
+ "type": "string",
2190
+ "id": 1,
2191
+ "options": {
2192
+ "(google.api.field_behavior)": "REQUIRED"
2193
+ }
2194
+ },
2195
+ "architecture": {
2196
+ "type": "Architecture",
2197
+ "id": 2
2198
+ },
2199
+ "latestVersion": {
2200
+ "type": "Version",
2201
+ "id": 3
2202
+ },
2203
+ "maintainer": {
2204
+ "type": "string",
2205
+ "id": 4
2206
+ },
2207
+ "url": {
2208
+ "type": "string",
2209
+ "id": 5
2210
+ },
2211
+ "description": {
2212
+ "type": "string",
2213
+ "id": 6
2214
+ }
2215
+ }
2216
+ },
2217
+ "Location": {
2218
+ "fields": {
2219
+ "cpeUri": {
2245
2220
  "type": "string",
2246
2221
  "id": 1
2247
2222
  },
2248
2223
  "version": {
2249
- "type": "grafeas.v1.Version",
2224
+ "type": "Version",
2250
2225
  "id": 2
2251
2226
  },
2252
- "distributions": {
2253
- "rule": "repeated",
2254
- "type": "UpgradeDistribution",
2227
+ "path": {
2228
+ "type": "string",
2255
2229
  "id": 3
2230
+ }
2231
+ }
2232
+ },
2233
+ "PackageNote": {
2234
+ "fields": {
2235
+ "name": {
2236
+ "type": "string",
2237
+ "id": 1,
2238
+ "options": {
2239
+ "(google.api.field_behavior)": "IMMUTABLE"
2240
+ }
2256
2241
  },
2257
- "windowsUpdate": {
2258
- "type": "WindowsUpdate",
2259
- "id": 4
2242
+ "distribution": {
2243
+ "rule": "repeated",
2244
+ "type": "Distribution",
2245
+ "id": 10
2246
+ },
2247
+ "packageType": {
2248
+ "type": "string",
2249
+ "id": 11
2250
+ },
2251
+ "cpeUri": {
2252
+ "type": "string",
2253
+ "id": 12
2254
+ },
2255
+ "architecture": {
2256
+ "type": "Architecture",
2257
+ "id": 13
2258
+ },
2259
+ "version": {
2260
+ "type": "Version",
2261
+ "id": 14
2262
+ },
2263
+ "maintainer": {
2264
+ "type": "string",
2265
+ "id": 15
2266
+ },
2267
+ "url": {
2268
+ "type": "string",
2269
+ "id": 16
2270
+ },
2271
+ "description": {
2272
+ "type": "string",
2273
+ "id": 17
2274
+ },
2275
+ "license": {
2276
+ "type": "License",
2277
+ "id": 18
2278
+ },
2279
+ "digest": {
2280
+ "rule": "repeated",
2281
+ "type": "Digest",
2282
+ "id": 19
2283
+ }
2284
+ }
2285
+ },
2286
+ "PackageOccurrence": {
2287
+ "fields": {
2288
+ "name": {
2289
+ "type": "string",
2290
+ "id": 1,
2291
+ "options": {
2292
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2293
+ }
2294
+ },
2295
+ "location": {
2296
+ "rule": "repeated",
2297
+ "type": "Location",
2298
+ "id": 2
2299
+ },
2300
+ "packageType": {
2301
+ "type": "string",
2302
+ "id": 3,
2303
+ "options": {
2304
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2305
+ }
2306
+ },
2307
+ "cpeUri": {
2308
+ "type": "string",
2309
+ "id": 4,
2310
+ "options": {
2311
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2312
+ }
2313
+ },
2314
+ "architecture": {
2315
+ "type": "Architecture",
2316
+ "id": 5,
2317
+ "options": {
2318
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2319
+ }
2320
+ },
2321
+ "license": {
2322
+ "type": "License",
2323
+ "id": 6
2324
+ },
2325
+ "version": {
2326
+ "type": "Version",
2327
+ "id": 7,
2328
+ "options": {
2329
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2330
+ }
2331
+ }
2332
+ }
2333
+ },
2334
+ "Version": {
2335
+ "fields": {
2336
+ "epoch": {
2337
+ "type": "int32",
2338
+ "id": 1
2339
+ },
2340
+ "name": {
2341
+ "type": "string",
2342
+ "id": 2
2343
+ },
2344
+ "revision": {
2345
+ "type": "string",
2346
+ "id": 3
2347
+ },
2348
+ "inclusive": {
2349
+ "type": "bool",
2350
+ "id": 6
2351
+ },
2352
+ "kind": {
2353
+ "type": "VersionKind",
2354
+ "id": 4
2355
+ },
2356
+ "fullName": {
2357
+ "type": "string",
2358
+ "id": 5
2359
+ }
2360
+ },
2361
+ "nested": {
2362
+ "VersionKind": {
2363
+ "values": {
2364
+ "VERSION_KIND_UNSPECIFIED": 0,
2365
+ "NORMAL": 1,
2366
+ "MINIMUM": 2,
2367
+ "MAXIMUM": 3
2368
+ }
2369
+ }
2370
+ }
2371
+ },
2372
+ "UpgradeNote": {
2373
+ "fields": {
2374
+ "package": {
2375
+ "type": "string",
2376
+ "id": 1
2377
+ },
2378
+ "version": {
2379
+ "type": "grafeas.v1.Version",
2380
+ "id": 2
2381
+ },
2382
+ "distributions": {
2383
+ "rule": "repeated",
2384
+ "type": "UpgradeDistribution",
2385
+ "id": 3
2386
+ },
2387
+ "windowsUpdate": {
2388
+ "type": "WindowsUpdate",
2389
+ "id": 4
2390
+ }
2391
+ }
2392
+ },
2393
+ "UpgradeDistribution": {
2394
+ "fields": {
2395
+ "cpeUri": {
2396
+ "type": "string",
2397
+ "id": 1
2398
+ },
2399
+ "classification": {
2400
+ "type": "string",
2401
+ "id": 2
2402
+ },
2403
+ "severity": {
2404
+ "type": "string",
2405
+ "id": 3
2406
+ },
2407
+ "cve": {
2408
+ "rule": "repeated",
2409
+ "type": "string",
2410
+ "id": 4
2411
+ }
2412
+ }
2413
+ },
2414
+ "WindowsUpdate": {
2415
+ "fields": {
2416
+ "identity": {
2417
+ "type": "Identity",
2418
+ "id": 1
2419
+ },
2420
+ "title": {
2421
+ "type": "string",
2422
+ "id": 2
2423
+ },
2424
+ "description": {
2425
+ "type": "string",
2426
+ "id": 3
2427
+ },
2428
+ "categories": {
2429
+ "rule": "repeated",
2430
+ "type": "Category",
2431
+ "id": 4
2432
+ },
2433
+ "kbArticleIds": {
2434
+ "rule": "repeated",
2435
+ "type": "string",
2436
+ "id": 5
2437
+ },
2438
+ "supportUrl": {
2439
+ "type": "string",
2440
+ "id": 6
2441
+ },
2442
+ "lastPublishedTimestamp": {
2443
+ "type": "google.protobuf.Timestamp",
2444
+ "id": 7
2445
+ }
2446
+ },
2447
+ "nested": {
2448
+ "Identity": {
2449
+ "fields": {
2450
+ "updateId": {
2451
+ "type": "string",
2452
+ "id": 1
2453
+ },
2454
+ "revision": {
2455
+ "type": "int32",
2456
+ "id": 2
2457
+ }
2458
+ }
2459
+ },
2460
+ "Category": {
2461
+ "fields": {
2462
+ "categoryId": {
2463
+ "type": "string",
2464
+ "id": 1
2465
+ },
2466
+ "name": {
2467
+ "type": "string",
2468
+ "id": 2
2469
+ }
2470
+ }
2471
+ }
2472
+ }
2473
+ },
2474
+ "UpgradeOccurrence": {
2475
+ "fields": {
2476
+ "package": {
2477
+ "type": "string",
2478
+ "id": 1
2479
+ },
2480
+ "parsedVersion": {
2481
+ "type": "grafeas.v1.Version",
2482
+ "id": 3
2483
+ },
2484
+ "distribution": {
2485
+ "type": "UpgradeDistribution",
2486
+ "id": 4
2487
+ },
2488
+ "windowsUpdate": {
2489
+ "type": "WindowsUpdate",
2490
+ "id": 5
2491
+ }
2492
+ }
2493
+ },
2494
+ "VulnerabilityNote": {
2495
+ "fields": {
2496
+ "cvssScore": {
2497
+ "type": "float",
2498
+ "id": 1
2499
+ },
2500
+ "severity": {
2501
+ "type": "grafeas.v1.Severity",
2502
+ "id": 2
2503
+ },
2504
+ "details": {
2505
+ "rule": "repeated",
2506
+ "type": "Detail",
2507
+ "id": 3
2508
+ },
2509
+ "cvssV3": {
2510
+ "type": "CVSSv3",
2511
+ "id": 4
2512
+ },
2513
+ "windowsDetails": {
2514
+ "rule": "repeated",
2515
+ "type": "WindowsDetail",
2516
+ "id": 5
2517
+ },
2518
+ "sourceUpdateTime": {
2519
+ "type": "google.protobuf.Timestamp",
2520
+ "id": 6
2521
+ }
2522
+ },
2523
+ "nested": {
2524
+ "Detail": {
2525
+ "fields": {
2526
+ "severityName": {
2527
+ "type": "string",
2528
+ "id": 1
2529
+ },
2530
+ "description": {
2531
+ "type": "string",
2532
+ "id": 2
2533
+ },
2534
+ "packageType": {
2535
+ "type": "string",
2536
+ "id": 3
2537
+ },
2538
+ "affectedCpeUri": {
2539
+ "type": "string",
2540
+ "id": 4
2541
+ },
2542
+ "affectedPackage": {
2543
+ "type": "string",
2544
+ "id": 5
2545
+ },
2546
+ "affectedVersionStart": {
2547
+ "type": "grafeas.v1.Version",
2548
+ "id": 6
2549
+ },
2550
+ "affectedVersionEnd": {
2551
+ "type": "grafeas.v1.Version",
2552
+ "id": 7
2553
+ },
2554
+ "fixedCpeUri": {
2555
+ "type": "string",
2556
+ "id": 8
2557
+ },
2558
+ "fixedPackage": {
2559
+ "type": "string",
2560
+ "id": 9
2561
+ },
2562
+ "fixedVersion": {
2563
+ "type": "grafeas.v1.Version",
2564
+ "id": 10
2565
+ },
2566
+ "isObsolete": {
2567
+ "type": "bool",
2568
+ "id": 11
2569
+ },
2570
+ "sourceUpdateTime": {
2571
+ "type": "google.protobuf.Timestamp",
2572
+ "id": 12
2573
+ },
2574
+ "source": {
2575
+ "type": "string",
2576
+ "id": 13
2577
+ },
2578
+ "vendor": {
2579
+ "type": "string",
2580
+ "id": 14
2581
+ }
2582
+ }
2583
+ },
2584
+ "WindowsDetail": {
2585
+ "fields": {
2586
+ "cpeUri": {
2587
+ "type": "string",
2588
+ "id": 1
2589
+ },
2590
+ "name": {
2591
+ "type": "string",
2592
+ "id": 2
2593
+ },
2594
+ "description": {
2595
+ "type": "string",
2596
+ "id": 3
2597
+ },
2598
+ "fixingKbs": {
2599
+ "rule": "repeated",
2600
+ "type": "KnowledgeBase",
2601
+ "id": 4
2602
+ }
2603
+ },
2604
+ "nested": {
2605
+ "KnowledgeBase": {
2606
+ "fields": {
2607
+ "name": {
2608
+ "type": "string",
2609
+ "id": 1
2610
+ },
2611
+ "url": {
2612
+ "type": "string",
2613
+ "id": 2
2614
+ }
2615
+ }
2616
+ }
2617
+ }
2260
2618
  }
2261
2619
  }
2262
2620
  },
2263
- "UpgradeDistribution": {
2621
+ "VulnerabilityOccurrence": {
2264
2622
  "fields": {
2265
- "cpeUri": {
2623
+ "type": {
2266
2624
  "type": "string",
2267
2625
  "id": 1
2268
2626
  },
2269
- "classification": {
2270
- "type": "string",
2271
- "id": 2
2272
- },
2273
2627
  "severity": {
2274
- "type": "string",
2275
- "id": 3
2276
- },
2277
- "cve": {
2278
- "rule": "repeated",
2279
- "type": "string",
2280
- "id": 4
2281
- }
2282
- }
2283
- },
2284
- "WindowsUpdate": {
2285
- "fields": {
2286
- "identity": {
2287
- "type": "Identity",
2288
- "id": 1
2289
- },
2290
- "title": {
2291
- "type": "string",
2628
+ "type": "grafeas.v1.Severity",
2292
2629
  "id": 2
2293
2630
  },
2294
- "description": {
2295
- "type": "string",
2631
+ "cvssScore": {
2632
+ "type": "float",
2296
2633
  "id": 3
2297
2634
  },
2298
- "categories": {
2635
+ "cvssv3": {
2636
+ "type": "CVSS",
2637
+ "id": 10
2638
+ },
2639
+ "packageIssue": {
2299
2640
  "rule": "repeated",
2300
- "type": "Category",
2641
+ "type": "PackageIssue",
2301
2642
  "id": 4
2302
2643
  },
2303
- "kbArticleIds": {
2304
- "rule": "repeated",
2644
+ "shortDescription": {
2305
2645
  "type": "string",
2306
2646
  "id": 5
2307
2647
  },
2308
- "supportUrl": {
2648
+ "longDescription": {
2309
2649
  "type": "string",
2310
2650
  "id": 6
2311
2651
  },
2312
- "lastPublishedTimestamp": {
2313
- "type": "google.protobuf.Timestamp",
2652
+ "relatedUrls": {
2653
+ "rule": "repeated",
2654
+ "type": "grafeas.v1.RelatedUrl",
2314
2655
  "id": 7
2656
+ },
2657
+ "effectiveSeverity": {
2658
+ "type": "grafeas.v1.Severity",
2659
+ "id": 8
2660
+ },
2661
+ "fixAvailable": {
2662
+ "type": "bool",
2663
+ "id": 9
2315
2664
  }
2316
2665
  },
2317
2666
  "nested": {
2318
- "Identity": {
2667
+ "PackageIssue": {
2319
2668
  "fields": {
2320
- "updateId": {
2669
+ "affectedCpeUri": {
2321
2670
  "type": "string",
2322
2671
  "id": 1
2323
2672
  },
2324
- "revision": {
2325
- "type": "int32",
2673
+ "affectedPackage": {
2674
+ "type": "string",
2326
2675
  "id": 2
2327
- }
2328
- }
2329
- },
2330
- "Category": {
2331
- "fields": {
2332
- "categoryId": {
2676
+ },
2677
+ "affectedVersion": {
2678
+ "type": "grafeas.v1.Version",
2679
+ "id": 3
2680
+ },
2681
+ "fixedCpeUri": {
2333
2682
  "type": "string",
2334
- "id": 1
2683
+ "id": 4
2335
2684
  },
2336
- "name": {
2685
+ "fixedPackage": {
2337
2686
  "type": "string",
2338
- "id": 2
2687
+ "id": 5
2688
+ },
2689
+ "fixedVersion": {
2690
+ "type": "grafeas.v1.Version",
2691
+ "id": 6
2692
+ },
2693
+ "fixAvailable": {
2694
+ "type": "bool",
2695
+ "id": 7
2696
+ },
2697
+ "packageType": {
2698
+ "type": "string",
2699
+ "id": 8
2700
+ },
2701
+ "effectiveSeverity": {
2702
+ "type": "grafeas.v1.Severity",
2703
+ "id": 9,
2704
+ "options": {
2705
+ "(google.api.field_behavior)": "OUTPUT_ONLY"
2706
+ }
2707
+ },
2708
+ "fileLocation": {
2709
+ "rule": "repeated",
2710
+ "type": "FileLocation",
2711
+ "id": 10
2339
2712
  }
2340
2713
  }
2341
2714
  }
2342
2715
  }
2343
- },
2344
- "UpgradeOccurrence": {
2345
- "fields": {
2346
- "package": {
2347
- "type": "string",
2348
- "id": 1
2349
- },
2350
- "parsedVersion": {
2351
- "type": "grafeas.v1.Version",
2352
- "id": 3
2353
- },
2354
- "distribution": {
2355
- "type": "UpgradeDistribution",
2356
- "id": 4
2357
- },
2358
- "windowsUpdate": {
2359
- "type": "WindowsUpdate",
2360
- "id": 5
2361
- }
2362
- }
2363
2716
  }
2364
2717
  }
2365
2718
  },
@@ -4388,8 +4741,8 @@
4388
4741
  "type": "string",
4389
4742
  "id": 1,
4390
4743
  "options": {
4391
- "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project",
4392
- "(google.api.field_behavior)": "REQUIRED"
4744
+ "(google.api.field_behavior)": "REQUIRED",
4745
+ "(google.api.resource_reference).type": "cloudresourcemanager.googleapis.com/Project"
4393
4746
  }
4394
4747
  },
4395
4748
  "filter": {
@@ -5506,6 +5859,13 @@
5506
5859
  "default": false
5507
5860
  }
5508
5861
  },
5862
+ "unverifiedLazy": {
5863
+ "type": "bool",
5864
+ "id": 15,
5865
+ "options": {
5866
+ "default": false
5867
+ }
5868
+ },
5509
5869
  "deprecated": {
5510
5870
  "type": "bool",
5511
5871
  "id": 3,
@@ -5803,6 +6163,27 @@
5803
6163
  }
5804
6164
  }
5805
6165
  },
6166
+ "FieldMask": {
6167
+ "fields": {
6168
+ "paths": {
6169
+ "rule": "repeated",
6170
+ "type": "string",
6171
+ "id": 1
6172
+ }
6173
+ }
6174
+ },
6175
+ "Any": {
6176
+ "fields": {
6177
+ "type_url": {
6178
+ "type": "string",
6179
+ "id": 1
6180
+ },
6181
+ "value": {
6182
+ "type": "bytes",
6183
+ "id": 2
6184
+ }
6185
+ }
6186
+ },
5806
6187
  "Timestamp": {
5807
6188
  "fields": {
5808
6189
  "seconds": {
@@ -5815,29 +6196,71 @@
5815
6196
  }
5816
6197
  }
5817
6198
  },
5818
- "Any": {
6199
+ "Struct": {
5819
6200
  "fields": {
5820
- "type_url": {
5821
- "type": "string",
6201
+ "fields": {
6202
+ "keyType": "string",
6203
+ "type": "Value",
6204
+ "id": 1
6205
+ }
6206
+ }
6207
+ },
6208
+ "Value": {
6209
+ "oneofs": {
6210
+ "kind": {
6211
+ "oneof": [
6212
+ "nullValue",
6213
+ "numberValue",
6214
+ "stringValue",
6215
+ "boolValue",
6216
+ "structValue",
6217
+ "listValue"
6218
+ ]
6219
+ }
6220
+ },
6221
+ "fields": {
6222
+ "nullValue": {
6223
+ "type": "NullValue",
5822
6224
  "id": 1
5823
6225
  },
5824
- "value": {
5825
- "type": "bytes",
6226
+ "numberValue": {
6227
+ "type": "double",
5826
6228
  "id": 2
6229
+ },
6230
+ "stringValue": {
6231
+ "type": "string",
6232
+ "id": 3
6233
+ },
6234
+ "boolValue": {
6235
+ "type": "bool",
6236
+ "id": 4
6237
+ },
6238
+ "structValue": {
6239
+ "type": "Struct",
6240
+ "id": 5
6241
+ },
6242
+ "listValue": {
6243
+ "type": "ListValue",
6244
+ "id": 6
5827
6245
  }
5828
6246
  }
5829
6247
  },
5830
- "Empty": {
5831
- "fields": {}
6248
+ "NullValue": {
6249
+ "values": {
6250
+ "NULL_VALUE": 0
6251
+ }
5832
6252
  },
5833
- "FieldMask": {
6253
+ "ListValue": {
5834
6254
  "fields": {
5835
- "paths": {
6255
+ "values": {
5836
6256
  "rule": "repeated",
5837
- "type": "string",
6257
+ "type": "Value",
5838
6258
  "id": 1
5839
6259
  }
5840
6260
  }
6261
+ },
6262
+ "Empty": {
6263
+ "fields": {}
5841
6264
  }
5842
6265
  }
5843
6266
  },
@@ -5925,6 +6348,10 @@
5925
6348
  "options": {
5926
6349
  "(google.api.field_behavior)": "REQUIRED"
5927
6350
  }
6351
+ },
6352
+ "updateMask": {
6353
+ "type": "google.protobuf.FieldMask",
6354
+ "id": 3
5928
6355
  }
5929
6356
  }
5930
6357
  },
@@ -5992,6 +6419,11 @@
5992
6419
  "type": "Binding",
5993
6420
  "id": 4
5994
6421
  },
6422
+ "auditConfigs": {
6423
+ "rule": "repeated",
6424
+ "type": "AuditConfig",
6425
+ "id": 6
6426
+ },
5995
6427
  "etag": {
5996
6428
  "type": "bytes",
5997
6429
  "id": 3
@@ -6015,6 +6447,42 @@
6015
6447
  }
6016
6448
  }
6017
6449
  },
6450
+ "AuditConfig": {
6451
+ "fields": {
6452
+ "service": {
6453
+ "type": "string",
6454
+ "id": 1
6455
+ },
6456
+ "auditLogConfigs": {
6457
+ "rule": "repeated",
6458
+ "type": "AuditLogConfig",
6459
+ "id": 3
6460
+ }
6461
+ }
6462
+ },
6463
+ "AuditLogConfig": {
6464
+ "fields": {
6465
+ "logType": {
6466
+ "type": "LogType",
6467
+ "id": 1
6468
+ },
6469
+ "exemptedMembers": {
6470
+ "rule": "repeated",
6471
+ "type": "string",
6472
+ "id": 2
6473
+ }
6474
+ },
6475
+ "nested": {
6476
+ "LogType": {
6477
+ "values": {
6478
+ "LOG_TYPE_UNSPECIFIED": 0,
6479
+ "ADMIN_READ": 1,
6480
+ "DATA_WRITE": 2,
6481
+ "DATA_READ": 3
6482
+ }
6483
+ }
6484
+ }
6485
+ },
6018
6486
  "PolicyDelta": {
6019
6487
  "fields": {
6020
6488
  "bindingDeltas": {