mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 00:40:25 +02:00
authorize: add request IP to rego evaluation (#3107)
This commit is contained in:
parent
5ac55f68b6
commit
a0e64b1cf9
5 changed files with 15 additions and 1 deletions
|
@ -133,6 +133,7 @@ func (a *Authorize) getEvaluatorRequestFromCheckRequest(
|
|||
requestURL,
|
||||
getCheckRequestHeaders(in),
|
||||
getPeerCertificate(in),
|
||||
in.GetAttributes().GetSource().GetAddress().GetSocketAddress().GetAddress(),
|
||||
),
|
||||
}
|
||||
if sessionState != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue