@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20230203 → 0.0.20230221
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 +5 -1
- package/package.json +1 -1
- package/tests.ts +85 -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: 20230221
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1069,6 +1069,10 @@ declare namespace gapi.client {
|
|
|
1069
1069
|
interface GrafeasV1beta1VulnerabilityDetails {
|
|
1070
1070
|
/** Output only. The CVSS score of this vulnerability. CVSS score is on a scale of 0-10 where 0 indicates low severity and 10 indicates high severity. */
|
|
1071
1071
|
cvssScore?: number;
|
|
1072
|
+
/** The cvss v2 score for the vulnerability. */
|
|
1073
|
+
cvssV2?: CVSS;
|
|
1074
|
+
/** The cvss v3 score for the vulnerability. */
|
|
1075
|
+
cvssV3?: CVSS;
|
|
1072
1076
|
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1073
1077
|
cvssVersion?: string;
|
|
1074
1078
|
/**
|
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: 20230221
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -1372,6 +1372,34 @@ gapi.load('client', async () => {
|
|
|
1372
1372
|
updateTime: "Test string",
|
|
1373
1373
|
vulnerability: {
|
|
1374
1374
|
cvssScore: 42,
|
|
1375
|
+
cvssV2: {
|
|
1376
|
+
attackComplexity: "Test string",
|
|
1377
|
+
attackVector: "Test string",
|
|
1378
|
+
authentication: "Test string",
|
|
1379
|
+
availabilityImpact: "Test string",
|
|
1380
|
+
baseScore: 42,
|
|
1381
|
+
confidentialityImpact: "Test string",
|
|
1382
|
+
exploitabilityScore: 42,
|
|
1383
|
+
impactScore: 42,
|
|
1384
|
+
integrityImpact: "Test string",
|
|
1385
|
+
privilegesRequired: "Test string",
|
|
1386
|
+
scope: "Test string",
|
|
1387
|
+
userInteraction: "Test string",
|
|
1388
|
+
},
|
|
1389
|
+
cvssV3: {
|
|
1390
|
+
attackComplexity: "Test string",
|
|
1391
|
+
attackVector: "Test string",
|
|
1392
|
+
authentication: "Test string",
|
|
1393
|
+
availabilityImpact: "Test string",
|
|
1394
|
+
baseScore: 42,
|
|
1395
|
+
confidentialityImpact: "Test string",
|
|
1396
|
+
exploitabilityScore: 42,
|
|
1397
|
+
impactScore: 42,
|
|
1398
|
+
integrityImpact: "Test string",
|
|
1399
|
+
privilegesRequired: "Test string",
|
|
1400
|
+
scope: "Test string",
|
|
1401
|
+
userInteraction: "Test string",
|
|
1402
|
+
},
|
|
1375
1403
|
cvssVersion: "Test string",
|
|
1376
1404
|
effectiveSeverity: "Test string",
|
|
1377
1405
|
longDescription: "Test string",
|
|
@@ -1805,6 +1833,34 @@ gapi.load('client', async () => {
|
|
|
1805
1833
|
updateTime: "Test string",
|
|
1806
1834
|
vulnerability: {
|
|
1807
1835
|
cvssScore: 42,
|
|
1836
|
+
cvssV2: {
|
|
1837
|
+
attackComplexity: "Test string",
|
|
1838
|
+
attackVector: "Test string",
|
|
1839
|
+
authentication: "Test string",
|
|
1840
|
+
availabilityImpact: "Test string",
|
|
1841
|
+
baseScore: 42,
|
|
1842
|
+
confidentialityImpact: "Test string",
|
|
1843
|
+
exploitabilityScore: 42,
|
|
1844
|
+
impactScore: 42,
|
|
1845
|
+
integrityImpact: "Test string",
|
|
1846
|
+
privilegesRequired: "Test string",
|
|
1847
|
+
scope: "Test string",
|
|
1848
|
+
userInteraction: "Test string",
|
|
1849
|
+
},
|
|
1850
|
+
cvssV3: {
|
|
1851
|
+
attackComplexity: "Test string",
|
|
1852
|
+
attackVector: "Test string",
|
|
1853
|
+
authentication: "Test string",
|
|
1854
|
+
availabilityImpact: "Test string",
|
|
1855
|
+
baseScore: 42,
|
|
1856
|
+
confidentialityImpact: "Test string",
|
|
1857
|
+
exploitabilityScore: 42,
|
|
1858
|
+
impactScore: 42,
|
|
1859
|
+
integrityImpact: "Test string",
|
|
1860
|
+
privilegesRequired: "Test string",
|
|
1861
|
+
scope: "Test string",
|
|
1862
|
+
userInteraction: "Test string",
|
|
1863
|
+
},
|
|
1808
1864
|
cvssVersion: "Test string",
|
|
1809
1865
|
effectiveSeverity: "Test string",
|
|
1810
1866
|
longDescription: "Test string",
|
|
@@ -2273,6 +2329,34 @@ gapi.load('client', async () => {
|
|
|
2273
2329
|
updateTime: "Test string",
|
|
2274
2330
|
vulnerability: {
|
|
2275
2331
|
cvssScore: 42,
|
|
2332
|
+
cvssV2: {
|
|
2333
|
+
attackComplexity: "Test string",
|
|
2334
|
+
attackVector: "Test string",
|
|
2335
|
+
authentication: "Test string",
|
|
2336
|
+
availabilityImpact: "Test string",
|
|
2337
|
+
baseScore: 42,
|
|
2338
|
+
confidentialityImpact: "Test string",
|
|
2339
|
+
exploitabilityScore: 42,
|
|
2340
|
+
impactScore: 42,
|
|
2341
|
+
integrityImpact: "Test string",
|
|
2342
|
+
privilegesRequired: "Test string",
|
|
2343
|
+
scope: "Test string",
|
|
2344
|
+
userInteraction: "Test string",
|
|
2345
|
+
},
|
|
2346
|
+
cvssV3: {
|
|
2347
|
+
attackComplexity: "Test string",
|
|
2348
|
+
attackVector: "Test string",
|
|
2349
|
+
authentication: "Test string",
|
|
2350
|
+
availabilityImpact: "Test string",
|
|
2351
|
+
baseScore: 42,
|
|
2352
|
+
confidentialityImpact: "Test string",
|
|
2353
|
+
exploitabilityScore: 42,
|
|
2354
|
+
impactScore: 42,
|
|
2355
|
+
integrityImpact: "Test string",
|
|
2356
|
+
privilegesRequired: "Test string",
|
|
2357
|
+
scope: "Test string",
|
|
2358
|
+
userInteraction: "Test string",
|
|
2359
|
+
},
|
|
2276
2360
|
cvssVersion: "Test string",
|
|
2277
2361
|
effectiveSeverity: "Test string",
|
|
2278
2362
|
longDescription: "Test string",
|