{% macro findings_badges(a) %} {%- if a.critical_count %}{{ a.critical_count }}C{% endif -%} {%- if a.high_count %}{{ a.high_count }}H{% endif -%} {%- if a.medium_count %}{{ a.medium_count }}M{% endif -%} {%- if a.low_count %}{{ a.low_count }}L{% endif -%} {%- if a.info_count %}{{ a.info_count }}I{% endif -%} {%- if not (a.critical_count or a.high_count or a.medium_count or a.low_count or a.info_count) %}No findings{% endif -%} {% endmacro %} {% macro responsible_ai_badges(a) %} {%- if a.responsible_ai_risk %} {{ a.responsible_ai_risk }} {{ a.responsible_ai_status }} {%- else %}{% endif -%} {% endmacro %}