Issue reports in Hive are customizable. You can download and change existing report templates as well as to upload your own report templates.
Note: only Hive administrators can upload new templates.
To add new report template:
Now you can select your own template for Issue report.
To create your own
.docx template download default report template
template.docx from Report templates tab.
Change it as you need and upload it to the Platform.
Note: we recommend changing the name of the
template.docxfile before uploading it back to the Platform. When loading templates with the same name, the platform will automatically change the file names by adding the date and time to the files, for example
[2021-04-06T15: 49: 23.895Z] template.docx.
%ISSUES_AREA% variable is used to export issues to the report.
When adding this variable to the template, a new section Testing results will be added to the report.
This section includes Found vulnerabilities list with the following information:
Note: all issues in the project will be exported to the report. By default, issues in the report are distributed by score: from critical to low.
Steps to Reproduce
The issue report includes images in the formats that are supported by
.docx (png, jpg, bmp, jpeg).
Files in other formats that can be attached to the issues will not be exported to the report.
Important! Do not change the style IDs and style names of the
template.docx. Currently, the report generator supports only predefined style names.
You can change styles settings of the
images and other.
But the style names and IDs must always remain the same.
The following style names and IDs are mandatory:
|Style ID||Style Name||Style type||Used for|
|H1||H1||Paragraph||Level 1 headers|
|H2||H2||Paragraph||Level 2 headers|
|H3||H3||Paragraph||Level 3 headers|
|H4||H4||Paragraph||Level 4 headers|
|H5||H5||Paragraph||Level 5 headers|
|BodyExpRep||Body (Exp_Rep)||Paragraph||All default body paras|
|BodyExpRepChar||Body (Exp_Rep) Char||Character||Characters inside default body paras|
|CodeChar||Code Char||Character||Inline codeblocks|
|Internetlink||Internet link||Character||Internet links|
|Strong||Strong||Character||Strong emphasis (Bold)|
|vulnrate||vulnrate||Paragraph||Vulnerability rate paragraph|
|styleRatingLow||styleRatingLow||Character||Characters for low vulnerability rate (green)|
|styleRatingMedium||styleRatingMedium||Character||Characters for medium vulnerability rate (yellow)|
|styleRatingHigh||styleRatingHigh||Character||Characters for high vulnerability rate (red)|
|picturecaption||picture_caption||Paragraph||caption for Picture and table paragraph|
|hivetable1||hive_table1||Table||Style for tables|