@google-cloud/containeranalysis 6.2.0 → 6.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.
@@ -81,7 +81,8 @@
81
81
  "COMPLIANCE": 9,
82
82
  "DSSE_ATTESTATION": 10,
83
83
  "VULNERABILITY_ASSESSMENT": 11,
84
- "SBOM_REFERENCE": 12
84
+ "SBOM_REFERENCE": 12,
85
+ "SECRET": 13
85
86
  }
86
87
  },
87
88
  "RelatedUrl": {
@@ -142,6 +143,51 @@
142
143
  "filePath": {
143
144
  "type": "string",
144
145
  "id": 1
146
+ },
147
+ "layerDetails": {
148
+ "type": "LayerDetails",
149
+ "id": 2
150
+ }
151
+ }
152
+ },
153
+ "BaseImage": {
154
+ "fields": {
155
+ "name": {
156
+ "type": "string",
157
+ "id": 1
158
+ },
159
+ "repository": {
160
+ "type": "string",
161
+ "id": 2
162
+ },
163
+ "layerCount": {
164
+ "type": "int32",
165
+ "id": 3
166
+ }
167
+ }
168
+ },
169
+ "LayerDetails": {
170
+ "fields": {
171
+ "index": {
172
+ "type": "int32",
173
+ "id": 1
174
+ },
175
+ "diffId": {
176
+ "type": "string",
177
+ "id": 2
178
+ },
179
+ "chainId": {
180
+ "type": "string",
181
+ "id": 5
182
+ },
183
+ "command": {
184
+ "type": "string",
185
+ "id": 3
186
+ },
187
+ "baseImages": {
188
+ "rule": "repeated",
189
+ "type": "BaseImage",
190
+ "id": 4
145
191
  }
146
192
  }
147
193
  },
@@ -1931,7 +1977,8 @@
1931
1977
  "upgrade",
1932
1978
  "compliance",
1933
1979
  "dsseAttestation",
1934
- "sbomReference"
1980
+ "sbomReference",
1981
+ "secret"
1935
1982
  ]
1936
1983
  }
1937
1984
  },
@@ -2008,6 +2055,10 @@
2008
2055
  "type": "grafeas.v1.SBOMReferenceOccurrence",
2009
2056
  "id": 19
2010
2057
  },
2058
+ "secret": {
2059
+ "type": "grafeas.v1.SecretOccurrence",
2060
+ "id": 20
2061
+ },
2011
2062
  "envelope": {
2012
2063
  "type": "grafeas.v1.Envelope",
2013
2064
  "id": 18
@@ -2033,7 +2084,8 @@
2033
2084
  "compliance",
2034
2085
  "dsseAttestation",
2035
2086
  "vulnerabilityAssessment",
2036
- "sbomReference"
2087
+ "sbomReference",
2088
+ "secret"
2037
2089
  ]
2038
2090
  }
2039
2091
  },
@@ -2123,6 +2175,10 @@
2123
2175
  "sbomReference": {
2124
2176
  "type": "grafeas.v1.SBOMReferenceNote",
2125
2177
  "id": 21
2178
+ },
2179
+ "secret": {
2180
+ "type": "grafeas.v1.SecretNote",
2181
+ "id": 22
2126
2182
  }
2127
2183
  }
2128
2184
  },
@@ -2775,6 +2831,93 @@
2775
2831
  }
2776
2832
  }
2777
2833
  },
2834
+ "SecretNote": {
2835
+ "fields": {}
2836
+ },
2837
+ "SecretOccurrence": {
2838
+ "fields": {
2839
+ "kind": {
2840
+ "type": "SecretKind",
2841
+ "id": 1,
2842
+ "options": {
2843
+ "(google.api.field_behavior)": "REQUIRED"
2844
+ }
2845
+ },
2846
+ "locations": {
2847
+ "rule": "repeated",
2848
+ "type": "SecretLocation",
2849
+ "id": 2,
2850
+ "options": {
2851
+ "(google.api.field_behavior)": "OPTIONAL"
2852
+ }
2853
+ },
2854
+ "statuses": {
2855
+ "rule": "repeated",
2856
+ "type": "SecretStatus",
2857
+ "id": 3,
2858
+ "options": {
2859
+ "(google.api.field_behavior)": "OPTIONAL"
2860
+ }
2861
+ }
2862
+ }
2863
+ },
2864
+ "SecretLocation": {
2865
+ "oneofs": {
2866
+ "location": {
2867
+ "oneof": [
2868
+ "fileLocation"
2869
+ ]
2870
+ }
2871
+ },
2872
+ "fields": {
2873
+ "fileLocation": {
2874
+ "type": "FileLocation",
2875
+ "id": 1
2876
+ }
2877
+ }
2878
+ },
2879
+ "SecretStatus": {
2880
+ "fields": {
2881
+ "status": {
2882
+ "type": "Status",
2883
+ "id": 1,
2884
+ "options": {
2885
+ "(google.api.field_behavior)": "OPTIONAL"
2886
+ }
2887
+ },
2888
+ "updateTime": {
2889
+ "type": "google.protobuf.Timestamp",
2890
+ "id": 2,
2891
+ "options": {
2892
+ "(google.api.field_behavior)": "OPTIONAL"
2893
+ }
2894
+ },
2895
+ "message": {
2896
+ "type": "string",
2897
+ "id": 3,
2898
+ "options": {
2899
+ "(google.api.field_behavior)": "OPTIONAL"
2900
+ }
2901
+ }
2902
+ },
2903
+ "nested": {
2904
+ "Status": {
2905
+ "values": {
2906
+ "STATUS_UNSPECIFIED": 0,
2907
+ "UNKNOWN": 1,
2908
+ "VALID": 2,
2909
+ "INVALID": 3
2910
+ }
2911
+ }
2912
+ }
2913
+ },
2914
+ "SecretKind": {
2915
+ "values": {
2916
+ "SECRET_KIND_UNSPECIFIED": 0,
2917
+ "SECRET_KIND_UNKNOWN": 1,
2918
+ "SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY": 2
2919
+ }
2920
+ },
2778
2921
  "UpgradeNote": {
2779
2922
  "fields": {
2780
2923
  "package": {
@@ -5876,6 +6019,11 @@
5876
6019
  "id": 1050,
5877
6020
  "extend": "google.protobuf.ServiceOptions"
5878
6021
  },
6022
+ "apiVersion": {
6023
+ "type": "string",
6024
+ "id": 525000001,
6025
+ "extend": "google.protobuf.ServiceOptions"
6026
+ },
5879
6027
  "CommonLanguageSettings": {
5880
6028
  "fields": {
5881
6029
  "referenceDocsUri": {
@@ -5984,6 +6132,10 @@
5984
6132
  "protoReferenceDocumentationUri": {
5985
6133
  "type": "string",
5986
6134
  "id": 110
6135
+ },
6136
+ "restReferenceDocumentationUri": {
6137
+ "type": "string",
6138
+ "id": 111
5987
6139
  }
5988
6140
  }
5989
6141
  },
@@ -6159,7 +6311,10 @@
6159
6311
  "rule": "repeated",
6160
6312
  "type": "google.api.FieldBehavior",
6161
6313
  "id": 1052,
6162
- "extend": "google.protobuf.FieldOptions"
6314
+ "extend": "google.protobuf.FieldOptions",
6315
+ "options": {
6316
+ "packed": false
6317
+ }
6163
6318
  },
6164
6319
  "FieldBehavior": {
6165
6320
  "values": {
@@ -6265,6 +6420,7 @@
6265
6420
  },
6266
6421
  "nested": {
6267
6422
  "FileDescriptorSet": {
6423
+ "edition": "proto2",
6268
6424
  "fields": {
6269
6425
  "file": {
6270
6426
  "rule": "repeated",
@@ -6274,6 +6430,7 @@
6274
6430
  }
6275
6431
  },
6276
6432
  "Edition": {
6433
+ "edition": "proto2",
6277
6434
  "values": {
6278
6435
  "EDITION_UNKNOWN": 0,
6279
6436
  "EDITION_PROTO2": 998,
@@ -6289,6 +6446,7 @@
6289
6446
  }
6290
6447
  },
6291
6448
  "FileDescriptorProto": {
6449
+ "edition": "proto2",
6292
6450
  "fields": {
6293
6451
  "name": {
6294
6452
  "type": "string",
@@ -6306,18 +6464,12 @@
6306
6464
  "publicDependency": {
6307
6465
  "rule": "repeated",
6308
6466
  "type": "int32",
6309
- "id": 10,
6310
- "options": {
6311
- "packed": false
6312
- }
6467
+ "id": 10
6313
6468
  },
6314
6469
  "weakDependency": {
6315
6470
  "rule": "repeated",
6316
6471
  "type": "int32",
6317
- "id": 11,
6318
- "options": {
6319
- "packed": false
6320
- }
6472
+ "id": 11
6321
6473
  },
6322
6474
  "messageType": {
6323
6475
  "rule": "repeated",
@@ -6358,6 +6510,7 @@
6358
6510
  }
6359
6511
  },
6360
6512
  "DescriptorProto": {
6513
+ "edition": "proto2",
6361
6514
  "fields": {
6362
6515
  "name": {
6363
6516
  "type": "string",
@@ -6440,6 +6593,7 @@
6440
6593
  }
6441
6594
  },
6442
6595
  "ExtensionRangeOptions": {
6596
+ "edition": "proto2",
6443
6597
  "fields": {
6444
6598
  "uninterpretedOption": {
6445
6599
  "rule": "repeated",
@@ -6513,6 +6667,7 @@
6513
6667
  }
6514
6668
  },
6515
6669
  "FieldDescriptorProto": {
6670
+ "edition": "proto2",
6516
6671
  "fields": {
6517
6672
  "name": {
6518
6673
  "type": "string",
@@ -6592,6 +6747,7 @@
6592
6747
  }
6593
6748
  },
6594
6749
  "OneofDescriptorProto": {
6750
+ "edition": "proto2",
6595
6751
  "fields": {
6596
6752
  "name": {
6597
6753
  "type": "string",
@@ -6604,6 +6760,7 @@
6604
6760
  }
6605
6761
  },
6606
6762
  "EnumDescriptorProto": {
6763
+ "edition": "proto2",
6607
6764
  "fields": {
6608
6765
  "name": {
6609
6766
  "type": "string",
@@ -6645,6 +6802,7 @@
6645
6802
  }
6646
6803
  },
6647
6804
  "EnumValueDescriptorProto": {
6805
+ "edition": "proto2",
6648
6806
  "fields": {
6649
6807
  "name": {
6650
6808
  "type": "string",
@@ -6661,6 +6819,7 @@
6661
6819
  }
6662
6820
  },
6663
6821
  "ServiceDescriptorProto": {
6822
+ "edition": "proto2",
6664
6823
  "fields": {
6665
6824
  "name": {
6666
6825
  "type": "string",
@@ -6678,6 +6837,7 @@
6678
6837
  }
6679
6838
  },
6680
6839
  "MethodDescriptorProto": {
6840
+ "edition": "proto2",
6681
6841
  "fields": {
6682
6842
  "name": {
6683
6843
  "type": "string",
@@ -6712,6 +6872,7 @@
6712
6872
  }
6713
6873
  },
6714
6874
  "FileOptions": {
6875
+ "edition": "proto2",
6715
6876
  "fields": {
6716
6877
  "javaPackage": {
6717
6878
  "type": "string",
@@ -6853,6 +7014,7 @@
6853
7014
  }
6854
7015
  },
6855
7016
  "MessageOptions": {
7017
+ "edition": "proto2",
6856
7018
  "fields": {
6857
7019
  "messageSetWireFormat": {
6858
7020
  "type": "bool",
@@ -6926,6 +7088,7 @@
6926
7088
  ]
6927
7089
  },
6928
7090
  "FieldOptions": {
7091
+ "edition": "proto2",
6929
7092
  "fields": {
6930
7093
  "ctype": {
6931
7094
  "type": "CType",
@@ -6987,10 +7150,7 @@
6987
7150
  "targets": {
6988
7151
  "rule": "repeated",
6989
7152
  "type": "OptionTargetType",
6990
- "id": 19,
6991
- "options": {
6992
- "packed": false
6993
- }
7153
+ "id": 19
6994
7154
  },
6995
7155
  "editionDefaults": {
6996
7156
  "rule": "repeated",
@@ -7074,6 +7234,7 @@
7074
7234
  }
7075
7235
  },
7076
7236
  "OneofOptions": {
7237
+ "edition": "proto2",
7077
7238
  "fields": {
7078
7239
  "features": {
7079
7240
  "type": "FeatureSet",
@@ -7093,6 +7254,7 @@
7093
7254
  ]
7094
7255
  },
7095
7256
  "EnumOptions": {
7257
+ "edition": "proto2",
7096
7258
  "fields": {
7097
7259
  "allowAlias": {
7098
7260
  "type": "bool",
@@ -7136,6 +7298,7 @@
7136
7298
  ]
7137
7299
  },
7138
7300
  "EnumValueOptions": {
7301
+ "edition": "proto2",
7139
7302
  "fields": {
7140
7303
  "deprecated": {
7141
7304
  "type": "bool",
@@ -7169,6 +7332,7 @@
7169
7332
  ]
7170
7333
  },
7171
7334
  "ServiceOptions": {
7335
+ "edition": "proto2",
7172
7336
  "fields": {
7173
7337
  "features": {
7174
7338
  "type": "FeatureSet",
@@ -7195,6 +7359,7 @@
7195
7359
  ]
7196
7360
  },
7197
7361
  "MethodOptions": {
7362
+ "edition": "proto2",
7198
7363
  "fields": {
7199
7364
  "deprecated": {
7200
7365
  "type": "bool",
@@ -7237,6 +7402,7 @@
7237
7402
  }
7238
7403
  },
7239
7404
  "UninterpretedOption": {
7405
+ "edition": "proto2",
7240
7406
  "fields": {
7241
7407
  "name": {
7242
7408
  "rule": "repeated",
@@ -7286,6 +7452,7 @@
7286
7452
  }
7287
7453
  },
7288
7454
  "FeatureSet": {
7455
+ "edition": "proto2",
7289
7456
  "fields": {
7290
7457
  "fieldPresence": {
7291
7458
  "type": "FieldPresence",
@@ -7357,9 +7524,21 @@
7357
7524
  1001,
7358
7525
  1001
7359
7526
  ],
7527
+ [
7528
+ 1002,
7529
+ 1002
7530
+ ],
7531
+ [
7532
+ 9990,
7533
+ 9990
7534
+ ],
7360
7535
  [
7361
7536
  9995,
7362
7537
  9999
7538
+ ],
7539
+ [
7540
+ 10000,
7541
+ 10000
7363
7542
  ]
7364
7543
  ],
7365
7544
  "reserved": [
@@ -7415,6 +7594,7 @@
7415
7594
  }
7416
7595
  },
7417
7596
  "FeatureSetDefaults": {
7597
+ "edition": "proto2",
7418
7598
  "fields": {
7419
7599
  "defaults": {
7420
7600
  "rule": "repeated",
@@ -7446,6 +7626,7 @@
7446
7626
  }
7447
7627
  },
7448
7628
  "SourceCodeInfo": {
7629
+ "edition": "proto2",
7449
7630
  "fields": {
7450
7631
  "location": {
7451
7632
  "rule": "repeated",
@@ -7459,12 +7640,18 @@
7459
7640
  "path": {
7460
7641
  "rule": "repeated",
7461
7642
  "type": "int32",
7462
- "id": 1
7643
+ "id": 1,
7644
+ "options": {
7645
+ "packed": true
7646
+ }
7463
7647
  },
7464
7648
  "span": {
7465
7649
  "rule": "repeated",
7466
7650
  "type": "int32",
7467
- "id": 2
7651
+ "id": 2,
7652
+ "options": {
7653
+ "packed": true
7654
+ }
7468
7655
  },
7469
7656
  "leadingComments": {
7470
7657
  "type": "string",
@@ -7484,6 +7671,7 @@
7484
7671
  }
7485
7672
  },
7486
7673
  "GeneratedCodeInfo": {
7674
+ "edition": "proto2",
7487
7675
  "fields": {
7488
7676
  "annotation": {
7489
7677
  "rule": "repeated",
@@ -7497,7 +7685,10 @@
7497
7685
  "path": {
7498
7686
  "rule": "repeated",
7499
7687
  "type": "int32",
7500
- "id": 1
7688
+ "id": 1,
7689
+ "options": {
7690
+ "packed": true
7691
+ }
7501
7692
  },
7502
7693
  "sourceFile": {
7503
7694
  "type": "string",
@@ -258,7 +258,7 @@ export declare class ContainerAnalysisClient {
258
258
  */
259
259
  getVulnerabilityOccurrencesSummary(request?: protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest, options?: CallOptions): Promise<[
260
260
  protos.google.devtools.containeranalysis.v1.IVulnerabilityOccurrencesSummary,
261
- (protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest | undefined),
261
+ protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest | undefined,
262
262
  {} | undefined
263
263
  ]>;
264
264
  getVulnerabilityOccurrencesSummary(request: protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest, options: CallOptions, callback: Callback<protos.google.devtools.containeranalysis.v1.IVulnerabilityOccurrencesSummary, protos.google.devtools.containeranalysis.v1.IGetVulnerabilityOccurrencesSummaryRequest | null | undefined, {} | null | undefined>): void;
@@ -285,7 +285,7 @@ export declare class ContainerAnalysisClient {
285
285
  */
286
286
  exportSBOM(request?: protos.google.devtools.containeranalysis.v1.IExportSBOMRequest, options?: CallOptions): Promise<[
287
287
  protos.google.devtools.containeranalysis.v1.IExportSBOMResponse,
288
- (protos.google.devtools.containeranalysis.v1.IExportSBOMRequest | undefined),
288
+ protos.google.devtools.containeranalysis.v1.IExportSBOMRequest | undefined,
289
289
  {} | undefined
290
290
  ]>;
291
291
  exportSBOM(request: protos.google.devtools.containeranalysis.v1.IExportSBOMRequest, options: CallOptions, callback: Callback<protos.google.devtools.containeranalysis.v1.IExportSBOMResponse, protos.google.devtools.containeranalysis.v1.IExportSBOMRequest | null | undefined, {} | null | undefined>): void;
@@ -361,13 +361,13 @@ export declare class ContainerAnalysisClient {
361
361
  */
362
362
  close(): Promise<void>;
363
363
  /**
364
- * Returns an instance of a @google-cloud/grafeas client, configured to
365
- * connect to Google Cloud's Container Analysis API. For documentation
366
- * on this client, see:
367
- * <a href="https://googleapis.dev/nodejs/grafeas/latest/index.html">https://googleapis.dev/nodejs/grafeas/latest/index.html</a>
368
- *
369
- * @returns {GrafeasClient} - An instance of a Grafeas client.
370
- *
371
- */
364
+ * Returns an instance of a @google-cloud/grafeas client, configured to
365
+ * connect to Google Cloud's Container Analysis API. For documentation
366
+ * on this client, see:
367
+ * <a href="https://googleapis.dev/nodejs/grafeas/latest/index.html">https://googleapis.dev/nodejs/grafeas/latest/index.html</a>
368
+ *
369
+ * @returns {GrafeasClient} - An instance of a Grafeas client.
370
+ *
371
+ */
372
372
  getGrafeasClient(): import("@google-cloud/grafeas/build/src/v1").GrafeasClient;
373
373
  }