Skip to content

feat(p5): Kyverno policies Audit -> Deny (DRF-71) — DO NOT MERGE before window - #76

Merged
EurusDevSec merged 1 commit into
mainfrom
hoang/drf-71-kyverno-deny
Nov 25, 2026
Merged

EurusDevSec merged 1 commit into
mainfrom
hoang/drf-71-kyverno-deny

Conversation

@EurusDevSec

Copy link
Copy Markdown
Owner

Do not merge before the P5 L3 window

Draft on purpose. The owner merges this inside window P5-L3-YYYYMMDD-01, step C3 of docs/runbooks/P5_L3_WINDOW.md, only after the Audit policy reports on EKS are clean (SPEC-P5 P5-T4.2 C). It is prepared now so no code is written during the window (SPEC-P5 A16).

Change

gitops/platform/policies/zdr-image-digest.yaml, zdr-require-resources.yaml, zdr-tenant-label.yaml: validationActions: [Audit] → [Deny], and the header comment. Nothing else.

Verification (local, Claude)

  • bash gitops/check.sh: PASS (rule 17 accepts Audit or Deny).
  • bash gitops/tests/check_guards.sh: 77/77.
  • bash gitops/tests/kyverno_test.sh: 14 passed, self-test 11 passed 3 failed → PASS.
  • Same switch was exercised by the owner on kind (docs/evidence/p5/P5-T2.2_L2_KIND_KYVERNO_20261124.md, step 2).

Before merging in the window: check headRefOid and that main has not moved past what the window plan used.

🤖 Generated with Claude Code

… (DRF-71)

SPEC-P5 P5-T4.2 C: the switch to Deny is a Git commit merged by the
owner inside the window, after the Audit policy reports are clean on
EKS. Prepared before the window so nothing is written during it (A16).
Only validationActions and the header comment change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@EurusDevSec
EurusDevSec marked this pull request as ready for review November 25, 2026 05:00
Copilot AI lite review requested due to automatic review settings November 25, 2026 05:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota.

@EurusDevSec
EurusDevSec merged commit 8448052 into main Nov 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants