Porting: [ADD] deltatech_rpc_audit: log XML-RPC/JSON-RPC calls with real client IP (from 18.0) - #2576
Open
github-actions[bot] wants to merge 1 commit into
Open
Porting: [ADD] deltatech_rpc_audit: log XML-RPC/JSON-RPC calls with real client IP (from 18.0)#2576github-actions[bot] wants to merge 1 commit into
github-actions[bot] wants to merge 1 commit into
Conversation
…t IP Override the core RPC controller to log XML-RPC (/xmlrpc, /xmlrpc/2) and JSON-RPC (/jsonrpc) calls under the logger odoo.rpc.audit. The real client IP is read from the X-Forwarded-For header so calls are not all attributed to the reverse-proxy IP (e.g. 10.0.0.2), independently of the proxy_mode option. Optional ignore list from the config-file key rpc_audit_ignore_ips (self-hosted) and/or the System Parameter rpc_audit.ignore_ips (Odoo.sh), merged and cached 60s. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automat portat din PR #2575 fuzionat în 18.0.
NOTĂ: PR creat automat; necesită review și testare.