Class: Google::Cloud::Container::V1beta1::WorkloadConfig
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::WorkloadConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.
Defined Under Namespace
Modules: Mode
Instance Attribute Summary collapse
-
#audit_mode ⇒ ::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode
Sets which mode of auditing should be used for the cluster's workloads.
Instance Attribute Details
#audit_mode ⇒ ::Google::Cloud::Container::V1beta1::WorkloadConfig::Mode
Returns Sets which mode of auditing should be used for the cluster's workloads.
2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2200 class WorkloadConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Mode defines how to audit the workload configs. module Mode # Default value meaning that no mode has been specified. MODE_UNSPECIFIED = 0 # This disables Workload Configuration auditing on the cluster, # meaning that nothing is surfaced. DISABLED = 1 # Applies the default set of policy auditing to a cluster's workloads. BASIC = 4 # Surfaces configurations that are not in line with the # Pod Security Standard Baseline policy. BASELINE = 2 # Surfaces configurations that are not in line with the # Pod Security Standard Restricted policy. RESTRICTED = 3 end end |