No intent policies defined yet. Create a policy, then add constraints to it.
{% endif %}
{% for policy in policies %}
{{ policy.name }}
{% if policy.description %}{{ policy.description }}{% endif %}
{{ "Active" if policy.is_active else "Inactive" }}
{% if policy.last_validation %}
{% set lv = policy.last_validation %}
{{ "PASS" if lv.failed == 0 else "FAIL" }} ({{ lv.passed }}/{{ lv.total_constraints }})
{% endif %}
{% for c in policy.constraints %}
{{ c.constraint_type }}
{{ c.severity }}
{{ c.description or "—" }}
{{ c.rule_json }}
{% endfor %}
{% if not policy.constraints %}
No constraints yet. Add one above.
{% endif %}
{% endfor %}