@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20250207 → 0.0.20250307
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 +27 -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://containeranalysis.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250307
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -77,6 +77,14 @@ declare namespace gapi.client {
|
|
|
77
77
|
/** 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. */
|
|
78
78
|
signatures?: Signature[];
|
|
79
79
|
}
|
|
80
|
+
interface BaseImage {
|
|
81
|
+
/** The number of layers that the base image is composed of. */
|
|
82
|
+
layerCount?: number;
|
|
83
|
+
/** The name of the base image. */
|
|
84
|
+
name?: string;
|
|
85
|
+
/** The repository name in which the base image is from. */
|
|
86
|
+
repository?: string;
|
|
87
|
+
}
|
|
80
88
|
interface BatchCreateNotesRequest {
|
|
81
89
|
/** Required. The notes to create. Max allowed length is 1000. */
|
|
82
90
|
notes?: {[P in string]: Note};
|
|
@@ -182,6 +190,7 @@ declare namespace gapi.client {
|
|
|
182
190
|
name?: string;
|
|
183
191
|
/** Output only. Stores timing information for pulling this build step's builder image only. */
|
|
184
192
|
pullTiming?: TimeSpan;
|
|
193
|
+
results?: StepResult[];
|
|
185
194
|
/** A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args. */
|
|
186
195
|
script?: string;
|
|
187
196
|
/** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
|
|
@@ -958,6 +967,8 @@ declare namespace gapi.client {
|
|
|
958
967
|
interface GrafeasV1FileLocation {
|
|
959
968
|
/** For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file. */
|
|
960
969
|
filePath?: string;
|
|
970
|
+
/** Each package found in a file should have its own layer metadata (that is, information from the origin layer of the package). */
|
|
971
|
+
layerDetails?: LayerDetails;
|
|
961
972
|
}
|
|
962
973
|
interface GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder {
|
|
963
974
|
id?: string;
|
|
@@ -1068,6 +1079,16 @@ declare namespace gapi.client {
|
|
|
1068
1079
|
/** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
|
|
1069
1080
|
directive?: string;
|
|
1070
1081
|
}
|
|
1082
|
+
interface LayerDetails {
|
|
1083
|
+
/** The base images the layer is found within. */
|
|
1084
|
+
baseImages?: BaseImage[];
|
|
1085
|
+
/** 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. */
|
|
1086
|
+
command?: string;
|
|
1087
|
+
/** The diff ID (typically a sha256 hash) of the layer in the container image. */
|
|
1088
|
+
diffId?: string;
|
|
1089
|
+
/** The index of the layer in the container image. */
|
|
1090
|
+
index?: number;
|
|
1091
|
+
}
|
|
1071
1092
|
interface License {
|
|
1072
1093
|
/** Comments */
|
|
1073
1094
|
comments?: string;
|
|
@@ -1485,6 +1506,11 @@ declare namespace gapi.client {
|
|
|
1485
1506
|
/** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
|
|
1486
1507
|
message?: string;
|
|
1487
1508
|
}
|
|
1509
|
+
interface StepResult {
|
|
1510
|
+
attestationContentName?: string;
|
|
1511
|
+
attestationType?: string;
|
|
1512
|
+
name?: string;
|
|
1513
|
+
}
|
|
1488
1514
|
interface Subject {
|
|
1489
1515
|
/** `"": ""` Algorithms can be e.g. sha256, sha512 See https://github.com/in-toto/attestation/blob/main/spec/field_types.md#DigestSet */
|
|
1490
1516
|
digest?: {[P in string]: string};
|