@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.2.20260619 → 0.3.20260703
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 +15 -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: 20260703
|
|
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[];
|
|
@@ -1121,9 +1112,7 @@ declare namespace gapi.client {
|
|
|
1121
1112
|
archiveTime?: string;
|
|
1122
1113
|
/** Whether the resource is continuously analyzed. */
|
|
1123
1114
|
continuousAnalysis?:
|
|
1124
|
-
| '
|
|
1125
|
-
| 'ACTIVE'
|
|
1126
|
-
| 'INACTIVE';
|
|
1115
|
+
'CONTINUOUS_ANALYSIS_UNSPECIFIED' | 'ACTIVE' | 'INACTIVE';
|
|
1127
1116
|
/** The CPE of the resource being scanned. */
|
|
1128
1117
|
cpe?: string;
|
|
1129
1118
|
/** Optional. Files that make up the resource described by the occurrence. */
|
|
@@ -1325,7 +1314,12 @@ declare namespace gapi.client {
|
|
|
1325
1314
|
/** Optional. Location (path and line) where the finding was detected. */
|
|
1326
1315
|
location?: FindingLocation;
|
|
1327
1316
|
/** Optional. Scanner determines which engine (e.g. static, llm) emitted the finding. */
|
|
1328
|
-
scanner?:
|
|
1317
|
+
scanner?:
|
|
1318
|
+
| 'SCANNER_UNSPECIFIED'
|
|
1319
|
+
| 'STATIC'
|
|
1320
|
+
| 'LLM'
|
|
1321
|
+
| 'WS_POLICY'
|
|
1322
|
+
| 'GOOGLE_ANTIVIRUS';
|
|
1329
1323
|
/** Optional. Severity of the finding. */
|
|
1330
1324
|
severity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
1331
1325
|
}
|
|
@@ -2430,9 +2424,7 @@ declare namespace gapi.client {
|
|
|
2430
2424
|
lastAttemptTime?: string;
|
|
2431
2425
|
/** Output only. The success/failure state of the latest attestation attempt. */
|
|
2432
2426
|
state?:
|
|
2433
|
-
| '
|
|
2434
|
-
| 'SUCCESS'
|
|
2435
|
-
| 'FAILURE';
|
|
2427
|
+
'VULNERABILITY_ATTESTATION_STATE_UNSPECIFIED' | 'SUCCESS' | 'FAILURE';
|
|
2436
2428
|
}
|
|
2437
2429
|
interface VulnerabilityDetails {
|
|
2438
2430
|
/** 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. */
|