You can extract IP address in any policies using policy expressions. The expression would be context.Request.IpAddress