Skip to content

Commit 9876892

Browse files
feat: [container] add SecurityPostureConfig Enterprise vuln mode to allow customers to enable Advanced Vulnerability Scanning for their clusters (#4666)
* 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 Source-Link: googleapis/googleapis@304bf75 Source-Link: googleapis/googleapis-gen@e42f451 Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNvbnRhaW5lci8uT3dsQm90LnlhbWwiLCJoIjoiZTQyZjQ1MTI5YmNkOTVhNDhmOWY0NzgxYjFlNjRjYWIyZjZjYWE3YiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 240a69f commit 9876892

4 files changed

Lines changed: 63 additions & 4 deletions

File tree

packages/google-container/protos/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;

packages/google-container/protos/protos.d.ts

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/protos/protos.js

Lines changed: 30 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/google-container/protos/protos.json

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)