# Binary Authorization V1beta1 API - Module Google::Cloud::BinaryAuthorization::V1beta1::AdmissionRule::EnforcementMode (v0.19.0)

0.19.0 (latest) 0.18.0 0.17.1 0.16.0 0.15.1 0.14.0 0.13.1 0.12.2 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.1 Reference documentation and code samples for the Binary Authorization V1beta1 API module Google::Cloud::BinaryAuthorization::V1beta1::AdmissionRule::EnforcementMode.

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

## Constants

### ENFORCEMENT_MODE_UNSPECIFIED

**value:** 0  
Do not use.

### ENFORCED_BLOCK_AND_AUDIT_LOG

**value:** 1  
Enforce the admission rule by blocking the pod creation.

### 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.