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

{{ object.name }}

Configuration

{% if perms.osquery.change_configuration %} {% url 'osquery:update_configuration' object.id as url %} {% button 'UPDATE' url "Edit Configuration" %} {% endif %}
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_updated_at object %}

Pack{{ pack_count|pluralize }} ({{configuration_pack_count }})

{% if perms.can_add_configuration_pack %} {% url 'osquery:add_configuration_pack' object.id as url %} {% button 'CREATE' url "Create new Pack" %} {% 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 %} {% url 'osquery:update_configuration_pack' configuration.pk configuration_pack.pk as url %} {% button 'UPDATE' url "Edit Configuration Pack" %} {% url 'osquery:remove_configuration_pack' configuration.pk configuration_pack.pk as url %} {% button 'DELETE' url "Delete Configuration Pack" %}
{% endif %} {% if perms.osquery.view_enrollment %}

Enrollment{{ enrollments_count|pluralize }} ({{enrollments_count }})

{% if perms.osquery.add_enrollment %} {% url 'osquery:create_enrollment' object.id as url %} {% button 'CREATE' url "Create new Enrollment" %} {% 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 %} {% url 'osquery:delete_enrollment' configuration.pk enrollment.pk as url %} {% button 'DELETE' url "Delete Enrollment" %} {% endif %} {% endif %} {% endif %}
{% endif %} {% endif %} {% endblock %}