Class ProtectConfig (2.22.0)

ProtectConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

ProtectConfig defines the flags needed to enable/disable features for the Protect API.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
workload_config google.cloud.container_v1beta1.types.WorkloadConfig
WorkloadConfig defines which actions are enabled for a cluster's workload configurations. This field is a member of oneof_ _workload_config.
workload_vulnerability_mode google.cloud.container_v1beta1.types.ProtectConfig.WorkloadVulnerabilityMode
Sets which mode to use for Protect workload vulnerability scanning feature. This field is a member of oneof_ _workload_vulnerability_mode.

Classes

WorkloadVulnerabilityMode

WorkloadVulnerabilityMode(value)

WorkloadVulnerabilityMode defines mode to perform vulnerability scanning.

Values: WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED (0): Default value not specified. DISABLED (1): Disables Workload Vulnerability Scanning feature on the cluster. BASIC (2): Applies basic vulnerability scanning settings for cluster workloads.