{% for finding in t["results"] %} {% if finding["ManagedBy"] == "AWS" %}
{% include 'analysis/finding-card/names.html' %}

{{ finding["PolicyDocument"] | tojson(indent=4) }}
{% if "Principals" in finding %}

{% for principal in finding["Principals"] %}
- {{ principal }}{% endfor %}
{% endif %} {% if "Members" in finding %}

{% for user in finding["Members"] %}
- {{ user }}{% endfor %}
{% endif %}

{{ finding["Actions"] | tojson(indent=4) }}
          
{% if finding["PrivilegeEscalation"]|length > 0 or finding["DataExfiltrationActions"]|length > 0 or finding["PermissionsManagementActions"]|length > 0 %}
{% include 'analysis/finding-card/details.html' %}
{% endif %}
{% endif %} {% endfor %}