Template - Options
UPDATED: Please head over to our new GitHub Support Site for help, examples, tips and tricks: https://github.com/AttackForge/ReportGen
RemoveDuplicatePOCs
This option can be set at the beginning of your template in order to remove duplicate Proof-of-Concepts/Steps to Reproduce for vulnerabilities which have multiple affected assets and each affected asset has the same POC & Notes.
This option is useful to reduce duplicate entries where the POCs/Notes are the same, significantly reducing report size and making content more useful to the reader. It requires use of the {#assets_equally_affected} tag in order to inform the reader that there are other affected assets with the same POC/Notes, and here is the list.
How it works:
For the first affected asset on a vulnerability, it will include the POC & Notes using the {#proof_of_concept} & {#notes} tags.
It will check if there are other affected assets for this vulnerability with the same POC/Notes, and if so, it will add them to the {#assets_equally_affected} list for the current affected asset.
The assets in the {#assets_equally_affected} list are removed from the loop to avoid displaying duplicate entries in the report.
Example:
!IMPORTANT: You must include {#$optionRemoveDuplicatePOCs}{/} tag at the beginning of your template file.
RemoveDuplicateEvidence
This option can be set at the beginning of your template in order to remove duplicate Evidence for vulnerabilities which have already used/included the evidence within the Proof-of-Concept or Notes for any of affected assets, for example the screenshots have already appeared in-line within the Proof-of-Concept or Notes.
This option is useful to reduce duplicate evidence displaying, significantly reducing report size and making content more useful to the reader.
How it works:
When looping over {#affected_assets} - if the {#proof_of_concept} or {#notes} includes an {%inlineScreenshot} - this screenshot will be removed from the {#evidence} section (to avoid duplication of displaying the same evidence file).
Example:
!IMPORTANT: You must include {#$optionRemoveDuplicateEvidence}{/} tag at the beginning of your template file.
Toggle Image Description (Filename/Caption)
This option can be used to adjust how the filename or caption is displayed under an image. This option can be set against any {@..._styled} tag where ... is the name of a tag.
image_description: caption - will display the caption if it exists, otherwise will display nothing.
image_description: prefer-caption - will display the caption if it exists, otherwise will display filename.
image_description: filename - will display the filename.
image_description: none - will display no caption or filename.
Toggle Image Figure
This option can be used to disable the figure under an image. This option can be set against any {@..._styled} tag where ... is the name of a tag.
image_figure: none - will not display the figure.
Custom Styles for Rich-Text Fields
See Custom Styles
Last updated