{# Copyright 2022, Red Hat, Inc. #} {# SPDX-License-Identifier: LGPL-2.1-or-later #} {% if rule_result_stats.fail > 0 %}

Danger alert: The target system did not satisfy the conditions of {{ rule_result_stats.fail }} rules!
{% if rule_result_stats.unknown_error > 0 %} Furthermore, the results of {{ rule_result_stats.unknown_error }} rules were inconclusive.
{% endif %}

Please review rule results and consider applying remediation.
{% elif rule_result_stats.unknown_error > 0 %}

Warning alert: There were no failed rules, but the results of {{ rule_result_stats.unknown_error }} rules were inconclusive!

Please review rule results and consider applying remediation.
{% else %}

Success alert: There were no failed or uncertain rules. It seems that no action is necessary.

{% endif %}