@maxim_mazurok/gapi.client.ondemandscanning-v1 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.
Files changed (2) hide show
  1. package/index.d.ts +41 -1
  2. 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=v1
12
- // Revision: 20250203
12
+ // Revision: 20250217
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -81,6 +81,14 @@ declare namespace gapi.client {
81
81
  /** 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. */
82
82
  signatures?: Signature[];
83
83
  }
84
+ interface BaseImage {
85
+ /** The number of layers that the base image is composed of. */
86
+ layerCount?: number;
87
+ /** The name of the base image. */
88
+ name?: string;
89
+ /** The repository name in which the base image is from. */
90
+ repository?: string;
91
+ }
84
92
  interface BinarySourceInfo {
85
93
  /** 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. */
86
94
  binaryVersion?: PackageVersion;
@@ -264,6 +272,7 @@ declare namespace gapi.client {
264
272
  interface FileLocation {
265
273
  /** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
266
274
  filePath?: string;
275
+ layerDetails?: LayerDetails;
267
276
  }
268
277
  interface Fingerprint {
269
278
  /** Required. The layer ID of the final layer in the Docker image's v1 representation. */
@@ -289,9 +298,29 @@ declare namespace gapi.client {
289
298
  /** Git repository URL. */
290
299
  url?: string;
291
300
  }
301
+ interface GrafeasV1BaseImage {
302
+ /** The number of layers that the base image is composed of. */
303
+ layerCount?: number;
304
+ /** The name of the base image. */
305
+ name?: string;
306
+ /** The repository name in which the base image is from. */
307
+ repository?: string;
308
+ }
292
309
  interface GrafeasV1FileLocation {
293
310
  /** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
294
311
  filePath?: string;
312
+ /** Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). */
313
+ layerDetails?: GrafeasV1LayerDetails;
314
+ }
315
+ interface GrafeasV1LayerDetails {
316
+ /** The base images the layer is found within. */
317
+ baseImages?: GrafeasV1BaseImage[];
318
+ /** 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. */
319
+ command?: string;
320
+ /** The diff ID (typically a sha256 hash) of the layer in the container image. */
321
+ diffId?: string;
322
+ /** The index of the layer in the container image. */
323
+ index?: number;
295
324
  }
296
325
  interface GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {
297
326
  id?: string;
@@ -390,6 +419,16 @@ declare namespace gapi.client {
390
419
  /** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
391
420
  directive?: string;
392
421
  }
422
+ interface LayerDetails {
423
+ /** The base images the layer is found within. */
424
+ baseImages?: BaseImage[];
425
+ /** 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. */
426
+ command?: string;
427
+ /** The diff ID (sha256 hash) of the layer in the container image. */
428
+ diffId?: string;
429
+ /** The index of the layer in the container image. */
430
+ index?: number;
431
+ }
393
432
  interface License {
394
433
  /** Comments */
395
434
  comments?: string;
@@ -513,6 +552,7 @@ declare namespace gapi.client {
513
552
  fileLocation?: FileLocation[];
514
553
  /** 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. */
515
554
  hashDigest?: string;
555
+ layerDetails?: LayerDetails;
516
556
  /** 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. */
517
557
  licenses?: string[];
518
558
  /** The maintainer of the package. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.ondemandscanning-v1",
3
- "version": "0.0.20250203",
3
+ "version": "0.0.20250217",
4
4
  "description": "TypeScript typings for On-Demand Scanning API v1",
5
5
  "repository": {
6
6
  "type": "git",