@google-cloud/containeranalysis 3.1.6 → 3.3.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.
@@ -101,6 +101,14 @@
101
101
  "sourceUpdateTime": {
102
102
  "type": "google.protobuf.Timestamp",
103
103
  "id": 12
104
+ },
105
+ "source": {
106
+ "type": "string",
107
+ "id": 13
108
+ },
109
+ "vendor": {
110
+ "type": "string",
111
+ "id": 14
104
112
  }
105
113
  }
106
114
  },
@@ -155,6 +163,10 @@
155
163
  "type": "float",
156
164
  "id": 3
157
165
  },
166
+ "cvssv3": {
167
+ "type": "CVSSV3",
168
+ "id": 10
169
+ },
158
170
  "packageIssue": {
159
171
  "rule": "repeated",
160
172
  "type": "PackageIssue",
@@ -183,6 +195,18 @@
183
195
  }
184
196
  },
185
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
+ },
186
210
  "PackageIssue": {
187
211
  "fields": {
188
212
  "affectedCpeUri": {
@@ -212,6 +236,17 @@
212
236
  "fixAvailable": {
213
237
  "type": "bool",
214
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
+ }
215
250
  }
216
251
  }
217
252
  }
@@ -227,7 +262,9 @@
227
262
  "DEPLOYMENT": 5,
228
263
  "DISCOVERY": 6,
229
264
  "ATTESTATION": 7,
230
- "UPGRADE": 8
265
+ "UPGRADE": 8,
266
+ "COMPLIANCE": 9,
267
+ "DSSE_ATTESTATION": 10
231
268
  }
232
269
  },
233
270
  "RelatedUrl": {
@@ -254,6 +291,35 @@
254
291
  }
255
292
  }
256
293
  },
294
+ "Envelope": {
295
+ "fields": {
296
+ "payload": {
297
+ "type": "bytes",
298
+ "id": 1
299
+ },
300
+ "payloadType": {
301
+ "type": "string",
302
+ "id": 2
303
+ },
304
+ "signatures": {
305
+ "rule": "repeated",
306
+ "type": "EnvelopeSignature",
307
+ "id": 3
308
+ }
309
+ }
310
+ },
311
+ "EnvelopeSignature": {
312
+ "fields": {
313
+ "sig": {
314
+ "type": "bytes",
315
+ "id": 1
316
+ },
317
+ "keyid": {
318
+ "type": "string",
319
+ "id": 2
320
+ }
321
+ }
322
+ },
257
323
  "CVSSv3": {
258
324
  "fields": {
259
325
  "baseScore": {
@@ -441,6 +507,10 @@
441
507
  "type": "string",
442
508
  "id": 3
443
509
  },
510
+ "inclusive": {
511
+ "type": "bool",
512
+ "id": 6
513
+ },
444
514
  "kind": {
445
515
  "type": "VersionKind",
446
516
  "id": 4
@@ -479,6 +549,14 @@
479
549
  }
480
550
  }
481
551
  },
552
+ "Jwt": {
553
+ "fields": {
554
+ "compactJwt": {
555
+ "type": "string",
556
+ "id": 1
557
+ }
558
+ }
559
+ },
482
560
  "AttestationOccurrence": {
483
561
  "fields": {
484
562
  "serializedPayload": {
@@ -489,6 +567,11 @@
489
567
  "rule": "repeated",
490
568
  "type": "Signature",
491
569
  "id": 2
570
+ },
571
+ "jwts": {
572
+ "rule": "repeated",
573
+ "type": "Jwt",
574
+ "id": 3
492
575
  }
493
576
  }
494
577
  },
@@ -509,6 +592,266 @@
509
592
  "provenanceBytes": {
510
593
  "type": "string",
511
594
  "id": 2
595
+ },
596
+ "intotoProvenance": {
597
+ "type": "InTotoProvenance",
598
+ "id": 3
599
+ },
600
+ "intotoStatement": {
601
+ "type": "InTotoStatement",
602
+ "id": 4
603
+ }
604
+ }
605
+ },
606
+ "Recipe": {
607
+ "fields": {
608
+ "type": {
609
+ "type": "string",
610
+ "id": 1
611
+ },
612
+ "definedInMaterial": {
613
+ "type": "int64",
614
+ "id": 2
615
+ },
616
+ "entryPoint": {
617
+ "type": "string",
618
+ "id": 3
619
+ },
620
+ "arguments": {
621
+ "rule": "repeated",
622
+ "type": "google.protobuf.Any",
623
+ "id": 4
624
+ },
625
+ "environment": {
626
+ "rule": "repeated",
627
+ "type": "google.protobuf.Any",
628
+ "id": 5
629
+ }
630
+ }
631
+ },
632
+ "Completeness": {
633
+ "fields": {
634
+ "arguments": {
635
+ "type": "bool",
636
+ "id": 1
637
+ },
638
+ "environment": {
639
+ "type": "bool",
640
+ "id": 2
641
+ },
642
+ "materials": {
643
+ "type": "bool",
644
+ "id": 3
645
+ }
646
+ }
647
+ },
648
+ "Metadata": {
649
+ "fields": {
650
+ "buildInvocationId": {
651
+ "type": "string",
652
+ "id": 1
653
+ },
654
+ "buildStartedOn": {
655
+ "type": "google.protobuf.Timestamp",
656
+ "id": 2
657
+ },
658
+ "buildFinishedOn": {
659
+ "type": "google.protobuf.Timestamp",
660
+ "id": 3
661
+ },
662
+ "completeness": {
663
+ "type": "Completeness",
664
+ "id": 4
665
+ },
666
+ "reproducible": {
667
+ "type": "bool",
668
+ "id": 5
669
+ }
670
+ }
671
+ },
672
+ "BuilderConfig": {
673
+ "fields": {
674
+ "id": {
675
+ "type": "string",
676
+ "id": 1
677
+ }
678
+ }
679
+ },
680
+ "InTotoProvenance": {
681
+ "fields": {
682
+ "builderConfig": {
683
+ "type": "BuilderConfig",
684
+ "id": 1
685
+ },
686
+ "recipe": {
687
+ "type": "Recipe",
688
+ "id": 2
689
+ },
690
+ "metadata": {
691
+ "type": "Metadata",
692
+ "id": 3
693
+ },
694
+ "materials": {
695
+ "rule": "repeated",
696
+ "type": "string",
697
+ "id": 4
698
+ }
699
+ }
700
+ },
701
+ "InTotoStatement": {
702
+ "oneofs": {
703
+ "predicate": {
704
+ "oneof": [
705
+ "provenance",
706
+ "slsaProvenance"
707
+ ]
708
+ }
709
+ },
710
+ "fields": {
711
+ "type": {
712
+ "type": "string",
713
+ "id": 1,
714
+ "options": {
715
+ "json_name": "_type"
716
+ }
717
+ },
718
+ "subject": {
719
+ "rule": "repeated",
720
+ "type": "Subject",
721
+ "id": 2
722
+ },
723
+ "predicateType": {
724
+ "type": "string",
725
+ "id": 3
726
+ },
727
+ "provenance": {
728
+ "type": "InTotoProvenance",
729
+ "id": 4
730
+ },
731
+ "slsaProvenance": {
732
+ "type": "SlsaProvenance",
733
+ "id": 5
734
+ }
735
+ }
736
+ },
737
+ "Subject": {
738
+ "fields": {
739
+ "name": {
740
+ "type": "string",
741
+ "id": 1
742
+ },
743
+ "digest": {
744
+ "keyType": "string",
745
+ "type": "string",
746
+ "id": 2
747
+ }
748
+ }
749
+ },
750
+ "SlsaProvenance": {
751
+ "fields": {
752
+ "builder": {
753
+ "type": "SlsaBuilder",
754
+ "id": 1
755
+ },
756
+ "recipe": {
757
+ "type": "SlsaRecipe",
758
+ "id": 2
759
+ },
760
+ "metadata": {
761
+ "type": "SlsaMetadata",
762
+ "id": 3
763
+ },
764
+ "materials": {
765
+ "rule": "repeated",
766
+ "type": "Material",
767
+ "id": 4
768
+ }
769
+ },
770
+ "nested": {
771
+ "SlsaRecipe": {
772
+ "fields": {
773
+ "type": {
774
+ "type": "string",
775
+ "id": 1
776
+ },
777
+ "definedInMaterial": {
778
+ "type": "int64",
779
+ "id": 2
780
+ },
781
+ "entryPoint": {
782
+ "type": "string",
783
+ "id": 3
784
+ },
785
+ "arguments": {
786
+ "type": "google.protobuf.Any",
787
+ "id": 4
788
+ },
789
+ "environment": {
790
+ "type": "google.protobuf.Any",
791
+ "id": 5
792
+ }
793
+ }
794
+ },
795
+ "SlsaCompleteness": {
796
+ "fields": {
797
+ "arguments": {
798
+ "type": "bool",
799
+ "id": 1
800
+ },
801
+ "environment": {
802
+ "type": "bool",
803
+ "id": 2
804
+ },
805
+ "materials": {
806
+ "type": "bool",
807
+ "id": 3
808
+ }
809
+ }
810
+ },
811
+ "SlsaMetadata": {
812
+ "fields": {
813
+ "buildInvocationId": {
814
+ "type": "string",
815
+ "id": 1
816
+ },
817
+ "buildStartedOn": {
818
+ "type": "google.protobuf.Timestamp",
819
+ "id": 2
820
+ },
821
+ "buildFinishedOn": {
822
+ "type": "google.protobuf.Timestamp",
823
+ "id": 3
824
+ },
825
+ "completeness": {
826
+ "type": "SlsaCompleteness",
827
+ "id": 4
828
+ },
829
+ "reproducible": {
830
+ "type": "bool",
831
+ "id": 5
832
+ }
833
+ }
834
+ },
835
+ "SlsaBuilder": {
836
+ "fields": {
837
+ "id": {
838
+ "type": "string",
839
+ "id": 1
840
+ }
841
+ }
842
+ },
843
+ "Material": {
844
+ "fields": {
845
+ "uri": {
846
+ "type": "string",
847
+ "id": 1
848
+ },
849
+ "digest": {
850
+ "keyType": "string",
851
+ "type": "string",
852
+ "id": 2
853
+ }
854
+ }
512
855
  }
513
856
  }
514
857
  },
@@ -810,6 +1153,101 @@
810
1153
  }
811
1154
  }
812
1155
  },
1156
+ "ComplianceNote": {
1157
+ "oneofs": {
1158
+ "complianceType": {
1159
+ "oneof": [
1160
+ "cisBenchmark"
1161
+ ]
1162
+ }
1163
+ },
1164
+ "fields": {
1165
+ "title": {
1166
+ "type": "string",
1167
+ "id": 1
1168
+ },
1169
+ "description": {
1170
+ "type": "string",
1171
+ "id": 2
1172
+ },
1173
+ "version": {
1174
+ "rule": "repeated",
1175
+ "type": "grafeas.v1.ComplianceVersion",
1176
+ "id": 3
1177
+ },
1178
+ "rationale": {
1179
+ "type": "string",
1180
+ "id": 4
1181
+ },
1182
+ "remediation": {
1183
+ "type": "string",
1184
+ "id": 5
1185
+ },
1186
+ "cisBenchmark": {
1187
+ "type": "CisBenchmark",
1188
+ "id": 6
1189
+ },
1190
+ "scanInstructions": {
1191
+ "type": "bytes",
1192
+ "id": 7
1193
+ }
1194
+ },
1195
+ "nested": {
1196
+ "CisBenchmark": {
1197
+ "fields": {
1198
+ "profileLevel": {
1199
+ "type": "int32",
1200
+ "id": 1
1201
+ },
1202
+ "severity": {
1203
+ "type": "grafeas.v1.Severity",
1204
+ "id": 2
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ },
1210
+ "ComplianceVersion": {
1211
+ "fields": {
1212
+ "cpeUri": {
1213
+ "type": "string",
1214
+ "id": 1
1215
+ },
1216
+ "version": {
1217
+ "type": "string",
1218
+ "id": 2
1219
+ }
1220
+ }
1221
+ },
1222
+ "ComplianceOccurrence": {
1223
+ "fields": {
1224
+ "nonCompliantFiles": {
1225
+ "rule": "repeated",
1226
+ "type": "NonCompliantFile",
1227
+ "id": 2
1228
+ },
1229
+ "nonComplianceReason": {
1230
+ "type": "string",
1231
+ "id": 3
1232
+ }
1233
+ }
1234
+ },
1235
+ "NonCompliantFile": {
1236
+ "fields": {
1237
+ "path": {
1238
+ "type": "string",
1239
+ "id": 1
1240
+ },
1241
+ "displayCommand": {
1242
+ "type": "string",
1243
+ "id": 2
1244
+ },
1245
+ "reason": {
1246
+ "type": "string",
1247
+ "id": 3
1248
+ }
1249
+ }
1250
+ },
813
1251
  "DeploymentNote": {
814
1252
  "fields": {
815
1253
  "resourceUri": {
@@ -913,6 +1351,43 @@
913
1351
  }
914
1352
  }
915
1353
  },
1354
+ "DSSEAttestationNote": {
1355
+ "fields": {
1356
+ "hint": {
1357
+ "type": "DSSEHint",
1358
+ "id": 1
1359
+ }
1360
+ },
1361
+ "nested": {
1362
+ "DSSEHint": {
1363
+ "fields": {
1364
+ "humanReadableName": {
1365
+ "type": "string",
1366
+ "id": 1
1367
+ }
1368
+ }
1369
+ }
1370
+ }
1371
+ },
1372
+ "DSSEAttestationOccurrence": {
1373
+ "oneofs": {
1374
+ "decodedPayload": {
1375
+ "oneof": [
1376
+ "statement"
1377
+ ]
1378
+ }
1379
+ },
1380
+ "fields": {
1381
+ "envelope": {
1382
+ "type": "Envelope",
1383
+ "id": 1
1384
+ },
1385
+ "statement": {
1386
+ "type": "InTotoStatement",
1387
+ "id": 2
1388
+ }
1389
+ }
1390
+ },
916
1391
  "Grafeas": {
917
1392
  "options": {
918
1393
  "(google.api.default_host)": "containeranalysis.googleapis.com"
@@ -1199,7 +1674,9 @@
1199
1674
  "deployment",
1200
1675
  "discovery",
1201
1676
  "attestation",
1202
- "upgrade"
1677
+ "upgrade",
1678
+ "compliance",
1679
+ "dsseAttestation"
1203
1680
  ]
1204
1681
  }
1205
1682
  },
@@ -1263,6 +1740,18 @@
1263
1740
  "upgrade": {
1264
1741
  "type": "grafeas.v1.UpgradeOccurrence",
1265
1742
  "id": 15
1743
+ },
1744
+ "compliance": {
1745
+ "type": "grafeas.v1.ComplianceOccurrence",
1746
+ "id": 16
1747
+ },
1748
+ "dsseAttestation": {
1749
+ "type": "grafeas.v1.DSSEAttestationOccurrence",
1750
+ "id": 17
1751
+ },
1752
+ "envelope": {
1753
+ "type": "grafeas.v1.Envelope",
1754
+ "id": 18
1266
1755
  }
1267
1756
  }
1268
1757
  },
@@ -1281,7 +1770,9 @@
1281
1770
  "deployment",
1282
1771
  "discovery",
1283
1772
  "attestation",
1284
- "upgrade"
1773
+ "upgrade",
1774
+ "compliance",
1775
+ "dsseAttestation"
1285
1776
  ]
1286
1777
  }
1287
1778
  },
@@ -1355,6 +1846,14 @@
1355
1846
  "upgrade": {
1356
1847
  "type": "grafeas.v1.UpgradeNote",
1357
1848
  "id": 17
1849
+ },
1850
+ "compliance": {
1851
+ "type": "grafeas.v1.ComplianceNote",
1852
+ "id": 18
1853
+ },
1854
+ "dsseAttestation": {
1855
+ "type": "grafeas.v1.DSSEAttestationNote",
1856
+ "id": 19
1358
1857
  }
1359
1858
  }
1360
1859
  },
@@ -4314,7 +4813,8 @@
4314
4813
  "OUTPUT_ONLY": 3,
4315
4814
  "INPUT_ONLY": 4,
4316
4815
  "IMMUTABLE": 5,
4317
- "UNORDERED_LIST": 6
4816
+ "UNORDERED_LIST": 6,
4817
+ "NON_EMPTY_DEFAULT": 7
4318
4818
  }
4319
4819
  },
4320
4820
  "resourceReference": {
@@ -4957,6 +5457,18 @@
4957
5457
  ]
4958
5458
  ],
4959
5459
  "reserved": [
5460
+ [
5461
+ 4,
5462
+ 4
5463
+ ],
5464
+ [
5465
+ 5,
5466
+ 5
5467
+ ],
5468
+ [
5469
+ 6,
5470
+ 6
5471
+ ],
4960
5472
  [
4961
5473
  8,
4962
5474
  8