@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20220910 → 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=v1beta1
|
|
13
|
-
// Revision:
|
|
12
|
+
// Revision: 20220923
|
|
14
13
|
|
|
15
14
|
/// <reference types="gapi.client" />
|
|
16
15
|
|
|
@@ -933,6 +932,8 @@ declare namespace gapi.client {
|
|
|
933
932
|
interface GrafeasV1beta1VulnerabilityDetails {
|
|
934
933
|
/** 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. */
|
|
935
934
|
cvssScore?: number;
|
|
935
|
+
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
936
|
+
cvssVersion?: string;
|
|
936
937
|
/**
|
|
937
938
|
* The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
|
|
938
939
|
* When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by
|
|
@@ -1473,6 +1474,8 @@ declare namespace gapi.client {
|
|
|
1473
1474
|
cvssV2?: CVSS;
|
|
1474
1475
|
/** The full description of the CVSS for version 3. */
|
|
1475
1476
|
cvssV3?: CVSSv3;
|
|
1477
|
+
/** CVSS version used to populate cvss_score and severity. */
|
|
1478
|
+
cvssVersion?: string;
|
|
1476
1479
|
/** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
|
|
1477
1480
|
cwe?: string[];
|
|
1478
1481
|
/** All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in. */
|
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 */
|
|
@@ -228,6 +228,7 @@ gapi.load('client', async () => {
|
|
|
228
228
|
scope: "Test string",
|
|
229
229
|
userInteraction: "Test string",
|
|
230
230
|
},
|
|
231
|
+
cvssVersion: "Test string",
|
|
231
232
|
cwe: [
|
|
232
233
|
"Test string"
|
|
233
234
|
],
|
|
@@ -486,6 +487,7 @@ gapi.load('client', async () => {
|
|
|
486
487
|
scope: "Test string",
|
|
487
488
|
userInteraction: "Test string",
|
|
488
489
|
},
|
|
490
|
+
cvssVersion: "Test string",
|
|
489
491
|
cwe: [
|
|
490
492
|
"Test string"
|
|
491
493
|
],
|
|
@@ -769,6 +771,7 @@ gapi.load('client', async () => {
|
|
|
769
771
|
scope: "Test string",
|
|
770
772
|
userInteraction: "Test string",
|
|
771
773
|
},
|
|
774
|
+
cvssVersion: "Test string",
|
|
772
775
|
cwe: [
|
|
773
776
|
"Test string"
|
|
774
777
|
],
|
|
@@ -1234,6 +1237,7 @@ gapi.load('client', async () => {
|
|
|
1234
1237
|
updateTime: "Test string",
|
|
1235
1238
|
vulnerability: {
|
|
1236
1239
|
cvssScore: 42,
|
|
1240
|
+
cvssVersion: "Test string",
|
|
1237
1241
|
effectiveSeverity: "Test string",
|
|
1238
1242
|
longDescription: "Test string",
|
|
1239
1243
|
packageIssue: [
|
|
@@ -1638,6 +1642,7 @@ gapi.load('client', async () => {
|
|
|
1638
1642
|
updateTime: "Test string",
|
|
1639
1643
|
vulnerability: {
|
|
1640
1644
|
cvssScore: 42,
|
|
1645
|
+
cvssVersion: "Test string",
|
|
1641
1646
|
effectiveSeverity: "Test string",
|
|
1642
1647
|
longDescription: "Test string",
|
|
1643
1648
|
packageIssue: [
|
|
@@ -2077,6 +2082,7 @@ gapi.load('client', async () => {
|
|
|
2077
2082
|
updateTime: "Test string",
|
|
2078
2083
|
vulnerability: {
|
|
2079
2084
|
cvssScore: 42,
|
|
2085
|
+
cvssVersion: "Test string",
|
|
2080
2086
|
effectiveSeverity: "Test string",
|
|
2081
2087
|
longDescription: "Test string",
|
|
2082
2088
|
packageIssue: [
|