@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20230707 → 0.0.20230721
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 +18 -3
- package/package.json +1 -1
- package/tests.ts +7 -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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230721
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -57,7 +57,7 @@ declare namespace gapi.client {
|
|
|
57
57
|
string[];
|
|
58
58
|
}
|
|
59
59
|
interface Assessment {
|
|
60
|
-
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
|
|
60
|
+
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs. */
|
|
61
61
|
cve?:
|
|
62
62
|
string;
|
|
63
63
|
/** Contains information about the impact of this vulnerability, this will change with time. */
|
|
@@ -84,6 +84,9 @@ declare namespace gapi.client {
|
|
|
84
84
|
/** Provides the state of this Vulnerability assessment. */
|
|
85
85
|
state?:
|
|
86
86
|
string;
|
|
87
|
+
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
88
|
+
vulnerabilityId?:
|
|
89
|
+
string;
|
|
87
90
|
}
|
|
88
91
|
interface Attestation {
|
|
89
92
|
genericSignedAttestation?:
|
|
@@ -266,6 +269,9 @@ declare namespace gapi.client {
|
|
|
266
269
|
*/
|
|
267
270
|
args?:
|
|
268
271
|
string[];
|
|
272
|
+
/** Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption. */
|
|
273
|
+
automapSubstitutions?:
|
|
274
|
+
boolean;
|
|
269
275
|
/**
|
|
270
276
|
* Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be
|
|
271
277
|
* outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the
|
|
@@ -608,6 +614,9 @@ declare namespace gapi.client {
|
|
|
608
614
|
string;
|
|
609
615
|
}
|
|
610
616
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {
|
|
617
|
+
/** Option to include built-in and custom substitutions as env variables for all build steps. */
|
|
618
|
+
automapSubstitutions?:
|
|
619
|
+
boolean;
|
|
611
620
|
/** Optional. Option to specify how default logs buckets are setup. */
|
|
612
621
|
defaultLogsBucketBehavior?:
|
|
613
622
|
string;
|
|
@@ -701,6 +710,9 @@ declare namespace gapi.client {
|
|
|
701
710
|
*/
|
|
702
711
|
args?:
|
|
703
712
|
string[];
|
|
713
|
+
/** Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption. */
|
|
714
|
+
automapSubstitutions?:
|
|
715
|
+
boolean;
|
|
704
716
|
/**
|
|
705
717
|
* Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be
|
|
706
718
|
* outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the
|
|
@@ -2398,7 +2410,7 @@ declare namespace gapi.client {
|
|
|
2398
2410
|
string;
|
|
2399
2411
|
}
|
|
2400
2412
|
interface VexAssessment {
|
|
2401
|
-
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
|
|
2413
|
+
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs. */
|
|
2402
2414
|
cve?:
|
|
2403
2415
|
string;
|
|
2404
2416
|
/** Contains information about the impact of this vulnerability, this will change with time. */
|
|
@@ -2419,6 +2431,9 @@ declare namespace gapi.client {
|
|
|
2419
2431
|
/** Provides the state of this Vulnerability assessment. */
|
|
2420
2432
|
state?:
|
|
2421
2433
|
string;
|
|
2434
|
+
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
2435
|
+
vulnerabilityId?:
|
|
2436
|
+
string;
|
|
2422
2437
|
}
|
|
2423
2438
|
interface Volume {
|
|
2424
2439
|
/** Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps. */
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230721
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -319,6 +319,7 @@ gapi.load('client', async () => {
|
|
|
319
319
|
],
|
|
320
320
|
shortDescription: "Test string",
|
|
321
321
|
state: "Test string",
|
|
322
|
+
vulnerabilityId: "Test string",
|
|
322
323
|
},
|
|
323
324
|
languageCode: "Test string",
|
|
324
325
|
longDescription: "Test string",
|
|
@@ -627,6 +628,7 @@ gapi.load('client', async () => {
|
|
|
627
628
|
],
|
|
628
629
|
shortDescription: "Test string",
|
|
629
630
|
state: "Test string",
|
|
631
|
+
vulnerabilityId: "Test string",
|
|
630
632
|
},
|
|
631
633
|
languageCode: "Test string",
|
|
632
634
|
longDescription: "Test string",
|
|
@@ -960,6 +962,7 @@ gapi.load('client', async () => {
|
|
|
960
962
|
],
|
|
961
963
|
shortDescription: "Test string",
|
|
962
964
|
state: "Test string",
|
|
965
|
+
vulnerabilityId: "Test string",
|
|
963
966
|
},
|
|
964
967
|
languageCode: "Test string",
|
|
965
968
|
longDescription: "Test string",
|
|
@@ -1594,6 +1597,7 @@ gapi.load('client', async () => {
|
|
|
1594
1597
|
}
|
|
1595
1598
|
],
|
|
1596
1599
|
state: "Test string",
|
|
1600
|
+
vulnerabilityId: "Test string",
|
|
1597
1601
|
},
|
|
1598
1602
|
},
|
|
1599
1603
|
}
|
|
@@ -2169,6 +2173,7 @@ gapi.load('client', async () => {
|
|
|
2169
2173
|
}
|
|
2170
2174
|
],
|
|
2171
2175
|
state: "Test string",
|
|
2176
|
+
vulnerabilityId: "Test string",
|
|
2172
2177
|
},
|
|
2173
2178
|
},
|
|
2174
2179
|
});
|
|
@@ -2779,6 +2784,7 @@ gapi.load('client', async () => {
|
|
|
2779
2784
|
}
|
|
2780
2785
|
],
|
|
2781
2786
|
state: "Test string",
|
|
2787
|
+
vulnerabilityId: "Test string",
|
|
2782
2788
|
},
|
|
2783
2789
|
},
|
|
2784
2790
|
});
|