Package google.cloud.binaryauthorization.v1alpha2

Index

ContinuousValidationManagementServiceV1Alpha2

Manages the config settings for continuous validation (cv) service.

GetContinuousValidationConfig

rpc GetContinuousValidationConfig(GetContinuousValidationConfigRequest) returns (ContinuousValidationConfig)

Gets the continuous validation config for the project. Returns a default config if the project does not have one. The default config disables continuous validation on all policies.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

UpdateContinuousValidationConfig

rpc UpdateContinuousValidationConfig(UpdateContinuousValidationConfigRequest) returns (ContinuousValidationConfig)

Updates a project's continuous validation config, and returns a copy of the new config. A config is always updated as a whole to avoid race conditions with concurrent updating requests. Returns NOT_FOUND if the project does not exist, INVALID_ARGUMENT if the request is malformed.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.

ContinuousValidationConfig

A user config for specifying the continuous validation (CV) settings for various policies. There is at most one config per project (a singleton resource).

Fields
name

string

Output only. The resource name, in the format projects/*/continuousValidationConfig. There is at most one config per project.

enforcement_policy_config

EnforcementPolicyConfig

The continuous validation config for enforcement policy.

update_time

Timestamp

Output only. Time when the config was last updated.

EnforcementPolicyConfig

Continuous validation config for enforcement policy.

Fields
enabled

bool

Whether continuous validation is enabled for enforcement policy.

GetContinuousValidationConfigRequest

Request message for [ContinuousValidationConfigService.GetContinuousValidationConfig][].

Fields
name

string

Required. The name of the continuous validation config.

Authorization requires the following IAM permission on the specified resource name:

  • binaryauthorization.continuousValidationConfig.get

UpdateContinuousValidationConfigRequest

Request message for [ContinuousValidationConfigService.UpdateContinuousValidationConfig][].

Fields
config

ContinuousValidationConfig

Required. An updated config for continuous validation service. The service will overwrite the config name with the resource name in the request URL, in the format projects/*/continuousValidationConfig.

Authorization requires the following IAM permission on the specified resource config:

  • binaryauthorization.continuousValidationConfig.update