@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.0.20230707 → 0.0.20230717

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.
Files changed (3) hide show
  1. package/index.d.ts +9 -3
  2. package/package.json +1 -1
  3. package/tests.ts +7 -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: 20230707
12
+ // Revision: 20230717
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -57,7 +57,7 @@ declare namespace gapi.client {
57
57
  string[];
58
58
  }
59
59
  interface Assessment {
60
- /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
60
+ /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs. */
61
61
  cve?:
62
62
  string;
63
63
  /** Contains information about the impact of this vulnerability, this will change with time. */
@@ -84,6 +84,9 @@ declare namespace gapi.client {
84
84
  /** Provides the state of this Vulnerability assessment. */
85
85
  state?:
86
86
  string;
87
+ /** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
88
+ vulnerabilityId?:
89
+ string;
87
90
  }
88
91
  interface Attestation {
89
92
  genericSignedAttestation?:
@@ -2398,7 +2401,7 @@ declare namespace gapi.client {
2398
2401
  string;
2399
2402
  }
2400
2403
  interface VexAssessment {
2401
- /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. */
2404
+ /** Holds the MITRE standard Common Vulnerabilities and Exposures (CVE) tracking number for the vulnerability. Deprecated: Use vulnerability_id instead to denote CVEs. */
2402
2405
  cve?:
2403
2406
  string;
2404
2407
  /** Contains information about the impact of this vulnerability, this will change with time. */
@@ -2419,6 +2422,9 @@ declare namespace gapi.client {
2419
2422
  /** Provides the state of this Vulnerability assessment. */
2420
2423
  state?:
2421
2424
  string;
2425
+ /** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
2426
+ vulnerabilityId?:
2427
+ string;
2422
2428
  }
2423
2429
  interface Volume {
2424
2430
  /** 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. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.containeranalysis-v1beta1",
3
- "version": "0.0.20230707",
3
+ "version": "0.0.20230717",
4
4
  "description": "TypeScript typings for Container Analysis API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20230707
6
+ // Revision: 20230717
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -319,6 +319,7 @@ gapi.load('client', async () => {
319
319
  ],
320
320
  shortDescription: "Test string",
321
321
  state: "Test string",
322
+ vulnerabilityId: "Test string",
322
323
  },
323
324
  languageCode: "Test string",
324
325
  longDescription: "Test string",
@@ -627,6 +628,7 @@ gapi.load('client', async () => {
627
628
  ],
628
629
  shortDescription: "Test string",
629
630
  state: "Test string",
631
+ vulnerabilityId: "Test string",
630
632
  },
631
633
  languageCode: "Test string",
632
634
  longDescription: "Test string",
@@ -960,6 +962,7 @@ gapi.load('client', async () => {
960
962
  ],
961
963
  shortDescription: "Test string",
962
964
  state: "Test string",
965
+ vulnerabilityId: "Test string",
963
966
  },
964
967
  languageCode: "Test string",
965
968
  longDescription: "Test string",
@@ -1594,6 +1597,7 @@ gapi.load('client', async () => {
1594
1597
  }
1595
1598
  ],
1596
1599
  state: "Test string",
1600
+ vulnerabilityId: "Test string",
1597
1601
  },
1598
1602
  },
1599
1603
  }
@@ -2169,6 +2173,7 @@ gapi.load('client', async () => {
2169
2173
  }
2170
2174
  ],
2171
2175
  state: "Test string",
2176
+ vulnerabilityId: "Test string",
2172
2177
  },
2173
2178
  },
2174
2179
  });
@@ -2779,6 +2784,7 @@ gapi.load('client', async () => {
2779
2784
  }
2780
2785
  ],
2781
2786
  state: "Test string",
2787
+ vulnerabilityId: "Test string",
2782
2788
  },
2783
2789
  },
2784
2790
  });