apache / apache/casbin-policyguard

feat(webhook): implement audit mode for dry-run policy enforcement

Open
#3 0 comments 1 reaction 2 assignees Claimed by @nomeguy View on GitHub
enhancement
Dominant language
JavaScript
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Now policywall strictly enforces policies by denying non-compliant requests. It is suggested that:
- add a dryrun field to the admissionpolicy CRD definition;
- update the webhook logic to log violations instead of rejecting requests when enabled;
- ensure admissionresponse returns allowed: true while recording violation details in warnings;
- modify the controller to propagate the dry-run configuration to the enforcer;
- this feature will enables safe policy testing in production environments without disruption.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.