Skip to main content

normalize_profile

Function normalize_profile 

Source
pub fn normalize_profile(raw: &str) -> Result<String, String>
Expand description

Normalize and validate a Fleet profile token: trim, lowercase, then apply the same token rule as crates/workflow’s validate_leaf_profile — non-empty, no whitespace, and none of ", ', `, =.