{% extends 'base.html' %} {% load bootstrap inventory_extras %} {% block content %}
| Attribute | Value |
|---|---|
| Name | {{ object.name }} |
| SQL | {{ object.get_sql_html|safe }} |
| Platform{{ object.platforms|length|pluralize }} | {{ object.platforms|join:", "|default:"-" }} |
| Minimum osquery version | {{ object.minimum_osquery_version|default:"-" }} |
| Description | {{ object.description|default:"-"|linebreaksbr }} |
| Value | {{ object.value|default:"-"|linebreaksbr }} |
| Pack | {% if pack_query %}{{ pack_query.pack }}{% else %}-{% endif %} |
| Compliance check | {% if object.compliance_check %}yes{% else %}no{% endif %} |
| # | Query version | Valid from | Valid until | In flight | OK | Err | {% for distributed_query in distributed_queries %}
|---|---|---|---|---|---|---|
| {{ distributed_query }} | {{ distributed_query.query_version }} | {{ distributed_query.valid_from }} | {{ distributed_query.valid_until|default:"-" }} | {{ distributed_query.in_flight_count }} | {{ distributed_query.ok_count }} | {{ distributed_query.error_count }} |