Skip to main content

is_registered_host

Function is_registered_host 

Source
pub fn is_registered_host(
    registered_hosts: &[String],
    user: Option<&UserContext>,
    sidecar_launch_authenticated: bool,
) -> bool
Expand description

The single registered-host rule. A request is a registered host when it is an authenticated sidecar launch, or when its verified bearer’s host actor is listed in security.registered_hosts. Being a registered host never widens host_authenticated resources (mcp_servers, run_credentials, tool_admission, working_directory).