Google Cloud Binary Authorization V1beta1 Client - Class EnforcementMode (0.8.7)

Reference documentation and code samples for the Google Cloud Binary Authorization V1beta1 Client class EnforcementMode.

Defines the possible actions when a pod creation is denied by an admission rule.

Protobuf type google.cloud.binaryauthorization.v1beta1.AdmissionRule.EnforcementMode

Namespace

Google \ Cloud \ BinaryAuthorization \ V1beta1 \ AdmissionRule

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

ENFORCEMENT_MODE_UNSPECIFIED

Value: 0

Do not use.

Generated from protobuf enum ENFORCEMENT_MODE_UNSPECIFIED = 0;

ENFORCED_BLOCK_AND_AUDIT_LOG

Value: 1

Enforce the admission rule by blocking the pod creation.

Generated from protobuf enum ENFORCED_BLOCK_AND_AUDIT_LOG = 1;

DRYRUN_AUDIT_LOG_ONLY

Value: 2

Dryrun mode: Audit logging only. This will allow the pod creation as if the admission request had specified break-glass.

Generated from protobuf enum DRYRUN_AUDIT_LOG_ONLY = 2;