Query the L7 endpoint config for a matched policy and host:port. After L4 evaluation allows a CONNECT, this method queries the Rego data to get the full endpoint object for the matched policy. Returns the raw `regorus::Value` which can be parsed by `l7::parse_l7_config()`.
(&self, input: &NetworkInput)
| 488 | /// to get the full endpoint object for the matched policy. Returns the raw |
| 489 | /// `regorus::Value` which can be parsed by `l7::parse_l7_config()`. |
| 490 | pub fn query_endpoint_config(&self, input: &NetworkInput) -> Result<Option<regorus::Value>> { |
| 491 | Ok(self.query_endpoint_config_with_generation(input)?.0) |
| 492 | } |
| 493 | |
| 494 | /// Query L7 endpoint config and return the policy generation used for the query. |
| 495 | pub fn query_endpoint_config_with_generation( |