pub fn lookup(policy: &DataPolicy, sensitivity: Sensitivity) -> PolicyActionExpand description
Resolve the action for sensitivity under policy.
Picks the action of the highest threshold whose min_sensitivity is
satisfied; PolicyAction::Allow when no threshold matches (the
permissive default). Works regardless of thresholds ordering.