Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: [container] add SecurityPostureConfig Enterprise vuln mode to allow customers to enable Advanced Vulnerability Scanning for their clusters #9838

Merged
merged 2 commits into from
Sep 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java-container/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>libraries-bom</artifactId>
<version>26.22.0</version>
<version>26.23.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-container.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.26.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-container/2.27.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public com.google.protobuf.ByteString getGpuPartitionSizeBytes() {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4516
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4528
* @return The maxTimeSharedClientsPerGpu.
*/
@java.lang.Override
Expand Down Expand Up @@ -1104,7 +1104,7 @@ public Builder setGpuPartitionSizeBytes(com.google.protobuf.ByteString value) {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4516
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4528
* @return The maxTimeSharedClientsPerGpu.
*/
@java.lang.Override
Expand All @@ -1122,7 +1122,7 @@ public long getMaxTimeSharedClientsPerGpu() {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4516
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4528
* @param value The maxTimeSharedClientsPerGpu to set.
* @return This builder for chaining.
*/
Expand All @@ -1144,7 +1144,7 @@ public Builder setMaxTimeSharedClientsPerGpu(long value) {
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4516
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4528
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public interface AcceleratorConfigOrBuilder
* <code>int64 max_time_shared_clients_per_gpu = 4 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AcceleratorConfig.max_time_shared_clients_per_gpu is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4516
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4528
* @return The maxTimeSharedClientsPerGpu.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public com.google.container.v1beta1.HorizontalPodAutoscaling getHorizontalPodAut
* </code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1263
* google/container/v1beta1/cluster_service.proto;l=1269
* @return Whether the kubernetesDashboard field is set.
*/
@java.lang.Override
Expand All @@ -213,7 +213,7 @@ public boolean hasKubernetesDashboard() {
* </code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1263
* google/container/v1beta1/cluster_service.proto;l=1269
* @return The kubernetesDashboard.
*/
@java.lang.Override
Expand Down Expand Up @@ -317,7 +317,7 @@ public com.google.container.v1beta1.NetworkPolicyConfig getNetworkPolicyConfig()
* <code>.google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1272
* google/container/v1beta1/cluster_service.proto;l=1278
* @return Whether the istioConfig field is set.
*/
@java.lang.Override
Expand All @@ -336,7 +336,7 @@ public boolean hasIstioConfig() {
* <code>.google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1272
* google/container/v1beta1/cluster_service.proto;l=1278
* @return The istioConfig.
*/
@java.lang.Override
Expand Down Expand Up @@ -596,7 +596,7 @@ public boolean hasGcePersistentDiskCsiDriverConfig() {
* <code>.google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1291
* google/container/v1beta1/cluster_service.proto;l=1297
* @return Whether the kalmConfig field is set.
*/
@java.lang.Override
Expand All @@ -615,7 +615,7 @@ public boolean hasKalmConfig() {
* <code>.google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1291
* google/container/v1beta1/cluster_service.proto;l=1297
* @return The kalmConfig.
*/
@java.lang.Override
Expand Down Expand Up @@ -2007,7 +2007,7 @@ public Builder clearHorizontalPodAutoscaling() {
* </code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1263
* google/container/v1beta1/cluster_service.proto;l=1269
* @return Whether the kubernetesDashboard field is set.
*/
@java.lang.Deprecated
Expand All @@ -2030,7 +2030,7 @@ public boolean hasKubernetesDashboard() {
* </code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1263
* google/container/v1beta1/cluster_service.proto;l=1269
* @return The kubernetesDashboard.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2462,7 +2462,7 @@ public Builder clearNetworkPolicyConfig() {
* <code>.google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1272
* google/container/v1beta1/cluster_service.proto;l=1278
* @return Whether the istioConfig field is set.
*/
@java.lang.Deprecated
Expand All @@ -2480,7 +2480,7 @@ public boolean hasIstioConfig() {
* <code>.google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1272
* google/container/v1beta1/cluster_service.proto;l=1278
* @return The istioConfig.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -3463,7 +3463,7 @@ public Builder clearGcePersistentDiskCsiDriverConfig() {
* <code>.google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1291
* google/container/v1beta1/cluster_service.proto;l=1297
* @return Whether the kalmConfig field is set.
*/
@java.lang.Deprecated
Expand All @@ -3481,7 +3481,7 @@ public boolean hasKalmConfig() {
* <code>.google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1291
* google/container/v1beta1/cluster_service.proto;l=1297
* @return The kalmConfig.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public interface AddonsConfigOrBuilder
* </code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1263
* google/container/v1beta1/cluster_service.proto;l=1269
* @return Whether the kubernetesDashboard field is set.
*/
@java.lang.Deprecated
Expand All @@ -140,7 +140,7 @@ public interface AddonsConfigOrBuilder
* </code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kubernetes_dashboard is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1263
* google/container/v1beta1/cluster_service.proto;l=1269
* @return The kubernetesDashboard.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -215,7 +215,7 @@ public interface AddonsConfigOrBuilder
* <code>.google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1272
* google/container/v1beta1/cluster_service.proto;l=1278
* @return Whether the istioConfig field is set.
*/
@java.lang.Deprecated
Expand All @@ -231,7 +231,7 @@ public interface AddonsConfigOrBuilder
* <code>.google.container.v1beta1.IstioConfig istio_config = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.istio_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1272
* google/container/v1beta1/cluster_service.proto;l=1278
* @return The istioConfig.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -417,7 +417,7 @@ public interface AddonsConfigOrBuilder
* <code>.google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1291
* google/container/v1beta1/cluster_service.proto;l=1297
* @return Whether the kalmConfig field is set.
*/
@java.lang.Deprecated
Expand All @@ -433,7 +433,7 @@ public interface AddonsConfigOrBuilder
* <code>.google.container.v1beta1.KalmConfig kalm_config = 12 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AddonsConfig.kalm_config is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1291
* google/container/v1beta1/cluster_service.proto;l=1297
* @return The kalmConfig.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return The minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -406,7 +406,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return The bytes for minCpuPlatform.
*/
@java.lang.Override
Expand Down Expand Up @@ -2150,7 +2150,7 @@ public com.google.container.v1beta1.NodeManagementOrBuilder getManagementOrBuild
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2185,7 +2185,7 @@ public java.lang.String getMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2220,7 +2220,7 @@ public com.google.protobuf.ByteString getMinCpuPlatformBytes() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @param value The minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down Expand Up @@ -2254,7 +2254,7 @@ public Builder setMinCpuPlatform(java.lang.String value) {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down Expand Up @@ -2284,7 +2284,7 @@ public Builder clearMinCpuPlatform() {
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @param value The bytes for minCpuPlatform to set.
* @return This builder for chaining.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return The minCpuPlatform.
*/
@java.lang.Deprecated
Expand All @@ -274,7 +274,7 @@ public interface AutoprovisioningNodePoolDefaultsOrBuilder
* <code>string min_cpu_platform = 5 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.AutoprovisioningNodePoolDefaults.min_cpu_platform is
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4288
* deprecated. See google/container/v1beta1/cluster_service.proto;l=4300
* @return The bytes for minCpuPlatform.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@ public com.google.protobuf.Parser<PolicyBinding> getParserForType() {
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1752
* google/container/v1beta1/cluster_service.proto;l=1758
* @return The enabled.
*/
@java.lang.Override
Expand Down Expand Up @@ -1595,7 +1595,7 @@ public Builder mergeFrom(
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1752
* google/container/v1beta1/cluster_service.proto;l=1758
* @return The enabled.
*/
@java.lang.Override
Expand All @@ -1615,7 +1615,7 @@ public boolean getEnabled() {
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1752
* google/container/v1beta1/cluster_service.proto;l=1758
* @param value The enabled to set.
* @return This builder for chaining.
*/
Expand All @@ -1639,7 +1639,7 @@ public Builder setEnabled(boolean value) {
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1752
* google/container/v1beta1/cluster_service.proto;l=1758
* @return This builder for chaining.
*/
@java.lang.Deprecated
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public interface BinaryAuthorizationOrBuilder
* <code>bool enabled = 1 [deprecated = true];</code>
*
* @deprecated google.container.v1beta1.BinaryAuthorization.enabled is deprecated. See
* google/container/v1beta1/cluster_service.proto;l=1752
* google/container/v1beta1/cluster_service.proto;l=1758
* @return The enabled.
*/
@java.lang.Deprecated
Expand Down
Loading