Skip to main content

host_allowlist_configured

Function host_allowlist_configured 

Source
pub fn host_allowlist_configured() -> bool
Expand description

True when SLOC_GIT_HOST_ALLOWLIST names at least one host. Callers use this to decide whether network operations that fetch attacker-influenced URLs (e.g. submodule population on a network-facing server) may proceed under the positive allowlist.