apache / apache/casbin-policyguard
feat(webhook): implement audit mode for dry-run policy enforcement
Open
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.