Skip to content

appsec: return RET_CODE instead of 200 when APPSEC_FAILURE_ACTION=deny - #167

Merged
sabban merged 1 commit into
mainfrom
fix/appsec-deny-status-captcha-provider-log
Oct 28, 2026
Merged

sabban merged 1 commit into
mainfrom
fix/appsec-deny-status-captcha-provider-log

Conversation

@sabban

@sabban sabban commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

With APPSEC_FAILURE_ACTION=deny, a failed AppSec check served the ban page with HTTP 200; it now uses RET_CODE (403 by default).
Adds t/26_appsec_failure_action_deny.t.

🤖 Generated with Claude Code

With APPSEC_FAILURE_ACTION=deny, an unreachable or failing AppSec applied
FALLBACK_REMEDIATION with HTTP 200. Leave the status unset so the ban uses
RET_CODE (403 by default).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sabban
sabban force-pushed the fix/appsec-deny-status-captcha-provider-log branch from d4e0008 to 7aa6e4a Compare October 27, 2026 14:45
@sabban
sabban merged commit 4aad1df into main Oct 28, 2026
2 checks passed
@sabban
sabban deleted the fix/appsec-deny-status-captcha-provider-log branch October 28, 2026 09:36
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