@maxim_mazurok/gapi.client.containeranalysis-v1alpha1 0.3.20260724 → 0.3.20260812
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 +39 -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=v1alpha1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260812
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -34,6 +34,8 @@ declare namespace gapi.client {
|
|
|
34
34
|
findings?: Finding[];
|
|
35
35
|
/** Optional. Maximum severity found among findings. */
|
|
36
36
|
maxSeverity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
37
|
+
/** Optional. Per scanner verdict. */
|
|
38
|
+
perScannerVerdict?: PerScannerVerdict;
|
|
37
39
|
/** Optional. Name of the skill that produced this analysis. */
|
|
38
40
|
skillName?: string;
|
|
39
41
|
}
|
|
@@ -660,6 +662,8 @@ declare namespace gapi.client {
|
|
|
660
662
|
depth?: string;
|
|
661
663
|
/** Required. Where should the files be placed on the worker. */
|
|
662
664
|
destPath?: string;
|
|
665
|
+
/** Optional. True if remote tags should be fetched too (default false). Note: when depth is 1 (default), git fetch only retrieves tags pointing to commits within the shallow boundary. Set depth to -1 to fetch all historical tags. */
|
|
666
|
+
fetchTags?: boolean;
|
|
663
667
|
/** Optional. True if submodules should be fetched too (default false). */
|
|
664
668
|
recurseSubmodules?: boolean;
|
|
665
669
|
/** Required. The kind of repo (url or dev connect). */
|
|
@@ -1597,6 +1601,24 @@ declare namespace gapi.client {
|
|
|
1597
1601
|
/** Deprecated. The version installed at this location. */
|
|
1598
1602
|
version?: Version;
|
|
1599
1603
|
}
|
|
1604
|
+
interface MaliciousContentLLMResult {
|
|
1605
|
+
/** Optional. Tracks max severity found. */
|
|
1606
|
+
maxSeverity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
1607
|
+
/** Output only. State of the scan. */
|
|
1608
|
+
scanState?: 'SCAN_STATE_UNSPECIFIED' | 'PERFORMED' | 'NOT_PERFORMED';
|
|
1609
|
+
}
|
|
1610
|
+
interface MaliciousContentStaticResult {
|
|
1611
|
+
/** Optional. Tracks max severity found. */
|
|
1612
|
+
maxSeverity?: 'SEVERITY_UNSPECIFIED' | 'CRITICAL' | 'HIGH';
|
|
1613
|
+
/** Output only. State of the scan. */
|
|
1614
|
+
scanState?: 'SCAN_STATE_UNSPECIFIED' | 'PERFORMED' | 'NOT_PERFORMED';
|
|
1615
|
+
}
|
|
1616
|
+
interface MalwareScanResult {
|
|
1617
|
+
/** Output only. State of the scan. */
|
|
1618
|
+
scanState?: 'SCAN_STATE_UNSPECIFIED' | 'PERFORMED' | 'NOT_PERFORMED';
|
|
1619
|
+
/** Optional. Verdict of the scan. */
|
|
1620
|
+
verdict?: 'VERDICT_UNSPECIFIED' | 'PASSED' | 'FAILED';
|
|
1621
|
+
}
|
|
1600
1622
|
interface Material {
|
|
1601
1623
|
/** digest is a map from a hash algorithm (e.g. sha256) to the value in the material */
|
|
1602
1624
|
digest?: {[P in string]: string};
|
|
@@ -1880,6 +1902,16 @@ declare namespace gapi.client {
|
|
|
1880
1902
|
packageType?: string;
|
|
1881
1903
|
severityName?: string;
|
|
1882
1904
|
}
|
|
1905
|
+
interface PerScannerVerdict {
|
|
1906
|
+
/** Optional. Malicious Content LLM scan result. */
|
|
1907
|
+
maliciousContentLlmResult?: MaliciousContentLLMResult;
|
|
1908
|
+
/** Optional. Malicious Content Static scan result. */
|
|
1909
|
+
maliciousContentStaticResult?: MaliciousContentStaticResult;
|
|
1910
|
+
/** Optional. Malware scan result. */
|
|
1911
|
+
malwareScan?: MalwareScanResult;
|
|
1912
|
+
/** Optional. Workspace Policy scan result. */
|
|
1913
|
+
workspacePolicy?: WorkspacePolicyResult;
|
|
1914
|
+
}
|
|
1883
1915
|
interface PgpSignedAttestation {
|
|
1884
1916
|
/** Type (for example schema) of the attestation payload that was signed. The verifier must ensure that the provided type is one that the verifier supports, and that the attestation payload is a valid instantiation of that type (for example by validating a JSON schema). */
|
|
1885
1917
|
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
@@ -2506,6 +2538,12 @@ declare namespace gapi.client {
|
|
|
2506
2538
|
| 'HIGH'
|
|
2507
2539
|
| 'CRITICAL';
|
|
2508
2540
|
}
|
|
2541
|
+
interface WorkspacePolicyResult {
|
|
2542
|
+
/** Output only. State of the scan. */
|
|
2543
|
+
scanState?: 'SCAN_STATE_UNSPECIFIED' | 'PERFORMED' | 'NOT_PERFORMED';
|
|
2544
|
+
/** Optional. Verdict of the scan. */
|
|
2545
|
+
verdict?: 'VERDICT_UNSPECIFIED' | 'PASSED' | 'FAILED';
|
|
2546
|
+
}
|
|
2509
2547
|
interface OccurrencesResource {
|
|
2510
2548
|
/** Lists `Occurrences` referencing the specified `Note`. Use this method to get all occurrences referencing your `Note` across all your customer projects. */
|
|
2511
2549
|
list(request?: {
|