Navigating the Jinja Template

Each Jinja template has three main sections.

Set-Up Code

This section begins at the start of the document and continues to the first cover page option. This section includes:
  • Formatting options such as setting colors for table headers, background severity colors, and severity text colors (See Template Set Up page for more details)
  • Display Options that allow you to choose how you would like the title page, summary table and detailed findings sections displayed (See Display Options page for more details)
  • Pre-built functions that can be called elsewhere in the document (See Pre-Built Functions page for more details)
Modification of formatting and display options can be accomplished by any user. Modification or creation of additional pre-built functions require some degree of understanding of the Jinja2 language and the PlexTrac data structure.

Cover Page and Table of Contents

There are multiple options of pre-built cover pages. Users may modify graphics and static content as desired. Advanced users may add additional data pulled from PlexTrac with additions to the Set-Up code.

Report Body

This includes everything after the Cover Page and Table of Contents. This is the primary area where pre-built functions will be called to render the exported data in the desired order and with the desired options.
The Report Body can include as much static content as you desire. This may include section headings or paragraphs that never change from report to report.
The Report Body is commonly divided into sections such as:
  • Executive Summary
  • Methodology
  • Findings Summary
  • Detailed Findings
  • Appendixes