You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The variable case.for_customer is not available in the case dictionary during template rendering, resulting in a failure to display the expected customer name in generated reports. Although case.client.customer_name contains the relevant data, case.for_customer is undefined, causing Jinja templates that rely on it to fail or display no output. This means that the documentation in https://docs.dfir-iris.org/operations/reports/ is inaccurate at least on this count.
To Reproduce
Steps to reproduce the behavior:
Create a new report template that includes the {{ case.for_customer }} variable.
Populate the case with valid client information.
Generate a report using the template.
Observe that the case.for_customer variable does not render any output.
Expected behavior
The case.for_customer variable should be populated with the customer_name field from case.client and display the appropriate customer name in the report template.
Screenshots
N/A (This issue is directly related to rendered template output and debugging logs).
Additional context
Debugging logs confirm that case.client.customer_name is populated as part of the case dictionary, but case.for_customer is missing.
Documentation indicates case.for_customer should exist as a standard tag for templates.
A workaround is to access case.client.customer_name directly in the template or modify the Python logic to populate case.for_customer.
The text was updated successfully, but these errors were encountered:
Describe the bug
The variable
case.for_customer
is not available in thecase
dictionary during template rendering, resulting in a failure to display the expected customer name in generated reports. Althoughcase.client.customer_name
contains the relevant data,case.for_customer
is undefined, causing Jinja templates that rely on it to fail or display no output. This means that the documentation in https://docs.dfir-iris.org/operations/reports/ is inaccurate at least on this count.To Reproduce
Steps to reproduce the behavior:
{{ case.for_customer }}
variable.case.for_customer
variable does not render any output.Expected behavior
The
case.for_customer
variable should be populated with thecustomer_name
field fromcase.client
and display the appropriate customer name in the report template.Screenshots
N/A (This issue is directly related to rendered template output and debugging logs).
Additional context
case.client.customer_name
is populated as part of thecase
dictionary, butcase.for_customer
is missing.case.for_customer
should exist as a standard tag for templates.case.client.customer_name
directly in the template or modify the Python logic to populatecase.for_customer
.The text was updated successfully, but these errors were encountered: