pub fn check(
mode: &ResolvedMode,
policy: &PolicyState,
plan: Option<&Result<GatewayPlan, String>>,
agent: Agent,
) -> Vec<Finding>Expand description
The findings about the mode and, in gateway mode, about the gateway.
plan is None outside gateway mode.