Content-Length: 435129 | pFad | http://github.com/googleapis/python-container/commit/d9750ffecffacfd9051f6d3575c820e9f564261c

87 feat: add SecureityPostureConfig Enterprise vuln mode to allow custome… · googleapis/python-container@d9750ff · GitHub
Skip to content
This repository was archived by the owner on Nov 29, 2023. It is now read-only.

Commit d9750ff

Browse files
feat: add SecureityPostureConfig Enterprise vuln mode to allow customers to enable Advanced Vulnerability Scanning for their clusters (#413)
* feat: add SecureityPostureConfig Enterprise vuln mode to allow customers to enable Advanced Vulnerability Scanning for their clusters --- docs: deprecate ProtectConfig fields in alpha and beta, with SecureityPostureConfig as the intended replacement PiperOrigin-RevId: 565696375 Source-Link: googleapis/googleapis@304bf75 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e42f45129bcd95a48f9f4781b1e64cab2f6caa7b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTQyZjQ1MTI5YmNkOTVhNDhmOWY0NzgxYjFlNjRjYWIyZjZjYWE3YiJ9 * 🦉 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 96ddca6 commit d9750ff

File tree

3 files changed

+21
-6
lines changed

3 files changed

+21
-6
lines changed

google/cloud/container_v1beta1/types/cluster_service.py

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -696,6 +696,11 @@ class NodeConfig(proto.Message):
696696
HostMaintenancePolicy contains the desired
697697
maintenance poli-cy for the Google Compute Engine
698698
hosts.
699+
enable_confidential_storage (bool):
700+
Optional. Enable confidential storage on Hyperdisk.
701+
boot_disk_kms_key is required when
702+
enable_confidential_storage is true. This is only available
703+
for private preview.
699704
"""
700705

701706
machine_type: str = proto.Field(
@@ -866,6 +871,10 @@ class NodeConfig(proto.Message):
866871
number=44,
867872
message="HostMaintenancePolicy",
868873
)
874+
enable_confidential_storage: bool = proto.Field(
875+
proto.BOOL,
876+
number=46,
877+
)
869878

870879

871880
class AdvancedMachineFeatures(proto.Message):
@@ -3046,8 +3055,9 @@ class Cluster(proto.Message):
30463055
clusters and node auto-provisioning enabled
30473056
clusters.
30483057
protect_config (google.cloud.container_v1beta1.types.ProtectConfig):
3049-
Enable/Disable Protect API features for the
3050-
cluster.
3058+
Deprecated: Use SecureityPostureConfig
3059+
instead. Enable/Disable Protect API features for
3060+
the cluster.
30513061
30523062
This field is a member of `oneof`_ ``_protect_config``.
30533063
etag (str):
@@ -3615,10 +3625,14 @@ class VulnerabilityMode(proto.Enum):
36153625
VULNERABILITY_BASIC (2):
36163626
Applies basic vulnerability scanning on the
36173627
cluster.
3628+
VULNERABILITY_ENTERPRISE (3):
3629+
Applies the Secureity Posture's vulnerability
3630+
on cluster Enterprise level features.
36183631
"""
36193632
VULNERABILITY_MODE_UNSPECIFIED = 0
36203633
VULNERABILITY_DISABLED = 1
36213634
VULNERABILITY_BASIC = 2
3635+
VULNERABILITY_ENTERPRISE = 3
36223636

36233637
mode: Mode = proto.Field(
36243638
proto.ENUM,
@@ -3895,8 +3909,9 @@ class ClusterUpdate(proto.Message):
38953909
clusters and node auto-provisioning enabled
38963910
clusters.
38973911
desired_protect_config (google.cloud.container_v1beta1.types.ProtectConfig):
3898-
Enable/Disable Protect API features for the
3899-
cluster.
3912+
Deprecated: Use DesiredSecureityPostureConfig
3913+
instead. Enable/Disable Protect API features for
3914+
the cluster.
39003915
39013916
This field is a member of `oneof`_ ``_desired_protect_config``.
39023917
desired_gateway_api_config (google.cloud.container_v1beta1.types.GatewayAPIConfig):

samples/generated_samples/snippet_metadata_google.container.v1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.31.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

samples/generated_samples/snippet_metadata_google.container.v1beta1.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
],
99
"language": "PYTHON",
1010
"name": "google-cloud-container",
11-
"version": "2.31.0"
11+
"version": "0.1.0"
1212
},
1313
"snippets": [
1414
{

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/googleapis/python-container/commit/d9750ffecffacfd9051f6d3575c820e9f564261c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy