Class WorkloadConfig (2.23.0)

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

WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.

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

Attribute

NameDescription
audit_mode google.cloud.container_v1beta1.types.WorkloadConfig.Mode
Sets which mode of auditing should be used for the cluster's workloads. This field is a member of oneof_ _audit_mode.

Classes

Mode

Mode(value)

Mode defines how to audit the workload configs.

Values: MODE_UNSPECIFIED (0): Default value meaning that no mode has been specified. DISABLED (1): This disables Workload Configuration auditing on the cluster, meaning that nothing is surfaced. BASIC (4): Applies the default set of policy auditing to a cluster's workloads. BASELINE (2): Surfaces configurations that are not in line with the Pod Security Standard Baseline policy. RESTRICTED (3): Surfaces configurations that are not in line with the Pod Security Standard Restricted policy.