@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20230127 → 0.0.20230210
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 +92 -1
- package/package.json +1 -1
- package/tests.ts +304 -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: 20230210
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -48,6 +48,25 @@ declare namespace gapi.client {
|
|
|
48
48
|
interface ArtifactRule {
|
|
49
49
|
artifactRule?: string[];
|
|
50
50
|
}
|
|
51
|
+
interface Assessment {
|
|
52
|
+
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
|
|
53
|
+
cve?: string;
|
|
54
|
+
/** A detailed description of this Vex. */
|
|
55
|
+
longDescription?: string;
|
|
56
|
+
/**
|
|
57
|
+
* 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.
|
|
58
|
+
* Link to a document which details how this assessment concluded the state of this vulnerability.
|
|
59
|
+
*/
|
|
60
|
+
relatedUris?: RelatedUrl[];
|
|
61
|
+
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
62
|
+
remediations?: Remediation[];
|
|
63
|
+
/** A one sentence description of this Vex. */
|
|
64
|
+
shortDescription?: string;
|
|
65
|
+
/** Provides the state of this Vulnerability assessment. */
|
|
66
|
+
state?: string;
|
|
67
|
+
/** Contains information about this vulnerability, this will change with time. */
|
|
68
|
+
threats?: Threat[];
|
|
69
|
+
}
|
|
51
70
|
interface Attestation {
|
|
52
71
|
genericSignedAttestation?: GenericSignedAttestation;
|
|
53
72
|
/** A PGP signed attestation. */
|
|
@@ -1050,6 +1069,10 @@ declare namespace gapi.client {
|
|
|
1050
1069
|
interface GrafeasV1beta1VulnerabilityDetails {
|
|
1051
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. */
|
|
1052
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;
|
|
1053
1076
|
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1054
1077
|
cvssVersion?: string;
|
|
1055
1078
|
/**
|
|
@@ -1071,6 +1094,7 @@ declare namespace gapi.client {
|
|
|
1071
1094
|
shortDescription?: string;
|
|
1072
1095
|
/** The type of package; whether native or non native(ruby gems, node.js packages etc) */
|
|
1073
1096
|
type?: string;
|
|
1097
|
+
vexAssessment?: VexAssessment;
|
|
1074
1098
|
}
|
|
1075
1099
|
interface Hash {
|
|
1076
1100
|
/** Required. The type of hash that was performed. */
|
|
@@ -1230,6 +1254,8 @@ declare namespace gapi.client {
|
|
|
1230
1254
|
updateTime?: string;
|
|
1231
1255
|
/** A note describing a package vulnerability. */
|
|
1232
1256
|
vulnerability?: Vulnerability;
|
|
1257
|
+
/** A note describing a vulnerability assessment. */
|
|
1258
|
+
vulnerabilityAssessment?: VulnerabilityAssessmentNote;
|
|
1233
1259
|
}
|
|
1234
1260
|
interface Occurrence {
|
|
1235
1261
|
/** Describes an attestation of an artifact. */
|
|
@@ -1427,12 +1453,31 @@ declare namespace gapi.client {
|
|
|
1427
1453
|
*/
|
|
1428
1454
|
version?: number;
|
|
1429
1455
|
}
|
|
1456
|
+
interface Product {
|
|
1457
|
+
/** Contains a URI which is vendor-specific. Example: The artifact repository URL of an image. */
|
|
1458
|
+
genericUri?: string;
|
|
1459
|
+
/**
|
|
1460
|
+
* 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
|
|
1461
|
+
* context of the current document.
|
|
1462
|
+
*/
|
|
1463
|
+
id?: string;
|
|
1464
|
+
/** Name of the product. */
|
|
1465
|
+
name?: string;
|
|
1466
|
+
}
|
|
1430
1467
|
interface ProjectRepoId {
|
|
1431
1468
|
/** The ID of the project. */
|
|
1432
1469
|
projectId?: string;
|
|
1433
1470
|
/** The name of the repo. Leave empty for the default repo. */
|
|
1434
1471
|
repoName?: string;
|
|
1435
1472
|
}
|
|
1473
|
+
interface Publisher {
|
|
1474
|
+
/** 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 */
|
|
1475
|
+
context?: string;
|
|
1476
|
+
/** Provides information about the authority of the issuing party to release the document, in particular, the party's constituency and responsibilities or other obligations. */
|
|
1477
|
+
issuingAuthority?: string;
|
|
1478
|
+
/** Name of the publisher. Examples: 'Google', 'Google Cloud Platform'. */
|
|
1479
|
+
name?: string;
|
|
1480
|
+
}
|
|
1436
1481
|
interface RelatedUrl {
|
|
1437
1482
|
/** Label to describe usage of the URL. */
|
|
1438
1483
|
label?: string;
|
|
@@ -1456,6 +1501,16 @@ declare namespace gapi.client {
|
|
|
1456
1501
|
/** Output only. The type of relationship between the source and target SPDX elements */
|
|
1457
1502
|
type?: string;
|
|
1458
1503
|
}
|
|
1504
|
+
interface Remediation {
|
|
1505
|
+
/** Contains a comprehensive human-readable discussion of the remediation. */
|
|
1506
|
+
details?: string;
|
|
1507
|
+
/** Contains the date from which the remediation is available. */
|
|
1508
|
+
remediationTime?: string;
|
|
1509
|
+
/** The type of remediation that can be applied. */
|
|
1510
|
+
remediationType?: string;
|
|
1511
|
+
/** Contains the URL where to obtain the remediation. */
|
|
1512
|
+
remediationUri?: RelatedUrl;
|
|
1513
|
+
}
|
|
1459
1514
|
interface RepoId {
|
|
1460
1515
|
/** A combination of a project ID and a repo name. */
|
|
1461
1516
|
projectRepoId?: ProjectRepoId;
|
|
@@ -1551,6 +1606,12 @@ declare namespace gapi.client {
|
|
|
1551
1606
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
1552
1607
|
permissions?: string[];
|
|
1553
1608
|
}
|
|
1609
|
+
interface Threat {
|
|
1610
|
+
/** Represents a thorough human-readable discussion of the threat. */
|
|
1611
|
+
details?: string;
|
|
1612
|
+
/** The type of threat. */
|
|
1613
|
+
threatType?: string;
|
|
1614
|
+
}
|
|
1554
1615
|
interface TimeSpan {
|
|
1555
1616
|
/** End of time span. */
|
|
1556
1617
|
endTime?: string;
|
|
@@ -1573,6 +1634,20 @@ declare namespace gapi.client {
|
|
|
1573
1634
|
/** The iteration of the package build from the above version. */
|
|
1574
1635
|
revision?: string;
|
|
1575
1636
|
}
|
|
1637
|
+
interface VexAssessment {
|
|
1638
|
+
/** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
|
|
1639
|
+
cve?: string;
|
|
1640
|
+
/** The VulnerabilityAssessment note from which this VexAssessment was generated. This will be of the form: `projects/[PROJECT_ID]/notes/[NOTE_ID]`. */
|
|
1641
|
+
noteName?: string;
|
|
1642
|
+
/** Holds a list of references associated with this vulnerability item and assessment. */
|
|
1643
|
+
relatedUris?: RelatedUrl[];
|
|
1644
|
+
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
1645
|
+
remediations?: Remediation[];
|
|
1646
|
+
/** Provides the state of this Vulnerability assessment. */
|
|
1647
|
+
state?: string;
|
|
1648
|
+
/** Contains information about this vulnerability, this will change with time. */
|
|
1649
|
+
threats?: Threat[];
|
|
1650
|
+
}
|
|
1576
1651
|
interface Volume {
|
|
1577
1652
|
/** 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. */
|
|
1578
1653
|
name?: string;
|
|
@@ -1602,6 +1677,22 @@ declare namespace gapi.client {
|
|
|
1602
1677
|
*/
|
|
1603
1678
|
windowsDetails?: WindowsDetail[];
|
|
1604
1679
|
}
|
|
1680
|
+
interface VulnerabilityAssessmentNote {
|
|
1681
|
+
/** Represents a vulnerability assessment for the product. */
|
|
1682
|
+
assessment?: Assessment;
|
|
1683
|
+
/** Identifies the language used by this document, corresponding to IETF BCP 47 / RFC 5646. */
|
|
1684
|
+
languageCode?: string;
|
|
1685
|
+
/** A detailed description of this Vex. */
|
|
1686
|
+
longDescription?: string;
|
|
1687
|
+
/** The product affected by this vex. */
|
|
1688
|
+
product?: Product;
|
|
1689
|
+
/** Publisher details of this Note. */
|
|
1690
|
+
publisher?: Publisher;
|
|
1691
|
+
/** A one sentence description of this Vex. */
|
|
1692
|
+
shortDescription?: string;
|
|
1693
|
+
/** The title of the note. E.g. `Vex-Debian-11.4` */
|
|
1694
|
+
title?: string;
|
|
1695
|
+
}
|
|
1605
1696
|
interface VulnerabilityLocation {
|
|
1606
1697
|
/** Required. The CPE URI in [cpe format](https://cpe.mitre.org/specification/) format. Examples include distro or storage location for vulnerable jar. */
|
|
1607
1698
|
cpeUri?: string;
|
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: 20230210
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -286,6 +286,51 @@ gapi.load('client', async () => {
|
|
|
286
286
|
}
|
|
287
287
|
],
|
|
288
288
|
},
|
|
289
|
+
vulnerabilityAssessment: {
|
|
290
|
+
assessment: {
|
|
291
|
+
cve: "Test string",
|
|
292
|
+
longDescription: "Test string",
|
|
293
|
+
relatedUris: [
|
|
294
|
+
{
|
|
295
|
+
label: "Test string",
|
|
296
|
+
url: "Test string",
|
|
297
|
+
}
|
|
298
|
+
],
|
|
299
|
+
remediations: [
|
|
300
|
+
{
|
|
301
|
+
details: "Test string",
|
|
302
|
+
remediationTime: "Test string",
|
|
303
|
+
remediationType: "Test string",
|
|
304
|
+
remediationUri: {
|
|
305
|
+
label: "Test string",
|
|
306
|
+
url: "Test string",
|
|
307
|
+
},
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
shortDescription: "Test string",
|
|
311
|
+
state: "Test string",
|
|
312
|
+
threats: [
|
|
313
|
+
{
|
|
314
|
+
details: "Test string",
|
|
315
|
+
threatType: "Test string",
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
},
|
|
319
|
+
languageCode: "Test string",
|
|
320
|
+
longDescription: "Test string",
|
|
321
|
+
product: {
|
|
322
|
+
genericUri: "Test string",
|
|
323
|
+
id: "Test string",
|
|
324
|
+
name: "Test string",
|
|
325
|
+
},
|
|
326
|
+
publisher: {
|
|
327
|
+
context: "Test string",
|
|
328
|
+
issuingAuthority: "Test string",
|
|
329
|
+
name: "Test string",
|
|
330
|
+
},
|
|
331
|
+
shortDescription: "Test string",
|
|
332
|
+
title: "Test string",
|
|
333
|
+
},
|
|
289
334
|
}
|
|
290
335
|
},
|
|
291
336
|
});
|
|
@@ -545,6 +590,51 @@ gapi.load('client', async () => {
|
|
|
545
590
|
}
|
|
546
591
|
],
|
|
547
592
|
},
|
|
593
|
+
vulnerabilityAssessment: {
|
|
594
|
+
assessment: {
|
|
595
|
+
cve: "Test string",
|
|
596
|
+
longDescription: "Test string",
|
|
597
|
+
relatedUris: [
|
|
598
|
+
{
|
|
599
|
+
label: "Test string",
|
|
600
|
+
url: "Test string",
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
remediations: [
|
|
604
|
+
{
|
|
605
|
+
details: "Test string",
|
|
606
|
+
remediationTime: "Test string",
|
|
607
|
+
remediationType: "Test string",
|
|
608
|
+
remediationUri: {
|
|
609
|
+
label: "Test string",
|
|
610
|
+
url: "Test string",
|
|
611
|
+
},
|
|
612
|
+
}
|
|
613
|
+
],
|
|
614
|
+
shortDescription: "Test string",
|
|
615
|
+
state: "Test string",
|
|
616
|
+
threats: [
|
|
617
|
+
{
|
|
618
|
+
details: "Test string",
|
|
619
|
+
threatType: "Test string",
|
|
620
|
+
}
|
|
621
|
+
],
|
|
622
|
+
},
|
|
623
|
+
languageCode: "Test string",
|
|
624
|
+
longDescription: "Test string",
|
|
625
|
+
product: {
|
|
626
|
+
genericUri: "Test string",
|
|
627
|
+
id: "Test string",
|
|
628
|
+
name: "Test string",
|
|
629
|
+
},
|
|
630
|
+
publisher: {
|
|
631
|
+
context: "Test string",
|
|
632
|
+
issuingAuthority: "Test string",
|
|
633
|
+
name: "Test string",
|
|
634
|
+
},
|
|
635
|
+
shortDescription: "Test string",
|
|
636
|
+
title: "Test string",
|
|
637
|
+
},
|
|
548
638
|
});
|
|
549
639
|
/** Deletes the specified note. */
|
|
550
640
|
await gapi.client.containeranalysis.projects.notes.delete({
|
|
@@ -829,6 +919,51 @@ gapi.load('client', async () => {
|
|
|
829
919
|
}
|
|
830
920
|
],
|
|
831
921
|
},
|
|
922
|
+
vulnerabilityAssessment: {
|
|
923
|
+
assessment: {
|
|
924
|
+
cve: "Test string",
|
|
925
|
+
longDescription: "Test string",
|
|
926
|
+
relatedUris: [
|
|
927
|
+
{
|
|
928
|
+
label: "Test string",
|
|
929
|
+
url: "Test string",
|
|
930
|
+
}
|
|
931
|
+
],
|
|
932
|
+
remediations: [
|
|
933
|
+
{
|
|
934
|
+
details: "Test string",
|
|
935
|
+
remediationTime: "Test string",
|
|
936
|
+
remediationType: "Test string",
|
|
937
|
+
remediationUri: {
|
|
938
|
+
label: "Test string",
|
|
939
|
+
url: "Test string",
|
|
940
|
+
},
|
|
941
|
+
}
|
|
942
|
+
],
|
|
943
|
+
shortDescription: "Test string",
|
|
944
|
+
state: "Test string",
|
|
945
|
+
threats: [
|
|
946
|
+
{
|
|
947
|
+
details: "Test string",
|
|
948
|
+
threatType: "Test string",
|
|
949
|
+
}
|
|
950
|
+
],
|
|
951
|
+
},
|
|
952
|
+
languageCode: "Test string",
|
|
953
|
+
longDescription: "Test string",
|
|
954
|
+
product: {
|
|
955
|
+
genericUri: "Test string",
|
|
956
|
+
id: "Test string",
|
|
957
|
+
name: "Test string",
|
|
958
|
+
},
|
|
959
|
+
publisher: {
|
|
960
|
+
context: "Test string",
|
|
961
|
+
issuingAuthority: "Test string",
|
|
962
|
+
name: "Test string",
|
|
963
|
+
},
|
|
964
|
+
shortDescription: "Test string",
|
|
965
|
+
title: "Test string",
|
|
966
|
+
},
|
|
832
967
|
});
|
|
833
968
|
/**
|
|
834
969
|
* Sets the access control policy on the specified note or occurrence. Requires `containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy` permission if the
|
|
@@ -1237,6 +1372,34 @@ gapi.load('client', async () => {
|
|
|
1237
1372
|
updateTime: "Test string",
|
|
1238
1373
|
vulnerability: {
|
|
1239
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
|
+
},
|
|
1240
1403
|
cvssVersion: "Test string",
|
|
1241
1404
|
effectiveSeverity: "Test string",
|
|
1242
1405
|
longDescription: "Test string",
|
|
@@ -1278,6 +1441,34 @@ gapi.load('client', async () => {
|
|
|
1278
1441
|
severity: "Test string",
|
|
1279
1442
|
shortDescription: "Test string",
|
|
1280
1443
|
type: "Test string",
|
|
1444
|
+
vexAssessment: {
|
|
1445
|
+
cve: "Test string",
|
|
1446
|
+
noteName: "Test string",
|
|
1447
|
+
relatedUris: [
|
|
1448
|
+
{
|
|
1449
|
+
label: "Test string",
|
|
1450
|
+
url: "Test string",
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
remediations: [
|
|
1454
|
+
{
|
|
1455
|
+
details: "Test string",
|
|
1456
|
+
remediationTime: "Test string",
|
|
1457
|
+
remediationType: "Test string",
|
|
1458
|
+
remediationUri: {
|
|
1459
|
+
label: "Test string",
|
|
1460
|
+
url: "Test string",
|
|
1461
|
+
},
|
|
1462
|
+
}
|
|
1463
|
+
],
|
|
1464
|
+
state: "Test string",
|
|
1465
|
+
threats: [
|
|
1466
|
+
{
|
|
1467
|
+
details: "Test string",
|
|
1468
|
+
threatType: "Test string",
|
|
1469
|
+
}
|
|
1470
|
+
],
|
|
1471
|
+
},
|
|
1281
1472
|
},
|
|
1282
1473
|
}
|
|
1283
1474
|
],
|
|
@@ -1642,6 +1833,34 @@ gapi.load('client', async () => {
|
|
|
1642
1833
|
updateTime: "Test string",
|
|
1643
1834
|
vulnerability: {
|
|
1644
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
|
+
},
|
|
1645
1864
|
cvssVersion: "Test string",
|
|
1646
1865
|
effectiveSeverity: "Test string",
|
|
1647
1866
|
longDescription: "Test string",
|
|
@@ -1683,6 +1902,34 @@ gapi.load('client', async () => {
|
|
|
1683
1902
|
severity: "Test string",
|
|
1684
1903
|
shortDescription: "Test string",
|
|
1685
1904
|
type: "Test string",
|
|
1905
|
+
vexAssessment: {
|
|
1906
|
+
cve: "Test string",
|
|
1907
|
+
noteName: "Test string",
|
|
1908
|
+
relatedUris: [
|
|
1909
|
+
{
|
|
1910
|
+
label: "Test string",
|
|
1911
|
+
url: "Test string",
|
|
1912
|
+
}
|
|
1913
|
+
],
|
|
1914
|
+
remediations: [
|
|
1915
|
+
{
|
|
1916
|
+
details: "Test string",
|
|
1917
|
+
remediationTime: "Test string",
|
|
1918
|
+
remediationType: "Test string",
|
|
1919
|
+
remediationUri: {
|
|
1920
|
+
label: "Test string",
|
|
1921
|
+
url: "Test string",
|
|
1922
|
+
},
|
|
1923
|
+
}
|
|
1924
|
+
],
|
|
1925
|
+
state: "Test string",
|
|
1926
|
+
threats: [
|
|
1927
|
+
{
|
|
1928
|
+
details: "Test string",
|
|
1929
|
+
threatType: "Test string",
|
|
1930
|
+
}
|
|
1931
|
+
],
|
|
1932
|
+
},
|
|
1686
1933
|
},
|
|
1687
1934
|
});
|
|
1688
1935
|
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
@@ -2082,6 +2329,34 @@ gapi.load('client', async () => {
|
|
|
2082
2329
|
updateTime: "Test string",
|
|
2083
2330
|
vulnerability: {
|
|
2084
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
|
+
},
|
|
2085
2360
|
cvssVersion: "Test string",
|
|
2086
2361
|
effectiveSeverity: "Test string",
|
|
2087
2362
|
longDescription: "Test string",
|
|
@@ -2123,6 +2398,34 @@ gapi.load('client', async () => {
|
|
|
2123
2398
|
severity: "Test string",
|
|
2124
2399
|
shortDescription: "Test string",
|
|
2125
2400
|
type: "Test string",
|
|
2401
|
+
vexAssessment: {
|
|
2402
|
+
cve: "Test string",
|
|
2403
|
+
noteName: "Test string",
|
|
2404
|
+
relatedUris: [
|
|
2405
|
+
{
|
|
2406
|
+
label: "Test string",
|
|
2407
|
+
url: "Test string",
|
|
2408
|
+
}
|
|
2409
|
+
],
|
|
2410
|
+
remediations: [
|
|
2411
|
+
{
|
|
2412
|
+
details: "Test string",
|
|
2413
|
+
remediationTime: "Test string",
|
|
2414
|
+
remediationType: "Test string",
|
|
2415
|
+
remediationUri: {
|
|
2416
|
+
label: "Test string",
|
|
2417
|
+
url: "Test string",
|
|
2418
|
+
},
|
|
2419
|
+
}
|
|
2420
|
+
],
|
|
2421
|
+
state: "Test string",
|
|
2422
|
+
threats: [
|
|
2423
|
+
{
|
|
2424
|
+
details: "Test string",
|
|
2425
|
+
threatType: "Test string",
|
|
2426
|
+
}
|
|
2427
|
+
],
|
|
2428
|
+
},
|
|
2126
2429
|
},
|
|
2127
2430
|
});
|
|
2128
2431
|
/**
|