Skip to content

Syntax

Variables allow you to dynamically insert data into your report templates. To use a variable, wrap its name in curly braces {} in your template.

Project name: {project.name}
Cient name: {client.company_name}
Executive summary: {~~report.executive_summary}

You can also access fields inside arrays using loops or by referencing their properties:

{#vulnerabilities}
- {title} (CVSS v3.1 Score: {cvss_risk})
{/vulnerabilities}
{manager.name}
{members.0.name} // First team member's name
{targets.0.endpoint} // First target's endpoint

Some template engines support conditional blocks. For example:

{#affected_hosts | length > 0}
Affected Hosts:
{#affected_hosts}
- {endpoint}
{/affected_hosts}
{/affected_hosts | length > 0}

Tips:

  • Always use the exact variable name as listed in the tables below.
  • For arrays, use loops to display multiple items.
  • For nested objects, use dot notation (e.g., {categories.0.name}).