@maxim_mazurok/gapi.client.ondemandscanning-v1beta1 0.0.20250203 → 0.0.20250217
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/index.d.ts +41 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://ondemandscanning.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250217
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -79,6 +79,14 @@ declare namespace gapi.client {
|
|
|
79
79
|
/** 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. */
|
|
80
80
|
signatures?: Signature[];
|
|
81
81
|
}
|
|
82
|
+
interface BaseImage {
|
|
83
|
+
/** The number of layers that the base image is composed of. */
|
|
84
|
+
layerCount?: number;
|
|
85
|
+
/** The name of the base image. */
|
|
86
|
+
name?: string;
|
|
87
|
+
/** The repository name in which the base image is from. */
|
|
88
|
+
repository?: string;
|
|
89
|
+
}
|
|
82
90
|
interface BinarySourceInfo {
|
|
83
91
|
/** The binary package. This is significant when the source is different than the binary itself. Historically if they've differed, we've stored the name of the source and its version in the package/version fields, but we should also store the binary package info, as that's what's actually installed. See b/175908657#comment15. */
|
|
84
92
|
binaryVersion?: PackageVersion;
|
|
@@ -262,6 +270,7 @@ declare namespace gapi.client {
|
|
|
262
270
|
interface FileLocation {
|
|
263
271
|
/** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
|
|
264
272
|
filePath?: string;
|
|
273
|
+
layerDetails?: LayerDetails;
|
|
265
274
|
}
|
|
266
275
|
interface Fingerprint {
|
|
267
276
|
/** Required. The layer ID of the final layer in the Docker image's v1 representation. */
|
|
@@ -287,9 +296,29 @@ declare namespace gapi.client {
|
|
|
287
296
|
/** Git repository URL. */
|
|
288
297
|
url?: string;
|
|
289
298
|
}
|
|
299
|
+
interface GrafeasV1BaseImage {
|
|
300
|
+
/** The number of layers that the base image is composed of. */
|
|
301
|
+
layerCount?: number;
|
|
302
|
+
/** The name of the base image. */
|
|
303
|
+
name?: string;
|
|
304
|
+
/** The repository name in which the base image is from. */
|
|
305
|
+
repository?: string;
|
|
306
|
+
}
|
|
290
307
|
interface GrafeasV1FileLocation {
|
|
291
308
|
/** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
|
|
292
309
|
filePath?: string;
|
|
310
|
+
/** Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). */
|
|
311
|
+
layerDetails?: GrafeasV1LayerDetails;
|
|
312
|
+
}
|
|
313
|
+
interface GrafeasV1LayerDetails {
|
|
314
|
+
/** The base images the layer is found within. */
|
|
315
|
+
baseImages?: GrafeasV1BaseImage[];
|
|
316
|
+
/** The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */
|
|
317
|
+
command?: string;
|
|
318
|
+
/** The diff ID (typically a sha256 hash) of the layer in the container image. */
|
|
319
|
+
diffId?: string;
|
|
320
|
+
/** The index of the layer in the container image. */
|
|
321
|
+
index?: number;
|
|
293
322
|
}
|
|
294
323
|
interface GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {
|
|
295
324
|
id?: string;
|
|
@@ -388,6 +417,16 @@ declare namespace gapi.client {
|
|
|
388
417
|
/** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
|
|
389
418
|
directive?: string;
|
|
390
419
|
}
|
|
420
|
+
interface LayerDetails {
|
|
421
|
+
/** The base images the layer is found within. */
|
|
422
|
+
baseImages?: BaseImage[];
|
|
423
|
+
/** The layer build command that was used to build the layer. This may not be found in all layers depending on how the container image is built. */
|
|
424
|
+
command?: string;
|
|
425
|
+
/** The diff ID (sha256 hash) of the layer in the container image. */
|
|
426
|
+
diffId?: string;
|
|
427
|
+
/** The index of the layer in the container image. */
|
|
428
|
+
index?: number;
|
|
429
|
+
}
|
|
391
430
|
interface License {
|
|
392
431
|
/** Comments */
|
|
393
432
|
comments?: string;
|
|
@@ -511,6 +550,7 @@ declare namespace gapi.client {
|
|
|
511
550
|
fileLocation?: FileLocation[];
|
|
512
551
|
/** HashDigest stores the SHA512 hash digest of the jar file if the package is of type Maven. This field will be unset for non Maven packages. */
|
|
513
552
|
hashDigest?: string;
|
|
553
|
+
layerDetails?: LayerDetails;
|
|
514
554
|
/** The list of licenses found that are related to a given package. Note that licenses may also be stored on the BinarySourceInfo. If there is no BinarySourceInfo (because there's no concept of source vs binary), then it will be stored here, while if there are BinarySourceInfos, it will be stored there, as one source can have multiple binaries with different licenses. */
|
|
515
555
|
licenses?: string[];
|
|
516
556
|
/** The maintainer of the package. */
|