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 and severity colors
  • Display Options that allow you to choose how you would like the title page, summary table and detailed findings sections displayed
  • Pre-built functions that can be called elsewhere in the document
Modification of formatting and display options is trivial and 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

One or more options that render a cover page and table of contents. 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
  • Attack Path
  • Detailed Findings
  • Appendixes