Function mas_templates::check::render_policy_violation
source · pub fn render_policy_violation(
templates: &Templates,
now: DateTime<Utc>,
rng: &mut impl Rng,
) -> Result<()>
Expand description
Render the pages/policy_violation.html
template with sample contexts
§Errors
Returns an error if the template fails to render with any of the sample.