@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20230127 → 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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230221
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1572,6 +1572,8 @@ declare namespace gapi.client {
|
|
|
1572
1572
|
interface VulnerabilityNote {
|
|
1573
1573
|
/** 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. */
|
|
1574
1574
|
cvssScore?: number;
|
|
1575
|
+
/** The full description of the v2 CVSS for this vulnerability. */
|
|
1576
|
+
cvssV2?: CVSS;
|
|
1575
1577
|
/** The full description of the CVSSv3 for this vulnerability. */
|
|
1576
1578
|
cvssV3?: CVSSv3;
|
|
1577
1579
|
/** CVSS version used to populate cvss_score and severity. */
|
|
@@ -1591,6 +1593,8 @@ declare namespace gapi.client {
|
|
|
1591
1593
|
interface VulnerabilityOccurrence {
|
|
1592
1594
|
/** 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. */
|
|
1593
1595
|
cvssScore?: number;
|
|
1596
|
+
/** The cvss v2 score for the vulnerability. */
|
|
1597
|
+
cvssV2?: CVSS;
|
|
1594
1598
|
/** The cvss v3 score for the vulnerability. */
|
|
1595
1599
|
cvssv3?: CVSS;
|
|
1596
1600
|
/** Output only. CVSS version used to populate cvss_score and severity. */
|
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 */
|
|
@@ -186,6 +186,20 @@ gapi.load('client', async () => {
|
|
|
186
186
|
},
|
|
187
187
|
vulnerability: {
|
|
188
188
|
cvssScore: 42,
|
|
189
|
+
cvssV2: {
|
|
190
|
+
attackComplexity: "Test string",
|
|
191
|
+
attackVector: "Test string",
|
|
192
|
+
authentication: "Test string",
|
|
193
|
+
availabilityImpact: "Test string",
|
|
194
|
+
baseScore: 42,
|
|
195
|
+
confidentialityImpact: "Test string",
|
|
196
|
+
exploitabilityScore: 42,
|
|
197
|
+
impactScore: 42,
|
|
198
|
+
integrityImpact: "Test string",
|
|
199
|
+
privilegesRequired: "Test string",
|
|
200
|
+
scope: "Test string",
|
|
201
|
+
userInteraction: "Test string",
|
|
202
|
+
},
|
|
189
203
|
cvssV3: {
|
|
190
204
|
attackComplexity: "Test string",
|
|
191
205
|
attackVector: "Test string",
|
|
@@ -414,6 +428,20 @@ gapi.load('client', async () => {
|
|
|
414
428
|
},
|
|
415
429
|
vulnerability: {
|
|
416
430
|
cvssScore: 42,
|
|
431
|
+
cvssV2: {
|
|
432
|
+
attackComplexity: "Test string",
|
|
433
|
+
attackVector: "Test string",
|
|
434
|
+
authentication: "Test string",
|
|
435
|
+
availabilityImpact: "Test string",
|
|
436
|
+
baseScore: 42,
|
|
437
|
+
confidentialityImpact: "Test string",
|
|
438
|
+
exploitabilityScore: 42,
|
|
439
|
+
impactScore: 42,
|
|
440
|
+
integrityImpact: "Test string",
|
|
441
|
+
privilegesRequired: "Test string",
|
|
442
|
+
scope: "Test string",
|
|
443
|
+
userInteraction: "Test string",
|
|
444
|
+
},
|
|
417
445
|
cvssV3: {
|
|
418
446
|
attackComplexity: "Test string",
|
|
419
447
|
attackVector: "Test string",
|
|
@@ -667,6 +695,20 @@ gapi.load('client', async () => {
|
|
|
667
695
|
},
|
|
668
696
|
vulnerability: {
|
|
669
697
|
cvssScore: 42,
|
|
698
|
+
cvssV2: {
|
|
699
|
+
attackComplexity: "Test string",
|
|
700
|
+
attackVector: "Test string",
|
|
701
|
+
authentication: "Test string",
|
|
702
|
+
availabilityImpact: "Test string",
|
|
703
|
+
baseScore: 42,
|
|
704
|
+
confidentialityImpact: "Test string",
|
|
705
|
+
exploitabilityScore: 42,
|
|
706
|
+
impactScore: 42,
|
|
707
|
+
integrityImpact: "Test string",
|
|
708
|
+
privilegesRequired: "Test string",
|
|
709
|
+
scope: "Test string",
|
|
710
|
+
userInteraction: "Test string",
|
|
711
|
+
},
|
|
670
712
|
cvssV3: {
|
|
671
713
|
attackComplexity: "Test string",
|
|
672
714
|
attackVector: "Test string",
|
|
@@ -1376,6 +1418,20 @@ gapi.load('client', async () => {
|
|
|
1376
1418
|
},
|
|
1377
1419
|
vulnerability: {
|
|
1378
1420
|
cvssScore: 42,
|
|
1421
|
+
cvssV2: {
|
|
1422
|
+
attackComplexity: "Test string",
|
|
1423
|
+
attackVector: "Test string",
|
|
1424
|
+
authentication: "Test string",
|
|
1425
|
+
availabilityImpact: "Test string",
|
|
1426
|
+
baseScore: 42,
|
|
1427
|
+
confidentialityImpact: "Test string",
|
|
1428
|
+
exploitabilityScore: 42,
|
|
1429
|
+
impactScore: 42,
|
|
1430
|
+
integrityImpact: "Test string",
|
|
1431
|
+
privilegesRequired: "Test string",
|
|
1432
|
+
scope: "Test string",
|
|
1433
|
+
userInteraction: "Test string",
|
|
1434
|
+
},
|
|
1379
1435
|
cvssv3: {
|
|
1380
1436
|
attackComplexity: "Test string",
|
|
1381
1437
|
attackVector: "Test string",
|
|
@@ -2031,6 +2087,20 @@ gapi.load('client', async () => {
|
|
|
2031
2087
|
},
|
|
2032
2088
|
vulnerability: {
|
|
2033
2089
|
cvssScore: 42,
|
|
2090
|
+
cvssV2: {
|
|
2091
|
+
attackComplexity: "Test string",
|
|
2092
|
+
attackVector: "Test string",
|
|
2093
|
+
authentication: "Test string",
|
|
2094
|
+
availabilityImpact: "Test string",
|
|
2095
|
+
baseScore: 42,
|
|
2096
|
+
confidentialityImpact: "Test string",
|
|
2097
|
+
exploitabilityScore: 42,
|
|
2098
|
+
impactScore: 42,
|
|
2099
|
+
integrityImpact: "Test string",
|
|
2100
|
+
privilegesRequired: "Test string",
|
|
2101
|
+
scope: "Test string",
|
|
2102
|
+
userInteraction: "Test string",
|
|
2103
|
+
},
|
|
2034
2104
|
cvssv3: {
|
|
2035
2105
|
attackComplexity: "Test string",
|
|
2036
2106
|
attackVector: "Test string",
|
|
@@ -2721,6 +2791,20 @@ gapi.load('client', async () => {
|
|
|
2721
2791
|
},
|
|
2722
2792
|
vulnerability: {
|
|
2723
2793
|
cvssScore: 42,
|
|
2794
|
+
cvssV2: {
|
|
2795
|
+
attackComplexity: "Test string",
|
|
2796
|
+
attackVector: "Test string",
|
|
2797
|
+
authentication: "Test string",
|
|
2798
|
+
availabilityImpact: "Test string",
|
|
2799
|
+
baseScore: 42,
|
|
2800
|
+
confidentialityImpact: "Test string",
|
|
2801
|
+
exploitabilityScore: 42,
|
|
2802
|
+
impactScore: 42,
|
|
2803
|
+
integrityImpact: "Test string",
|
|
2804
|
+
privilegesRequired: "Test string",
|
|
2805
|
+
scope: "Test string",
|
|
2806
|
+
userInteraction: "Test string",
|
|
2807
|
+
},
|
|
2724
2808
|
cvssv3: {
|
|
2725
2809
|
attackComplexity: "Test string",
|
|
2726
2810
|
attackVector: "Test string",
|