diff --git a/README.md b/README.md index dc6d276..5c026cb 100644 --- a/README.md +++ b/README.md @@ -61,4 +61,3 @@ PeTeReport (**Pe**n**Te**st **Report**) is written in Django and Python 3 with t - [MD Sample](https://github.com/1modm/petereport/raw/main/sample_reports/PEN-MD_Offensive_Security_Network_202108181118.md "MD Sample") - [CSV Sample](https://github.com/1modm/petereport/raw/main/sample_reports/PEN-CSV_Offensive_Security_Network_202108181118.csv "CSV Sample") - diff --git a/app/preport/templates/home/index.html b/app/preport/templates/home/index.html index f506677..7cc956e 100644 --- a/app/preport/templates/home/index.html +++ b/app/preport/templates/home/index.html @@ -90,7 +90,7 @@

-
+
@@ -234,6 +234,16 @@

trigger: 'item', formatter: '{b}
{c}' }, + toolbox: { + show: true, + feature: { + saveAsImage: { + show: true, + title: "Save Image", + name: "Breakdown_by_Categories" + } + } + }, series: [ { name: 'CWE', diff --git a/app/preport/templates/reports/report_view.html b/app/preport/templates/reports/report_view.html index 641b0e0..005f242 100644 --- a/app/preport/templates/reports/report_view.html +++ b/app/preport/templates/reports/report_view.html @@ -270,7 +270,7 @@

-
+
@@ -791,6 +791,16 @@

legend: { data:['Severity'] }, + toolbox: { + show: true, + feature: { + saveAsImage: { + show: true, + title: "Save Image", + name: "Breakdown_by_Severity" + } + } + }, xAxis: { type: 'category', data: ["Critical","High","Medium","Low","Info"] @@ -853,6 +863,16 @@ trigger: 'item', formatter: '{b}
{c}' }, + toolbox: { + show: true, + feature: { + saveAsImage: { + show: true, + title: "Save Image", + name: "Breakdown_by_Categories" + } + } + }, series: [ { name: 'CWE', diff --git a/app/preport/templates/tpl/html/html_finding.md b/app/preport/templates/tpl/html/html_finding.md index 859a727..0cd6422 100644 --- a/app/preport/templates/tpl/html/html_finding.md +++ b/app/preport/templates/tpl/html/html_finding.md @@ -21,7 +21,11 @@ **Description** -{{finding.description|safe}} + + +{{finding.description|safe}} + +