@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20250425 → 0.0.20250528
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 +35 -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://containeranalysis.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250528
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -552,7 +552,7 @@ declare namespace gapi.client {
|
|
|
552
552
|
revision?: string;
|
|
553
553
|
}
|
|
554
554
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1DependencyGitSourceRepository {
|
|
555
|
-
/** The Developer Connect Git repository link
|
|
555
|
+
/** The Developer Connect Git repository link formatted as `projects/*/locations/*/connections/*/gitRepositoryLink/*` */
|
|
556
556
|
developerConnect?: string;
|
|
557
557
|
/** Location of the Git repository. */
|
|
558
558
|
url?: string;
|
|
@@ -852,6 +852,8 @@ declare namespace gapi.client {
|
|
|
852
852
|
continuousAnalysis?: string;
|
|
853
853
|
/** The CPE of the resource being scanned. */
|
|
854
854
|
cpe?: string;
|
|
855
|
+
/** Files that make up the resource described by the occurrence. */
|
|
856
|
+
files?: File[];
|
|
855
857
|
/** The last time this resource was scanned. */
|
|
856
858
|
lastScanTime?: string;
|
|
857
859
|
/** The status of an SBOM generation. */
|
|
@@ -912,6 +914,10 @@ declare namespace gapi.client {
|
|
|
912
914
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
913
915
|
title?: string;
|
|
914
916
|
}
|
|
917
|
+
interface File {
|
|
918
|
+
digest?: {[P in string]: string};
|
|
919
|
+
name?: string;
|
|
920
|
+
}
|
|
915
921
|
interface FileHashes {
|
|
916
922
|
/** Required. Collection of file hashes. */
|
|
917
923
|
fileHash?: Hash[];
|
|
@@ -1082,6 +1088,8 @@ declare namespace gapi.client {
|
|
|
1082
1088
|
interface LayerDetails {
|
|
1083
1089
|
/** The base images the layer is found within. */
|
|
1084
1090
|
baseImages?: BaseImage[];
|
|
1091
|
+
/** The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid */
|
|
1092
|
+
chainId?: string;
|
|
1085
1093
|
/** 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
1094
|
command?: string;
|
|
1087
1095
|
/** The diff ID (typically a sha256 hash) of the layer in the container image. */
|
|
@@ -1178,6 +1186,8 @@ declare namespace gapi.client {
|
|
|
1178
1186
|
relatedUrl?: RelatedUrl[];
|
|
1179
1187
|
/** A note describing an SBOM reference. */
|
|
1180
1188
|
sbomReference?: SBOMReferenceNote;
|
|
1189
|
+
/** A note describing a secret. */
|
|
1190
|
+
secret?: any;
|
|
1181
1191
|
/** A one sentence description of this note. */
|
|
1182
1192
|
shortDescription?: string;
|
|
1183
1193
|
/** Output only. The time this note was last updated. This field can be used as a filter in list requests. */
|
|
@@ -1222,6 +1232,8 @@ declare namespace gapi.client {
|
|
|
1222
1232
|
resourceUri?: string;
|
|
1223
1233
|
/** Describes a specific SBOM reference occurrences. */
|
|
1224
1234
|
sbomReference?: SBOMReferenceOccurrence;
|
|
1235
|
+
/** Describes a secret. */
|
|
1236
|
+
secret?: SecretOccurrence;
|
|
1225
1237
|
/** Output only. The time this occurrence was last updated. */
|
|
1226
1238
|
updateTime?: string;
|
|
1227
1239
|
/** Describes an available package upgrade on the linked resource. */
|
|
@@ -1412,6 +1424,27 @@ declare namespace gapi.client {
|
|
|
1412
1424
|
/** The progress of the SBOM generation. */
|
|
1413
1425
|
sbomState?: string;
|
|
1414
1426
|
}
|
|
1427
|
+
interface SecretLocation {
|
|
1428
|
+
/** The secret is found from a file. */
|
|
1429
|
+
fileLocation?: GrafeasV1FileLocation;
|
|
1430
|
+
}
|
|
1431
|
+
interface SecretNote {}
|
|
1432
|
+
interface SecretOccurrence {
|
|
1433
|
+
/** Required. Type of secret. */
|
|
1434
|
+
kind?: string;
|
|
1435
|
+
/** Optional. Locations where the secret is detected. */
|
|
1436
|
+
locations?: SecretLocation[];
|
|
1437
|
+
/** Optional. Status of the secret. */
|
|
1438
|
+
statuses?: SecretStatus[];
|
|
1439
|
+
}
|
|
1440
|
+
interface SecretStatus {
|
|
1441
|
+
/** Optional. Optional message about the status code. */
|
|
1442
|
+
message?: string;
|
|
1443
|
+
/** Optional. The status of the secret. */
|
|
1444
|
+
status?: string;
|
|
1445
|
+
/** Optional. The time the secret status was last updated. */
|
|
1446
|
+
updateTime?: string;
|
|
1447
|
+
}
|
|
1415
1448
|
interface SetIamPolicyRequest {
|
|
1416
1449
|
/** REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them. */
|
|
1417
1450
|
policy?: Policy;
|