{% extends "fpr/app_layout.html" %} {% load i18n %} {% load revisions_link %} {% block title %}{{ block.super }} - {% blocktrans with description=fpcommand.description %}Command {{ description }}{% endblocktrans %}{% endblock title %} {% block page_title %}{% blocktrans with description=fpcommand.description %}Command {{ description }}{% endblocktrans %}{% endblock page_title %} {% block breadcrumbs %} {{ block.super }}
  • {% trans "Format policy commands" %}
  • {% blocktrans with description=fpcommand.description %}Command {{ description }}{% endblocktrans %}
  • {% endblock breadcrumbs %} {% block app_content %}
    {% include 'fpr/_sidebar.html' %}
    {% revisions_link "fpcommand" fpcommand.uuid %}
    {% trans "UUID" %}
    {{ fpcommand.uuid }} Rule
    {% trans "Description" %}
    {{ fpcommand.description }}
    {% trans "Tool" %}
    {{ fpcommand.tool.description }}
    {% trans "Command" %}
    {{ fpcommand.command }}
    {% trans "Script type" %}
    {{ fpcommand.get_script_type_display }}
    {% trans "Output file format" %}
    {{ fpcommand.output_format.description|default:_("None") }}
    {% trans "Output location" %}
    {{ fpcommand.output_location|default:_("None") }}
    {% trans "Command usage" %}
    {{ fpcommand.get_command_usage_display }}
    {% trans "Verification command" %}
    {% if fpcommand.verification_command %}
    {{ fpcommand.verification_command.description }}
    {% else %}
    {{ fpcommand.verification_command }}
    {% endif %}
    {% trans "Event detail command" %}
    {% if fpcommand.event_detail_command %}
    {{ fpcommand.event_detail_command.description }}
    {% else %}
    {{ fpcommand.event_detail_command|default:_("None") }}
    {% endif %}
    {% trans "Enabled" %}
    {{ fpcommand.enabled|yesno:_("Yes,No") }}
    {% if request.user.is_superuser %}
    {% trans "Actions" %}
    {% trans "Replace" %}
    {{ fpcommand.enabled|yesno:_("Disable,Enable") }}
    {% endif %}
    {% endblock app_content %}