@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.2.20260610 → 0.3.20260619
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 +19 -32
- 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=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260619
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -435,11 +435,7 @@ declare namespace gapi.client {
|
|
|
435
435
|
result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
|
|
436
436
|
/** Output only. The state of this build's approval. */
|
|
437
437
|
state?:
|
|
438
|
-
| '
|
|
439
|
-
| 'PENDING'
|
|
440
|
-
| 'APPROVED'
|
|
441
|
-
| 'REJECTED'
|
|
442
|
-
| 'CANCELLED';
|
|
438
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'CANCELLED';
|
|
443
439
|
}
|
|
444
440
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
|
|
445
441
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
@@ -585,9 +581,7 @@ declare namespace gapi.client {
|
|
|
585
581
|
name?: string;
|
|
586
582
|
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
587
583
|
ociMediaType?:
|
|
588
|
-
| '
|
|
589
|
-
| 'IMAGE_MANIFEST'
|
|
590
|
-
| 'IMAGE_INDEX';
|
|
584
|
+
'OCI_MEDIA_TYPE_UNSPECIFIED' | 'IMAGE_MANIFEST' | 'IMAGE_INDEX';
|
|
591
585
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
592
586
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
593
587
|
}
|
|
@@ -662,12 +656,7 @@ declare namespace gapi.client {
|
|
|
662
656
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
663
657
|
/** The type of hash that was performed. */
|
|
664
658
|
type?:
|
|
665
|
-
| '
|
|
666
|
-
| 'SHA256'
|
|
667
|
-
| 'MD5'
|
|
668
|
-
| 'GO_MODULE_H1'
|
|
669
|
-
| 'SHA512'
|
|
670
|
-
| 'DIRSUM_SHA256';
|
|
659
|
+
'NONE' | 'SHA256' | 'MD5' | 'GO_MODULE_H1' | 'SHA512' | 'DIRSUM_SHA256';
|
|
671
660
|
/** The hash value. */
|
|
672
661
|
value?: string;
|
|
673
662
|
}
|
|
@@ -706,7 +695,9 @@ declare namespace gapi.client {
|
|
|
706
695
|
buildStepOutputs?: string[];
|
|
707
696
|
/** Results for build steps. step_id -> */
|
|
708
697
|
buildStepResults?: {
|
|
709
|
-
[
|
|
698
|
+
[
|
|
699
|
+
P in string
|
|
700
|
+
]: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults;
|
|
710
701
|
};
|
|
711
702
|
/** Output only. Generic artifacts uploaded to Artifact Registry at the end of the build. */
|
|
712
703
|
genericArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact[];
|
|
@@ -907,6 +898,13 @@ declare namespace gapi.client {
|
|
|
907
898
|
| 'IMPACT_PARTIAL'
|
|
908
899
|
| 'IMPACT_COMPLETE';
|
|
909
900
|
exploitabilityScore?: number;
|
|
901
|
+
/** Exploit Maturity (E). Defined in CVSS v4. */
|
|
902
|
+
exploitMaturity?:
|
|
903
|
+
| 'EXPLOIT_MATURITY_UNSPECIFIED'
|
|
904
|
+
| 'EXPLOIT_MATURITY_NOT_DEFINED'
|
|
905
|
+
| 'EXPLOIT_MATURITY_ATTACKED'
|
|
906
|
+
| 'EXPLOIT_MATURITY_POC'
|
|
907
|
+
| 'EXPLOIT_MATURITY_UNREPORTED';
|
|
910
908
|
impactScore?: number;
|
|
911
909
|
/** Integrity Impact (I). Defined in CVSS v2, v3. */
|
|
912
910
|
integrityImpact?:
|
|
@@ -993,24 +991,15 @@ declare namespace gapi.client {
|
|
|
993
991
|
| 'ATTACK_VECTOR_LOCAL'
|
|
994
992
|
| 'ATTACK_VECTOR_PHYSICAL';
|
|
995
993
|
availabilityImpact?:
|
|
996
|
-
| '
|
|
997
|
-
| 'IMPACT_HIGH'
|
|
998
|
-
| 'IMPACT_LOW'
|
|
999
|
-
| 'IMPACT_NONE';
|
|
994
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
1000
995
|
/** The base score is a function of the base metric scores. */
|
|
1001
996
|
baseScore?: number;
|
|
1002
997
|
confidentialityImpact?:
|
|
1003
|
-
| '
|
|
1004
|
-
| 'IMPACT_HIGH'
|
|
1005
|
-
| 'IMPACT_LOW'
|
|
1006
|
-
| 'IMPACT_NONE';
|
|
998
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
1007
999
|
exploitabilityScore?: number;
|
|
1008
1000
|
impactScore?: number;
|
|
1009
1001
|
integrityImpact?:
|
|
1010
|
-
| '
|
|
1011
|
-
| 'IMPACT_HIGH'
|
|
1012
|
-
| 'IMPACT_LOW'
|
|
1013
|
-
| 'IMPACT_NONE';
|
|
1002
|
+
'IMPACT_UNSPECIFIED' | 'IMPACT_HIGH' | 'IMPACT_LOW' | 'IMPACT_NONE';
|
|
1014
1003
|
privilegesRequired?:
|
|
1015
1004
|
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
1016
1005
|
| 'PRIVILEGES_REQUIRED_NONE'
|
|
@@ -1105,9 +1094,7 @@ declare namespace gapi.client {
|
|
|
1105
1094
|
analysisStatusError?: Status;
|
|
1106
1095
|
/** Whether the resource is continuously analyzed. */
|
|
1107
1096
|
continuousAnalysis?:
|
|
1108
|
-
| '
|
|
1109
|
-
| 'ACTIVE'
|
|
1110
|
-
| 'INACTIVE';
|
|
1097
|
+
'CONTINUOUS_ANALYSIS_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
1111
1098
|
/** Files that make up the resource described by the occurrence. */
|
|
1112
1099
|
files?: File[];
|
|
1113
1100
|
/** The last time continuous analysis was done for this resource. Deprecated, do not use. */
|
|
@@ -1281,7 +1268,7 @@ declare namespace gapi.client {
|
|
|
1281
1268
|
/** Location (path and line) where the finding was detected. */
|
|
1282
1269
|
location?: FindingLocation;
|
|
1283
1270
|
/** Scanner determines which engine (e.g. static, llm) emitted the finding. */
|
|
1284
|
-
scanner?: 'SCANNER_UNSPECIFIED' | 'STATIC' | 'LLM';
|
|
1271
|
+
scanner?: 'SCANNER_UNSPECIFIED' | 'STATIC' | 'LLM' | 'WS_POLICY';
|
|
1285
1272
|
/** Severity of the finding. */
|
|
1286
1273
|
severity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
1287
1274
|
}
|