@maxim_mazurok/gapi.client.containeranalysis-v1 0.2.20261016 → 0.2.20261030
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 +51 -1
- package/package.json +1 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20261030
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1274,6 +1274,44 @@ declare namespace gapi.client {
|
|
|
1274
1274
|
keyid?: string;
|
|
1275
1275
|
sig?: string;
|
|
1276
1276
|
}
|
|
1277
|
+
interface Exploitability {
|
|
1278
|
+
/** Individual exploitability signals from various sources. */
|
|
1279
|
+
signals?: ExploitabilitySignal[];
|
|
1280
|
+
/** Rollup summary of the exploitability signals. */
|
|
1281
|
+
summary?: ExploitabilitySummary;
|
|
1282
|
+
}
|
|
1283
|
+
interface ExploitabilitySignal {
|
|
1284
|
+
/** Human-readable explanation of this signal. */
|
|
1285
|
+
rationale?: string;
|
|
1286
|
+
/** Identifier of the signal source. */
|
|
1287
|
+
source?: string;
|
|
1288
|
+
/** Justification for why the vulnerability is not exploitable. */
|
|
1289
|
+
vexJustification?:
|
|
1290
|
+
| 'JUSTIFICATION_TYPE_UNSPECIFIED'
|
|
1291
|
+
| 'COMPONENT_NOT_PRESENT'
|
|
1292
|
+
| 'VULNERABLE_CODE_NOT_PRESENT'
|
|
1293
|
+
| 'VULNERABLE_CODE_NOT_IN_EXECUTE_PATH'
|
|
1294
|
+
| 'VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY'
|
|
1295
|
+
| 'INLINE_MITIGATIONS_ALREADY_EXIST';
|
|
1296
|
+
/** The VEX status asserted by this signal. */
|
|
1297
|
+
vexStatus?:
|
|
1298
|
+
| 'STATE_UNSPECIFIED'
|
|
1299
|
+
| 'AFFECTED'
|
|
1300
|
+
| 'NOT_AFFECTED'
|
|
1301
|
+
| 'FIXED'
|
|
1302
|
+
| 'UNDER_INVESTIGATION';
|
|
1303
|
+
}
|
|
1304
|
+
interface ExploitabilitySummary {
|
|
1305
|
+
/** Human-readable explanation of the summary. */
|
|
1306
|
+
rationale?: string;
|
|
1307
|
+
/** The rolled-up VEX status. Usually, this should result in an AFFECTED or NOT_AFFECTED vex status. */
|
|
1308
|
+
vexStatus?:
|
|
1309
|
+
| 'STATE_UNSPECIFIED'
|
|
1310
|
+
| 'AFFECTED'
|
|
1311
|
+
| 'NOT_AFFECTED'
|
|
1312
|
+
| 'FIXED'
|
|
1313
|
+
| 'UNDER_INVESTIGATION';
|
|
1314
|
+
}
|
|
1277
1315
|
interface ExploitPredictionScoringSystem {
|
|
1278
1316
|
/** The percentile of the current score, the proportion of all scored vulnerabilities with the same or a lower EPSS score */
|
|
1279
1317
|
percentile?: number;
|
|
@@ -1551,7 +1589,15 @@ declare namespace gapi.client {
|
|
|
1551
1589
|
/** Required. The recovered Dockerfile directive used to construct this layer. See https://docs.docker.com/engine/reference/builder/ for more information. */
|
|
1552
1590
|
directive?: string;
|
|
1553
1591
|
}
|
|
1592
|
+
interface LayerAttribute {
|
|
1593
|
+
/** The name of the plugin that generated this attribute. */
|
|
1594
|
+
plugin?: string;
|
|
1595
|
+
/** The value of the attribute, with a meaning defined by the plugin. */
|
|
1596
|
+
value?: string;
|
|
1597
|
+
}
|
|
1554
1598
|
interface LayerDetails {
|
|
1599
|
+
/** Attributes that apply to the layer, such as buildpacks metadata. */
|
|
1600
|
+
attributes?: LayerAttribute[];
|
|
1555
1601
|
/** The base images the layer is found within. */
|
|
1556
1602
|
baseImages?: BaseImage[];
|
|
1557
1603
|
/** The layer chain ID (sha256 hash) of the layer in the container image. https://github.com/opencontainers/image-spec/blob/main/config.md#layer-chainid */
|
|
@@ -1790,6 +1836,8 @@ declare namespace gapi.client {
|
|
|
1790
1836
|
| 'MEDIUM'
|
|
1791
1837
|
| 'HIGH'
|
|
1792
1838
|
| 'CRITICAL';
|
|
1839
|
+
/** Output only. Exploitability signals and summary for this package issue. */
|
|
1840
|
+
exploitability?: Exploitability;
|
|
1793
1841
|
/** The location at which this package was found. */
|
|
1794
1842
|
fileLocation?: GrafeasV1FileLocation[];
|
|
1795
1843
|
/** Output only. Whether a fix is available for this package. */
|
|
@@ -2373,6 +2421,8 @@ declare namespace gapi.client {
|
|
|
2373
2421
|
| 'MEDIUM'
|
|
2374
2422
|
| 'HIGH'
|
|
2375
2423
|
| 'CRITICAL';
|
|
2424
|
+
/** Output only. Rollup of exploitability across all PackageIssues in this occurrence. */
|
|
2425
|
+
exploitability?: Exploitability;
|
|
2376
2426
|
/** Occurrence-specific extra details about the vulnerability. */
|
|
2377
2427
|
extraDetails?: string;
|
|
2378
2428
|
/** Output only. Whether at least one of the affected packages has a fix available. */
|