Reference documentation and code samples for the Binary Authorization V1 API module Google::Cloud::BinaryAuthorization::V1::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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[],[]]