@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.0.20230127 → 0.0.20230203
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 +104 -1
- package/package.json +1 -1
- package/tests.ts +271 -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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230203
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -43,6 +43,25 @@ declare namespace gapi.client {
|
|
|
43
43
|
*/
|
|
44
44
|
names?: string[];
|
|
45
45
|
}
|
|
46
|
+
interface Assessment {
|
|
47
|
+
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
|
|
48
|
+
cve?: string;
|
|
49
|
+
/** A detailed description of this Vex. */
|
|
50
|
+
longDescription?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g.
|
|
53
|
+
* Link to a document which details how this assessment concluded the state of this vulnerability.
|
|
54
|
+
*/
|
|
55
|
+
relatedUris?: URI[];
|
|
56
|
+
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
57
|
+
remediations?: Remediation[];
|
|
58
|
+
/** A one sentence description of this Vex. */
|
|
59
|
+
shortDescription?: string;
|
|
60
|
+
/** Provides the state of this Vulnerability assessment. */
|
|
61
|
+
state?: string;
|
|
62
|
+
/** Contains information about this vulnerability, this will change with time. */
|
|
63
|
+
threats?: Threat[];
|
|
64
|
+
}
|
|
46
65
|
interface Attestation {
|
|
47
66
|
pgpSignedAttestation?: PgpSignedAttestation;
|
|
48
67
|
}
|
|
@@ -1297,6 +1316,8 @@ declare namespace gapi.client {
|
|
|
1297
1316
|
updateTime?: string;
|
|
1298
1317
|
/** A note describing an upgrade. */
|
|
1299
1318
|
upgrade?: UpgradeNote;
|
|
1319
|
+
/** A note describing a vulnerability assessment. */
|
|
1320
|
+
vulnerabilityAssessment?: VulnerabilityAssessmentNote;
|
|
1300
1321
|
/** A package vulnerability type of note. */
|
|
1301
1322
|
vulnerabilityType?: VulnerabilityType;
|
|
1302
1323
|
}
|
|
@@ -1529,6 +1550,25 @@ declare namespace gapi.client {
|
|
|
1529
1550
|
*/
|
|
1530
1551
|
version?: number;
|
|
1531
1552
|
}
|
|
1553
|
+
interface Product {
|
|
1554
|
+
/** Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. */
|
|
1555
|
+
genericUri?: string;
|
|
1556
|
+
/**
|
|
1557
|
+
* Token that identifies a product so that it can be referred to from other parts in the document. There is no predefined format as long as it uniquely identifies a group in the
|
|
1558
|
+
* context of the current document.
|
|
1559
|
+
*/
|
|
1560
|
+
id?: string;
|
|
1561
|
+
/** Name of the product. */
|
|
1562
|
+
name?: string;
|
|
1563
|
+
}
|
|
1564
|
+
interface Publisher {
|
|
1565
|
+
/** The context or namespace. Contains a URL which is under control of the issuing party and can be used as a globally unique identifier for that issuing party. Example: https://csaf.io */
|
|
1566
|
+
context?: string;
|
|
1567
|
+
/** Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. */
|
|
1568
|
+
issuingAuthority?: string;
|
|
1569
|
+
/** Name of the publisher. Examples: 'Google', 'Google Cloud Platform'. */
|
|
1570
|
+
name?: string;
|
|
1571
|
+
}
|
|
1532
1572
|
interface Recipe {
|
|
1533
1573
|
/**
|
|
1534
1574
|
* Collection of all external inputs that influenced the build on top of recipe.definedInMaterial and recipe.entryPoint. For example, if the recipe type were "make", then this might be
|
|
@@ -1573,6 +1613,16 @@ declare namespace gapi.client {
|
|
|
1573
1613
|
/** Output only. The type of relationship between the source and target SPDX elements */
|
|
1574
1614
|
type?: string;
|
|
1575
1615
|
}
|
|
1616
|
+
interface Remediation {
|
|
1617
|
+
/** Contains a comprehensive human-readable discussion of the remediation. */
|
|
1618
|
+
details?: string;
|
|
1619
|
+
/** Contains the date from which the remediation is available. */
|
|
1620
|
+
remediationTime?: string;
|
|
1621
|
+
/** The type of remediation that can be applied. */
|
|
1622
|
+
remediationType?: string;
|
|
1623
|
+
/** Contains the URL where to obtain the remediation. */
|
|
1624
|
+
remediationUri?: URI;
|
|
1625
|
+
}
|
|
1576
1626
|
interface RepoSource {
|
|
1577
1627
|
/** Name of the branch to build. */
|
|
1578
1628
|
branchName?: string;
|
|
@@ -1756,6 +1806,12 @@ declare namespace gapi.client {
|
|
|
1756
1806
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
1757
1807
|
permissions?: string[];
|
|
1758
1808
|
}
|
|
1809
|
+
interface Threat {
|
|
1810
|
+
/** Represents a thorough human-readable discussion of the threat. */
|
|
1811
|
+
details?: string;
|
|
1812
|
+
/** The type of threat. */
|
|
1813
|
+
threatType?: string;
|
|
1814
|
+
}
|
|
1759
1815
|
interface TimeSpan {
|
|
1760
1816
|
/** End of time span. */
|
|
1761
1817
|
endTime?: string;
|
|
@@ -1794,6 +1850,12 @@ declare namespace gapi.client {
|
|
|
1794
1850
|
/** Required - The version of the package in a machine + human readable form. */
|
|
1795
1851
|
parsedVersion?: Version;
|
|
1796
1852
|
}
|
|
1853
|
+
interface URI {
|
|
1854
|
+
/** A label for the URI. */
|
|
1855
|
+
label?: string;
|
|
1856
|
+
/** The unique resource identifier. */
|
|
1857
|
+
uri?: string;
|
|
1858
|
+
}
|
|
1797
1859
|
interface Version {
|
|
1798
1860
|
/** Used to correct mistakes in the version numbering scheme. */
|
|
1799
1861
|
epoch?: number;
|
|
@@ -1809,17 +1871,54 @@ declare namespace gapi.client {
|
|
|
1809
1871
|
/** The iteration of the package build from the above version. */
|
|
1810
1872
|
revision?: string;
|
|
1811
1873
|
}
|
|
1874
|
+
interface VexAssessment {
|
|
1875
|
+
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
|
|
1876
|
+
cve?: string;
|
|
1877
|
+
/** The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`. */
|
|
1878
|
+
noteName?: string;
|
|
1879
|
+
/**
|
|
1880
|
+
* Holds a list of references associated with this vulnerability item and assessment. These uris have additional information about the vulnerability and the assessment itself. E.g.
|
|
1881
|
+
* Link to a document which details how this assessment concluded the state of this vulnerability.
|
|
1882
|
+
*/
|
|
1883
|
+
relatedUris?: URI[];
|
|
1884
|
+
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
1885
|
+
remediations?: Remediation[];
|
|
1886
|
+
/** Provides the state of this Vulnerability assessment. */
|
|
1887
|
+
state?: string;
|
|
1888
|
+
/** Contains information about this vulnerability, this will change with time. */
|
|
1889
|
+
threats?: Threat[];
|
|
1890
|
+
}
|
|
1812
1891
|
interface Volume {
|
|
1813
1892
|
/** 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. */
|
|
1814
1893
|
name?: string;
|
|
1815
1894
|
/** Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths. */
|
|
1816
1895
|
path?: string;
|
|
1817
1896
|
}
|
|
1897
|
+
interface VulnerabilityAssessmentNote {
|
|
1898
|
+
/** Represents a vulnerability assessment for the product. */
|
|
1899
|
+
assessment?: Assessment;
|
|
1900
|
+
/** Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646. */
|
|
1901
|
+
languageCode?: string;
|
|
1902
|
+
/** A detailed description of this Vex. */
|
|
1903
|
+
longDescription?: string;
|
|
1904
|
+
/** The product affected by this vex. */
|
|
1905
|
+
product?: Product;
|
|
1906
|
+
/** Publisher details of this Note. */
|
|
1907
|
+
publisher?: Publisher;
|
|
1908
|
+
/** A one sentence description of this Vex. */
|
|
1909
|
+
shortDescription?: string;
|
|
1910
|
+
/** The title of the note. E.g. `Vex-Debian-11.4` */
|
|
1911
|
+
title?: string;
|
|
1912
|
+
}
|
|
1818
1913
|
interface VulnerabilityDetails {
|
|
1819
1914
|
/** 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. */
|
|
1820
1915
|
cvssScore?: number;
|
|
1916
|
+
/** The CVSS v2 score of this vulnerability. */
|
|
1917
|
+
cvssV2?: CVSS;
|
|
1821
1918
|
/** The CVSS v3 score of this vulnerability. */
|
|
1822
1919
|
cvssV3?: CVSS;
|
|
1920
|
+
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1921
|
+
cvssVersion?: string;
|
|
1823
1922
|
/**
|
|
1824
1923
|
* The distro assigned severity for this vulnerability when that is available and note provider assigned severity when distro has not yet assigned a severity for this vulnerability.
|
|
1825
1924
|
* When there are multiple package issues for this vulnerability, they can have different effective severities because some might come from the distro and some might come from
|
|
@@ -1836,6 +1935,8 @@ declare namespace gapi.client {
|
|
|
1836
1935
|
* package types.
|
|
1837
1936
|
*/
|
|
1838
1937
|
type?: string;
|
|
1938
|
+
/** VexAssessment provides all publisher provided Vex information that is related to this vulnerability for this resource. */
|
|
1939
|
+
vexAssessment?: VexAssessment;
|
|
1839
1940
|
}
|
|
1840
1941
|
interface VulnerabilityLocation {
|
|
1841
1942
|
/**
|
|
@@ -1855,6 +1956,8 @@ declare namespace gapi.client {
|
|
|
1855
1956
|
cvssScore?: number;
|
|
1856
1957
|
/** The full description of the CVSS for version 2. */
|
|
1857
1958
|
cvssV2?: CVSS;
|
|
1959
|
+
/** CVSS version used to populate cvss_score and severity. */
|
|
1960
|
+
cvssVersion?: string;
|
|
1858
1961
|
/** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
|
|
1859
1962
|
cwe?: string[];
|
|
1860
1963
|
/** 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: 20230203
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -210,6 +210,51 @@ gapi.load('client', async () => {
|
|
|
210
210
|
revision: "Test string",
|
|
211
211
|
},
|
|
212
212
|
},
|
|
213
|
+
vulnerabilityAssessment: {
|
|
214
|
+
assessment: {
|
|
215
|
+
cve: "Test string",
|
|
216
|
+
longDescription: "Test string",
|
|
217
|
+
relatedUris: [
|
|
218
|
+
{
|
|
219
|
+
label: "Test string",
|
|
220
|
+
uri: "Test string",
|
|
221
|
+
}
|
|
222
|
+
],
|
|
223
|
+
remediations: [
|
|
224
|
+
{
|
|
225
|
+
details: "Test string",
|
|
226
|
+
remediationTime: "Test string",
|
|
227
|
+
remediationType: "Test string",
|
|
228
|
+
remediationUri: {
|
|
229
|
+
label: "Test string",
|
|
230
|
+
uri: "Test string",
|
|
231
|
+
},
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
shortDescription: "Test string",
|
|
235
|
+
state: "Test string",
|
|
236
|
+
threats: [
|
|
237
|
+
{
|
|
238
|
+
details: "Test string",
|
|
239
|
+
threatType: "Test string",
|
|
240
|
+
}
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
languageCode: "Test string",
|
|
244
|
+
longDescription: "Test string",
|
|
245
|
+
product: {
|
|
246
|
+
genericUri: "Test string",
|
|
247
|
+
id: "Test string",
|
|
248
|
+
name: "Test string",
|
|
249
|
+
},
|
|
250
|
+
publisher: {
|
|
251
|
+
context: "Test string",
|
|
252
|
+
issuingAuthority: "Test string",
|
|
253
|
+
name: "Test string",
|
|
254
|
+
},
|
|
255
|
+
shortDescription: "Test string",
|
|
256
|
+
title: "Test string",
|
|
257
|
+
},
|
|
213
258
|
vulnerabilityType: {
|
|
214
259
|
cvssScore: 42,
|
|
215
260
|
cvssV2: {
|
|
@@ -226,6 +271,7 @@ gapi.load('client', async () => {
|
|
|
226
271
|
scope: "Test string",
|
|
227
272
|
userInteraction: "Test string",
|
|
228
273
|
},
|
|
274
|
+
cvssVersion: "Test string",
|
|
229
275
|
cwe: [
|
|
230
276
|
"Test string"
|
|
231
277
|
],
|
|
@@ -483,6 +529,51 @@ gapi.load('client', async () => {
|
|
|
483
529
|
revision: "Test string",
|
|
484
530
|
},
|
|
485
531
|
},
|
|
532
|
+
vulnerabilityAssessment: {
|
|
533
|
+
assessment: {
|
|
534
|
+
cve: "Test string",
|
|
535
|
+
longDescription: "Test string",
|
|
536
|
+
relatedUris: [
|
|
537
|
+
{
|
|
538
|
+
label: "Test string",
|
|
539
|
+
uri: "Test string",
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
remediations: [
|
|
543
|
+
{
|
|
544
|
+
details: "Test string",
|
|
545
|
+
remediationTime: "Test string",
|
|
546
|
+
remediationType: "Test string",
|
|
547
|
+
remediationUri: {
|
|
548
|
+
label: "Test string",
|
|
549
|
+
uri: "Test string",
|
|
550
|
+
},
|
|
551
|
+
}
|
|
552
|
+
],
|
|
553
|
+
shortDescription: "Test string",
|
|
554
|
+
state: "Test string",
|
|
555
|
+
threats: [
|
|
556
|
+
{
|
|
557
|
+
details: "Test string",
|
|
558
|
+
threatType: "Test string",
|
|
559
|
+
}
|
|
560
|
+
],
|
|
561
|
+
},
|
|
562
|
+
languageCode: "Test string",
|
|
563
|
+
longDescription: "Test string",
|
|
564
|
+
product: {
|
|
565
|
+
genericUri: "Test string",
|
|
566
|
+
id: "Test string",
|
|
567
|
+
name: "Test string",
|
|
568
|
+
},
|
|
569
|
+
publisher: {
|
|
570
|
+
context: "Test string",
|
|
571
|
+
issuingAuthority: "Test string",
|
|
572
|
+
name: "Test string",
|
|
573
|
+
},
|
|
574
|
+
shortDescription: "Test string",
|
|
575
|
+
title: "Test string",
|
|
576
|
+
},
|
|
486
577
|
vulnerabilityType: {
|
|
487
578
|
cvssScore: 42,
|
|
488
579
|
cvssV2: {
|
|
@@ -499,6 +590,7 @@ gapi.load('client', async () => {
|
|
|
499
590
|
scope: "Test string",
|
|
500
591
|
userInteraction: "Test string",
|
|
501
592
|
},
|
|
593
|
+
cvssVersion: "Test string",
|
|
502
594
|
cwe: [
|
|
503
595
|
"Test string"
|
|
504
596
|
],
|
|
@@ -1259,6 +1351,20 @@ gapi.load('client', async () => {
|
|
|
1259
1351
|
},
|
|
1260
1352
|
vulnerabilityDetails: {
|
|
1261
1353
|
cvssScore: 42,
|
|
1354
|
+
cvssV2: {
|
|
1355
|
+
attackComplexity: "Test string",
|
|
1356
|
+
attackVector: "Test string",
|
|
1357
|
+
authentication: "Test string",
|
|
1358
|
+
availabilityImpact: "Test string",
|
|
1359
|
+
baseScore: 42,
|
|
1360
|
+
confidentialityImpact: "Test string",
|
|
1361
|
+
exploitabilityScore: 42,
|
|
1362
|
+
impactScore: 42,
|
|
1363
|
+
integrityImpact: "Test string",
|
|
1364
|
+
privilegesRequired: "Test string",
|
|
1365
|
+
scope: "Test string",
|
|
1366
|
+
userInteraction: "Test string",
|
|
1367
|
+
},
|
|
1262
1368
|
cvssV3: {
|
|
1263
1369
|
attackComplexity: "Test string",
|
|
1264
1370
|
attackVector: "Test string",
|
|
@@ -1273,6 +1379,7 @@ gapi.load('client', async () => {
|
|
|
1273
1379
|
scope: "Test string",
|
|
1274
1380
|
userInteraction: "Test string",
|
|
1275
1381
|
},
|
|
1382
|
+
cvssVersion: "Test string",
|
|
1276
1383
|
effectiveSeverity: "Test string",
|
|
1277
1384
|
packageIssue: [
|
|
1278
1385
|
{
|
|
@@ -1315,6 +1422,34 @@ gapi.load('client', async () => {
|
|
|
1315
1422
|
],
|
|
1316
1423
|
severity: "Test string",
|
|
1317
1424
|
type: "Test string",
|
|
1425
|
+
vexAssessment: {
|
|
1426
|
+
cve: "Test string",
|
|
1427
|
+
noteName: "Test string",
|
|
1428
|
+
relatedUris: [
|
|
1429
|
+
{
|
|
1430
|
+
label: "Test string",
|
|
1431
|
+
uri: "Test string",
|
|
1432
|
+
}
|
|
1433
|
+
],
|
|
1434
|
+
remediations: [
|
|
1435
|
+
{
|
|
1436
|
+
details: "Test string",
|
|
1437
|
+
remediationTime: "Test string",
|
|
1438
|
+
remediationType: "Test string",
|
|
1439
|
+
remediationUri: {
|
|
1440
|
+
label: "Test string",
|
|
1441
|
+
uri: "Test string",
|
|
1442
|
+
},
|
|
1443
|
+
}
|
|
1444
|
+
],
|
|
1445
|
+
state: "Test string",
|
|
1446
|
+
threats: [
|
|
1447
|
+
{
|
|
1448
|
+
details: "Test string",
|
|
1449
|
+
threatType: "Test string",
|
|
1450
|
+
}
|
|
1451
|
+
],
|
|
1452
|
+
},
|
|
1318
1453
|
},
|
|
1319
1454
|
});
|
|
1320
1455
|
/** Deletes the given `Occurrence` from the system. Use this when an `Occurrence` is no longer applicable for the given resource. */
|
|
@@ -2019,6 +2154,20 @@ gapi.load('client', async () => {
|
|
|
2019
2154
|
},
|
|
2020
2155
|
vulnerabilityDetails: {
|
|
2021
2156
|
cvssScore: 42,
|
|
2157
|
+
cvssV2: {
|
|
2158
|
+
attackComplexity: "Test string",
|
|
2159
|
+
attackVector: "Test string",
|
|
2160
|
+
authentication: "Test string",
|
|
2161
|
+
availabilityImpact: "Test string",
|
|
2162
|
+
baseScore: 42,
|
|
2163
|
+
confidentialityImpact: "Test string",
|
|
2164
|
+
exploitabilityScore: 42,
|
|
2165
|
+
impactScore: 42,
|
|
2166
|
+
integrityImpact: "Test string",
|
|
2167
|
+
privilegesRequired: "Test string",
|
|
2168
|
+
scope: "Test string",
|
|
2169
|
+
userInteraction: "Test string",
|
|
2170
|
+
},
|
|
2022
2171
|
cvssV3: {
|
|
2023
2172
|
attackComplexity: "Test string",
|
|
2024
2173
|
attackVector: "Test string",
|
|
@@ -2033,6 +2182,7 @@ gapi.load('client', async () => {
|
|
|
2033
2182
|
scope: "Test string",
|
|
2034
2183
|
userInteraction: "Test string",
|
|
2035
2184
|
},
|
|
2185
|
+
cvssVersion: "Test string",
|
|
2036
2186
|
effectiveSeverity: "Test string",
|
|
2037
2187
|
packageIssue: [
|
|
2038
2188
|
{
|
|
@@ -2075,6 +2225,34 @@ gapi.load('client', async () => {
|
|
|
2075
2225
|
],
|
|
2076
2226
|
severity: "Test string",
|
|
2077
2227
|
type: "Test string",
|
|
2228
|
+
vexAssessment: {
|
|
2229
|
+
cve: "Test string",
|
|
2230
|
+
noteName: "Test string",
|
|
2231
|
+
relatedUris: [
|
|
2232
|
+
{
|
|
2233
|
+
label: "Test string",
|
|
2234
|
+
uri: "Test string",
|
|
2235
|
+
}
|
|
2236
|
+
],
|
|
2237
|
+
remediations: [
|
|
2238
|
+
{
|
|
2239
|
+
details: "Test string",
|
|
2240
|
+
remediationTime: "Test string",
|
|
2241
|
+
remediationType: "Test string",
|
|
2242
|
+
remediationUri: {
|
|
2243
|
+
label: "Test string",
|
|
2244
|
+
uri: "Test string",
|
|
2245
|
+
},
|
|
2246
|
+
}
|
|
2247
|
+
],
|
|
2248
|
+
state: "Test string",
|
|
2249
|
+
threats: [
|
|
2250
|
+
{
|
|
2251
|
+
details: "Test string",
|
|
2252
|
+
threatType: "Test string",
|
|
2253
|
+
}
|
|
2254
|
+
],
|
|
2255
|
+
},
|
|
2078
2256
|
},
|
|
2079
2257
|
});
|
|
2080
2258
|
/**
|
|
@@ -2372,6 +2550,51 @@ gapi.load('client', async () => {
|
|
|
2372
2550
|
revision: "Test string",
|
|
2373
2551
|
},
|
|
2374
2552
|
},
|
|
2553
|
+
vulnerabilityAssessment: {
|
|
2554
|
+
assessment: {
|
|
2555
|
+
cve: "Test string",
|
|
2556
|
+
longDescription: "Test string",
|
|
2557
|
+
relatedUris: [
|
|
2558
|
+
{
|
|
2559
|
+
label: "Test string",
|
|
2560
|
+
uri: "Test string",
|
|
2561
|
+
}
|
|
2562
|
+
],
|
|
2563
|
+
remediations: [
|
|
2564
|
+
{
|
|
2565
|
+
details: "Test string",
|
|
2566
|
+
remediationTime: "Test string",
|
|
2567
|
+
remediationType: "Test string",
|
|
2568
|
+
remediationUri: {
|
|
2569
|
+
label: "Test string",
|
|
2570
|
+
uri: "Test string",
|
|
2571
|
+
},
|
|
2572
|
+
}
|
|
2573
|
+
],
|
|
2574
|
+
shortDescription: "Test string",
|
|
2575
|
+
state: "Test string",
|
|
2576
|
+
threats: [
|
|
2577
|
+
{
|
|
2578
|
+
details: "Test string",
|
|
2579
|
+
threatType: "Test string",
|
|
2580
|
+
}
|
|
2581
|
+
],
|
|
2582
|
+
},
|
|
2583
|
+
languageCode: "Test string",
|
|
2584
|
+
longDescription: "Test string",
|
|
2585
|
+
product: {
|
|
2586
|
+
genericUri: "Test string",
|
|
2587
|
+
id: "Test string",
|
|
2588
|
+
name: "Test string",
|
|
2589
|
+
},
|
|
2590
|
+
publisher: {
|
|
2591
|
+
context: "Test string",
|
|
2592
|
+
issuingAuthority: "Test string",
|
|
2593
|
+
name: "Test string",
|
|
2594
|
+
},
|
|
2595
|
+
shortDescription: "Test string",
|
|
2596
|
+
title: "Test string",
|
|
2597
|
+
},
|
|
2375
2598
|
vulnerabilityType: {
|
|
2376
2599
|
cvssScore: 42,
|
|
2377
2600
|
cvssV2: {
|
|
@@ -2388,6 +2611,7 @@ gapi.load('client', async () => {
|
|
|
2388
2611
|
scope: "Test string",
|
|
2389
2612
|
userInteraction: "Test string",
|
|
2390
2613
|
},
|
|
2614
|
+
cvssVersion: "Test string",
|
|
2391
2615
|
cwe: [
|
|
2392
2616
|
"Test string"
|
|
2393
2617
|
],
|
|
@@ -2645,6 +2869,51 @@ gapi.load('client', async () => {
|
|
|
2645
2869
|
revision: "Test string",
|
|
2646
2870
|
},
|
|
2647
2871
|
},
|
|
2872
|
+
vulnerabilityAssessment: {
|
|
2873
|
+
assessment: {
|
|
2874
|
+
cve: "Test string",
|
|
2875
|
+
longDescription: "Test string",
|
|
2876
|
+
relatedUris: [
|
|
2877
|
+
{
|
|
2878
|
+
label: "Test string",
|
|
2879
|
+
uri: "Test string",
|
|
2880
|
+
}
|
|
2881
|
+
],
|
|
2882
|
+
remediations: [
|
|
2883
|
+
{
|
|
2884
|
+
details: "Test string",
|
|
2885
|
+
remediationTime: "Test string",
|
|
2886
|
+
remediationType: "Test string",
|
|
2887
|
+
remediationUri: {
|
|
2888
|
+
label: "Test string",
|
|
2889
|
+
uri: "Test string",
|
|
2890
|
+
},
|
|
2891
|
+
}
|
|
2892
|
+
],
|
|
2893
|
+
shortDescription: "Test string",
|
|
2894
|
+
state: "Test string",
|
|
2895
|
+
threats: [
|
|
2896
|
+
{
|
|
2897
|
+
details: "Test string",
|
|
2898
|
+
threatType: "Test string",
|
|
2899
|
+
}
|
|
2900
|
+
],
|
|
2901
|
+
},
|
|
2902
|
+
languageCode: "Test string",
|
|
2903
|
+
longDescription: "Test string",
|
|
2904
|
+
product: {
|
|
2905
|
+
genericUri: "Test string",
|
|
2906
|
+
id: "Test string",
|
|
2907
|
+
name: "Test string",
|
|
2908
|
+
},
|
|
2909
|
+
publisher: {
|
|
2910
|
+
context: "Test string",
|
|
2911
|
+
issuingAuthority: "Test string",
|
|
2912
|
+
name: "Test string",
|
|
2913
|
+
},
|
|
2914
|
+
shortDescription: "Test string",
|
|
2915
|
+
title: "Test string",
|
|
2916
|
+
},
|
|
2648
2917
|
vulnerabilityType: {
|
|
2649
2918
|
cvssScore: 42,
|
|
2650
2919
|
cvssV2: {
|
|
@@ -2661,6 +2930,7 @@ gapi.load('client', async () => {
|
|
|
2661
2930
|
scope: "Test string",
|
|
2662
2931
|
userInteraction: "Test string",
|
|
2663
2932
|
},
|
|
2933
|
+
cvssVersion: "Test string",
|
|
2664
2934
|
cwe: [
|
|
2665
2935
|
"Test string"
|
|
2666
2936
|
],
|