Reference documentation and code samples for the Kubernetes Engine V1 API class Google::Cloud::Container::V1::SecurityPostureConfig.
SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#mode
def mode() -> ::Google::Cloud::Container::V1::SecurityPostureConfig::Mode
Returns
- (::Google::Cloud::Container::V1::SecurityPostureConfig::Mode) — Sets which mode to use for Security Posture features.
#mode=
def mode=(value) -> ::Google::Cloud::Container::V1::SecurityPostureConfig::Mode
Parameter
- value (::Google::Cloud::Container::V1::SecurityPostureConfig::Mode) — Sets which mode to use for Security Posture features.
Returns
- (::Google::Cloud::Container::V1::SecurityPostureConfig::Mode) — Sets which mode to use for Security Posture features.
#vulnerability_mode
def vulnerability_mode() -> ::Google::Cloud::Container::V1::SecurityPostureConfig::VulnerabilityMode
Returns
- (::Google::Cloud::Container::V1::SecurityPostureConfig::VulnerabilityMode) — Sets which mode to use for vulnerability scanning.
#vulnerability_mode=
def vulnerability_mode=(value) -> ::Google::Cloud::Container::V1::SecurityPostureConfig::VulnerabilityMode
Parameter
- value (::Google::Cloud::Container::V1::SecurityPostureConfig::VulnerabilityMode) — Sets which mode to use for vulnerability scanning.
Returns
- (::Google::Cloud::Container::V1::SecurityPostureConfig::VulnerabilityMode) — Sets which mode to use for vulnerability scanning.