ansible-hardening/doc/metadata/template_toc_partial_rhel7.j2
Major Hayden 875f635ab4 [Docs] Overhaul STIG by tag docs
This patch gets rid of the old "special notes" section that was a
dead-end in the documentation and replaces it with a brief header
followed by a dynamically-generated list of tag-specific
documentation. All of this sits underneath the "Hardening Domains"
section.

It also splits the "Deviations" documentation into its own section
because it's quite important for a deployer to review.

The patch also includes a link to video/slides from the Boston
Summit, which provided the latest updates for the project and some
background on how everything fits together.

Change-Id: I1a5e78733c301335fe1bcfcee36cc146d690b841
2017-06-13 06:33:16 +00:00

34 lines
843 B
Django/Jinja

{#
This file renders *partial* documentation that is included by other
documentation. This is used in the "Hardening Domains" section.
#}
{% for section_header, stig_id_list in stig_dict.items() %}
STIG requirements
-----------------
All of the tasks for these STIG requirements are included in
``tasks/rhel7stig/{{ section_header }}.yml``.
{% for stig_id in stig_id_list | sort %}
{% set rule = all_deployer_notes[stig_id] %}
{{ rule['id'] }}
{{ "~" * rule['id'] | length }}
* **Summary**: {{ rule['title'] | replace("\n", " ") | indent(2, False) }}
* **Severity:** {{ rule['severity'] | title }}
* **Implementation Status:** {{ rule['deployer_notes']['status'] | title }}
Deployer/Auditor notes
^^^^^^^^^^^^^^^^^^^^^^
{{ rule['deployer_notes']['content'] }}
{% if not loop.last %}
----
{% endif %}
{% endfor %}
{% endfor %}