Skip to content

Commit 304bf75

Browse files
Google APIscopybara-github
authored andcommitted
feat: add SecurityPostureConfig Enterprise vuln mode to allow customers to enable Advanced Vulnerability Scanning for their clusters
--- docs: deprecate ProtectConfig fields in alpha and beta, with SecurityPostureConfig as the intended replacement PiperOrigin-RevId: 565696375
1 parent 151985b commit 304bf75

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

google/container/v1beta1/cluster_service.proto

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,12 @@ message NodeConfig {
832832
// HostMaintenancePolicy contains the desired maintenance policy for the
833833
// Google Compute Engine hosts.
834834
HostMaintenancePolicy host_maintenance_policy = 44;
835+
836+
// Optional. Enable confidential storage on Hyperdisk.
837+
// boot_disk_kms_key is required when enable_confidential_storage is true.
838+
// This is only available for private preview.
839+
bool enable_confidential_storage = 46
840+
[(google.api.field_behavior) = OPTIONAL];
835841
}
836842

837843
// Specifies options for controlling advanced machine features.
@@ -2185,8 +2191,9 @@ message Cluster {
21852191
// in autopilot clusters and node auto-provisioning enabled clusters.
21862192
NodePoolAutoConfig node_pool_auto_config = 136;
21872193

2194+
// Deprecated: Use SecurityPostureConfig instead.
21882195
// Enable/Disable Protect API features for the cluster.
2189-
optional ProtectConfig protect_config = 137;
2196+
optional ProtectConfig protect_config = 137 [deprecated = true];
21902197

21912198
// This checksum is computed by the server based on the value of cluster
21922199
// fields, and may be sent on update requests to ensure the client has an
@@ -2282,6 +2289,10 @@ message SecurityPostureConfig {
22822289

22832290
// Applies basic vulnerability scanning on the cluster.
22842291
VULNERABILITY_BASIC = 2;
2292+
2293+
// Applies the Security Posture's vulnerability on cluster Enterprise level
2294+
// features.
2295+
VULNERABILITY_ENTERPRISE = 3;
22852296
}
22862297

22872298
// Sets which mode to use for Security Posture features.
@@ -2509,8 +2520,9 @@ message ClusterUpdate {
25092520
// in autopilot clusters and node auto-provisioning enabled clusters.
25102521
NetworkTags desired_node_pool_auto_config_network_tags = 110;
25112522

2523+
// Deprecated: Use DesiredSecurityPostureConfig instead.
25122524
// Enable/Disable Protect API features for the cluster.
2513-
optional ProtectConfig desired_protect_config = 112;
2525+
optional ProtectConfig desired_protect_config = 112 [deprecated = true];
25142526

25152527
// The desired config of Gateway API on this cluster.
25162528
GatewayAPIConfig desired_gateway_api_config = 114;

0 commit comments

Comments
 (0)