"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
EXPECT_TRUE(expectAccessLogRequestTo([&maybe_x_request_id](const ::cilium::LogEntry& entry) {
std::string path = TestEnvironment::writeStringToFileForTest("host_map_success.yaml", config);
return http.rejected_headers_size() == 1 && hasHeader(rejected, "bearer-token", "[redacted]") &&
return http.rejected_headers_size() == 1 && hasHeader(rejected, "bearer-token", "[redacted]") &&
return http.missing_headers_size() == 3 && hasHeader(missing, "bearer-token", "[redacted]") &&
accepted({{":method", "GET"}, {":path", "/maybe/private"}, {":authority", "hostREGEXname"}});
auto source_ip = Network::Utility::parseInternetAddressAndPortNoThrow(entry.source_address())
auto source_ip = Network::Utility::parseInternetAddressAndPortNoThrow(entry.source_address())
// Reduce flakiness by allowing some time for the policy to be updated before the following test
// Reduce flakiness by allowing some time for the policy to be updated before the following test