Policy Administration Point
Entity ID:
{% if pap_nodes %} {% set root_entity = (pap_nodes | first).ID %} {% else %} {% set root_entity = "" %} {% endif %} {%- for entity_id in entity_ids %} {% if root_entity == entity_id %}
{{ entity_id }}
{% else %}
{{ entity_id }}
{% endif %} {% endfor %}
Service:
{% if object %} {% set service = object['service'] %} {% else %} {% set service = "" %} {% endif %} {%- for service_key in services %} {% if service_key == service %}
{{ service_key }}
{% else %}
{{ service_key }}
{% endif %} {% endfor %}
Subject Dictionary:
{{ subject }}
Object Dictionary:
{{ object }}
Use object setters
Environment Dictionary:
{{ environment }}
Use environment setters
Access Dictionary:
{{ access }}
{%- for root in pap_nodes recursive -%} {% if root.node_type == "policy set" %}
ID: {{ root.ID }}
Type: {{ root.node_type }}
Resolver: {{ root.resolver }}
Target: {{ root.target }}
Policies:
{{ loop(root.policies) }}
Policy Sets:
{{ loop(root.policy_sets) }}
{% elif root.node_type == "policy" %}
ID: {{ root.ID }}
Type: {{ root.node_type }}
Resolver: {{ root.resolver }}
Target: {{ root.target }}
Rules:
{{ loop(root.rules) }}
{% else %}
ID: {{ root.ID }}
Type: {{ root.node_type }}
Resolver: {{ root.resolver }}
Target: {{ root.target }}
Effect: {{ root.effect }}
Condition: {{ root.condition }}
{% endif %} {%- endfor -%}