@maxim_mazurok/gapi.client.containeranalysis-v1beta1 0.1.20260305 → 0.2.20260313
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 +609 -192
- 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: 20260313
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -30,7 +30,7 @@ declare namespace gapi.client {
|
|
|
30
30
|
namespace containeranalysis {
|
|
31
31
|
interface AliasContext {
|
|
32
32
|
/** The alias kind. */
|
|
33
|
-
kind?:
|
|
33
|
+
kind?: 'KIND_UNSPECIFIED' | 'FIXED' | 'MOVABLE' | 'OTHER';
|
|
34
34
|
/** The alias name. */
|
|
35
35
|
name?: string;
|
|
36
36
|
}
|
|
@@ -67,7 +67,12 @@ declare namespace gapi.client {
|
|
|
67
67
|
/** A one sentence description of this Vex. */
|
|
68
68
|
shortDescription?: string;
|
|
69
69
|
/** Provides the state of this Vulnerability assessment. */
|
|
70
|
-
state?:
|
|
70
|
+
state?:
|
|
71
|
+
| 'STATE_UNSPECIFIED'
|
|
72
|
+
| 'AFFECTED'
|
|
73
|
+
| 'NOT_AFFECTED'
|
|
74
|
+
| 'FIXED'
|
|
75
|
+
| 'UNDER_INVESTIGATION';
|
|
71
76
|
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
72
77
|
vulnerabilityId?: string;
|
|
73
78
|
}
|
|
@@ -159,7 +164,7 @@ declare namespace gapi.client {
|
|
|
159
164
|
/** An ID for the key used to sign. This could be either an ID for the key stored in `public_key` (such as the ID or fingerprint for a PGP key, or the CN for a cert), or a reference to an external key (such as a reference to a key in Cloud Key Management Service). */
|
|
160
165
|
keyId?: string;
|
|
161
166
|
/** The type of the key, either stored in `public_key` or referenced in `key_id`. */
|
|
162
|
-
keyType?:
|
|
167
|
+
keyType?: 'KEY_TYPE_UNSPECIFIED' | 'PGP_ASCII_ARMORED' | 'PKIX_PEM';
|
|
163
168
|
/** Public key of the builder which can be used to verify that the related findings are valid and unchanged. If `key_type` is empty, this defaults to PEM encoded public keys. This field may be empty if `key_id` references an external key. For Cloud Build based signatures, this is a PEM encoded public key. To verify the Cloud Build signature, place the contents of this field into a file (public.pem). The signature field is base64-decoded into its binary representation in signature.bin, and the provenance bytes from `BuildDetails` are base64-decoded into a binary representation in signed.bin. OpenSSL can then verify the signature: `openssl sha256 -verify public.pem -signature signature.bin signed.bin` */
|
|
164
169
|
publicKey?: string;
|
|
165
170
|
/** Required. Signature of the related `BuildProvenance`. In JSON, this is base-64 encoded. */
|
|
@@ -196,7 +201,18 @@ declare namespace gapi.client {
|
|
|
196
201
|
/** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
|
|
197
202
|
secretEnv?: string[];
|
|
198
203
|
/** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
|
|
199
|
-
status?:
|
|
204
|
+
status?:
|
|
205
|
+
| 'STATUS_UNKNOWN'
|
|
206
|
+
| 'PENDING'
|
|
207
|
+
| 'QUEUING'
|
|
208
|
+
| 'QUEUED'
|
|
209
|
+
| 'WORKING'
|
|
210
|
+
| 'SUCCESS'
|
|
211
|
+
| 'FAILURE'
|
|
212
|
+
| 'INTERNAL_ERROR'
|
|
213
|
+
| 'TIMEOUT'
|
|
214
|
+
| 'CANCELLED'
|
|
215
|
+
| 'EXPIRED';
|
|
200
216
|
/** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
|
|
201
217
|
timeout?: string;
|
|
202
218
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -243,7 +259,7 @@ declare namespace gapi.client {
|
|
|
243
259
|
/** Optional. An optional comment for this manual approval result. */
|
|
244
260
|
comment?: string;
|
|
245
261
|
/** Required. The decision of this manual approval. */
|
|
246
|
-
decision?:
|
|
262
|
+
decision?: 'DECISION_UNSPECIFIED' | 'APPROVED' | 'REJECTED';
|
|
247
263
|
/** Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build. */
|
|
248
264
|
url?: string;
|
|
249
265
|
}
|
|
@@ -258,6 +274,8 @@ declare namespace gapi.client {
|
|
|
258
274
|
npmPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsNpmPackage[];
|
|
259
275
|
/** A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE. */
|
|
260
276
|
objects?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects;
|
|
277
|
+
/** Optional. A list of OCI images to be uploaded to Artifact Registry upon successful completion of all build steps. OCI images in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any images fail to be pushed, the build is marked FAILURE. */
|
|
278
|
+
oci?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci[];
|
|
261
279
|
/** A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE. */
|
|
262
280
|
pythonPackages?: ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage[];
|
|
263
281
|
}
|
|
@@ -303,6 +321,14 @@ declare namespace gapi.client {
|
|
|
303
321
|
/** Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix. */
|
|
304
322
|
repository?: string;
|
|
305
323
|
}
|
|
324
|
+
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsOci {
|
|
325
|
+
/** Required. Path on the local file system where to find the container to upload. e.g. /workspace/my-image.tar */
|
|
326
|
+
file?: string;
|
|
327
|
+
/** Required. Registry path to upload the container to. e.g. us-east1-docker.pkg.dev/my-project/my-repo/my-image */
|
|
328
|
+
registryPath?: string;
|
|
329
|
+
/** Optional. Tags to apply to the uploaded image. e.g. latest, 1.0.0 */
|
|
330
|
+
tags?: string[];
|
|
331
|
+
}
|
|
306
332
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage {
|
|
307
333
|
/** Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file. */
|
|
308
334
|
paths?: string[];
|
|
@@ -357,7 +383,17 @@ declare namespace gapi.client {
|
|
|
357
383
|
/** Output only. Time at which execution of the build was started. */
|
|
358
384
|
startTime?: string;
|
|
359
385
|
/** Output only. Status of the build. */
|
|
360
|
-
status?:
|
|
386
|
+
status?:
|
|
387
|
+
| 'STATUS_UNKNOWN'
|
|
388
|
+
| 'PENDING'
|
|
389
|
+
| 'QUEUED'
|
|
390
|
+
| 'WORKING'
|
|
391
|
+
| 'SUCCESS'
|
|
392
|
+
| 'FAILURE'
|
|
393
|
+
| 'INTERNAL_ERROR'
|
|
394
|
+
| 'TIMEOUT'
|
|
395
|
+
| 'CANCELLED'
|
|
396
|
+
| 'EXPIRED';
|
|
361
397
|
/** Output only. Customer-readable message about the current status. */
|
|
362
398
|
statusDetail?: string;
|
|
363
399
|
/** Required. The operations to be performed on the workspace. */
|
|
@@ -381,19 +417,34 @@ declare namespace gapi.client {
|
|
|
381
417
|
/** Output only. Result of manual approval for this Build. */
|
|
382
418
|
result?: ContaineranalysisGoogleDevtoolsCloudbuildV1ApprovalResult;
|
|
383
419
|
/** Output only. The state of this build's approval. */
|
|
384
|
-
state?:
|
|
420
|
+
state?:
|
|
421
|
+
| 'STATE_UNSPECIFIED'
|
|
422
|
+
| 'PENDING'
|
|
423
|
+
| 'APPROVED'
|
|
424
|
+
| 'REJECTED'
|
|
425
|
+
| 'CANCELLED';
|
|
385
426
|
}
|
|
386
427
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildFailureInfo {
|
|
387
428
|
/** Explains the failure issue in more detail using hard-coded text. */
|
|
388
429
|
detail?: string;
|
|
389
430
|
/** The name of the failure. */
|
|
390
|
-
type?:
|
|
431
|
+
type?:
|
|
432
|
+
| 'FAILURE_TYPE_UNSPECIFIED'
|
|
433
|
+
| 'PUSH_FAILED'
|
|
434
|
+
| 'PUSH_IMAGE_NOT_FOUND'
|
|
435
|
+
| 'PUSH_NOT_AUTHORIZED'
|
|
436
|
+
| 'LOGGING_FAILURE'
|
|
437
|
+
| 'USER_BUILD_STEP'
|
|
438
|
+
| 'FETCH_SOURCE_FAILED';
|
|
391
439
|
}
|
|
392
440
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions {
|
|
393
441
|
/** Option to include built-in and custom substitutions as env variables for all build steps. */
|
|
394
442
|
automapSubstitutions?: boolean;
|
|
395
443
|
/** Optional. Option to specify how default logs buckets are setup. */
|
|
396
|
-
defaultLogsBucketBehavior?:
|
|
444
|
+
defaultLogsBucketBehavior?:
|
|
445
|
+
| 'DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED'
|
|
446
|
+
| 'REGIONAL_USER_OWNED_BUCKET'
|
|
447
|
+
| 'LEGACY_BUCKET';
|
|
397
448
|
/** Requested disk size for the VM that runs the build. Note that this is *NOT* "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 4000GB; builds that request more than the maximum are rejected with an error. */
|
|
398
449
|
diskSizeGb?: string;
|
|
399
450
|
/** Option to specify whether or not to apply bash style string operations to the substitutions. NOTE: this is always enabled for triggered builds and cannot be overridden in the build configuration file. */
|
|
@@ -403,23 +454,41 @@ declare namespace gapi.client {
|
|
|
403
454
|
/** A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". */
|
|
404
455
|
env?: string[];
|
|
405
456
|
/** Option to specify the logging mode, which determines if and where build logs are stored. */
|
|
406
|
-
logging?:
|
|
457
|
+
logging?:
|
|
458
|
+
| 'LOGGING_UNSPECIFIED'
|
|
459
|
+
| 'LEGACY'
|
|
460
|
+
| 'GCS_ONLY'
|
|
461
|
+
| 'STACKDRIVER_ONLY'
|
|
462
|
+
| 'CLOUD_LOGGING_ONLY'
|
|
463
|
+
| 'NONE';
|
|
407
464
|
/** Option to define build log streaming behavior to Cloud Storage. */
|
|
408
|
-
logStreamingOption?:
|
|
465
|
+
logStreamingOption?: 'STREAM_DEFAULT' | 'STREAM_ON' | 'STREAM_OFF';
|
|
409
466
|
/** Compute Engine machine type on which to run the build. */
|
|
410
|
-
machineType?:
|
|
467
|
+
machineType?:
|
|
468
|
+
| 'UNSPECIFIED'
|
|
469
|
+
| 'N1_HIGHCPU_8'
|
|
470
|
+
| 'N1_HIGHCPU_32'
|
|
471
|
+
| 'E2_HIGHCPU_8'
|
|
472
|
+
| 'E2_HIGHCPU_32'
|
|
473
|
+
| 'E2_MEDIUM';
|
|
411
474
|
/** Optional. Specification for execution on a `WorkerPool`. See [running builds in a private pool](https://cloud.google.com/build/docs/private-pools/run-builds-in-private-pool) for more information. */
|
|
412
475
|
pool?: ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptionsPoolOption;
|
|
413
476
|
/** Optional. Option to specify the Pub/Sub topic to receive build status updates. */
|
|
414
477
|
pubsubTopic?: string;
|
|
415
478
|
/** Requested verifiability options. */
|
|
416
|
-
requestedVerifyOption?:
|
|
479
|
+
requestedVerifyOption?: 'NOT_VERIFIED' | 'VERIFIED';
|
|
417
480
|
/** A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. These variables will be available to all build steps in this build. */
|
|
418
481
|
secretEnv?: string[];
|
|
419
482
|
/** Requested hash for SourceProvenance. */
|
|
420
|
-
sourceProvenanceHash?:
|
|
483
|
+
sourceProvenanceHash?:
|
|
484
|
+
| 'NONE'
|
|
485
|
+
| 'SHA256'
|
|
486
|
+
| 'MD5'
|
|
487
|
+
| 'GO_MODULE_H1'
|
|
488
|
+
| 'SHA512'
|
|
489
|
+
| 'DIRSUM_SHA256'[];
|
|
421
490
|
/** Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. */
|
|
422
|
-
substitutionOption?:
|
|
491
|
+
substitutionOption?: 'MUST_MATCH' | 'ALLOW_LOOSE';
|
|
423
492
|
/** Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration. */
|
|
424
493
|
volumes?: ContaineranalysisGoogleDevtoolsCloudbuildV1Volume[];
|
|
425
494
|
/** This field deprecated; please use `pool.name` instead. */
|
|
@@ -457,7 +526,17 @@ declare namespace gapi.client {
|
|
|
457
526
|
/** A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's `Secret`. */
|
|
458
527
|
secretEnv?: string[];
|
|
459
528
|
/** Output only. Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses. */
|
|
460
|
-
status?:
|
|
529
|
+
status?:
|
|
530
|
+
| 'STATUS_UNKNOWN'
|
|
531
|
+
| 'PENDING'
|
|
532
|
+
| 'QUEUED'
|
|
533
|
+
| 'WORKING'
|
|
534
|
+
| 'SUCCESS'
|
|
535
|
+
| 'FAILURE'
|
|
536
|
+
| 'INTERNAL_ERROR'
|
|
537
|
+
| 'TIMEOUT'
|
|
538
|
+
| 'CANCELLED'
|
|
539
|
+
| 'EXPIRED';
|
|
461
540
|
/** Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out. */
|
|
462
541
|
timeout?: string;
|
|
463
542
|
/** Output only. Stores timing information for executing this build step. */
|
|
@@ -469,7 +548,7 @@ declare namespace gapi.client {
|
|
|
469
548
|
}
|
|
470
549
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1BuildWarning {
|
|
471
550
|
/** The priority for this warning. */
|
|
472
|
-
priority?:
|
|
551
|
+
priority?: 'PRIORITY_UNSPECIFIED' | 'INFO' | 'WARNING' | 'ALERT';
|
|
473
552
|
/** Explanation of the warning generated. */
|
|
474
553
|
text?: string;
|
|
475
554
|
}
|
|
@@ -480,6 +559,11 @@ declare namespace gapi.client {
|
|
|
480
559
|
digest?: string;
|
|
481
560
|
/** Name used to push the container image to Google Container Registry, as presented to `docker push`. */
|
|
482
561
|
name?: string;
|
|
562
|
+
/** Output only. The OCI media type of the artifact. Non-OCI images, such as Docker images, will have an unspecified value. */
|
|
563
|
+
ociMediaType?:
|
|
564
|
+
| 'OCI_MEDIA_TYPE_UNSPECIFIED'
|
|
565
|
+
| 'IMAGE_MANIFEST'
|
|
566
|
+
| 'IMAGE_INDEX';
|
|
483
567
|
/** Output only. Stores timing information for pushing the specified image. */
|
|
484
568
|
pushTiming?: ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan;
|
|
485
569
|
}
|
|
@@ -545,7 +629,13 @@ declare namespace gapi.client {
|
|
|
545
629
|
}
|
|
546
630
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1Hash {
|
|
547
631
|
/** The type of hash that was performed. */
|
|
548
|
-
type?:
|
|
632
|
+
type?:
|
|
633
|
+
| 'NONE'
|
|
634
|
+
| 'SHA256'
|
|
635
|
+
| 'MD5'
|
|
636
|
+
| 'GO_MODULE_H1'
|
|
637
|
+
| 'SHA512'
|
|
638
|
+
| 'DIRSUM_SHA256';
|
|
549
639
|
/** The hash value. */
|
|
550
640
|
value?: string;
|
|
551
641
|
}
|
|
@@ -651,7 +741,7 @@ declare namespace gapi.client {
|
|
|
651
741
|
/** Required. Cloud Storage object containing the source. This object must be a zipped (`.zip`) or gzipped archive file (`.tar.gz`) containing source to build. */
|
|
652
742
|
object?: string;
|
|
653
743
|
/** Optional. Option to specify the tool to fetch the source file for the build. */
|
|
654
|
-
sourceFetcher?:
|
|
744
|
+
sourceFetcher?: 'SOURCE_FETCHER_UNSPECIFIED' | 'GSUTIL' | 'GCS_FETCHER';
|
|
655
745
|
}
|
|
656
746
|
interface ContaineranalysisGoogleDevtoolsCloudbuildV1StorageSourceManifest {
|
|
657
747
|
/** Required. Cloud Storage bucket containing the source manifest (see [Bucket Name Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)). */
|
|
@@ -715,42 +805,107 @@ declare namespace gapi.client {
|
|
|
715
805
|
}
|
|
716
806
|
interface CVSS {
|
|
717
807
|
/** Defined in CVSS v3, CVSS v2 */
|
|
718
|
-
attackComplexity?:
|
|
808
|
+
attackComplexity?:
|
|
809
|
+
| 'ATTACK_COMPLEXITY_UNSPECIFIED'
|
|
810
|
+
| 'ATTACK_COMPLEXITY_LOW'
|
|
811
|
+
| 'ATTACK_COMPLEXITY_HIGH'
|
|
812
|
+
| 'ATTACK_COMPLEXITY_MEDIUM';
|
|
719
813
|
/** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. Defined in CVSS v3, CVSS v2 */
|
|
720
|
-
attackVector?:
|
|
814
|
+
attackVector?:
|
|
815
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
816
|
+
| 'ATTACK_VECTOR_NETWORK'
|
|
817
|
+
| 'ATTACK_VECTOR_ADJACENT'
|
|
818
|
+
| 'ATTACK_VECTOR_LOCAL'
|
|
819
|
+
| 'ATTACK_VECTOR_PHYSICAL';
|
|
721
820
|
/** Defined in CVSS v2 */
|
|
722
|
-
authentication?:
|
|
821
|
+
authentication?:
|
|
822
|
+
| 'AUTHENTICATION_UNSPECIFIED'
|
|
823
|
+
| 'AUTHENTICATION_MULTIPLE'
|
|
824
|
+
| 'AUTHENTICATION_SINGLE'
|
|
825
|
+
| 'AUTHENTICATION_NONE';
|
|
723
826
|
/** Defined in CVSS v3, CVSS v2 */
|
|
724
|
-
availabilityImpact?:
|
|
827
|
+
availabilityImpact?:
|
|
828
|
+
| 'IMPACT_UNSPECIFIED'
|
|
829
|
+
| 'IMPACT_HIGH'
|
|
830
|
+
| 'IMPACT_LOW'
|
|
831
|
+
| 'IMPACT_NONE'
|
|
832
|
+
| 'IMPACT_PARTIAL'
|
|
833
|
+
| 'IMPACT_COMPLETE';
|
|
725
834
|
/** The base score is a function of the base metric scores. */
|
|
726
835
|
baseScore?: number;
|
|
727
836
|
/** Defined in CVSS v3, CVSS v2 */
|
|
728
|
-
confidentialityImpact?:
|
|
837
|
+
confidentialityImpact?:
|
|
838
|
+
| 'IMPACT_UNSPECIFIED'
|
|
839
|
+
| 'IMPACT_HIGH'
|
|
840
|
+
| 'IMPACT_LOW'
|
|
841
|
+
| 'IMPACT_NONE'
|
|
842
|
+
| 'IMPACT_PARTIAL'
|
|
843
|
+
| 'IMPACT_COMPLETE';
|
|
729
844
|
exploitabilityScore?: number;
|
|
730
845
|
impactScore?: number;
|
|
731
846
|
/** Defined in CVSS v3, CVSS v2 */
|
|
732
|
-
integrityImpact?:
|
|
847
|
+
integrityImpact?:
|
|
848
|
+
| 'IMPACT_UNSPECIFIED'
|
|
849
|
+
| 'IMPACT_HIGH'
|
|
850
|
+
| 'IMPACT_LOW'
|
|
851
|
+
| 'IMPACT_NONE'
|
|
852
|
+
| 'IMPACT_PARTIAL'
|
|
853
|
+
| 'IMPACT_COMPLETE';
|
|
733
854
|
/** Defined in CVSS v3 */
|
|
734
|
-
privilegesRequired?:
|
|
855
|
+
privilegesRequired?:
|
|
856
|
+
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
857
|
+
| 'PRIVILEGES_REQUIRED_NONE'
|
|
858
|
+
| 'PRIVILEGES_REQUIRED_LOW'
|
|
859
|
+
| 'PRIVILEGES_REQUIRED_HIGH';
|
|
735
860
|
/** Defined in CVSS v3 */
|
|
736
|
-
scope?:
|
|
861
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
|
|
737
862
|
/** Defined in CVSS v3 */
|
|
738
|
-
userInteraction?:
|
|
863
|
+
userInteraction?:
|
|
864
|
+
| 'USER_INTERACTION_UNSPECIFIED'
|
|
865
|
+
| 'USER_INTERACTION_NONE'
|
|
866
|
+
| 'USER_INTERACTION_REQUIRED';
|
|
739
867
|
}
|
|
740
868
|
interface CVSSv3 {
|
|
741
|
-
attackComplexity?:
|
|
869
|
+
attackComplexity?:
|
|
870
|
+
| 'ATTACK_COMPLEXITY_UNSPECIFIED'
|
|
871
|
+
| 'ATTACK_COMPLEXITY_LOW'
|
|
872
|
+
| 'ATTACK_COMPLEXITY_HIGH';
|
|
742
873
|
/** Base Metrics Represents the intrinsic characteristics of a vulnerability that are constant over time and across user environments. */
|
|
743
|
-
attackVector?:
|
|
744
|
-
|
|
874
|
+
attackVector?:
|
|
875
|
+
| 'ATTACK_VECTOR_UNSPECIFIED'
|
|
876
|
+
| 'ATTACK_VECTOR_NETWORK'
|
|
877
|
+
| 'ATTACK_VECTOR_ADJACENT'
|
|
878
|
+
| 'ATTACK_VECTOR_LOCAL'
|
|
879
|
+
| 'ATTACK_VECTOR_PHYSICAL';
|
|
880
|
+
availabilityImpact?:
|
|
881
|
+
| 'IMPACT_UNSPECIFIED'
|
|
882
|
+
| 'IMPACT_HIGH'
|
|
883
|
+
| 'IMPACT_LOW'
|
|
884
|
+
| 'IMPACT_NONE';
|
|
745
885
|
/** The base score is a function of the base metric scores. */
|
|
746
886
|
baseScore?: number;
|
|
747
|
-
confidentialityImpact?:
|
|
887
|
+
confidentialityImpact?:
|
|
888
|
+
| 'IMPACT_UNSPECIFIED'
|
|
889
|
+
| 'IMPACT_HIGH'
|
|
890
|
+
| 'IMPACT_LOW'
|
|
891
|
+
| 'IMPACT_NONE';
|
|
748
892
|
exploitabilityScore?: number;
|
|
749
893
|
impactScore?: number;
|
|
750
|
-
integrityImpact?:
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
894
|
+
integrityImpact?:
|
|
895
|
+
| 'IMPACT_UNSPECIFIED'
|
|
896
|
+
| 'IMPACT_HIGH'
|
|
897
|
+
| 'IMPACT_LOW'
|
|
898
|
+
| 'IMPACT_NONE';
|
|
899
|
+
privilegesRequired?:
|
|
900
|
+
| 'PRIVILEGES_REQUIRED_UNSPECIFIED'
|
|
901
|
+
| 'PRIVILEGES_REQUIRED_NONE'
|
|
902
|
+
| 'PRIVILEGES_REQUIRED_LOW'
|
|
903
|
+
| 'PRIVILEGES_REQUIRED_HIGH';
|
|
904
|
+
scope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_UNCHANGED' | 'SCOPE_CHANGED';
|
|
905
|
+
userInteraction?:
|
|
906
|
+
| 'USER_INTERACTION_UNSPECIFIED'
|
|
907
|
+
| 'USER_INTERACTION_NONE'
|
|
908
|
+
| 'USER_INTERACTION_REQUIRED';
|
|
754
909
|
}
|
|
755
910
|
interface Deployable {
|
|
756
911
|
/** Required. Resource URI for the artifact being deployed. */
|
|
@@ -764,7 +919,7 @@ declare namespace gapi.client {
|
|
|
764
919
|
/** Required. Beginning of the lifetime of this deployment. */
|
|
765
920
|
deployTime?: string;
|
|
766
921
|
/** Platform hosting this deployment. */
|
|
767
|
-
platform?:
|
|
922
|
+
platform?: 'PLATFORM_UNSPECIFIED' | 'GKE' | 'FLEX' | 'CUSTOM';
|
|
768
923
|
/** Output only. Resource URI for the artifact being deployed taken from the deployable field with the same name. */
|
|
769
924
|
resourceUri?: string[];
|
|
770
925
|
/** End of the lifetime of this deployment. */
|
|
@@ -823,11 +978,21 @@ declare namespace gapi.client {
|
|
|
823
978
|
/** Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors. */
|
|
824
979
|
analysisError?: Status[];
|
|
825
980
|
/** The status of discovery for the resource. */
|
|
826
|
-
analysisStatus?:
|
|
981
|
+
analysisStatus?:
|
|
982
|
+
| 'ANALYSIS_STATUS_UNSPECIFIED'
|
|
983
|
+
| 'PENDING'
|
|
984
|
+
| 'SCANNING'
|
|
985
|
+
| 'FINISHED_SUCCESS'
|
|
986
|
+
| 'COMPLETE'
|
|
987
|
+
| 'FINISHED_FAILED'
|
|
988
|
+
| 'FINISHED_UNSUPPORTED';
|
|
827
989
|
/** When an error is encountered this will contain a LocalizedMessage under details to show to the user. The LocalizedMessage is output only and populated by the API. */
|
|
828
990
|
analysisStatusError?: Status;
|
|
829
991
|
/** Whether the resource is continuously analyzed. */
|
|
830
|
-
continuousAnalysis?:
|
|
992
|
+
continuousAnalysis?:
|
|
993
|
+
| 'CONTINUOUS_ANALYSIS_UNSPECIFIED'
|
|
994
|
+
| 'ACTIVE'
|
|
995
|
+
| 'INACTIVE';
|
|
831
996
|
/** Files that make up the resource described by the occurrence. */
|
|
832
997
|
files?: File[];
|
|
833
998
|
/** The last time continuous analysis was done for this resource. Deprecated, do not use. */
|
|
@@ -841,11 +1006,27 @@ declare namespace gapi.client {
|
|
|
841
1006
|
}
|
|
842
1007
|
interface Discovery {
|
|
843
1008
|
/** Required. Immutable. The kind of analysis that is handled by this discovery. */
|
|
844
|
-
analysisKind?:
|
|
1009
|
+
analysisKind?:
|
|
1010
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1011
|
+
| 'VULNERABILITY'
|
|
1012
|
+
| 'BUILD'
|
|
1013
|
+
| 'IMAGE'
|
|
1014
|
+
| 'PACKAGE'
|
|
1015
|
+
| 'DEPLOYMENT'
|
|
1016
|
+
| 'DISCOVERY'
|
|
1017
|
+
| 'ATTESTATION'
|
|
1018
|
+
| 'INTOTO'
|
|
1019
|
+
| 'SBOM'
|
|
1020
|
+
| 'SPDX_PACKAGE'
|
|
1021
|
+
| 'SPDX_FILE'
|
|
1022
|
+
| 'SPDX_RELATIONSHIP'
|
|
1023
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1024
|
+
| 'SBOM_REFERENCE'
|
|
1025
|
+
| 'SECRET';
|
|
845
1026
|
}
|
|
846
1027
|
interface Distribution {
|
|
847
1028
|
/** The CPU architecture for which packages in this distribution channel were built. */
|
|
848
|
-
architecture?:
|
|
1029
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
849
1030
|
/** Required. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. */
|
|
850
1031
|
cpeUri?: string;
|
|
851
1032
|
/** The distribution channel-specific description of this package. */
|
|
@@ -913,7 +1094,12 @@ declare namespace gapi.client {
|
|
|
913
1094
|
}
|
|
914
1095
|
interface ExternalRef {
|
|
915
1096
|
/** An External Reference allows a Package to reference an external source of additional information, metadata, enumerations, asset identifiers, or downloadable content believed to be relevant to the Package */
|
|
916
|
-
category?:
|
|
1097
|
+
category?:
|
|
1098
|
+
| 'CATEGORY_UNSPECIFIED'
|
|
1099
|
+
| 'SECURITY'
|
|
1100
|
+
| 'PACKAGE_MANAGER'
|
|
1101
|
+
| 'PERSISTENT_ID'
|
|
1102
|
+
| 'OTHER';
|
|
917
1103
|
/** Human-readable information about the purpose and target of the reference */
|
|
918
1104
|
comment?: string;
|
|
919
1105
|
/** The unique string with no spaces necessary to access the package-specific information, metadata, or content within the target location */
|
|
@@ -937,7 +1123,19 @@ declare namespace gapi.client {
|
|
|
937
1123
|
/** Provide a unique identifier to match analysis information on each specific file in a package */
|
|
938
1124
|
checksum?: string[];
|
|
939
1125
|
/** This field provides information about the type of file identified */
|
|
940
|
-
fileType?:
|
|
1126
|
+
fileType?:
|
|
1127
|
+
| 'FILE_TYPE_UNSPECIFIED'
|
|
1128
|
+
| 'SOURCE'
|
|
1129
|
+
| 'BINARY'
|
|
1130
|
+
| 'ARCHIVE'
|
|
1131
|
+
| 'APPLICATION'
|
|
1132
|
+
| 'AUDIO'
|
|
1133
|
+
| 'IMAGE'
|
|
1134
|
+
| 'TEXT'
|
|
1135
|
+
| 'VIDEO'
|
|
1136
|
+
| 'DOCUMENTATION'
|
|
1137
|
+
| 'SPDX'
|
|
1138
|
+
| 'OTHER';
|
|
941
1139
|
/** Identify the full path and filename that corresponds to the file information in this section */
|
|
942
1140
|
title?: string;
|
|
943
1141
|
}
|
|
@@ -973,14 +1171,20 @@ declare namespace gapi.client {
|
|
|
973
1171
|
/** The affected resource. */
|
|
974
1172
|
resource?: Resource;
|
|
975
1173
|
/** The severity for this count. SEVERITY_UNSPECIFIED indicates total across all severities. */
|
|
976
|
-
severity?:
|
|
1174
|
+
severity?:
|
|
1175
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1176
|
+
| 'MINIMAL'
|
|
1177
|
+
| 'LOW'
|
|
1178
|
+
| 'MEDIUM'
|
|
1179
|
+
| 'HIGH'
|
|
1180
|
+
| 'CRITICAL';
|
|
977
1181
|
/** The total number of vulnerabilities associated with this resource. */
|
|
978
1182
|
totalCount?: string;
|
|
979
1183
|
}
|
|
980
1184
|
interface GeneratePackagesSummaryRequest {}
|
|
981
1185
|
interface GenericSignedAttestation {
|
|
982
1186
|
/** 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). */
|
|
983
|
-
contentType?:
|
|
1187
|
+
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
984
1188
|
/** The serialized payload that is verified by one or more `signatures`. The encoding and semantic meaning of this payload must match what is set in `content_type`. */
|
|
985
1189
|
serializedPayload?: string;
|
|
986
1190
|
/** One or more signatures over `serialized_payload`. Verifier implementations should consider this attestation message verified if at least one `signature` verifies `serialized_payload`. See `Signature` in common.proto for more details on signature structure and verification. */
|
|
@@ -1059,9 +1263,18 @@ declare namespace gapi.client {
|
|
|
1059
1263
|
/** The cvss v3 score for the vulnerability. */
|
|
1060
1264
|
cvssV3?: CVSS;
|
|
1061
1265
|
/** Output only. CVSS version used to populate cvss_score and severity. */
|
|
1062
|
-
cvssVersion?:
|
|
1266
|
+
cvssVersion?:
|
|
1267
|
+
| 'CVSS_VERSION_UNSPECIFIED'
|
|
1268
|
+
| 'CVSS_VERSION_2'
|
|
1269
|
+
| 'CVSS_VERSION_3';
|
|
1063
1270
|
/** The distro assigned severity for this vulnerability when it is available, and note provider assigned severity when distro has not yet assigned a severity for this vulnerability. When there are multiple PackageIssues for this vulnerability, they can have different effective severities because some might be provided by the distro while others are provided by the language ecosystem for a language pack. For this reason, it is advised to use the effective severity on the PackageIssue level. In the case where multiple PackageIssues have differing effective severities, this field should be the highest severity for any of the PackageIssues. */
|
|
1064
|
-
effectiveSeverity?:
|
|
1271
|
+
effectiveSeverity?:
|
|
1272
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1273
|
+
| 'MINIMAL'
|
|
1274
|
+
| 'LOW'
|
|
1275
|
+
| 'MEDIUM'
|
|
1276
|
+
| 'HIGH'
|
|
1277
|
+
| 'CRITICAL';
|
|
1065
1278
|
/** Occurrence-specific extra details about the vulnerability. */
|
|
1066
1279
|
extraDetails?: string;
|
|
1067
1280
|
/** Output only. A detailed description of this vulnerability. */
|
|
@@ -1071,7 +1284,13 @@ declare namespace gapi.client {
|
|
|
1071
1284
|
/** Output only. URLs related to this vulnerability. */
|
|
1072
1285
|
relatedUrls?: RelatedUrl[];
|
|
1073
1286
|
/** Output only. The note provider assigned Severity of the vulnerability. */
|
|
1074
|
-
severity?:
|
|
1287
|
+
severity?:
|
|
1288
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1289
|
+
| 'MINIMAL'
|
|
1290
|
+
| 'LOW'
|
|
1291
|
+
| 'MEDIUM'
|
|
1292
|
+
| 'HIGH'
|
|
1293
|
+
| 'CRITICAL';
|
|
1075
1294
|
/** Output only. A one sentence description of this vulnerability. */
|
|
1076
1295
|
shortDescription?: string;
|
|
1077
1296
|
/** The type of package; whether native or non native(ruby gems, node.js packages etc) */
|
|
@@ -1080,7 +1299,12 @@ declare namespace gapi.client {
|
|
|
1080
1299
|
}
|
|
1081
1300
|
interface Hash {
|
|
1082
1301
|
/** Required. The type of hash that was performed. */
|
|
1083
|
-
type?:
|
|
1302
|
+
type?:
|
|
1303
|
+
| 'HASH_TYPE_UNSPECIFIED'
|
|
1304
|
+
| 'SHA256'
|
|
1305
|
+
| 'GO_MODULE_H1'
|
|
1306
|
+
| 'SHA512'
|
|
1307
|
+
| 'DIRSUM_SHA256';
|
|
1084
1308
|
/** Required. The hash value. */
|
|
1085
1309
|
value?: string;
|
|
1086
1310
|
}
|
|
@@ -1090,7 +1314,7 @@ declare namespace gapi.client {
|
|
|
1090
1314
|
}
|
|
1091
1315
|
interface Installation {
|
|
1092
1316
|
/** Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
|
|
1093
|
-
architecture?:
|
|
1317
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
1094
1318
|
/** Output only. The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. */
|
|
1095
1319
|
cpeUri?: string;
|
|
1096
1320
|
/** Licenses that have been declared by the authors of the package. */
|
|
@@ -1128,7 +1352,13 @@ declare namespace gapi.client {
|
|
|
1128
1352
|
/** Additional details on why this justification was chosen. */
|
|
1129
1353
|
details?: string;
|
|
1130
1354
|
/** The justification type for this vulnerability. */
|
|
1131
|
-
justificationType?:
|
|
1355
|
+
justificationType?:
|
|
1356
|
+
| 'JUSTIFICATION_TYPE_UNSPECIFIED'
|
|
1357
|
+
| 'COMPONENT_NOT_PRESENT'
|
|
1358
|
+
| 'VULNERABLE_CODE_NOT_PRESENT'
|
|
1359
|
+
| 'VULNERABLE_CODE_NOT_IN_EXECUTE_PATH'
|
|
1360
|
+
| 'VULNERABLE_CODE_CANNOT_BE_CONTROLLED_BY_ADVERSARY'
|
|
1361
|
+
| 'INLINE_MITIGATIONS_ALREADY_EXIST';
|
|
1132
1362
|
}
|
|
1133
1363
|
interface KnowledgeBase {
|
|
1134
1364
|
/** The KB name (generally of the form KB[0-9]+ i.e. KB123456). */
|
|
@@ -1140,7 +1370,25 @@ declare namespace gapi.client {
|
|
|
1140
1370
|
/** The recovered arguments to the Dockerfile directive. */
|
|
1141
1371
|
arguments?: string;
|
|
1142
1372
|
/** Required. The recovered Dockerfile directive used to construct this layer. */
|
|
1143
|
-
directive?:
|
|
1373
|
+
directive?:
|
|
1374
|
+
| 'DIRECTIVE_UNSPECIFIED'
|
|
1375
|
+
| 'MAINTAINER'
|
|
1376
|
+
| 'RUN'
|
|
1377
|
+
| 'CMD'
|
|
1378
|
+
| 'LABEL'
|
|
1379
|
+
| 'EXPOSE'
|
|
1380
|
+
| 'ENV'
|
|
1381
|
+
| 'ADD'
|
|
1382
|
+
| 'COPY'
|
|
1383
|
+
| 'ENTRYPOINT'
|
|
1384
|
+
| 'VOLUME'
|
|
1385
|
+
| 'USER'
|
|
1386
|
+
| 'WORKDIR'
|
|
1387
|
+
| 'ARG'
|
|
1388
|
+
| 'ONBUILD'
|
|
1389
|
+
| 'STOPSIGNAL'
|
|
1390
|
+
| 'HEALTHCHECK'
|
|
1391
|
+
| 'SHELL';
|
|
1144
1392
|
}
|
|
1145
1393
|
interface License {
|
|
1146
1394
|
/** Comments */
|
|
@@ -1214,7 +1462,23 @@ declare namespace gapi.client {
|
|
|
1214
1462
|
/** A note describing an in-toto link. */
|
|
1215
1463
|
intoto?: InToto;
|
|
1216
1464
|
/** Output only. The type of analysis. This field can be used as a filter in list requests. */
|
|
1217
|
-
kind?:
|
|
1465
|
+
kind?:
|
|
1466
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1467
|
+
| 'VULNERABILITY'
|
|
1468
|
+
| 'BUILD'
|
|
1469
|
+
| 'IMAGE'
|
|
1470
|
+
| 'PACKAGE'
|
|
1471
|
+
| 'DEPLOYMENT'
|
|
1472
|
+
| 'DISCOVERY'
|
|
1473
|
+
| 'ATTESTATION'
|
|
1474
|
+
| 'INTOTO'
|
|
1475
|
+
| 'SBOM'
|
|
1476
|
+
| 'SPDX_PACKAGE'
|
|
1477
|
+
| 'SPDX_FILE'
|
|
1478
|
+
| 'SPDX_RELATIONSHIP'
|
|
1479
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1480
|
+
| 'SBOM_REFERENCE'
|
|
1481
|
+
| 'SECRET';
|
|
1218
1482
|
/** A detailed description of this note. */
|
|
1219
1483
|
longDescription?: string;
|
|
1220
1484
|
/** Output only. The name of the note in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. */
|
|
@@ -1266,7 +1530,23 @@ declare namespace gapi.client {
|
|
|
1266
1530
|
/** Describes a specific in-toto link. */
|
|
1267
1531
|
intoto?: GrafeasV1beta1IntotoDetails;
|
|
1268
1532
|
/** Output only. This explicitly denotes which of the occurrence details are specified. This field can be used as a filter in list requests. */
|
|
1269
|
-
kind?:
|
|
1533
|
+
kind?:
|
|
1534
|
+
| 'NOTE_KIND_UNSPECIFIED'
|
|
1535
|
+
| 'VULNERABILITY'
|
|
1536
|
+
| 'BUILD'
|
|
1537
|
+
| 'IMAGE'
|
|
1538
|
+
| 'PACKAGE'
|
|
1539
|
+
| 'DEPLOYMENT'
|
|
1540
|
+
| 'DISCOVERY'
|
|
1541
|
+
| 'ATTESTATION'
|
|
1542
|
+
| 'INTOTO'
|
|
1543
|
+
| 'SBOM'
|
|
1544
|
+
| 'SPDX_PACKAGE'
|
|
1545
|
+
| 'SPDX_FILE'
|
|
1546
|
+
| 'SPDX_RELATIONSHIP'
|
|
1547
|
+
| 'VULNERABILITY_ASSESSMENT'
|
|
1548
|
+
| 'SBOM_REFERENCE'
|
|
1549
|
+
| 'SECRET';
|
|
1270
1550
|
/** Output only. The name of the occurrence in the form of `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]`. */
|
|
1271
1551
|
name?: string;
|
|
1272
1552
|
/** Required. Immutable. The analysis note associated with this occurrence, in the form of `projects/[PROVIDER_ID]/notes/[NOTE_ID]`. This field can be used as a filter in list requests. */
|
|
@@ -1294,7 +1574,7 @@ declare namespace gapi.client {
|
|
|
1294
1574
|
}
|
|
1295
1575
|
interface Package {
|
|
1296
1576
|
/** The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages. */
|
|
1297
|
-
architecture?:
|
|
1577
|
+
architecture?: 'ARCHITECTURE_UNSPECIFIED' | 'X86' | 'X64';
|
|
1298
1578
|
/** The cpe_uri in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package. The cpe_uri will be blank for language packages. */
|
|
1299
1579
|
cpeUri?: string;
|
|
1300
1580
|
/** The description of this package. */
|
|
@@ -1378,7 +1658,13 @@ declare namespace gapi.client {
|
|
|
1378
1658
|
/** Required. The location of the vulnerability. */
|
|
1379
1659
|
affectedLocation?: VulnerabilityLocation;
|
|
1380
1660
|
/** Output only. The distro or language system assigned severity for this vulnerability when that is available and note provider assigned severity when it is not available. */
|
|
1381
|
-
effectiveSeverity?:
|
|
1661
|
+
effectiveSeverity?:
|
|
1662
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
1663
|
+
| 'MINIMAL'
|
|
1664
|
+
| 'LOW'
|
|
1665
|
+
| 'MEDIUM'
|
|
1666
|
+
| 'HIGH'
|
|
1667
|
+
| 'CRITICAL';
|
|
1382
1668
|
/** The location of the available fix for vulnerability. */
|
|
1383
1669
|
fixedLocation?: VulnerabilityLocation;
|
|
1384
1670
|
/** The type of package (e.g. OS, MAVEN, GO). */
|
|
@@ -1394,7 +1680,7 @@ declare namespace gapi.client {
|
|
|
1394
1680
|
}
|
|
1395
1681
|
interface PgpSignedAttestation {
|
|
1396
1682
|
/** 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). */
|
|
1397
|
-
contentType?:
|
|
1683
|
+
contentType?: 'CONTENT_TYPE_UNSPECIFIED' | 'SIMPLE_SIGNING_JSON';
|
|
1398
1684
|
/** The cryptographic fingerprint of the key used to generate the signature, as output by, e.g. `gpg --list-keys`. This should be the version 4, full 160-bit fingerprint, expressed as a 40 character hexadecimal string. See https://tools.ietf.org/html/rfc4880#section-12.2 for details. Implementations may choose to acknowledge "LONG", "SHORT", or other abbreviated key IDs, but only the full fingerprint is guaranteed to work. In gpg, the full fingerprint can be retrieved from the `fpr` field returned when calling --list-keys with --with-colons. For example: ``` gpg --with-colons --with-fingerprint --force-v4-certs \ --list-keys attester@example.com tru::1:1513631572:0:3:1:5 pub:...... fpr:::::::::24FF6481B76AC91E66A00AC657A93A81EF3AE6FB: ``` Above, the fingerprint is `24FF6481B76AC91E66A00AC657A93A81EF3AE6FB`. */
|
|
1399
1685
|
pgpKeyId?: string;
|
|
1400
1686
|
/** Required. The raw content of the signature, as output by GNU Privacy Guard (GPG) or equivalent. Since this message only supports attached signatures, the payload that was signed must be attached. While the signature format supported is dependent on the verification implementation, currently only ASCII-armored (`--armor` to gpg), non-clearsigned (`--sign` rather than `--clearsign` to gpg) are supported. Concretely, `gpg --sign --armor --output=signature.gpg payload.json` will create the signature content expected in this field in `signature.gpg` for the `payload.json` attestation payload. */
|
|
@@ -1443,7 +1729,51 @@ declare namespace gapi.client {
|
|
|
1443
1729
|
}
|
|
1444
1730
|
interface RelationshipNote {
|
|
1445
1731
|
/** The type of relationship between the source and target SPDX elements */
|
|
1446
|
-
type?:
|
|
1732
|
+
type?:
|
|
1733
|
+
| 'RELATIONSHIP_TYPE_UNSPECIFIED'
|
|
1734
|
+
| 'DESCRIBES'
|
|
1735
|
+
| 'DESCRIBED_BY'
|
|
1736
|
+
| 'CONTAINS'
|
|
1737
|
+
| 'CONTAINED_BY'
|
|
1738
|
+
| 'DEPENDS_ON'
|
|
1739
|
+
| 'DEPENDENCY_OF'
|
|
1740
|
+
| 'DEPENDENCY_MANIFEST_OF'
|
|
1741
|
+
| 'BUILD_DEPENDENCY_OF'
|
|
1742
|
+
| 'DEV_DEPENDENCY_OF'
|
|
1743
|
+
| 'OPTIONAL_DEPENDENCY_OF'
|
|
1744
|
+
| 'PROVIDED_DEPENDENCY_OF'
|
|
1745
|
+
| 'TEST_DEPENDENCY_OF'
|
|
1746
|
+
| 'RUNTIME_DEPENDENCY_OF'
|
|
1747
|
+
| 'EXAMPLE_OF'
|
|
1748
|
+
| 'GENERATES'
|
|
1749
|
+
| 'GENERATED_FROM'
|
|
1750
|
+
| 'ANCESTOR_OF'
|
|
1751
|
+
| 'DESCENDANT_OF'
|
|
1752
|
+
| 'VARIANT_OF'
|
|
1753
|
+
| 'DISTRIBUTION_ARTIFACT'
|
|
1754
|
+
| 'PATCH_FOR'
|
|
1755
|
+
| 'PATCH_APPLIED'
|
|
1756
|
+
| 'COPY_OF'
|
|
1757
|
+
| 'FILE_ADDED'
|
|
1758
|
+
| 'FILE_DELETED'
|
|
1759
|
+
| 'FILE_MODIFIED'
|
|
1760
|
+
| 'EXPANDED_FROM_ARCHIVE'
|
|
1761
|
+
| 'DYNAMIC_LINK'
|
|
1762
|
+
| 'STATIC_LINK'
|
|
1763
|
+
| 'DATA_FILE_OF'
|
|
1764
|
+
| 'TEST_CASE_OF'
|
|
1765
|
+
| 'BUILD_TOOL_OF'
|
|
1766
|
+
| 'DEV_TOOL_OF'
|
|
1767
|
+
| 'TEST_OF'
|
|
1768
|
+
| 'TEST_TOOL_OF'
|
|
1769
|
+
| 'DOCUMENTATION_OF'
|
|
1770
|
+
| 'OPTIONAL_COMPONENT_OF'
|
|
1771
|
+
| 'METAFILE_OF'
|
|
1772
|
+
| 'PACKAGE_OF'
|
|
1773
|
+
| 'AMENDS'
|
|
1774
|
+
| 'PREREQUISITE_FOR'
|
|
1775
|
+
| 'HAS_PREREQUISITE'
|
|
1776
|
+
| 'OTHER';
|
|
1447
1777
|
}
|
|
1448
1778
|
interface RelationshipOccurrence {
|
|
1449
1779
|
/** A place for the SPDX file creator to record any general comments about the relationship */
|
|
@@ -1453,13 +1783,63 @@ declare namespace gapi.client {
|
|
|
1453
1783
|
/** Also referred to as SPDXRef-B The target SPDC element (file, package, etc) In cases where there are "known unknowns", the use of the keyword NOASSERTION can be used The keywords NONE can be used to indicate that an SPDX element (package/file/snippet) has no other elements connected by some relationship to it */
|
|
1454
1784
|
target?: string;
|
|
1455
1785
|
/** Output only. The type of relationship between the source and target SPDX elements */
|
|
1456
|
-
type?:
|
|
1786
|
+
type?:
|
|
1787
|
+
| 'RELATIONSHIP_TYPE_UNSPECIFIED'
|
|
1788
|
+
| 'DESCRIBES'
|
|
1789
|
+
| 'DESCRIBED_BY'
|
|
1790
|
+
| 'CONTAINS'
|
|
1791
|
+
| 'CONTAINED_BY'
|
|
1792
|
+
| 'DEPENDS_ON'
|
|
1793
|
+
| 'DEPENDENCY_OF'
|
|
1794
|
+
| 'DEPENDENCY_MANIFEST_OF'
|
|
1795
|
+
| 'BUILD_DEPENDENCY_OF'
|
|
1796
|
+
| 'DEV_DEPENDENCY_OF'
|
|
1797
|
+
| 'OPTIONAL_DEPENDENCY_OF'
|
|
1798
|
+
| 'PROVIDED_DEPENDENCY_OF'
|
|
1799
|
+
| 'TEST_DEPENDENCY_OF'
|
|
1800
|
+
| 'RUNTIME_DEPENDENCY_OF'
|
|
1801
|
+
| 'EXAMPLE_OF'
|
|
1802
|
+
| 'GENERATES'
|
|
1803
|
+
| 'GENERATED_FROM'
|
|
1804
|
+
| 'ANCESTOR_OF'
|
|
1805
|
+
| 'DESCENDANT_OF'
|
|
1806
|
+
| 'VARIANT_OF'
|
|
1807
|
+
| 'DISTRIBUTION_ARTIFACT'
|
|
1808
|
+
| 'PATCH_FOR'
|
|
1809
|
+
| 'PATCH_APPLIED'
|
|
1810
|
+
| 'COPY_OF'
|
|
1811
|
+
| 'FILE_ADDED'
|
|
1812
|
+
| 'FILE_DELETED'
|
|
1813
|
+
| 'FILE_MODIFIED'
|
|
1814
|
+
| 'EXPANDED_FROM_ARCHIVE'
|
|
1815
|
+
| 'DYNAMIC_LINK'
|
|
1816
|
+
| 'STATIC_LINK'
|
|
1817
|
+
| 'DATA_FILE_OF'
|
|
1818
|
+
| 'TEST_CASE_OF'
|
|
1819
|
+
| 'BUILD_TOOL_OF'
|
|
1820
|
+
| 'DEV_TOOL_OF'
|
|
1821
|
+
| 'TEST_OF'
|
|
1822
|
+
| 'TEST_TOOL_OF'
|
|
1823
|
+
| 'DOCUMENTATION_OF'
|
|
1824
|
+
| 'OPTIONAL_COMPONENT_OF'
|
|
1825
|
+
| 'METAFILE_OF'
|
|
1826
|
+
| 'PACKAGE_OF'
|
|
1827
|
+
| 'AMENDS'
|
|
1828
|
+
| 'PREREQUISITE_FOR'
|
|
1829
|
+
| 'HAS_PREREQUISITE'
|
|
1830
|
+
| 'OTHER';
|
|
1457
1831
|
}
|
|
1458
1832
|
interface Remediation {
|
|
1459
1833
|
/** Contains a comprehensive human-readable discussion of the remediation. */
|
|
1460
1834
|
details?: string;
|
|
1461
1835
|
/** The type of remediation that can be applied. */
|
|
1462
|
-
remediationType?:
|
|
1836
|
+
remediationType?:
|
|
1837
|
+
| 'REMEDIATION_TYPE_UNSPECIFIED'
|
|
1838
|
+
| 'MITIGATION'
|
|
1839
|
+
| 'NO_FIX_PLANNED'
|
|
1840
|
+
| 'NONE_AVAILABLE'
|
|
1841
|
+
| 'VENDOR_FIX'
|
|
1842
|
+
| 'WORKAROUND';
|
|
1463
1843
|
/** Contains the URL where to obtain the remediation. */
|
|
1464
1844
|
remediationUri?: RelatedUrl;
|
|
1465
1845
|
}
|
|
@@ -1529,7 +1909,7 @@ declare namespace gapi.client {
|
|
|
1529
1909
|
/** If there was an error generating an SBOM, this will indicate what that error was. */
|
|
1530
1910
|
error?: string;
|
|
1531
1911
|
/** The progress of the SBOM generation. */
|
|
1532
|
-
sbomState?:
|
|
1912
|
+
sbomState?: 'SBOM_STATE_UNSPECIFIED' | 'PENDING' | 'COMPLETE';
|
|
1533
1913
|
}
|
|
1534
1914
|
interface SecretLocation {
|
|
1535
1915
|
/** The secret is found from a file. */
|
|
@@ -1538,7 +1918,30 @@ declare namespace gapi.client {
|
|
|
1538
1918
|
interface SecretNote {}
|
|
1539
1919
|
interface SecretOccurrence {
|
|
1540
1920
|
/** Required. Type of secret. */
|
|
1541
|
-
kind?:
|
|
1921
|
+
kind?:
|
|
1922
|
+
| 'SECRET_KIND_UNSPECIFIED'
|
|
1923
|
+
| 'SECRET_KIND_UNKNOWN'
|
|
1924
|
+
| 'SECRET_KIND_GCP_SERVICE_ACCOUNT_KEY'
|
|
1925
|
+
| 'SECRET_KIND_GCP_API_KEY'
|
|
1926
|
+
| 'SECRET_KIND_GCP_OAUTH2_CLIENT_CREDENTIALS'
|
|
1927
|
+
| 'SECRET_KIND_GCP_OAUTH2_ACCESS_TOKEN'
|
|
1928
|
+
| 'SECRET_KIND_ANTHROPIC_ADMIN_API_KEY'
|
|
1929
|
+
| 'SECRET_KIND_ANTHROPIC_API_KEY'
|
|
1930
|
+
| 'SECRET_KIND_AZURE_ACCESS_TOKEN'
|
|
1931
|
+
| 'SECRET_KIND_AZURE_IDENTITY_TOKEN'
|
|
1932
|
+
| 'SECRET_KIND_DOCKER_HUB_PERSONAL_ACCESS_TOKEN'
|
|
1933
|
+
| 'SECRET_KIND_GITHUB_APP_REFRESH_TOKEN'
|
|
1934
|
+
| 'SECRET_KIND_GITHUB_APP_SERVER_TO_SERVER_TOKEN'
|
|
1935
|
+
| 'SECRET_KIND_GITHUB_APP_USER_TO_SERVER_TOKEN'
|
|
1936
|
+
| 'SECRET_KIND_GITHUB_CLASSIC_PERSONAL_ACCESS_TOKEN'
|
|
1937
|
+
| 'SECRET_KIND_GITHUB_FINE_GRAINED_PERSONAL_ACCESS_TOKEN'
|
|
1938
|
+
| 'SECRET_KIND_GITHUB_OAUTH_TOKEN'
|
|
1939
|
+
| 'SECRET_KIND_HUGGINGFACE_API_KEY'
|
|
1940
|
+
| 'SECRET_KIND_OPENAI_API_KEY'
|
|
1941
|
+
| 'SECRET_KIND_PERPLEXITY_API_KEY'
|
|
1942
|
+
| 'SECRET_KIND_STRIPE_SECRET_KEY'
|
|
1943
|
+
| 'SECRET_KIND_STRIPE_RESTRICTED_KEY'
|
|
1944
|
+
| 'SECRET_KIND_STRIPE_WEBHOOK_SECRET';
|
|
1542
1945
|
/** Optional. Locations where the secret is detected. */
|
|
1543
1946
|
locations?: SecretLocation[];
|
|
1544
1947
|
/** Optional. Status of the secret. */
|
|
@@ -1548,7 +1951,7 @@ declare namespace gapi.client {
|
|
|
1548
1951
|
/** Optional. Optional message about the status code. */
|
|
1549
1952
|
message?: string;
|
|
1550
1953
|
/** Optional. The status of the secret. */
|
|
1551
|
-
status?:
|
|
1954
|
+
status?: 'STATUS_UNSPECIFIED' | 'UNKNOWN' | 'VALID' | 'INVALID';
|
|
1552
1955
|
/** Optional. The time the secret status was last updated. */
|
|
1553
1956
|
updateTime?: string;
|
|
1554
1957
|
}
|
|
@@ -1635,7 +2038,7 @@ declare namespace gapi.client {
|
|
|
1635
2038
|
/** Whether this version is specifying part of an inclusive range. Grafeas does not have the capability to specify version ranges; instead we have fields that specify start version and end versions. At times this is insufficient - we also need to specify whether the version is included in the range or is excluded from the range. This boolean is expected to be set to true when the version is included in a range. */
|
|
1636
2039
|
inclusive?: boolean;
|
|
1637
2040
|
/** Required. Distinguishes between sentinel MIN/MAX versions and normal versions. */
|
|
1638
|
-
kind?:
|
|
2041
|
+
kind?: 'VERSION_KIND_UNSPECIFIED' | 'NORMAL' | 'MINIMUM' | 'MAXIMUM';
|
|
1639
2042
|
/** Required only when version kind is NORMAL. The main part of the version name. */
|
|
1640
2043
|
name?: string;
|
|
1641
2044
|
/** The iteration of the package build from the above version. */
|
|
@@ -1655,7 +2058,12 @@ declare namespace gapi.client {
|
|
|
1655
2058
|
/** Specifies details on how to handle (and presumably, fix) a vulnerability. */
|
|
1656
2059
|
remediations?: Remediation[];
|
|
1657
2060
|
/** Provides the state of this Vulnerability assessment. */
|
|
1658
|
-
state?:
|
|
2061
|
+
state?:
|
|
2062
|
+
| 'STATE_UNSPECIFIED'
|
|
2063
|
+
| 'AFFECTED'
|
|
2064
|
+
| 'NOT_AFFECTED'
|
|
2065
|
+
| 'FIXED'
|
|
2066
|
+
| 'UNDER_INVESTIGATION';
|
|
1659
2067
|
/** The vulnerability identifier for this Assessment. Will hold one of common identifiers e.g. CVE, GHSA etc. */
|
|
1660
2068
|
vulnerabilityId?: string;
|
|
1661
2069
|
}
|
|
@@ -1675,13 +2083,22 @@ declare namespace gapi.client {
|
|
|
1675
2083
|
/** The full description of the CVSS for version 3. */
|
|
1676
2084
|
cvssV3?: CVSSv3;
|
|
1677
2085
|
/** CVSS version used to populate cvss_score and severity. */
|
|
1678
|
-
cvssVersion?:
|
|
2086
|
+
cvssVersion?:
|
|
2087
|
+
| 'CVSS_VERSION_UNSPECIFIED'
|
|
2088
|
+
| 'CVSS_VERSION_2'
|
|
2089
|
+
| 'CVSS_VERSION_3';
|
|
1679
2090
|
/** A list of CWE for this vulnerability. For details, see: https://cwe.mitre.org/index.html */
|
|
1680
2091
|
cwe?: string[];
|
|
1681
2092
|
/** All information about the package to specifically identify this vulnerability. One entry per (version range and cpe_uri) the package vulnerability has manifested in. */
|
|
1682
2093
|
details?: Detail[];
|
|
1683
2094
|
/** Note provider assigned impact of the vulnerability. */
|
|
1684
|
-
severity?:
|
|
2095
|
+
severity?:
|
|
2096
|
+
| 'SEVERITY_UNSPECIFIED'
|
|
2097
|
+
| 'MINIMAL'
|
|
2098
|
+
| 'LOW'
|
|
2099
|
+
| 'MEDIUM'
|
|
2100
|
+
| 'HIGH'
|
|
2101
|
+
| 'CRITICAL';
|
|
1685
2102
|
/** The time this information was last changed at the source. This is an upstream timestamp from the underlying information source - e.g. Ubuntu security tracker. */
|
|
1686
2103
|
sourceUpdateTime?: string;
|
|
1687
2104
|
/** Windows details get their own format because the information format and model don't match a normal detail. Specifically Windows updates are done as patches, thus Windows vulnerabilities really are a missing package, rather than a package being at an incorrect version. */
|
|
@@ -1731,11 +2148,11 @@ declare namespace gapi.client {
|
|
|
1731
2148
|
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
1732
2149
|
list(request?: {
|
|
1733
2150
|
/** V1 error format. */
|
|
1734
|
-
'$.xgafv'?:
|
|
2151
|
+
'$.xgafv'?: '1' | '2';
|
|
1735
2152
|
/** OAuth access token. */
|
|
1736
2153
|
access_token?: string;
|
|
1737
2154
|
/** Data format for response. */
|
|
1738
|
-
alt?:
|
|
2155
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1739
2156
|
/** JSONP */
|
|
1740
2157
|
callback?: string;
|
|
1741
2158
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1766,11 +2183,11 @@ declare namespace gapi.client {
|
|
|
1766
2183
|
/** Creates new notes in batch. */
|
|
1767
2184
|
batchCreate(request: {
|
|
1768
2185
|
/** V1 error format. */
|
|
1769
|
-
'$.xgafv'?:
|
|
2186
|
+
'$.xgafv'?: '1' | '2';
|
|
1770
2187
|
/** OAuth access token. */
|
|
1771
2188
|
access_token?: string;
|
|
1772
2189
|
/** Data format for response. */
|
|
1773
|
-
alt?:
|
|
2190
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1774
2191
|
/** JSONP */
|
|
1775
2192
|
callback?: string;
|
|
1776
2193
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1795,11 +2212,11 @@ declare namespace gapi.client {
|
|
|
1795
2212
|
batchCreate(
|
|
1796
2213
|
request: {
|
|
1797
2214
|
/** V1 error format. */
|
|
1798
|
-
'$.xgafv'?:
|
|
2215
|
+
'$.xgafv'?: '1' | '2';
|
|
1799
2216
|
/** OAuth access token. */
|
|
1800
2217
|
access_token?: string;
|
|
1801
2218
|
/** Data format for response. */
|
|
1802
|
-
alt?:
|
|
2219
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1803
2220
|
/** JSONP */
|
|
1804
2221
|
callback?: string;
|
|
1805
2222
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1824,11 +2241,11 @@ declare namespace gapi.client {
|
|
|
1824
2241
|
/** Creates a new note. */
|
|
1825
2242
|
create(request: {
|
|
1826
2243
|
/** V1 error format. */
|
|
1827
|
-
'$.xgafv'?:
|
|
2244
|
+
'$.xgafv'?: '1' | '2';
|
|
1828
2245
|
/** OAuth access token. */
|
|
1829
2246
|
access_token?: string;
|
|
1830
2247
|
/** Data format for response. */
|
|
1831
|
-
alt?:
|
|
2248
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1832
2249
|
/** JSONP */
|
|
1833
2250
|
callback?: string;
|
|
1834
2251
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1855,11 +2272,11 @@ declare namespace gapi.client {
|
|
|
1855
2272
|
create(
|
|
1856
2273
|
request: {
|
|
1857
2274
|
/** V1 error format. */
|
|
1858
|
-
'$.xgafv'?:
|
|
2275
|
+
'$.xgafv'?: '1' | '2';
|
|
1859
2276
|
/** OAuth access token. */
|
|
1860
2277
|
access_token?: string;
|
|
1861
2278
|
/** Data format for response. */
|
|
1862
|
-
alt?:
|
|
2279
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1863
2280
|
/** JSONP */
|
|
1864
2281
|
callback?: string;
|
|
1865
2282
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1886,11 +2303,11 @@ declare namespace gapi.client {
|
|
|
1886
2303
|
/** Deletes the specified note. */
|
|
1887
2304
|
delete(request?: {
|
|
1888
2305
|
/** V1 error format. */
|
|
1889
|
-
'$.xgafv'?:
|
|
2306
|
+
'$.xgafv'?: '1' | '2';
|
|
1890
2307
|
/** OAuth access token. */
|
|
1891
2308
|
access_token?: string;
|
|
1892
2309
|
/** Data format for response. */
|
|
1893
|
-
alt?:
|
|
2310
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1894
2311
|
/** JSONP */
|
|
1895
2312
|
callback?: string;
|
|
1896
2313
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1913,11 +2330,11 @@ declare namespace gapi.client {
|
|
|
1913
2330
|
/** Gets the specified note. */
|
|
1914
2331
|
get(request?: {
|
|
1915
2332
|
/** V1 error format. */
|
|
1916
|
-
'$.xgafv'?:
|
|
2333
|
+
'$.xgafv'?: '1' | '2';
|
|
1917
2334
|
/** OAuth access token. */
|
|
1918
2335
|
access_token?: string;
|
|
1919
2336
|
/** Data format for response. */
|
|
1920
|
-
alt?:
|
|
2337
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1921
2338
|
/** JSONP */
|
|
1922
2339
|
callback?: string;
|
|
1923
2340
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1941,11 +2358,11 @@ declare namespace gapi.client {
|
|
|
1941
2358
|
getIamPolicy(
|
|
1942
2359
|
request: {
|
|
1943
2360
|
/** V1 error format. */
|
|
1944
|
-
'$.xgafv'?:
|
|
2361
|
+
'$.xgafv'?: '1' | '2';
|
|
1945
2362
|
/** OAuth access token. */
|
|
1946
2363
|
access_token?: string;
|
|
1947
2364
|
/** Data format for response. */
|
|
1948
|
-
alt?:
|
|
2365
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1949
2366
|
/** JSONP */
|
|
1950
2367
|
callback?: string;
|
|
1951
2368
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1970,11 +2387,11 @@ declare namespace gapi.client {
|
|
|
1970
2387
|
/** Lists notes for the specified project. */
|
|
1971
2388
|
list(request?: {
|
|
1972
2389
|
/** V1 error format. */
|
|
1973
|
-
'$.xgafv'?:
|
|
2390
|
+
'$.xgafv'?: '1' | '2';
|
|
1974
2391
|
/** OAuth access token. */
|
|
1975
2392
|
access_token?: string;
|
|
1976
2393
|
/** Data format for response. */
|
|
1977
|
-
alt?:
|
|
2394
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1978
2395
|
/** JSONP */
|
|
1979
2396
|
callback?: string;
|
|
1980
2397
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2005,11 +2422,11 @@ declare namespace gapi.client {
|
|
|
2005
2422
|
/** Updates the specified note. */
|
|
2006
2423
|
patch(request: {
|
|
2007
2424
|
/** V1 error format. */
|
|
2008
|
-
'$.xgafv'?:
|
|
2425
|
+
'$.xgafv'?: '1' | '2';
|
|
2009
2426
|
/** OAuth access token. */
|
|
2010
2427
|
access_token?: string;
|
|
2011
2428
|
/** Data format for response. */
|
|
2012
|
-
alt?:
|
|
2429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2013
2430
|
/** JSONP */
|
|
2014
2431
|
callback?: string;
|
|
2015
2432
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2036,11 +2453,11 @@ declare namespace gapi.client {
|
|
|
2036
2453
|
patch(
|
|
2037
2454
|
request: {
|
|
2038
2455
|
/** V1 error format. */
|
|
2039
|
-
'$.xgafv'?:
|
|
2456
|
+
'$.xgafv'?: '1' | '2';
|
|
2040
2457
|
/** OAuth access token. */
|
|
2041
2458
|
access_token?: string;
|
|
2042
2459
|
/** Data format for response. */
|
|
2043
|
-
alt?:
|
|
2460
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2044
2461
|
/** JSONP */
|
|
2045
2462
|
callback?: string;
|
|
2046
2463
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2068,11 +2485,11 @@ declare namespace gapi.client {
|
|
|
2068
2485
|
setIamPolicy(
|
|
2069
2486
|
request: {
|
|
2070
2487
|
/** V1 error format. */
|
|
2071
|
-
'$.xgafv'?:
|
|
2488
|
+
'$.xgafv'?: '1' | '2';
|
|
2072
2489
|
/** OAuth access token. */
|
|
2073
2490
|
access_token?: string;
|
|
2074
2491
|
/** Data format for response. */
|
|
2075
|
-
alt?:
|
|
2492
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2076
2493
|
/** JSONP */
|
|
2077
2494
|
callback?: string;
|
|
2078
2495
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2098,11 +2515,11 @@ declare namespace gapi.client {
|
|
|
2098
2515
|
testIamPermissions(
|
|
2099
2516
|
request: {
|
|
2100
2517
|
/** V1 error format. */
|
|
2101
|
-
'$.xgafv'?:
|
|
2518
|
+
'$.xgafv'?: '1' | '2';
|
|
2102
2519
|
/** OAuth access token. */
|
|
2103
2520
|
access_token?: string;
|
|
2104
2521
|
/** Data format for response. */
|
|
2105
|
-
alt?:
|
|
2522
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2106
2523
|
/** JSONP */
|
|
2107
2524
|
callback?: string;
|
|
2108
2525
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2130,11 +2547,11 @@ declare namespace gapi.client {
|
|
|
2130
2547
|
/** Creates new occurrences in batch. */
|
|
2131
2548
|
batchCreate(request: {
|
|
2132
2549
|
/** V1 error format. */
|
|
2133
|
-
'$.xgafv'?:
|
|
2550
|
+
'$.xgafv'?: '1' | '2';
|
|
2134
2551
|
/** OAuth access token. */
|
|
2135
2552
|
access_token?: string;
|
|
2136
2553
|
/** Data format for response. */
|
|
2137
|
-
alt?:
|
|
2554
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2138
2555
|
/** JSONP */
|
|
2139
2556
|
callback?: string;
|
|
2140
2557
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2159,11 +2576,11 @@ declare namespace gapi.client {
|
|
|
2159
2576
|
batchCreate(
|
|
2160
2577
|
request: {
|
|
2161
2578
|
/** V1 error format. */
|
|
2162
|
-
'$.xgafv'?:
|
|
2579
|
+
'$.xgafv'?: '1' | '2';
|
|
2163
2580
|
/** OAuth access token. */
|
|
2164
2581
|
access_token?: string;
|
|
2165
2582
|
/** Data format for response. */
|
|
2166
|
-
alt?:
|
|
2583
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2167
2584
|
/** JSONP */
|
|
2168
2585
|
callback?: string;
|
|
2169
2586
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2188,11 +2605,11 @@ declare namespace gapi.client {
|
|
|
2188
2605
|
/** Creates a new occurrence. */
|
|
2189
2606
|
create(request: {
|
|
2190
2607
|
/** V1 error format. */
|
|
2191
|
-
'$.xgafv'?:
|
|
2608
|
+
'$.xgafv'?: '1' | '2';
|
|
2192
2609
|
/** OAuth access token. */
|
|
2193
2610
|
access_token?: string;
|
|
2194
2611
|
/** Data format for response. */
|
|
2195
|
-
alt?:
|
|
2612
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2196
2613
|
/** JSONP */
|
|
2197
2614
|
callback?: string;
|
|
2198
2615
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2217,11 +2634,11 @@ declare namespace gapi.client {
|
|
|
2217
2634
|
create(
|
|
2218
2635
|
request: {
|
|
2219
2636
|
/** V1 error format. */
|
|
2220
|
-
'$.xgafv'?:
|
|
2637
|
+
'$.xgafv'?: '1' | '2';
|
|
2221
2638
|
/** OAuth access token. */
|
|
2222
2639
|
access_token?: string;
|
|
2223
2640
|
/** Data format for response. */
|
|
2224
|
-
alt?:
|
|
2641
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2225
2642
|
/** JSONP */
|
|
2226
2643
|
callback?: string;
|
|
2227
2644
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2246,11 +2663,11 @@ declare namespace gapi.client {
|
|
|
2246
2663
|
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
2247
2664
|
delete(request?: {
|
|
2248
2665
|
/** V1 error format. */
|
|
2249
|
-
'$.xgafv'?:
|
|
2666
|
+
'$.xgafv'?: '1' | '2';
|
|
2250
2667
|
/** OAuth access token. */
|
|
2251
2668
|
access_token?: string;
|
|
2252
2669
|
/** Data format for response. */
|
|
2253
|
-
alt?:
|
|
2670
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2254
2671
|
/** JSONP */
|
|
2255
2672
|
callback?: string;
|
|
2256
2673
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2273,11 +2690,11 @@ declare namespace gapi.client {
|
|
|
2273
2690
|
/** Gets the specified occurrence. */
|
|
2274
2691
|
get(request?: {
|
|
2275
2692
|
/** V1 error format. */
|
|
2276
|
-
'$.xgafv'?:
|
|
2693
|
+
'$.xgafv'?: '1' | '2';
|
|
2277
2694
|
/** OAuth access token. */
|
|
2278
2695
|
access_token?: string;
|
|
2279
2696
|
/** Data format for response. */
|
|
2280
|
-
alt?:
|
|
2697
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2281
2698
|
/** JSONP */
|
|
2282
2699
|
callback?: string;
|
|
2283
2700
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2301,11 +2718,11 @@ declare namespace gapi.client {
|
|
|
2301
2718
|
getIamPolicy(
|
|
2302
2719
|
request: {
|
|
2303
2720
|
/** V1 error format. */
|
|
2304
|
-
'$.xgafv'?:
|
|
2721
|
+
'$.xgafv'?: '1' | '2';
|
|
2305
2722
|
/** OAuth access token. */
|
|
2306
2723
|
access_token?: string;
|
|
2307
2724
|
/** Data format for response. */
|
|
2308
|
-
alt?:
|
|
2725
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2309
2726
|
/** JSONP */
|
|
2310
2727
|
callback?: string;
|
|
2311
2728
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2330,11 +2747,11 @@ declare namespace gapi.client {
|
|
|
2330
2747
|
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
2331
2748
|
getNotes(request?: {
|
|
2332
2749
|
/** V1 error format. */
|
|
2333
|
-
'$.xgafv'?:
|
|
2750
|
+
'$.xgafv'?: '1' | '2';
|
|
2334
2751
|
/** OAuth access token. */
|
|
2335
2752
|
access_token?: string;
|
|
2336
2753
|
/** Data format for response. */
|
|
2337
|
-
alt?:
|
|
2754
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2338
2755
|
/** JSONP */
|
|
2339
2756
|
callback?: string;
|
|
2340
2757
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2357,11 +2774,11 @@ declare namespace gapi.client {
|
|
|
2357
2774
|
/** Gets a summary of the number and severity of occurrences. */
|
|
2358
2775
|
getVulnerabilitySummary(request?: {
|
|
2359
2776
|
/** V1 error format. */
|
|
2360
|
-
'$.xgafv'?:
|
|
2777
|
+
'$.xgafv'?: '1' | '2';
|
|
2361
2778
|
/** OAuth access token. */
|
|
2362
2779
|
access_token?: string;
|
|
2363
2780
|
/** Data format for response. */
|
|
2364
|
-
alt?:
|
|
2781
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2365
2782
|
/** JSONP */
|
|
2366
2783
|
callback?: string;
|
|
2367
2784
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2388,11 +2805,11 @@ declare namespace gapi.client {
|
|
|
2388
2805
|
/** Lists occurrences for the specified project. */
|
|
2389
2806
|
list(request?: {
|
|
2390
2807
|
/** V1 error format. */
|
|
2391
|
-
'$.xgafv'?:
|
|
2808
|
+
'$.xgafv'?: '1' | '2';
|
|
2392
2809
|
/** OAuth access token. */
|
|
2393
2810
|
access_token?: string;
|
|
2394
2811
|
/** Data format for response. */
|
|
2395
|
-
alt?:
|
|
2812
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2396
2813
|
/** JSONP */
|
|
2397
2814
|
callback?: string;
|
|
2398
2815
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2423,11 +2840,11 @@ declare namespace gapi.client {
|
|
|
2423
2840
|
/** Updates the specified occurrence. */
|
|
2424
2841
|
patch(request: {
|
|
2425
2842
|
/** V1 error format. */
|
|
2426
|
-
'$.xgafv'?:
|
|
2843
|
+
'$.xgafv'?: '1' | '2';
|
|
2427
2844
|
/** OAuth access token. */
|
|
2428
2845
|
access_token?: string;
|
|
2429
2846
|
/** Data format for response. */
|
|
2430
|
-
alt?:
|
|
2847
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2431
2848
|
/** JSONP */
|
|
2432
2849
|
callback?: string;
|
|
2433
2850
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2454,11 +2871,11 @@ declare namespace gapi.client {
|
|
|
2454
2871
|
patch(
|
|
2455
2872
|
request: {
|
|
2456
2873
|
/** V1 error format. */
|
|
2457
|
-
'$.xgafv'?:
|
|
2874
|
+
'$.xgafv'?: '1' | '2';
|
|
2458
2875
|
/** OAuth access token. */
|
|
2459
2876
|
access_token?: string;
|
|
2460
2877
|
/** Data format for response. */
|
|
2461
|
-
alt?:
|
|
2878
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2462
2879
|
/** JSONP */
|
|
2463
2880
|
callback?: string;
|
|
2464
2881
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2486,11 +2903,11 @@ declare namespace gapi.client {
|
|
|
2486
2903
|
setIamPolicy(
|
|
2487
2904
|
request: {
|
|
2488
2905
|
/** V1 error format. */
|
|
2489
|
-
'$.xgafv'?:
|
|
2906
|
+
'$.xgafv'?: '1' | '2';
|
|
2490
2907
|
/** OAuth access token. */
|
|
2491
2908
|
access_token?: string;
|
|
2492
2909
|
/** Data format for response. */
|
|
2493
|
-
alt?:
|
|
2910
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2494
2911
|
/** JSONP */
|
|
2495
2912
|
callback?: string;
|
|
2496
2913
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2516,11 +2933,11 @@ declare namespace gapi.client {
|
|
|
2516
2933
|
testIamPermissions(
|
|
2517
2934
|
request: {
|
|
2518
2935
|
/** V1 error format. */
|
|
2519
|
-
'$.xgafv'?:
|
|
2936
|
+
'$.xgafv'?: '1' | '2';
|
|
2520
2937
|
/** OAuth access token. */
|
|
2521
2938
|
access_token?: string;
|
|
2522
2939
|
/** Data format for response. */
|
|
2523
|
-
alt?:
|
|
2940
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2524
2941
|
/** JSONP */
|
|
2525
2942
|
callback?: string;
|
|
2526
2943
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2547,11 +2964,11 @@ declare namespace gapi.client {
|
|
|
2547
2964
|
/** Generates an SBOM and other dependency information for the given resource. */
|
|
2548
2965
|
exportSBOM(request: {
|
|
2549
2966
|
/** V1 error format. */
|
|
2550
|
-
'$.xgafv'?:
|
|
2967
|
+
'$.xgafv'?: '1' | '2';
|
|
2551
2968
|
/** OAuth access token. */
|
|
2552
2969
|
access_token?: string;
|
|
2553
2970
|
/** Data format for response. */
|
|
2554
|
-
alt?:
|
|
2971
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2555
2972
|
/** JSONP */
|
|
2556
2973
|
callback?: string;
|
|
2557
2974
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2576,11 +2993,11 @@ declare namespace gapi.client {
|
|
|
2576
2993
|
exportSBOM(
|
|
2577
2994
|
request: {
|
|
2578
2995
|
/** V1 error format. */
|
|
2579
|
-
'$.xgafv'?:
|
|
2996
|
+
'$.xgafv'?: '1' | '2';
|
|
2580
2997
|
/** OAuth access token. */
|
|
2581
2998
|
access_token?: string;
|
|
2582
2999
|
/** Data format for response. */
|
|
2583
|
-
alt?:
|
|
3000
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2584
3001
|
/** JSONP */
|
|
2585
3002
|
callback?: string;
|
|
2586
3003
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2605,11 +3022,11 @@ declare namespace gapi.client {
|
|
|
2605
3022
|
/** Gets a summary of the packages within a given resource. */
|
|
2606
3023
|
generatePackagesSummary(request: {
|
|
2607
3024
|
/** V1 error format. */
|
|
2608
|
-
'$.xgafv'?:
|
|
3025
|
+
'$.xgafv'?: '1' | '2';
|
|
2609
3026
|
/** OAuth access token. */
|
|
2610
3027
|
access_token?: string;
|
|
2611
3028
|
/** Data format for response. */
|
|
2612
|
-
alt?:
|
|
3029
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2613
3030
|
/** JSONP */
|
|
2614
3031
|
callback?: string;
|
|
2615
3032
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2634,11 +3051,11 @@ declare namespace gapi.client {
|
|
|
2634
3051
|
generatePackagesSummary(
|
|
2635
3052
|
request: {
|
|
2636
3053
|
/** V1 error format. */
|
|
2637
|
-
'$.xgafv'?:
|
|
3054
|
+
'$.xgafv'?: '1' | '2';
|
|
2638
3055
|
/** OAuth access token. */
|
|
2639
3056
|
access_token?: string;
|
|
2640
3057
|
/** Data format for response. */
|
|
2641
|
-
alt?:
|
|
3058
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2642
3059
|
/** JSONP */
|
|
2643
3060
|
callback?: string;
|
|
2644
3061
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2670,11 +3087,11 @@ declare namespace gapi.client {
|
|
|
2670
3087
|
/** Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note. */
|
|
2671
3088
|
list(request?: {
|
|
2672
3089
|
/** V1 error format. */
|
|
2673
|
-
'$.xgafv'?:
|
|
3090
|
+
'$.xgafv'?: '1' | '2';
|
|
2674
3091
|
/** OAuth access token. */
|
|
2675
3092
|
access_token?: string;
|
|
2676
3093
|
/** Data format for response. */
|
|
2677
|
-
alt?:
|
|
3094
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2678
3095
|
/** JSONP */
|
|
2679
3096
|
callback?: string;
|
|
2680
3097
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2705,11 +3122,11 @@ declare namespace gapi.client {
|
|
|
2705
3122
|
/** Creates new notes in batch. */
|
|
2706
3123
|
batchCreate(request: {
|
|
2707
3124
|
/** V1 error format. */
|
|
2708
|
-
'$.xgafv'?:
|
|
3125
|
+
'$.xgafv'?: '1' | '2';
|
|
2709
3126
|
/** OAuth access token. */
|
|
2710
3127
|
access_token?: string;
|
|
2711
3128
|
/** Data format for response. */
|
|
2712
|
-
alt?:
|
|
3129
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2713
3130
|
/** JSONP */
|
|
2714
3131
|
callback?: string;
|
|
2715
3132
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2734,11 +3151,11 @@ declare namespace gapi.client {
|
|
|
2734
3151
|
batchCreate(
|
|
2735
3152
|
request: {
|
|
2736
3153
|
/** V1 error format. */
|
|
2737
|
-
'$.xgafv'?:
|
|
3154
|
+
'$.xgafv'?: '1' | '2';
|
|
2738
3155
|
/** OAuth access token. */
|
|
2739
3156
|
access_token?: string;
|
|
2740
3157
|
/** Data format for response. */
|
|
2741
|
-
alt?:
|
|
3158
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2742
3159
|
/** JSONP */
|
|
2743
3160
|
callback?: string;
|
|
2744
3161
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2763,11 +3180,11 @@ declare namespace gapi.client {
|
|
|
2763
3180
|
/** Creates a new note. */
|
|
2764
3181
|
create(request: {
|
|
2765
3182
|
/** V1 error format. */
|
|
2766
|
-
'$.xgafv'?:
|
|
3183
|
+
'$.xgafv'?: '1' | '2';
|
|
2767
3184
|
/** OAuth access token. */
|
|
2768
3185
|
access_token?: string;
|
|
2769
3186
|
/** Data format for response. */
|
|
2770
|
-
alt?:
|
|
3187
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2771
3188
|
/** JSONP */
|
|
2772
3189
|
callback?: string;
|
|
2773
3190
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2794,11 +3211,11 @@ declare namespace gapi.client {
|
|
|
2794
3211
|
create(
|
|
2795
3212
|
request: {
|
|
2796
3213
|
/** V1 error format. */
|
|
2797
|
-
'$.xgafv'?:
|
|
3214
|
+
'$.xgafv'?: '1' | '2';
|
|
2798
3215
|
/** OAuth access token. */
|
|
2799
3216
|
access_token?: string;
|
|
2800
3217
|
/** Data format for response. */
|
|
2801
|
-
alt?:
|
|
3218
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2802
3219
|
/** JSONP */
|
|
2803
3220
|
callback?: string;
|
|
2804
3221
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2825,11 +3242,11 @@ declare namespace gapi.client {
|
|
|
2825
3242
|
/** Deletes the specified note. */
|
|
2826
3243
|
delete(request?: {
|
|
2827
3244
|
/** V1 error format. */
|
|
2828
|
-
'$.xgafv'?:
|
|
3245
|
+
'$.xgafv'?: '1' | '2';
|
|
2829
3246
|
/** OAuth access token. */
|
|
2830
3247
|
access_token?: string;
|
|
2831
3248
|
/** Data format for response. */
|
|
2832
|
-
alt?:
|
|
3249
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2833
3250
|
/** JSONP */
|
|
2834
3251
|
callback?: string;
|
|
2835
3252
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2852,11 +3269,11 @@ declare namespace gapi.client {
|
|
|
2852
3269
|
/** Gets the specified note. */
|
|
2853
3270
|
get(request?: {
|
|
2854
3271
|
/** V1 error format. */
|
|
2855
|
-
'$.xgafv'?:
|
|
3272
|
+
'$.xgafv'?: '1' | '2';
|
|
2856
3273
|
/** OAuth access token. */
|
|
2857
3274
|
access_token?: string;
|
|
2858
3275
|
/** Data format for response. */
|
|
2859
|
-
alt?:
|
|
3276
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2860
3277
|
/** JSONP */
|
|
2861
3278
|
callback?: string;
|
|
2862
3279
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2880,11 +3297,11 @@ declare namespace gapi.client {
|
|
|
2880
3297
|
getIamPolicy(
|
|
2881
3298
|
request: {
|
|
2882
3299
|
/** V1 error format. */
|
|
2883
|
-
'$.xgafv'?:
|
|
3300
|
+
'$.xgafv'?: '1' | '2';
|
|
2884
3301
|
/** OAuth access token. */
|
|
2885
3302
|
access_token?: string;
|
|
2886
3303
|
/** Data format for response. */
|
|
2887
|
-
alt?:
|
|
3304
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2888
3305
|
/** JSONP */
|
|
2889
3306
|
callback?: string;
|
|
2890
3307
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2909,11 +3326,11 @@ declare namespace gapi.client {
|
|
|
2909
3326
|
/** Lists notes for the specified project. */
|
|
2910
3327
|
list(request?: {
|
|
2911
3328
|
/** V1 error format. */
|
|
2912
|
-
'$.xgafv'?:
|
|
3329
|
+
'$.xgafv'?: '1' | '2';
|
|
2913
3330
|
/** OAuth access token. */
|
|
2914
3331
|
access_token?: string;
|
|
2915
3332
|
/** Data format for response. */
|
|
2916
|
-
alt?:
|
|
3333
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2917
3334
|
/** JSONP */
|
|
2918
3335
|
callback?: string;
|
|
2919
3336
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2944,11 +3361,11 @@ declare namespace gapi.client {
|
|
|
2944
3361
|
/** Updates the specified note. */
|
|
2945
3362
|
patch(request: {
|
|
2946
3363
|
/** V1 error format. */
|
|
2947
|
-
'$.xgafv'?:
|
|
3364
|
+
'$.xgafv'?: '1' | '2';
|
|
2948
3365
|
/** OAuth access token. */
|
|
2949
3366
|
access_token?: string;
|
|
2950
3367
|
/** Data format for response. */
|
|
2951
|
-
alt?:
|
|
3368
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2952
3369
|
/** JSONP */
|
|
2953
3370
|
callback?: string;
|
|
2954
3371
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2975,11 +3392,11 @@ declare namespace gapi.client {
|
|
|
2975
3392
|
patch(
|
|
2976
3393
|
request: {
|
|
2977
3394
|
/** V1 error format. */
|
|
2978
|
-
'$.xgafv'?:
|
|
3395
|
+
'$.xgafv'?: '1' | '2';
|
|
2979
3396
|
/** OAuth access token. */
|
|
2980
3397
|
access_token?: string;
|
|
2981
3398
|
/** Data format for response. */
|
|
2982
|
-
alt?:
|
|
3399
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2983
3400
|
/** JSONP */
|
|
2984
3401
|
callback?: string;
|
|
2985
3402
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3007,11 +3424,11 @@ declare namespace gapi.client {
|
|
|
3007
3424
|
setIamPolicy(
|
|
3008
3425
|
request: {
|
|
3009
3426
|
/** V1 error format. */
|
|
3010
|
-
'$.xgafv'?:
|
|
3427
|
+
'$.xgafv'?: '1' | '2';
|
|
3011
3428
|
/** OAuth access token. */
|
|
3012
3429
|
access_token?: string;
|
|
3013
3430
|
/** Data format for response. */
|
|
3014
|
-
alt?:
|
|
3431
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3015
3432
|
/** JSONP */
|
|
3016
3433
|
callback?: string;
|
|
3017
3434
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3037,11 +3454,11 @@ declare namespace gapi.client {
|
|
|
3037
3454
|
testIamPermissions(
|
|
3038
3455
|
request: {
|
|
3039
3456
|
/** V1 error format. */
|
|
3040
|
-
'$.xgafv'?:
|
|
3457
|
+
'$.xgafv'?: '1' | '2';
|
|
3041
3458
|
/** OAuth access token. */
|
|
3042
3459
|
access_token?: string;
|
|
3043
3460
|
/** Data format for response. */
|
|
3044
|
-
alt?:
|
|
3461
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3045
3462
|
/** JSONP */
|
|
3046
3463
|
callback?: string;
|
|
3047
3464
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3069,11 +3486,11 @@ declare namespace gapi.client {
|
|
|
3069
3486
|
/** Creates new occurrences in batch. */
|
|
3070
3487
|
batchCreate(request: {
|
|
3071
3488
|
/** V1 error format. */
|
|
3072
|
-
'$.xgafv'?:
|
|
3489
|
+
'$.xgafv'?: '1' | '2';
|
|
3073
3490
|
/** OAuth access token. */
|
|
3074
3491
|
access_token?: string;
|
|
3075
3492
|
/** Data format for response. */
|
|
3076
|
-
alt?:
|
|
3493
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3077
3494
|
/** JSONP */
|
|
3078
3495
|
callback?: string;
|
|
3079
3496
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3098,11 +3515,11 @@ declare namespace gapi.client {
|
|
|
3098
3515
|
batchCreate(
|
|
3099
3516
|
request: {
|
|
3100
3517
|
/** V1 error format. */
|
|
3101
|
-
'$.xgafv'?:
|
|
3518
|
+
'$.xgafv'?: '1' | '2';
|
|
3102
3519
|
/** OAuth access token. */
|
|
3103
3520
|
access_token?: string;
|
|
3104
3521
|
/** Data format for response. */
|
|
3105
|
-
alt?:
|
|
3522
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3106
3523
|
/** JSONP */
|
|
3107
3524
|
callback?: string;
|
|
3108
3525
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3127,11 +3544,11 @@ declare namespace gapi.client {
|
|
|
3127
3544
|
/** Creates a new occurrence. */
|
|
3128
3545
|
create(request: {
|
|
3129
3546
|
/** V1 error format. */
|
|
3130
|
-
'$.xgafv'?:
|
|
3547
|
+
'$.xgafv'?: '1' | '2';
|
|
3131
3548
|
/** OAuth access token. */
|
|
3132
3549
|
access_token?: string;
|
|
3133
3550
|
/** Data format for response. */
|
|
3134
|
-
alt?:
|
|
3551
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3135
3552
|
/** JSONP */
|
|
3136
3553
|
callback?: string;
|
|
3137
3554
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3156,11 +3573,11 @@ declare namespace gapi.client {
|
|
|
3156
3573
|
create(
|
|
3157
3574
|
request: {
|
|
3158
3575
|
/** V1 error format. */
|
|
3159
|
-
'$.xgafv'?:
|
|
3576
|
+
'$.xgafv'?: '1' | '2';
|
|
3160
3577
|
/** OAuth access token. */
|
|
3161
3578
|
access_token?: string;
|
|
3162
3579
|
/** Data format for response. */
|
|
3163
|
-
alt?:
|
|
3580
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3164
3581
|
/** JSONP */
|
|
3165
3582
|
callback?: string;
|
|
3166
3583
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3185,11 +3602,11 @@ declare namespace gapi.client {
|
|
|
3185
3602
|
/** Deletes the specified occurrence. For example, use this method to delete an occurrence when the occurrence is no longer applicable for the given resource. */
|
|
3186
3603
|
delete(request?: {
|
|
3187
3604
|
/** V1 error format. */
|
|
3188
|
-
'$.xgafv'?:
|
|
3605
|
+
'$.xgafv'?: '1' | '2';
|
|
3189
3606
|
/** OAuth access token. */
|
|
3190
3607
|
access_token?: string;
|
|
3191
3608
|
/** Data format for response. */
|
|
3192
|
-
alt?:
|
|
3609
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3193
3610
|
/** JSONP */
|
|
3194
3611
|
callback?: string;
|
|
3195
3612
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3212,11 +3629,11 @@ declare namespace gapi.client {
|
|
|
3212
3629
|
/** Gets the specified occurrence. */
|
|
3213
3630
|
get(request?: {
|
|
3214
3631
|
/** V1 error format. */
|
|
3215
|
-
'$.xgafv'?:
|
|
3632
|
+
'$.xgafv'?: '1' | '2';
|
|
3216
3633
|
/** OAuth access token. */
|
|
3217
3634
|
access_token?: string;
|
|
3218
3635
|
/** Data format for response. */
|
|
3219
|
-
alt?:
|
|
3636
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3220
3637
|
/** JSONP */
|
|
3221
3638
|
callback?: string;
|
|
3222
3639
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3240,11 +3657,11 @@ declare namespace gapi.client {
|
|
|
3240
3657
|
getIamPolicy(
|
|
3241
3658
|
request: {
|
|
3242
3659
|
/** V1 error format. */
|
|
3243
|
-
'$.xgafv'?:
|
|
3660
|
+
'$.xgafv'?: '1' | '2';
|
|
3244
3661
|
/** OAuth access token. */
|
|
3245
3662
|
access_token?: string;
|
|
3246
3663
|
/** Data format for response. */
|
|
3247
|
-
alt?:
|
|
3664
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3248
3665
|
/** JSONP */
|
|
3249
3666
|
callback?: string;
|
|
3250
3667
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3269,11 +3686,11 @@ declare namespace gapi.client {
|
|
|
3269
3686
|
/** Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project. */
|
|
3270
3687
|
getNotes(request?: {
|
|
3271
3688
|
/** V1 error format. */
|
|
3272
|
-
'$.xgafv'?:
|
|
3689
|
+
'$.xgafv'?: '1' | '2';
|
|
3273
3690
|
/** OAuth access token. */
|
|
3274
3691
|
access_token?: string;
|
|
3275
3692
|
/** Data format for response. */
|
|
3276
|
-
alt?:
|
|
3693
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3277
3694
|
/** JSONP */
|
|
3278
3695
|
callback?: string;
|
|
3279
3696
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3296,11 +3713,11 @@ declare namespace gapi.client {
|
|
|
3296
3713
|
/** Gets a summary of the number and severity of occurrences. */
|
|
3297
3714
|
getVulnerabilitySummary(request?: {
|
|
3298
3715
|
/** V1 error format. */
|
|
3299
|
-
'$.xgafv'?:
|
|
3716
|
+
'$.xgafv'?: '1' | '2';
|
|
3300
3717
|
/** OAuth access token. */
|
|
3301
3718
|
access_token?: string;
|
|
3302
3719
|
/** Data format for response. */
|
|
3303
|
-
alt?:
|
|
3720
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3304
3721
|
/** JSONP */
|
|
3305
3722
|
callback?: string;
|
|
3306
3723
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3327,11 +3744,11 @@ declare namespace gapi.client {
|
|
|
3327
3744
|
/** Lists occurrences for the specified project. */
|
|
3328
3745
|
list(request?: {
|
|
3329
3746
|
/** V1 error format. */
|
|
3330
|
-
'$.xgafv'?:
|
|
3747
|
+
'$.xgafv'?: '1' | '2';
|
|
3331
3748
|
/** OAuth access token. */
|
|
3332
3749
|
access_token?: string;
|
|
3333
3750
|
/** Data format for response. */
|
|
3334
|
-
alt?:
|
|
3751
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3335
3752
|
/** JSONP */
|
|
3336
3753
|
callback?: string;
|
|
3337
3754
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3362,11 +3779,11 @@ declare namespace gapi.client {
|
|
|
3362
3779
|
/** Updates the specified occurrence. */
|
|
3363
3780
|
patch(request: {
|
|
3364
3781
|
/** V1 error format. */
|
|
3365
|
-
'$.xgafv'?:
|
|
3782
|
+
'$.xgafv'?: '1' | '2';
|
|
3366
3783
|
/** OAuth access token. */
|
|
3367
3784
|
access_token?: string;
|
|
3368
3785
|
/** Data format for response. */
|
|
3369
|
-
alt?:
|
|
3786
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3370
3787
|
/** JSONP */
|
|
3371
3788
|
callback?: string;
|
|
3372
3789
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3393,11 +3810,11 @@ declare namespace gapi.client {
|
|
|
3393
3810
|
patch(
|
|
3394
3811
|
request: {
|
|
3395
3812
|
/** V1 error format. */
|
|
3396
|
-
'$.xgafv'?:
|
|
3813
|
+
'$.xgafv'?: '1' | '2';
|
|
3397
3814
|
/** OAuth access token. */
|
|
3398
3815
|
access_token?: string;
|
|
3399
3816
|
/** Data format for response. */
|
|
3400
|
-
alt?:
|
|
3817
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3401
3818
|
/** JSONP */
|
|
3402
3819
|
callback?: string;
|
|
3403
3820
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3425,11 +3842,11 @@ declare namespace gapi.client {
|
|
|
3425
3842
|
setIamPolicy(
|
|
3426
3843
|
request: {
|
|
3427
3844
|
/** V1 error format. */
|
|
3428
|
-
'$.xgafv'?:
|
|
3845
|
+
'$.xgafv'?: '1' | '2';
|
|
3429
3846
|
/** OAuth access token. */
|
|
3430
3847
|
access_token?: string;
|
|
3431
3848
|
/** Data format for response. */
|
|
3432
|
-
alt?:
|
|
3849
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3433
3850
|
/** JSONP */
|
|
3434
3851
|
callback?: string;
|
|
3435
3852
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3455,11 +3872,11 @@ declare namespace gapi.client {
|
|
|
3455
3872
|
testIamPermissions(
|
|
3456
3873
|
request: {
|
|
3457
3874
|
/** V1 error format. */
|
|
3458
|
-
'$.xgafv'?:
|
|
3875
|
+
'$.xgafv'?: '1' | '2';
|
|
3459
3876
|
/** OAuth access token. */
|
|
3460
3877
|
access_token?: string;
|
|
3461
3878
|
/** Data format for response. */
|
|
3462
|
-
alt?:
|
|
3879
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3463
3880
|
/** JSONP */
|
|
3464
3881
|
callback?: string;
|
|
3465
3882
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3486,11 +3903,11 @@ declare namespace gapi.client {
|
|
|
3486
3903
|
/** Generates an SBOM and other dependency information for the given resource. */
|
|
3487
3904
|
exportSBOM(request: {
|
|
3488
3905
|
/** V1 error format. */
|
|
3489
|
-
'$.xgafv'?:
|
|
3906
|
+
'$.xgafv'?: '1' | '2';
|
|
3490
3907
|
/** OAuth access token. */
|
|
3491
3908
|
access_token?: string;
|
|
3492
3909
|
/** Data format for response. */
|
|
3493
|
-
alt?:
|
|
3910
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3494
3911
|
/** JSONP */
|
|
3495
3912
|
callback?: string;
|
|
3496
3913
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3515,11 +3932,11 @@ declare namespace gapi.client {
|
|
|
3515
3932
|
exportSBOM(
|
|
3516
3933
|
request: {
|
|
3517
3934
|
/** V1 error format. */
|
|
3518
|
-
'$.xgafv'?:
|
|
3935
|
+
'$.xgafv'?: '1' | '2';
|
|
3519
3936
|
/** OAuth access token. */
|
|
3520
3937
|
access_token?: string;
|
|
3521
3938
|
/** Data format for response. */
|
|
3522
|
-
alt?:
|
|
3939
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3523
3940
|
/** JSONP */
|
|
3524
3941
|
callback?: string;
|
|
3525
3942
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3544,11 +3961,11 @@ declare namespace gapi.client {
|
|
|
3544
3961
|
/** Gets a summary of the packages within a given resource. */
|
|
3545
3962
|
generatePackagesSummary(request: {
|
|
3546
3963
|
/** V1 error format. */
|
|
3547
|
-
'$.xgafv'?:
|
|
3964
|
+
'$.xgafv'?: '1' | '2';
|
|
3548
3965
|
/** OAuth access token. */
|
|
3549
3966
|
access_token?: string;
|
|
3550
3967
|
/** Data format for response. */
|
|
3551
|
-
alt?:
|
|
3968
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3552
3969
|
/** JSONP */
|
|
3553
3970
|
callback?: string;
|
|
3554
3971
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3573,11 +3990,11 @@ declare namespace gapi.client {
|
|
|
3573
3990
|
generatePackagesSummary(
|
|
3574
3991
|
request: {
|
|
3575
3992
|
/** V1 error format. */
|
|
3576
|
-
'$.xgafv'?:
|
|
3993
|
+
'$.xgafv'?: '1' | '2';
|
|
3577
3994
|
/** OAuth access token. */
|
|
3578
3995
|
access_token?: string;
|
|
3579
3996
|
/** Data format for response. */
|
|
3580
|
-
alt?:
|
|
3997
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3581
3998
|
/** JSONP */
|
|
3582
3999
|
callback?: string;
|
|
3583
4000
|
/** Selector specifying which fields to include in a partial response. */
|