@maxim_mazurok/gapi.client.containeranalysis-v1 0.0.20220916 → 0.0.20220923
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 -2
- package/package.json +1 -1
- package/tests.ts +7 -1
package/index.d.ts
CHANGED
|
@@ -4,13 +4,12 @@
|
|
|
4
4
|
// Nick Amoscato <https://github.com/namoscato>
|
|
5
5
|
// Declan Vong <https://github.com/declanvong>
|
|
6
6
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
7
|
-
// TypeScript Version: 2.8
|
|
8
7
|
|
|
9
8
|
// IMPORTANT
|
|
10
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
11
|
// Generated from: https://containeranalysis.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20220923
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -1445,6 +1444,8 @@ declare namespace gapi.client {
|
|
|
1445
1444
|
cvssScore?: number;
|
|
1446
1445
|
/** The full description of the CVSSv3 for this vulnerability. */
|
|
1447
1446
|
cvssV3?: CVSSv3;
|
|
1447
|
+
/** CVSS version used to populate cvss_score and severity. */
|
|
1448
|
+
cvssVersion?: string;
|
|
1448
1449
|
/** Details of all known distros and packages affected by this vulnerability. */
|
|
1449
1450
|
details?: Detail[];
|
|
1450
1451
|
/** The note provider assigned severity of this vulnerability. */
|
|
@@ -1462,6 +1463,8 @@ declare namespace gapi.client {
|
|
|
1462
1463
|
cvssScore?: number;
|
|
1463
1464
|
/** The cvss v3 score for the vulnerability. */
|
|
1464
1465
|
cvssv3?: CVSS;
|
|
1466
|
+
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1467
|
+
cvssVersion?: string;
|
|
1465
1468
|
/**
|
|
1466
1469
|
* The distro assigned severity for this vulnerability when it is available, otherwise this is the note provider assigned severity. When there are multiple PackageIssues for this
|
|
1467
1470
|
* vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For
|
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: 20220923
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -199,6 +199,7 @@ gapi.load('client', async () => {
|
|
|
199
199
|
scope: "Test string",
|
|
200
200
|
userInteraction: "Test string",
|
|
201
201
|
},
|
|
202
|
+
cvssVersion: "Test string",
|
|
202
203
|
details: [
|
|
203
204
|
{
|
|
204
205
|
affectedCpeUri: "Test string",
|
|
@@ -426,6 +427,7 @@ gapi.load('client', async () => {
|
|
|
426
427
|
scope: "Test string",
|
|
427
428
|
userInteraction: "Test string",
|
|
428
429
|
},
|
|
430
|
+
cvssVersion: "Test string",
|
|
429
431
|
details: [
|
|
430
432
|
{
|
|
431
433
|
affectedCpeUri: "Test string",
|
|
@@ -678,6 +680,7 @@ gapi.load('client', async () => {
|
|
|
678
680
|
scope: "Test string",
|
|
679
681
|
userInteraction: "Test string",
|
|
680
682
|
},
|
|
683
|
+
cvssVersion: "Test string",
|
|
681
684
|
details: [
|
|
682
685
|
{
|
|
683
686
|
affectedCpeUri: "Test string",
|
|
@@ -1387,6 +1390,7 @@ gapi.load('client', async () => {
|
|
|
1387
1390
|
scope: "Test string",
|
|
1388
1391
|
userInteraction: "Test string",
|
|
1389
1392
|
},
|
|
1393
|
+
cvssVersion: "Test string",
|
|
1390
1394
|
effectiveSeverity: "Test string",
|
|
1391
1395
|
fixAvailable: true,
|
|
1392
1396
|
longDescription: "Test string",
|
|
@@ -2041,6 +2045,7 @@ gapi.load('client', async () => {
|
|
|
2041
2045
|
scope: "Test string",
|
|
2042
2046
|
userInteraction: "Test string",
|
|
2043
2047
|
},
|
|
2048
|
+
cvssVersion: "Test string",
|
|
2044
2049
|
effectiveSeverity: "Test string",
|
|
2045
2050
|
fixAvailable: true,
|
|
2046
2051
|
longDescription: "Test string",
|
|
@@ -2730,6 +2735,7 @@ gapi.load('client', async () => {
|
|
|
2730
2735
|
scope: "Test string",
|
|
2731
2736
|
userInteraction: "Test string",
|
|
2732
2737
|
},
|
|
2738
|
+
cvssVersion: "Test string",
|
|
2733
2739
|
effectiveSeverity: "Test string",
|
|
2734
2740
|
fixAvailable: true,
|
|
2735
2741
|
longDescription: "Test string",
|