@maxim_mazurok/gapi.client.ondemandscanning-v1beta1 0.0.20250203 → 0.0.20250210
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 +20 -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: 20250210
|
|
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 name of the base image. */
|
|
84
|
+
name?: string;
|
|
85
|
+
/** The number of layers that the base image is composed of. */
|
|
86
|
+
numLayers?: 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;
|
|
@@ -388,6 +396,16 @@ declare namespace gapi.client {
|
|
|
388
396
|
/** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
|
|
389
397
|
directive?: string;
|
|
390
398
|
}
|
|
399
|
+
interface LayerDetails {
|
|
400
|
+
/** The base images the layer is found within. */
|
|
401
|
+
baseImages?: BaseImage[];
|
|
402
|
+
/** 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. */
|
|
403
|
+
command?: string;
|
|
404
|
+
/** The diff ID (sha256 hash) of the layer in the container image. */
|
|
405
|
+
diffId?: string;
|
|
406
|
+
/** The index of the layer in the container image. */
|
|
407
|
+
index?: number;
|
|
408
|
+
}
|
|
391
409
|
interface License {
|
|
392
410
|
/** Comments */
|
|
393
411
|
comments?: string;
|
|
@@ -511,6 +529,7 @@ declare namespace gapi.client {
|
|
|
511
529
|
fileLocation?: FileLocation[];
|
|
512
530
|
/** 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
531
|
hashDigest?: string;
|
|
532
|
+
layerDetails?: LayerDetails;
|
|
514
533
|
/** 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
534
|
licenses?: string[];
|
|
516
535
|
/** The maintainer of the package. */
|