@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 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 +17 -23
- 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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260619
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -483,11 +483,7 @@ declare namespace gapi.client {
|
|
|
483
483
|
result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
|
|
484
484
|
/** Output only. The state of this build's approval. */
|
|
485
485
|
state?:
|
|
486
|
-
| '
|
|
487
|
-
| 'PENDING'
|
|
488
|
-
| 'APPROVED'
|
|
489
|
-
| 'REJECTED'
|
|
490
|
-
| 'CANCELLED';
|
|
486
|
+
'STATE_UNSPECIFIED' | 'PENDING' | 'APPROVED' | 'REJECTED' | 'CANCELLED';
|
|
491
487
|
}
|
|
492
488
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
|
|
493
489
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
@@ -633,9 +629,7 @@ declare namespace gapi.client {
|
|
|
633
629
|
name?: string;
|
|
634
630
|
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
635
631
|
ociMediaType?:
|
|
636
|
-
| '
|
|
637
|
-
| 'IMAGE_MANIFEST'
|
|
638
|
-
| 'IMAGE_INDEX';
|
|
632
|
+
'OCI_MEDIA_TYPE_UNSPECIFIED' | 'IMAGE_MANIFEST' | 'IMAGE_INDEX';
|
|
639
633
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
640
634
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
641
635
|
}
|
|
@@ -710,12 +704,7 @@ declare namespace gapi.client {
|
|
|
710
704
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
711
705
|
/** The type of hash that was performed. */
|
|
712
706
|
type?:
|
|
713
|
-
| '
|
|
714
|
-
| 'SHA256'
|
|
715
|
-
| 'MD5'
|
|
716
|
-
| 'GO_MODULE_H1'
|
|
717
|
-
| 'SHA512'
|
|
718
|
-
| 'DIRSUM_SHA256';
|
|
707
|
+
'NONE' | 'SHA256' | 'MD5' | 'GO_MODULE_H1' | 'SHA512' | 'DIRSUM_SHA256';
|
|
719
708
|
/** The hash value. */
|
|
720
709
|
value?: string;
|
|
721
710
|
}
|
|
@@ -754,7 +743,9 @@ declare namespace gapi.client {
|
|
|
754
743
|
buildStepOutputs?: string[];
|
|
755
744
|
/** Results for build steps. step_id -> */
|
|
756
745
|
buildStepResults?: {
|
|
757
|
-
[
|
|
746
|
+
[
|
|
747
|
+
P in string
|
|
748
|
+
]: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStepResults;
|
|
758
749
|
};
|
|
759
750
|
/** Output only. Generic artifacts uploaded to Artifact Registry at the end of the build. */
|
|
760
751
|
genericArtifacts?: ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedGenericArtifact[];
|
|
@@ -961,6 +952,13 @@ declare namespace gapi.client {
|
|
|
961
952
|
| 'IMPACT_PARTIAL'
|
|
962
953
|
| 'IMPACT_COMPLETE';
|
|
963
954
|
exploitabilityScore?: number;
|
|
955
|
+
/** Optional. Exploit Maturity (E). Defined in CVSS v4. */
|
|
956
|
+
exploitMaturity?:
|
|
957
|
+
| 'EXPLOIT_MATURITY_UNSPECIFIED'
|
|
958
|
+
| 'EXPLOIT_MATURITY_NOT_DEFINED'
|
|
959
|
+
| 'EXPLOIT_MATURITY_ATTACKED'
|
|
960
|
+
| 'EXPLOIT_MATURITY_POC'
|
|
961
|
+
| 'EXPLOIT_MATURITY_UNREPORTED';
|
|
964
962
|
impactScore?: number;
|
|
965
963
|
/** Optional. Integrity Impact (I). Defined in CVSS v2, v3. */
|
|
966
964
|
integrityImpact?:
|
|
@@ -1114,9 +1112,7 @@ declare namespace gapi.client {
|
|
|
1114
1112
|
archiveTime?: string;
|
|
1115
1113
|
/** Whether the resource is continuously analyzed. */
|
|
1116
1114
|
continuousAnalysis?:
|
|
1117
|
-
| '
|
|
1118
|
-
| 'ACTIVE'
|
|
1119
|
-
| 'INACTIVE';
|
|
1115
|
+
'CONTINUOUS_ANALYSIS_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
1120
1116
|
/** The CPE of the resource being scanned. */
|
|
1121
1117
|
cpe?: string;
|
|
1122
1118
|
/** Optional. Files that make up the resource described by the occurrence. */
|
|
@@ -1318,7 +1314,7 @@ declare namespace gapi.client {
|
|
|
1318
1314
|
/** Optional. Location (path and line) where the finding was detected. */
|
|
1319
1315
|
location?: FindingLocation;
|
|
1320
1316
|
/** Optional. Scanner determines which engine (e.g. static, llm) emitted the finding. */
|
|
1321
|
-
scanner?: 'SCANNER_UNSPECIFIED' | 'STATIC' | 'LLM';
|
|
1317
|
+
scanner?: 'SCANNER_UNSPECIFIED' | 'STATIC' | 'LLM' | 'WS_POLICY';
|
|
1322
1318
|
/** Optional. Severity of the finding. */
|
|
1323
1319
|
severity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
1324
1320
|
}
|
|
@@ -2423,9 +2419,7 @@ declare namespace gapi.client {
|
|
|
2423
2419
|
lastAttemptTime?: string;
|
|
2424
2420
|
/** Output only. The success/failure state of the latest attestation attempt. */
|
|
2425
2421
|
state?:
|
|
2426
|
-
| '
|
|
2427
|
-
| 'SUCCESS'
|
|
2428
|
-
| 'FAILURE';
|
|
2422
|
+
'VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED' | 'SUCCESS' | 'FAILURE';
|
|
2429
2423
|
}
|
|
2430
2424
|
interface VulnerabilityDetails {
|
|
2431
2425
|
/** 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. */
|