This guide explains how to use the dynamic evidence table feature within the {Finding_Details} token. This capability allows you to define which fields are displayed in the evidence table and control the order in which they appear, functioning similarly to a standalone token: Report Token: {FindingEvidence_Table}
Overview
With the setting.evidence_table.fields parameter, you can customize the evidence table to show only the information relevant to your specific reporting needs.
Configuration Syntax
To enable and configure the dynamic evidence table, add the following setting to the Finding_Details token:
setting.evidence_table.fields=[field1],[field2],[field3]&
The order in which you list the fields determines the order of the columns from left to right in the generated table.
Available Fields
You can populate the evidence table using any combination of the following values:
iphostnamelocationportprotocolversionassetcompliance_statusissue_detailsreproduceevidence
Example Usage
Here is an example of how to implement the dynamic evidence table alongside other Finding_Details settings. In this example, the evidence table is configured to only show the IP, Hostname and Protocol fields in that specific order.
Plaintext
{Finding_Details?
group.1.fields=severity&
group.2.fields=description&
group.3.fields=assets&
group.4.fields=background_information&
group.5.fields=remediation&
group.6.fields=evidence_table,evidences&
setting.title.html_tag=h3&
setting.title.display_severity=false&
setting.title.show=true&
setting.layout=table&
setting.evidences.layout=table&
setting.evidence_table.format=all&
setting.evidence_table.fields=ip,hostname,protocol&
}Important Note
For the evidence table to render, ensure you have included evidence_table in one of your group definitions (e.g., group.6.fields=evidence_table,evidences&).