@google-cloud/containeranalysis 4.0.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.
- package/CHANGELOG.md +12 -0
- package/build/protos/grafeas/v1/common.proto +29 -0
- package/build/protos/grafeas/v1/compliance.proto +3 -0
- package/build/protos/grafeas/v1/cvss.proto +3 -5
- package/build/protos/grafeas/v1/dsse_attestation.proto +1 -1
- package/build/protos/grafeas/v1/intoto_statement.proto +2 -0
- package/build/protos/grafeas/v1/package.proto +72 -12
- package/build/protos/grafeas/v1/slsa_provenance.proto +2 -1
- package/build/protos/grafeas/v1/slsa_provenance_zero_two.proto +82 -0
- package/build/protos/grafeas/v1/vulnerability.proto +3 -0
- package/build/protos/protos.d.ts +1435 -14
- package/build/protos/protos.js +4037 -309
- package/build/protos/protos.json +317 -5
- package/package.json +1 -1
package/build/protos/protos.json
CHANGED
|
@@ -8,7 +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": "
|
|
11
|
+
"java_outer_classname": "CVSSProto",
|
|
12
12
|
"(google.api.resource_definition).type": "grafeas.io/Project",
|
|
13
13
|
"(google.api.resource_definition).pattern": "projects/{project}"
|
|
14
14
|
},
|
|
@@ -135,6 +135,38 @@
|
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
|
+
"FileLocation": {
|
|
139
|
+
"fields": {
|
|
140
|
+
"filePath": {
|
|
141
|
+
"type": "string",
|
|
142
|
+
"id": 1
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"License": {
|
|
147
|
+
"fields": {
|
|
148
|
+
"expression": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"id": 1
|
|
151
|
+
},
|
|
152
|
+
"comments": {
|
|
153
|
+
"type": "string",
|
|
154
|
+
"id": 2
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
},
|
|
158
|
+
"Digest": {
|
|
159
|
+
"fields": {
|
|
160
|
+
"algo": {
|
|
161
|
+
"type": "string",
|
|
162
|
+
"id": 1
|
|
163
|
+
},
|
|
164
|
+
"digestBytes": {
|
|
165
|
+
"type": "bytes",
|
|
166
|
+
"id": 2
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
},
|
|
138
170
|
"BuildNote": {
|
|
139
171
|
"fields": {
|
|
140
172
|
"builderVersion": {
|
|
@@ -263,7 +295,8 @@
|
|
|
263
295
|
"predicate": {
|
|
264
296
|
"oneof": [
|
|
265
297
|
"provenance",
|
|
266
|
-
"slsaProvenance"
|
|
298
|
+
"slsaProvenance",
|
|
299
|
+
"slsaProvenanceZeroTwo"
|
|
267
300
|
]
|
|
268
301
|
}
|
|
269
302
|
},
|
|
@@ -291,6 +324,10 @@
|
|
|
291
324
|
"slsaProvenance": {
|
|
292
325
|
"type": "SlsaProvenance",
|
|
293
326
|
"id": 5
|
|
327
|
+
},
|
|
328
|
+
"slsaProvenanceZeroTwo": {
|
|
329
|
+
"type": "SlsaProvenanceZeroTwo",
|
|
330
|
+
"id": 6
|
|
294
331
|
}
|
|
295
332
|
}
|
|
296
333
|
},
|
|
@@ -415,6 +452,131 @@
|
|
|
415
452
|
}
|
|
416
453
|
}
|
|
417
454
|
},
|
|
455
|
+
"SlsaProvenanceZeroTwo": {
|
|
456
|
+
"fields": {
|
|
457
|
+
"builder": {
|
|
458
|
+
"type": "SlsaBuilder",
|
|
459
|
+
"id": 1
|
|
460
|
+
},
|
|
461
|
+
"buildType": {
|
|
462
|
+
"type": "string",
|
|
463
|
+
"id": 2
|
|
464
|
+
},
|
|
465
|
+
"invocation": {
|
|
466
|
+
"type": "SlsaInvocation",
|
|
467
|
+
"id": 3
|
|
468
|
+
},
|
|
469
|
+
"buildConfig": {
|
|
470
|
+
"type": "google.protobuf.Struct",
|
|
471
|
+
"id": 4
|
|
472
|
+
},
|
|
473
|
+
"metadata": {
|
|
474
|
+
"type": "SlsaMetadata",
|
|
475
|
+
"id": 5
|
|
476
|
+
},
|
|
477
|
+
"materials": {
|
|
478
|
+
"rule": "repeated",
|
|
479
|
+
"type": "SlsaMaterial",
|
|
480
|
+
"id": 6
|
|
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
|
+
},
|
|
418
580
|
"BuildProvenance": {
|
|
419
581
|
"fields": {
|
|
420
582
|
"id": {
|
|
@@ -773,6 +935,10 @@
|
|
|
773
935
|
"type": "string",
|
|
774
936
|
"id": 1
|
|
775
937
|
},
|
|
938
|
+
"benchmarkDocument": {
|
|
939
|
+
"type": "string",
|
|
940
|
+
"id": 3
|
|
941
|
+
},
|
|
776
942
|
"version": {
|
|
777
943
|
"type": "string",
|
|
778
944
|
"id": 2
|
|
@@ -2021,7 +2187,10 @@
|
|
|
2021
2187
|
"fields": {
|
|
2022
2188
|
"cpeUri": {
|
|
2023
2189
|
"type": "string",
|
|
2024
|
-
"id": 1
|
|
2190
|
+
"id": 1,
|
|
2191
|
+
"options": {
|
|
2192
|
+
"(google.api.field_behavior)": "REQUIRED"
|
|
2193
|
+
}
|
|
2025
2194
|
},
|
|
2026
2195
|
"architecture": {
|
|
2027
2196
|
"type": "Architecture",
|
|
@@ -2065,12 +2234,52 @@
|
|
|
2065
2234
|
"fields": {
|
|
2066
2235
|
"name": {
|
|
2067
2236
|
"type": "string",
|
|
2068
|
-
"id": 1
|
|
2237
|
+
"id": 1,
|
|
2238
|
+
"options": {
|
|
2239
|
+
"(google.api.field_behavior)": "IMMUTABLE"
|
|
2240
|
+
}
|
|
2069
2241
|
},
|
|
2070
2242
|
"distribution": {
|
|
2071
2243
|
"rule": "repeated",
|
|
2072
2244
|
"type": "Distribution",
|
|
2073
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
|
|
2074
2283
|
}
|
|
2075
2284
|
}
|
|
2076
2285
|
},
|
|
@@ -2078,12 +2287,47 @@
|
|
|
2078
2287
|
"fields": {
|
|
2079
2288
|
"name": {
|
|
2080
2289
|
"type": "string",
|
|
2081
|
-
"id": 1
|
|
2290
|
+
"id": 1,
|
|
2291
|
+
"options": {
|
|
2292
|
+
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
2293
|
+
}
|
|
2082
2294
|
},
|
|
2083
2295
|
"location": {
|
|
2084
2296
|
"rule": "repeated",
|
|
2085
2297
|
"type": "Location",
|
|
2086
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
|
+
}
|
|
2087
2331
|
}
|
|
2088
2332
|
}
|
|
2089
2333
|
},
|
|
@@ -2460,6 +2704,11 @@
|
|
|
2460
2704
|
"options": {
|
|
2461
2705
|
"(google.api.field_behavior)": "OUTPUT_ONLY"
|
|
2462
2706
|
}
|
|
2707
|
+
},
|
|
2708
|
+
"fileLocation": {
|
|
2709
|
+
"rule": "repeated",
|
|
2710
|
+
"type": "FileLocation",
|
|
2711
|
+
"id": 10
|
|
2463
2712
|
}
|
|
2464
2713
|
}
|
|
2465
2714
|
}
|
|
@@ -5947,6 +6196,69 @@
|
|
|
5947
6196
|
}
|
|
5948
6197
|
}
|
|
5949
6198
|
},
|
|
6199
|
+
"Struct": {
|
|
6200
|
+
"fields": {
|
|
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",
|
|
6224
|
+
"id": 1
|
|
6225
|
+
},
|
|
6226
|
+
"numberValue": {
|
|
6227
|
+
"type": "double",
|
|
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
|
|
6245
|
+
}
|
|
6246
|
+
}
|
|
6247
|
+
},
|
|
6248
|
+
"NullValue": {
|
|
6249
|
+
"values": {
|
|
6250
|
+
"NULL_VALUE": 0
|
|
6251
|
+
}
|
|
6252
|
+
},
|
|
6253
|
+
"ListValue": {
|
|
6254
|
+
"fields": {
|
|
6255
|
+
"values": {
|
|
6256
|
+
"rule": "repeated",
|
|
6257
|
+
"type": "Value",
|
|
6258
|
+
"id": 1
|
|
6259
|
+
}
|
|
6260
|
+
}
|
|
6261
|
+
},
|
|
5950
6262
|
"Empty": {
|
|
5951
6263
|
"fields": {}
|
|
5952
6264
|
}
|
package/package.json
CHANGED