update dependencies

This commit is contained in:
Sebastian Thiel
2023-01-25 11:39:00 +01:00
parent 37ccd2238d
commit 3edefb7f01
357 changed files with 128026 additions and 16259 deletions

View File

@@ -230,7 +230,7 @@
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/notes/[^/]+$",
"required": true,
@@ -333,7 +333,7 @@
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/notes/[^/]+$",
"required": true,
@@ -361,7 +361,7 @@
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/notes/[^/]+$",
"required": true,
@@ -546,7 +546,7 @@
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.",
"description": "REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/occurrences/[^/]+$",
"required": true,
@@ -704,7 +704,7 @@
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.",
"description": "REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/occurrences/[^/]+$",
"required": true,
@@ -732,7 +732,7 @@
],
"parameters": {
"resource": {
"description": "REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.",
"description": "REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.",
"location": "path",
"pattern": "^projects/[^/]+/occurrences/[^/]+$",
"required": true,
@@ -755,7 +755,7 @@
}
}
},
"revision": "20220225",
"revision": "20230106",
"rootUrl": "https://containeranalysis.googleapis.com/",
"schemas": {
"AliasContext": {
@@ -785,6 +785,19 @@
},
"type": "object"
},
"AnalysisCompleted": {
"description": "Indicates which analysis completed successfully. Multiple types of analysis can be performed on a single resource.",
"id": "AnalysisCompleted",
"properties": {
"analysisType": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Artifact": {
"description": "Artifact describes a build product.",
"id": "Artifact",
@@ -909,7 +922,7 @@
"description": "The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies)."
},
"members": {
"description": "Specifies the principals requesting access for a Cloud Platform resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
"description": "Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]`: An identifier for a [Kubernetes service account](https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, `my-project.svc.id.goog[my-namespace/my-kubernetes-sa]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. ",
"items": {
"type": "string"
},
@@ -1027,6 +1040,128 @@
},
"type": "object"
},
"BuildStep": {
"description": "A step in the build pipeline. Next ID: 20",
"id": "BuildStep",
"properties": {
"allowExitCodes": {
"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.",
"items": {
"format": "int32",
"type": "integer"
},
"type": "array"
},
"allowFailure": {
"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.",
"type": "boolean"
},
"args": {
"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.",
"items": {
"type": "string"
},
"type": "array"
},
"dir": {
"description": "Working directory to use when running this step's container. If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a `volume` for that path is specified. If the build specifies a `RepoSource` with `dir` and a step with a `dir`, which specifies an absolute path, the `RepoSource` `dir` is ignored for the step's execution.",
"type": "string"
},
"entrypoint": {
"description": "Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used.",
"type": "string"
},
"env": {
"description": "A list of environment variable definitions to be used when running a step. The elements are of the form \"KEY=VALUE\" for the environment variable \"KEY\" being given the value \"VALUE\".",
"items": {
"type": "string"
},
"type": "array"
},
"exitCode": {
"description": "Output only. Return code from running the step.",
"format": "int32",
"type": "integer"
},
"id": {
"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.",
"type": "string"
},
"name": {
"description": "Required. The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/GoogleCloudPlatform/cloud-builders)). The Docker daemon will also have cached many of the layers for some popular images, like \"ubuntu\", \"debian\", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.",
"type": "string"
},
"pullTiming": {
"$ref": "TimeSpan",
"description": "Output only. Stores timing information for pulling this build step's builder image only."
},
"script": {
"description": "A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.",
"type": "string"
},
"secretEnv": {
"description": "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`.",
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"description": "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.",
"enum": [
"STATUS_UNKNOWN",
"PENDING",
"QUEUING",
"QUEUED",
"WORKING",
"SUCCESS",
"FAILURE",
"INTERNAL_ERROR",
"TIMEOUT",
"CANCELLED",
"EXPIRED"
],
"enumDescriptions": [
"Status of the build is unknown.",
"Build has been created and is pending execution and queuing. It has not been queued.",
"Build has been received and is being queued.",
"Build or step is queued; work has not yet begun.",
"Build or step is being executed.",
"Build or step finished successfully.",
"Build or step failed to complete successfully.",
"Build or step failed due to an internal cause.",
"Build or step took longer than was allowed.",
"Build or step was canceled by a user.",
"Build was enqueued for longer than the value of `queue_ttl`."
],
"type": "string"
},
"timeout": {
"description": "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.",
"format": "google-duration",
"type": "string"
},
"timing": {
"$ref": "TimeSpan",
"description": "Output only. Stores timing information for executing this build step."
},
"volumes": {
"description": "List of volumes to mount into the build step. Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded. Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.",
"items": {
"$ref": "Volume"
},
"type": "array"
},
"waitFor": {
"description": "The ID(s) of the step(s) that this build step depends on. This build step will not start until all the build steps in `wait_for` have completed successfully. If `wait_for` is empty, this build step will start when all previous build steps in the `Build.Steps` list have completed successfully.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"BuilderConfig": {
"id": "BuilderConfig",
"properties": {
@@ -1037,7 +1172,7 @@
"type": "object"
},
"CVSS": {
"description": "Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing multiple versions of CVSS. The intention is that as new versions of CVSS scores get added, we will be able to modify this message rather than adding new protos for each new version of the score.",
"description": "Common Vulnerability Scoring System. For details, see https://www.first.org/cvss/specification-document This is a message we will try to use for storing various versions of CVSS rather than making a separate proto for storing a specific version.",
"id": "CVSS",
"properties": {
"attackComplexity": {
@@ -1505,6 +1640,10 @@
"description": "Describes the CIS benchmark version that is applicable to a given OS and os version.",
"id": "ComplianceVersion",
"properties": {
"benchmarkDocument": {
"description": "The name of the document that defines this benchmark, e.g. \"CIS Container-Optimized OS\".",
"type": "string"
},
"cpeUri": {
"description": "The CPE URI (https://cpe.mitre.org/specification/) this benchmark is applicable to.",
"type": "string"
@@ -1578,9 +1717,23 @@
},
"type": "array"
},
"mavenArtifacts": {
"description": "A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact"
},
"type": "array"
},
"objects": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsArtifactObjects",
"description": "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."
},
"pythonPackages": {
"description": "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.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage"
},
"type": "array"
}
},
"type": "object"
@@ -1608,6 +1761,51 @@
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact": {
"description": "A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsMavenArtifact",
"properties": {
"artifactId": {
"description": "Maven `artifactId` value used when uploading the artifact to Artifact Registry.",
"type": "string"
},
"groupId": {
"description": "Maven `groupId` value used when uploading the artifact to Artifact Registry.",
"type": "string"
},
"path": {
"description": "Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.",
"type": "string"
},
"repository": {
"description": "Artifact Registry repository, in the form \"https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY\" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.",
"type": "string"
},
"version": {
"description": "Maven `version` value used when uploading the artifact to Artifact Registry.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage": {
"description": "Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1ArtifactsPythonPackage",
"properties": {
"paths": {
"description": "Path globs used to match files in the build's workspace. For Python/ Twine, this is usually `dist/*`, and sometimes additionally an `.asc` file.",
"items": {
"type": "string"
},
"type": "array"
},
"repository": {
"description": "Artifact Registry repository, in the form \"https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY\" Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1Build": {
"description": "A build resource in the Cloud Build API. At a high level, a `Build` describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Build",
@@ -1782,7 +1980,7 @@
"additionalProperties": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan"
},
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all specified images. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.",
"description": "Output only. Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.",
"readOnly": true,
"type": "object"
},
@@ -1871,7 +2069,7 @@
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildOptions",
"properties": {
"diskSizeGb": {
"description": "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 1000GB; builds that request more than the maximum are rejected with an error.",
"description": "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 2000GB; builds that request more than the maximum are rejected with an error.",
"format": "int64",
"type": "string"
},
@@ -1949,8 +2147,8 @@
"VERIFIED"
],
"enumDescriptions": [
"Not a verifiable build. (default)",
"Verified build."
"Not a verifiable build (the default).",
"Build must be verified."
],
"type": "string"
},
@@ -2019,6 +2217,18 @@
"description": "A step in the build pipeline.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1BuildStep",
"properties": {
"allowExitCodes": {
"description": "Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.",
"items": {
"format": "int32",
"type": "integer"
},
"type": "array"
},
"allowFailure": {
"description": "Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the failure_detail field.",
"type": "boolean"
},
"args": {
"description": "A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the `args` are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.",
"items": {
@@ -2041,6 +2251,12 @@
},
"type": "array"
},
"exitCode": {
"description": "Output only. Return code from running the step.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"id": {
"description": "Unique identifier for this build step, used in `wait_for` to reference this build step as a dependency.",
"type": "string"
@@ -2274,12 +2490,12 @@
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Results",
"properties": {
"artifactManifest": {
"description": "Path to the artifact manifest. Only populated when artifacts are uploaded.",
"description": "Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.",
"type": "string"
},
"artifactTiming": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan",
"description": "Time to push all non-container artifacts."
"description": "Time to push all non-container artifacts to Cloud Storage."
},
"buildStepImages": {
"description": "List of build step digests, in the order corresponding to build step indices.",
@@ -2303,10 +2519,24 @@
},
"type": "array"
},
"mavenArtifacts": {
"description": "Maven artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact"
},
"type": "array"
},
"numArtifacts": {
"description": "Number of artifacts uploaded. Only populated when artifacts are uploaded.",
"description": "Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.",
"format": "int64",
"type": "string"
},
"pythonPackages": {
"description": "Python artifacts uploaded to Artifact Registry at the end of the build.",
"items": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage"
},
"type": "array"
}
},
"type": "object"
@@ -2469,6 +2699,46 @@
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact": {
"description": "A Maven artifact uploaded using the MavenArtifact directive.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedMavenArtifact",
"properties": {
"fileHashes": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes",
"description": "Hash types and values of the Maven Artifact."
},
"pushTiming": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage": {
"description": "Artifact uploaded using the PythonPackage directive.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1UploadedPythonPackage",
"properties": {
"fileHashes": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1FileHashes",
"description": "Hash types and values of the Python Artifact."
},
"pushTiming": {
"$ref": "ContaineranalysisGoogleDevtoolsCloudbuildV1TimeSpan",
"description": "Output only. Stores timing information for pushing the specified artifact.",
"readOnly": true
},
"uri": {
"description": "URI of the uploaded artifact.",
"type": "string"
}
},
"type": "object"
},
"ContaineranalysisGoogleDevtoolsCloudbuildV1Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.",
"id": "ContaineranalysisGoogleDevtoolsCloudbuildV1Volume",
@@ -2649,6 +2919,22 @@
},
"type": "object"
},
"Digest": {
"description": "Digest information.",
"id": "Digest",
"properties": {
"algo": {
"description": "`SHA1`, `SHA512` etc.",
"type": "string"
},
"digestBytes": {
"description": "Value of the digest.",
"format": "byte",
"type": "string"
}
},
"type": "object"
},
"DiscoveryNote": {
"description": "A note that indicates a type of analysis a provider would perform. This note exists in a provider's project. A `Discovery` occurrence is created in a consumer's project at the start of analysis.",
"id": "DiscoveryNote",
@@ -2690,6 +2976,16 @@
"description": "Provides information about the analysis status of a discovered resource.",
"id": "DiscoveryOccurrence",
"properties": {
"analysisCompleted": {
"$ref": "AnalysisCompleted"
},
"analysisError": {
"description": "Indicates any errors encountered during analysis of a resource. There could be 0 or more of these errors.",
"items": {
"$ref": "Status"
},
"type": "array"
},
"analysisStatus": {
"description": "The status of discovery for the resource.",
"enum": [
@@ -2697,6 +2993,7 @@
"PENDING",
"SCANNING",
"FINISHED_SUCCESS",
"COMPLETE",
"FINISHED_FAILED",
"FINISHED_UNSUPPORTED"
],
@@ -2705,8 +3002,9 @@
"Resource is known but no action has been taken yet.",
"Resource is being analyzed.",
"Analysis has finished successfully.",
"Analysis has completed.",
"Analysis has finished unsuccessfully, the analysis itself is in a bad state.",
"The resource is known not to be supported"
"The resource is known not to be supported."
],
"type": "string"
},
@@ -2788,7 +3086,7 @@
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "Empty",
"properties": {},
"type": "object"
@@ -3004,6 +3302,126 @@
},
"type": "object"
},
"GrafeasV1FileLocation": {
"description": "Indicates the location at which a package was found.",
"id": "GrafeasV1FileLocation",
"properties": {
"filePath": {
"description": "For jars that are contained inside .war files, this filepath can indicate the path to war file combined with the path to jar file.",
"type": "string"
}
},
"type": "object"
},
"GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder": {
"description": "Identifies the entity that executed the recipe, which is trusted to have correctly performed the operation and populated this provenance.",
"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder",
"properties": {
"id": {
"type": "string"
}
},
"type": "object"
},
"GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness": {
"description": "Indicates that the builder claims certain fields in this message to be complete.",
"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness",
"properties": {
"environment": {
"type": "boolean"
},
"materials": {
"type": "boolean"
},
"parameters": {
"type": "boolean"
}
},
"type": "object"
},
"GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource": {
"description": "Describes where the config file that kicked off the build came from. This is effectively a pointer to the source where buildConfig came from.",
"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource",
"properties": {
"digest": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"entryPoint": {
"type": "string"
},
"uri": {
"type": "string"
}
},
"type": "object"
},
"GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation": {
"description": "Identifies the event that kicked off the build.",
"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation",
"properties": {
"configSource": {
"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaConfigSource"
},
"environment": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"type": "object"
},
"parameters": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"type": "object"
}
},
"type": "object"
},
"GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial": {
"description": "The collection of artifacts that influenced the build including sources, dependencies, build tools, base images, and so on.",
"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial",
"properties": {
"digest": {
"additionalProperties": {
"type": "string"
},
"type": "object"
},
"uri": {
"type": "string"
}
},
"type": "object"
},
"GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata": {
"description": "Other properties of the build.",
"id": "GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata",
"properties": {
"buildFinishedOn": {
"format": "google-datetime",
"type": "string"
},
"buildInvocationId": {
"type": "string"
},
"buildStartedOn": {
"format": "google-datetime",
"type": "string"
},
"completeness": {
"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaCompleteness"
},
"reproducible": {
"type": "boolean"
}
},
"type": "object"
},
"Hash": {
"description": "Container message for hash values.",
"id": "Hash",
@@ -3131,6 +3549,9 @@
"slsaProvenance": {
"$ref": "SlsaProvenance"
},
"slsaProvenanceZeroTwo": {
"$ref": "SlsaProvenanceZeroTwo"
},
"subject": {
"items": {
"$ref": "Subject"
@@ -3179,6 +3600,21 @@
},
"type": "object"
},
"License": {
"description": "License information.",
"id": "License",
"properties": {
"comments": {
"description": "Comments",
"type": "string"
},
"expression": {
"description": "Often a single license can be used to represent the licensing terms. Sometimes it is necessary to include a choice of one or more licenses or some combination of license identifiers. Examples: \"LGPL-2.1-only OR MIT\", \"LGPL-2.1-only AND MIT\", \"GPL-2.0-or-later WITH Bison-exception-2.2\".",
"type": "string"
}
},
"type": "object"
},
"ListNoteOccurrencesResponse": {
"description": "Response for listing occurrences for a note.",
"id": "ListNoteOccurrencesResponse",
@@ -3238,7 +3674,7 @@
"id": "Location",
"properties": {
"cpeUri": {
"description": "Required. The CPE URI in [CPE format](https://cpe.mitre.org/specification/) denoting the package manager version distributing a package.",
"description": "Deprecated. The CPE URI in [CPE format](https://cpe.mitre.org/specification/)",
"type": "string"
},
"path": {
@@ -3247,7 +3683,7 @@
},
"version": {
"$ref": "Version",
"description": "The version installed at this location."
"description": "Deprecated. The version installed at this location."
}
},
"type": "object"
@@ -3577,6 +4013,13 @@
"readOnly": true,
"type": "string"
},
"fileLocation": {
"description": "The location at which this package was found.",
"items": {
"$ref": "GrafeasV1FileLocation"
},
"type": "array"
},
"fixAvailable": {
"description": "Output only. Whether a fix is available for this package.",
"type": "boolean"
@@ -3601,19 +4044,68 @@
"type": "object"
},
"PackageNote": {
"description": "This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.",
"description": "PackageNote represents a particular package version.",
"id": "PackageNote",
"properties": {
"architecture": {
"description": "The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.",
"enum": [
"ARCHITECTURE_UNSPECIFIED",
"X86",
"X64"
],
"enumDescriptions": [
"Unknown architecture.",
"X86 architecture.",
"X64 architecture."
],
"type": "string"
},
"cpeUri": {
"description": "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.",
"type": "string"
},
"description": {
"description": "The description of this package.",
"type": "string"
},
"digest": {
"description": "Hash value, typically a file digest, that allows unique identification a specific package.",
"items": {
"$ref": "Digest"
},
"type": "array"
},
"distribution": {
"description": "The various channels by which a package is distributed.",
"description": "Deprecated. The various channels by which a package is distributed.",
"items": {
"$ref": "Distribution"
},
"type": "array"
},
"license": {
"$ref": "License",
"description": "Licenses that have been declared by the authors of the package."
},
"maintainer": {
"description": "A freeform text denoting the maintainer of this package.",
"type": "string"
},
"name": {
"description": "Required. Immutable. The name of the package.",
"type": "string"
},
"packageType": {
"description": "The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).",
"type": "string"
},
"url": {
"description": "The homepage for this package.",
"type": "string"
},
"version": {
"$ref": "Version",
"description": "The version of the package."
}
},
"type": "object"
@@ -3622,16 +4114,51 @@
"description": "Details on how a particular software package was installed on a system.",
"id": "PackageOccurrence",
"properties": {
"architecture": {
"description": "Output only. The CPU architecture for which packages in this distribution channel were built. Architecture will be blank for language packages.",
"enum": [
"ARCHITECTURE_UNSPECIFIED",
"X86",
"X64"
],
"enumDescriptions": [
"Unknown architecture.",
"X86 architecture.",
"X64 architecture."
],
"readOnly": true,
"type": "string"
},
"cpeUri": {
"description": "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.",
"readOnly": true,
"type": "string"
},
"license": {
"$ref": "License",
"description": "Licenses that have been declared by the authors of the package."
},
"location": {
"description": "Required. All of the places within the filesystem versions of this package have been found.",
"description": "All of the places within the filesystem versions of this package have been found.",
"items": {
"$ref": "Location"
},
"type": "array"
},
"name": {
"description": "Output only. The name of the installed package.",
"description": "Required. Output only. The name of the installed package.",
"readOnly": true,
"type": "string"
},
"packageType": {
"description": "Output only. The type of package; whether native or non native (e.g., ruby gems, node.js packages, etc.).",
"readOnly": true,
"type": "string"
},
"version": {
"$ref": "Version",
"description": "Output only. The version of the package.",
"readOnly": true
}
},
"type": "object"
@@ -3753,7 +4280,7 @@
"properties": {
"policy": {
"$ref": "Policy",
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Cloud Platform services (such as Projects) might reject them."
"description": "REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them."
}
},
"type": "object"
@@ -3855,6 +4382,38 @@
},
"type": "object"
},
"SlsaProvenanceZeroTwo": {
"description": "See full explanation of fields at slsa.dev/provenance/v0.2.",
"id": "SlsaProvenanceZeroTwo",
"properties": {
"buildConfig": {
"additionalProperties": {
"description": "Properties of the object.",
"type": "any"
},
"type": "object"
},
"buildType": {
"type": "string"
},
"builder": {
"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaBuilder"
},
"invocation": {
"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaInvocation"
},
"materials": {
"items": {
"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaMaterial"
},
"type": "array"
},
"metadata": {
"$ref": "GrafeasV1SlsaProvenanceZeroTwoSlsaMetadata"
}
},
"type": "object"
},
"SlsaRecipe": {
"description": "Steps taken to build the artifact. For a TaskRun, typically each container corresponds to one step in the recipe.",
"id": "SlsaRecipe",
@@ -3994,7 +4553,7 @@
"id": "TestIamPermissionsRequest",
"properties": {
"permissions": {
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
"description": "The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM Overview](https://cloud.google.com/iam/docs/overview#permissions).",
"items": {
"type": "string"
},
@@ -4017,6 +4576,23 @@
},
"type": "object"
},
"TimeSpan": {
"description": "Start and end times for a build execution phase. Next ID: 3",
"id": "TimeSpan",
"properties": {
"endTime": {
"description": "End of time span.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "Start of time span.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"UpgradeDistribution": {
"description": "The Upgrade Distribution represents metadata about the Upgrade for each operating system (CPE). Some distributions have additional metadata around updates, classifying them into various categories and severities.",
"id": "UpgradeDistribution",
@@ -4136,6 +4712,21 @@
},
"type": "object"
},
"Volume": {
"description": "Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution. Next ID: 3",
"id": "Volume",
"properties": {
"name": {
"description": "Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.",
"type": "string"
},
"path": {
"description": "Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.",
"type": "string"
}
},
"type": "object"
},
"VulnerabilityNote": {
"description": "A security vulnerability that can be found in resources.",
"id": "VulnerabilityNote",
@@ -4149,6 +4740,20 @@
"$ref": "CVSSv3",
"description": "The full description of the CVSSv3 for this vulnerability."
},
"cvssVersion": {
"description": "CVSS version used to populate cvss_score and severity.",
"enum": [
"CVSS_VERSION_UNSPECIFIED",
"CVSS_VERSION_2",
"CVSS_VERSION_3"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"details": {
"description": "Details of all known distros and packages affected by this vulnerability.",
"items": {
@@ -4200,6 +4805,20 @@
"format": "float",
"type": "number"
},
"cvssVersion": {
"description": "Output only. CVSS version used to populate cvss_score and severity.",
"enum": [
"CVSS_VERSION_UNSPECIFIED",
"CVSS_VERSION_2",
"CVSS_VERSION_3"
],
"enumDescriptions": [
"",
"",
""
],
"type": "string"
},
"cvssv3": {
"$ref": "CVSS",
"description": "The cvss v3 score for the vulnerability."