ansible-hardening/doc/metadata/template_doc_rhel7.j2
Major Hayden 3fdc656721 Initial docs scaffolding for RHEL 7 STIG
This patch updates the documentation and the sphinx extension to
write the docs for the RHEL 7 STIG content. The RHEL 7 content
is still hidden for now since it will be under active development
for a while.

Special note:
There are some typos in version 0.2 of the XML for the STIG and those
typos exist in the automatically generated documentation, too.
A new version of the STIG XML is due out very soon which should
correct these.

Implements: bp/security-rhel7-stig
Change-Id: I70dcebdd45ca65e5ae7734c19ee8523fba581e18
2016-10-05 20:02:48 +00:00

26 lines
576 B
Django/Jinja

{% set rule = all_deployer_notes[stig_id] %}
{% set page_title = rule['title'] | trim + ' (' + rule['id'] + ')'%}
{{ page_title }}
{{ "-" * page_title | length }}
Information from the STIG
~~~~~~~~~~~~~~~~~~~~~~~~~
**Description:**
{{ rule['description']['VulnDiscussion'] | addmonospace }}
**Fix:**
{{ rule['fix'] | safe | addmonospace }}
**Checking compliance:**
{{ rule['check'] | safe | addmonospace }}
Deployer/Auditor notes
~~~~~~~~~~~~~~~~~~~~~~
**Implementation Status:** {{ rule['deployer_notes']['status'] | title }}
{{ rule['deployer_notes']['content'] }}