{% extends 'base.html' %} {% load bootstrap inventory_extras %} {% block content %}

Configuration {{ object.name }}

Attribute Value
Name {{ object.name }}
Description {{ object.description|default:"-"|linebreaksbr }}
Inventory {{ object.inventory|yesno }}
Inventory apps {{ object.inventory_apps|yesno }}
Inventory EC2 information {{ object.inventory_ec2|yesno }}
Inventory interval {{ object.inventory_interval}}s
Automatic table construction{{ atc_count|pluralize }} {% if atc_count %}
    {% for atc in atcs %}
  • {{ atc }}
  • {% endfor %}
{% else %} - {% endif %}
File categor{{ file_category_count|pluralize:"y,ies" }} {% if file_categories %}
    {% for fc in file_categories %}
  • {{ fc }}
  • {% endfor %}
{% else %} - {% endif %}
Flags
{% for flag in configuration.get_serialized_flags %}
{{ flag }}{% endfor %}
Created at
{{ object.created_at|date:'r' }}
Updated at
{{ object.updated_at|date:'r' }}
{% if perms.osquery.change_configuration %}

Update

{% endif %}

{{ configuration_pack_count }} Pack{{ configuration_pack_count|pluralize }}

{% if can_add_configuration_pack %}

Add

{% endif %} {% if configuration_pack_count %} {% if perms.osquery.change_configuration %} {% endif %} {% for configuration_pack in configuration_packs %} {% with configuration_pack.pack as pack %} {% if perms.osquery.change_configuration %} {% endif %} {% endwith %} {% endfor %}
Name Query count Tags
{{ pack }} {{ configuration_pack.query_count }} {% for tag in configuration_pack.tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %}
{% endif %} {% if perms.osquery.view_enrollment %}

{{ enrollments_count }} Enrollment{{ enrollments_count|pluralize }}

{% if perms.osquery.add_enrollment %}

Create

{% endif %} {% if enrollments %} {% for enrollment in enrollments %} {% with enrollment.secret as secret %} {% with enrollment.distributor as distributor %} {% endwith %} {% endwith %} {% endfor %}
ID Business unit Tags Created at Request count Osquery release Version Distributor
{{ enrollment.pk }} {% if perms.inventory.view_metabusinessunit %} {{ secret.meta_business_unit|default:"-" }} {% else %} {{ secret.meta_business_unit|default:"-" }} {% endif %} {% for tag in secret.tags.all %} {% inventory_tag tag %} {% empty %} - {% endfor %} {{ secret.created_at }} {{ secret.request_count }}{% if secret.quota %} / {{ secret.quota }}{% endif %} {{ enrollment.osquery_release|default:"-" }} {{ enrollment.version }} {% if distributor %} {{ distributor.get_description_for_enrollment }} {% else %} - {% endif %} {% if secret.is_used_up %} Enrollment used up. {% else %} {% if not distributor %} {% if perms.osquery.change_enrollment %} {% endif %} {% if perms.osquery.delete_enrollment %} {% endif %} {% endif %} {% endif %}
{% endif %} {% endif %} {% endblock %}