Class SecurityPostureConfig (2.25.0)

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

SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.

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

Attributes

NameDescription
mode google.cloud.container_v1beta1.types.SecurityPostureConfig.Mode
Sets which mode to use for Security Posture features. This field is a member of oneof_ _mode.
vulnerability_mode google.cloud.container_v1beta1.types.SecurityPostureConfig.VulnerabilityMode
Sets which mode to use for vulnerability scanning. This field is a member of oneof_ _vulnerability_mode.

Classes

Mode

Mode(value)

Mode defines enablement mode for GKE Security posture features.

Values: MODE_UNSPECIFIED (0): Default value not specified. DISABLED (1): Disables Security Posture features on the cluster. BASIC (2): Applies Security Posture features on the cluster.

VulnerabilityMode

VulnerabilityMode(value)

VulnerabilityMode defines enablement mode for vulnerability scanning.

Values: VULNERABILITY_MODE_UNSPECIFIED (0): Default value not specified. VULNERABILITY_DISABLED (1): Disables vulnerability scanning on the cluster. VULNERABILITY_BASIC (2): Applies basic vulnerability scanning on the cluster.